摘要
为了延长续航能力,要求无线传感网络(WSNs)节点具有低功耗性能。在设计和测试时对WSNs节点的工作电流测试具有重要价值。由于电流波形测试设备昂贵,本文基于ZXCT1010电流传感器,设计了具有自动量程功能的电流波形测量电路。采样PMOS管作为不同量程采样电阻的选取开关。STM32单片机对ZXCT1010芯片的电流转换电压采样,并判断分析,控制PMOS管通断,实现量程的自动化转换。对比测试了1μA~1A范围内不同数量级电流,结果表明最大误差仅有5%,证实了该电路具有较高的检测精度。用该电路对一个WSNs节点的工作电流波形进行了测量,发现可以实现不同工作状态电流的测试,量程自动转换。该电路的研制,能够为WSNs节点的设计和测试提供较好的方案。
In order to extend battery life,wireless sensor networks(WSNs)nodes are required to have low power consumption performance.Testing the working current of WSNs nodes during design and testing is of great value.Due to the high cost of current waveform testing equipment,this article designs a current waveform measurement circuit with automatic range function based on the ZXCT1010 current sensor.The sampling PMOS transistor serves as a selection switch for sampling resistors of different ranges.The STM32 microcontroller samples and analyzes the current conversion voltage of the ZXCT1010 chip,controls the on/off of the PMOS transistor,and achieves automatic range conversion.The currents of different orders of magnitude within the range of 1μA~1A are compared and tested.The results show that the maximum error is only 5%,confirming that the circuit has high detection accuracy.The working current waveform of a WSNs node was measured using this circuit,and it was found that different working state currents can be tested and the range can be automatically converted.The development of this circuit can provide a better solution for the design and testing of WSNs nodes.
作者
陈越
陈炜峰
CHEN Yue;CHEN Wei-feng(Nanjing Panneng Technology Co.,Ltd.,Nanjing 210044,China;Nanjing University of Information Science and Technology,Nanjing 210044,China)
出处
《价值工程》
2023年第17期127-129,共3页
Value Engineering