高级检索

基于单片机的直流稳压电源及漏电保护电路设计

Design of DC Regulated Power Supply and Leakage Protection Circuit Based on Microcontroller

  • 摘要: 针对传统直流稳压电源与漏电保护分立设计存在的稳定性不足、响应滞后等问题,提出一体化系统解决方案,以满足现代电子设备对供电稳定性与用电安全性的严苛需求。以TMS320F2406单片机为核心控制单元,硬件采用多片LM2940并联扩流方案构建5 V直流稳压电源,通过TLV272差分采样电路与LM393电压比较电路组成漏电检测模块;软件采用模块化编程,集成参数设定、数据采集、实时功率计算与状态显示功能,构建“数字控制-模拟检测-智能交互”三位一体架构。在5 Ω固定负载、输入电压5.5~25 V范围内,系统输出电压稳定在5 V±0.05 V,电压调整率为0.23%,负载调整率为0.42%;当漏电电流达到29.987 mA(与设定值30 mA的绝对误差仅0.013 mA)时,继电器可快速动作切断主回路,将输出电压降至安全范围。

     

    Abstract: To solve the problems of insufficient stability and response lag in the discrete design of traditional DC regulated power supplies and leakage protection systems, an integrated system solution is proposed to meet the strict requirements of modern electronic equipment for power supply stability and electrical safety. Taking the TMS320F2406 microcontroller as the core control unit, the hardware adopts a current-expanding scheme with multiple LM2940 chips connected in parallel to construct a 5 V DC regulated power supply. A leakage detection module is composed of the TLV272 differential sampling circuit and the LM393 voltage comparison circuit. Modular programming is used in software, integrating functions such as parameter setting, data acquisition, real-time power calculation and status display, so as to build a trinity architecture of "digital control-analog detection-intelligent interaction". Under a 5 Ω fixed load and within the input voltage range of 5.5~25 V, the output voltage of the system is stabilized at 5 V±0.05 V, with a voltage regulation rate of 0.23% and a load regulation rate of 0.42%. When the leakage current reaches 29.987 mA (with an absolute error of only 0.013 mA relative to the set value of 30 mA), the relay acts quickly to cut off the main circuit, and the output voltage drops to a safe range.

     

/

返回文章
返回