基于STM32的简易直流电子负载设计
Design of Simple DC Electronic Load Based on STM32
摘要: 本系统采用STM32单片机为核心,采用PWM调制方法,以串联型双路半桥DC-DC电路作为简易电子负载主电路,实现简易直流电子负载。单片机根据测量电路获得的电流和电压采样反馈,使用PID算法调节PWM波占空比,控制IR2103驱动电路输出,实现电子负载实现恒流和恒阻模式的稳定。系统实时测量并通过OLED显示电路的相关状态。经过多次实验测试,本系统在恒流模式下能够稳定100~2000 mA的可调电流,在恒阻模式下能够稳定10~100 Ω的可调电阻,且系统的各项误差均小于1%,可以很好地应用于电源测试设备。
Abstract:
This system adopts STM32 microcontroller as the core and uses PWM modulation method to realize simple DC electronic load by using series type dual half-bridge DC-DC circuit as the main circuit of simple electronic load. Based on the current and voltage sampling feedback obtained from the measurement circuit, the microcontroller uses the PID algorithm to adjust the PWM wave duty cycle and control the IR2103 driver circuit output to realize the electronic load to achieve constant current and constant resistance mode stability. The system measures and displays the relevant status of the circuit via OLED in real time. After several experimental tests, this system can stabilize the adjustable current of 100~2000 mA in constant current mode and the adjustable resistance of 10~100 Ω in constant resistance mode, and all the errors of the system are less than 1%, which can be well applied to power supply test equipment.
参考文献
|
[1]
|
夏桂书. 基于STC单片机的智能电子负载[J]. 实验室研究与探索, 2014, 33(3): 115-130.
|
|
[2]
|
刘磊. 基于MSP430单片机的直流电子负载设计[J]. 电子科技, 2013, 26(2): 25-27.
|
|
[3]
|
王成智. 单相电力电子负载研究与设计[D]: [博士学位论文]. 武汉: 华中科技大学, 2008.
|
|
[4]
|
崔建国, 宁永香. 消除密勒电容实现光电耦合器快速工作的研究[J]. 山西电子技术, 2020(4): 91-93.
|
|
[5]
|
厉俊, 郑佳蕙. 基于STM32的开关电源模块并联供电系统[J]. 软件工程, 2020, 23(3): 4-8.
|
|
[6]
|
徐贵鑫, 许金宇, 王利斌, 金海. 基于STM32的单相不间断式UPS电源设计与实现[J]. 软件工程与应用, 2021, 10(3): 302-310. [Google Scholar] [CrossRef]
|
|
[7]
|
张西晨, 徐颖捷, 包齐栋. 基于STM32的简易数控直流稳压电源系统的设计[J]. 软件工程与应用, 2021, 10(3): 354-364. [Google Scholar] [CrossRef]
|
|
[8]
|
柳彦钊. 基于STM32的数控开关电源设计[D]: [硕士学位论文]. 西安: 西安科技大学, 2019.
|