摘要
本文设计了一种基于STC12C5A60S2型单片机的双向DC/DC变换器,一方面,通过半桥驱动器IR2104驱动Buck电路和Boost电路,可实现对电池的充电功能以及电池升压供电的目的。另一方面,通过单片机的程序控制,实现Buck电路和Boost电路的自由切换,以达到双向控制的目的。同时利用单片机自带的10位A/D转换器,实现了电路中电流和电压的精准采集,并可以通过按键实时增减电路电流。
In the paper, a bidirectional DC/DC converter based on STC12C5A60S2 type is designed. On the one hand, the function of the battery charging and the purpose of the booster battery power supply can be achieved through the half bridge driver IR2104 driving Buck circuit and Boost circuit. On the other hand, by means of single-chip micro-computer program control, the Buck and the Boost circuit can be switched freely, so as to achieve the goal of two-way control. Moreover, by using single-chip micro-computer with 10 bit A/D converter, the precise collection of current and voltage can be realized, and current in circuit can be increased or decreased by pressing key in real time.
出处
《萍乡学院学报》
2016年第6期28-31,36,共5页
Journal of Pingxiang University
基金
萍乡市指导性科技计划项目(2015GY056)