Design of pulse fast charging system based on single chip microcomputer

Publisher:名字太长了吗Latest update time:2016-03-17 Source: 21icKeywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
The flyback switching power supply circuit is adopted. The flyback switching power supply uses one less large energy storage filter inductor and one freewheeling diode than the forward switching power supply. Therefore, the flyback switching power supply circuit is relatively simple, small in size and low in cost. In addition, the output voltage of the flyback switching power supply is modulated by the duty cycle, which is much higher than that of the forward switching power supply. Therefore, the flyback switching power supply requires the error signal amplitude of the duty cycle to be relatively low, and the gain and dynamic range of the error signal amplifier should also be small. It is precisely because of these advantages that the flyback switching power supply is widely used in the current home appliance field. Its power supply circuit is shown in Figure 1.

UC3842 is a relatively ideal new type of pulse width modulator, so the switching power supply circuit control chip uses UC3842. Compared with the voltage-controlled pulse width modulation switching power supply, the switching power supply composed of this integrated circuit has the following characteristics: 1) fine-tuned oscillator discharge current, which can accurately control the duty cycle; 2) current mode operation up to 500kHz; 3) automatic feedforward compensation; 4) latched pulse width modulation, which can limit the current cycle by cycle; 5) internal fine-tuned reference voltage with undervoltage lockout; 6) large current totem pole output; 7) undervoltage lockout with hysteresis; 8) low startup and operating current.

21.jpg

TL431 is called an adjustable precision shunt regulator. It can set any reference voltage value in the range of 2.5V~36V by using two external resistors. Its working principle is that when the output voltage U0 fluctuates, the sampled voltage obtained after the resistor voltage division is compared with the 2.5V bandgap reference voltage in TL431, and an error voltage is formed at the cathode, so that the working current of the light-emitting diode changes accordingly, and then the control terminal current Ic is changed by the optical coupler, and the output duty cycle of the switch tube is adjusted to keep the output voltage U0 unchanged, thereby achieving the purpose of voltage stabilization.

2. Design of charging and discharging circuit

As shown in Figure 2, the charge and discharge process in this design is mainly completed by two P-channel field effect transistors IRF9540N. Q2 controls the charging process of the system, and Q3 mainly controls the discharge pulse.

31.jpg

3. Collection part

There is a 12-bit precision AD conversion module ADC12 in MSP430F149. ADC12 can convert one of 8 external analog signals or one of 4 internal voltages. The ADC core converts the analog signal into 12-bit data and stores it in the conversion storage register. The core uses two reference levels, VR+ and VR-, as the upper and lower limits of the conversion range and the range value and "0" value of the reading. The conversion value is full scale when the input signal is greater than or equal to VR+, and is "0" when it is less than or equal to VR-. The battery terminal voltage is divided by two resistors R2 and R6 to limit the microcontroller sampling voltage value AD1 within the input voltage range. The charging current and the discharging current are converted into corresponding voltage values ​​through resistors and sent to the AI ​​port of the microcontroller. The three AD sampling results are stored in the corresponding ADC12MEMx registers respectively.

4. Drive part

After determining the charging status of the charger according to the three-way AD sampling results, the single-chip microcomputer outputs two PWM waveforms PWM1 and PWM2 with adjustable duty cycle and frequency of 1kHz, which are used to control the conduction degree of the two transistors 2N5551 respectively. The collector current of the transistor will be different, and then provide different voltages to the gate of the field effect tube after resistor voltage division, driving MOSFET, outputting drain current Id of varying sizes, and providing the battery with charging current and discharge pulse amplitude of varying sizes, ultimately achieving the effect of pulse charging.

Keywords:MCU Reference address:Design of pulse fast charging system based on single chip microcomputer

Previous article:Switching between external and internal clock sources of microcontroller
Next article:Design of odor tracking vehicle based on PID control algorithm

Recommended ReadingLatest update time:2024-11-16 15:02

Interface application between PIC microcontroller and liquid crystal display module DMF5001N
  The DMF5001N graphic LCD module consists of a 160×128 dot matrix single screen LCD device, two T6961Bs, two T6A39s, a T6963C and its 8KRAM and supporting circuits. The T6963C has a built-in character CGROM with a total of 128 5×7 dot matrix ASCII characters; it has a 64K display RAM, in which users can easily set te
[Microcontroller]
Interface application between PIC microcontroller and liquid crystal display module DMF5001N
51 single chip microcomputer button control digital tube
1. Design Purpose and Requirements Design purpose: Through design, cultivate the ability to use the knowledge learned to solve practical problems, the ability to consult information, the ability to self-study and the ability to analyze and solve problems independently and the ability to think independently. Design r
[Microcontroller]
51 single chip microcomputer button control digital tube
51 MCU accurate delay program
51 MCU precise delay program (crystal oscillator 12MHz, one machine cycle 1us.) Several precise delay programs: In the calculation of precise delay, the most easily overlooked part is the delay outside the calculation loop. In situations where time is not a big concern, this part will not affect the program. 1.
[Microcontroller]
Buzzer plays music + Puzhong 51 single chip microcomputer + Jiangke University Automation Association
1 Phenomenon Use the buzzer to realize the music playback function and play "Castle in the Sky". 2 Principle (1) Music score of Castle in the Sky 3 Reference Program 3.1 Main Program #include REGX52.H #include "delayms.h" #include "timer0.h" //Buzzer
[Microcontroller]
Buzzer plays music + Puzhong 51 single chip microcomputer + Jiangke University Automation Association
Analysis of data storage expansion technology for MCS96 series microcontrollers
    The MCS96 series microcontroller is a 16-bit word length microcontroller with more complete functions and higher performance than the MCS51 series microcontroller. It is widely used in instrumentation, process control and other fields. In the application development using the MCS96 series microcontroller, we encou
[Microcontroller]
Analysis of data storage expansion technology for MCS96 series microcontrollers
AVR MCU Program Development and Design without Emulator
When developing single-chip microcomputer programs, many people rely on emulators. Once they leave the emulator, they feel at a loss. In fact, for FLASH memory single-chip microcomputers, programs can be developed quickly and conveniently without emulators. Specifically, you can start from the following aspects: 1.
[Microcontroller]
Several hardware interface designs for realizing serial communication between PC and single-chip microcomputer
    At present, computer control systems have gradually developed from single-machine control to multi-machine control, and a computer network that integrates detection, control and management has emerged, with computer technology as the core and combined with data communication technology, namely, a centralized distr
[Microcontroller]
Several hardware interface designs for realizing serial communication between PC and single-chip microcomputer
Window ripple anti-pinch solution based on GD32A503 automotive-grade MCU
With the continuous development of modern automobile technology, people are pursuing a more comfortable and easy-to-operate driving environment. Therefore, more and more cars are equipped with electric windows to achieve automatic lifting of windows. However, since the electric windows rise quickly and have a large
[Embedded]
Window ripple anti-pinch solution based on GD32A503 automotive-grade MCU
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号