1 Design and analysis of anti-interference power supply circuit
The anti-interference power supply circuit consists of two parts, as shown in Figure 1. The DC step-down circuit is composed of MAX638 as the core, which is required to convert the 12V DC voltage into 5V; the anti-interference circuit is composed of TL7705AC as the core, which is required to make the microcontroller enter the power-down mode when the power supply has transient undervoltage, instantaneous pulse interference or power failure.
Figure 1 Schematic diagram of anti-interference power supply circuit
1.1 DC step-down circuit
MAX638 is a step-down product in the MAX series of monolithic switching DC-DC voltage conversion circuits produced by MAXIM, USA. Its own working current is only 0.135mA, its output voltage is 5V, and the input voltage can be 5V~16.5V. Since MAX638 contains a MOS field effect tube with a peak switching current of 375mA, a +1.31V reference voltage source, a 65kHz self-excited oscillator and an error comparator, when used, only an external energy storage inductor L (220μH is selected in this system) and an output capacitor C (100μF is selected in this system) and a freewheeling diode can form a step-down DC power converter.
MAX638 also has a low power supply voltage detection circuit, which provides a detection voltage after dividing the input power supply through resistors R1 and R2. When the input voltage is as low as Vmin, the second pin of MAX638 outputs a low-level undervoltage alarm signal. Change the resistance value of R1 to change the size of Vmin. Since the acceptable input voltage range is wide, when the input voltage is not less than 5V due to interference, the microcontroller application system can still work normally.
1. 2 Anti-interference circuit
The 89C51/2 microcontroller has two power-saving operation modes: standby operation mode and power-down operation mode. When the 89C51/2 microcontroller enters the power-down mode, the on-chip oscillator stops working, various activities stop immediately, and only the on-chip RAM retains the original data. Using this feature, it is convenient to realize power supply anti-interference. As shown in Figure 1, diodes D2, D3 and battery B realize the switching of backup power when the main power is off. When the main power is normal, D2 is turned on, D3 is turned off, and Vout is powered by D2; when the main power is off, D3 is turned on, D2 is turned off, and the microcontroller is powered by battery B through D3. TL7705AC is a voltage monitor, and its detection standard value is 4.55V. When the main power supply drops to 4.55V for some reason, the 5th pin of TL7705AC outputs a low level, requests an interrupt to the microcontroller, and the microcontroller can enter the power-down mode through the interrupt service program. In order to ensure that the microcontroller has enough time to deal with power supply interference, the detection voltage of TL7705AC should be slightly greater than 4.55 V. For this purpose, a 1.5 kΩ potentiometer P can be connected in series between the voltage detection terminal of TL7705AC and the main power supply. According to the length of the interrupt service program, the appropriate resistance value can be determined to obtain the corresponding detection voltage. The detection sensitivity of TL7705AC is high, and it can detect abnormal voltage drop of the main power supply within 500ns. Therefore, it can also capture microsecond interference pulses or undervoltage, which can fully meet the requirements of the anti-interference power supply of the microcontroller.
2. Processing of power supply interference
Power supply interference can easily cause confusion in the single-chip microcomputer system. Therefore, when power supply interference occurs, the best solution is to respond to the interrupt request and switch the computer system to power-down mode. After the interference is eliminated, restore the scene and switch to normal mode. There are the following solutions to exit the power-down mode, namely hardware reset, power-on reset or manual reset. In Figure 1, the reset circuit is composed of R3, R4, C2 and button Ks. The specific solution steps are shown in Figures 2 and 3. Figure 2 is a flowchart for processing potential interference, and Figure 3 is a flowchart for the reset program.
Figure 2: Power supply interference processing
Figure 3 Reset program flowchart
3 Conclusion
This power supply was designed by the author for students' field practice in the practical teaching link. Repeated experiments have shown that the power supply
has achieved the ideal design requirements and has the following characteristics:
(1) Reliable operation, small size, simple structure, stable output voltage (its accuracy can reach ±0.001V), and high conversion efficiency.
(2) Strong anti-interference ability, can effectively suppress small transient undervoltage and transient pulse interference; for larger interference, can make the microcontroller enter power-down mode to operate.
(3) It has a certain degree of versatility. Since the performance of 87C51, 80C51 and 89C51/2 is similar, this power supply can also be suitable for low-power microcontrollers such as 87C51 and 80C51.
Previous article:Design of power supply for electronic watt-hour meter
Next article:Design of Portable Instrument Power Supply
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- 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
- Help with "How to select capacitor voltage for VBAT pin of SIM900A?"
- Request a Free VICOR UHV BCM Evaluation Sample
- IBM develops 2-nanometer chip
- NXP MCU development environment installation prompts expiration
- Crazy Shell AI open source drone ADC (joystick control)
- How to delete the top level in AD
- RF PA circuit design based on gallium nitride (GaN) devices
- [Project source code] NIOS II custom IP core writing basic framework
- What circuit is generally used to achieve the LED light gradually turning on and off function?
- Sugar Glider Part 7: Software Design of the Exercise Reward System for Sugar Glider Based on RSL10