Article Details

Title · Authors · Abstract · Keywords · DOI · References

Design of Current Self-detection Scheme Based on CKS32F103

ZHANG Zonghang, LAN Yafeng, FU Jianjun

(China Key System and Integrated Circuit Co., Ltd., Wuxi 214072, China)

Section:Electronic Engineering · Vol. 2026, Issue 1 · Pages:32-35 · 2096-4706(2026)01-0032-04 · CLC number:TP368.1;TP216 · Document code:A · DOI:10.19850/j.cnki.2096-4706.2026.01.007

Abstract

To better utilize the Single-chip Microcomputer (MCU) to detect the power consumption current of peripheral module circuits, this paper proposes a design scheme that can detect the power consumption current of the chip itself based on the ARM core embedded MCU CKS32F103. The hardware circuit of this scheme converts the current into voltage through the series connection of a precision resistor. After being amplified by a differential amplifier, the voltage is sampled by the Analog-to-Digital Converter (ADC) integrated inside the MCU. Finally, it completes data operation and processing inside the MCU and outputs the result to the upper computer through the bus interface. Experimental results show that, combined with specific control timing, this scheme realizes the autonomous detection of power consumption current of the MCU in different working modes. It is a flexible, economical, simple, and efficient embedded MCU current detection scheme.

Keywords

CKS32F103; current detection; precision resistor; ADC; voltage sampling

References

  1. [1] Zhang Wei, Cheng Xuenong Exploration of the Development Trends of IoT Terminal Hardware [J]. Intelligent IoT Technology, 2018, 1 (3): 1-7
  2. [2] Wang Zhangyun Design of Current Detection System Based on STM32 Technology [J]. Hubei Agricultural Mechanization, 2019 (19): 149-150
  3. [3] Xu Zhihui, Sheng Shizun, Qin Chaomei, etc Solar charger based on STM32 microcontroller [J]. Mechanical and Electrical Engineering Technology, 2019, 48 (11): 144-146
  4. [4] Zhang Fan, Li Wenfeng, Song Wei Real time energy consumption monitoring of wireless sensor nodes [J]. Computer Engineering and Science, 2010, 32 (11): 47-51
  5. [5] Huang Ronglan, Wan Dehuan Design of A/D Conversion Acquisition and Control Module Based on FPGA [J]. Data Acquisition and Processing, 2009, 24 (S1): 237-240
  6. [6] He Liu, Chen Dayue, Zhao Chunyu Design of high-precision temperature measurement system based on multi-channel current acquisition [J]. Foreign Electronic Measurement Technology, 2011, 30 (1): 21-24, 27
  7. [7] Xie Zhiyuan, Gu Yuxian Research on Temperature Compensation of Open Loop Hall Current Sensor Based on STM32 [J]. Optoelectronic Technology, 2020, 40 (1): 63-69
  8. [8] Ye Ruiwen, Zhi Yaoyao, Yu Zhirong, etc Design of current and voltage acquisition system based on STM32F103 microcontroller [J]. Communication Power Supply Technology, 2019, 36 (8): 32-34
  9. [9] Pei Xiaofang, Fan Yang, Zhai Jiexin Dynamic current detection device based on GD32 [J]. Foreign Electronic Measurement Technology, 2021, 40 (7): 170-176
  10. [10] Lou Liangliang, Jin Yanliang, Zhou Miao, etc Measurement of power consumption and analysis of battery life for IoT nodes [J]. Automation Instrumentation, 2015, 36 (12): 52-55

About the authors

Zhang Zonghang (1987-), male, Han ethnicity, from Qianjiang, Hubei, engineer, master's degree, research interests include 32-bit MCU chip design and applications.