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.
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.
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.
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
- Popular Resources
- Popular amplifiers
- Wireless Sensor Network Technology and Applications (Edited by Mou Si, Yin Hong, and Su Xing)
- Modern Electronic Technology Training Course (Edited by Yao Youfeng)
- Modern arc welding power supply and its control
- Small AC Servo Motor Control Circuit Design (by Masaru Ishijima; translated by Xue Liang and Zhu Jianjun, by Masaru Ishijima, Xue Liang, and Zhu Jianjun)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Which option is the best?
- MSP430F5529 generates PWM waves with CCS
- TI C66x DSP QM queue reserve method
- GD32E231Cx builds its own project OK, share it with everyone
- How to deal with audio noise
- Terasic C5P FPGA development board and Intel Up2 Squared Grove development kit released
- EEWORLD University - Introduction to Switching Power Supply Circuit Design
- 【ST NUCLEO-H743ZI Review】(3) First experience with UART3 testing
- DIY-Small Stool (First Work)
- Simple self-start