Design and debugging of system power supply based on AT91RM9200

Publisher:量子心跳Latest update time:2014-10-31 Source: 互联网Keywords:AT91RM9200 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

With the development of computer technology, semiconductor technology and electronic technology, embedded systems are widely used in many fields such as industrial manufacturing, process control, communication, instrumentation, automobiles, ships, aviation, aerospace, military equipment, consumer products, etc. due to their small size, high reliability, low power consumption, and high software and hardware integration. The hardware design and debugging of embedded systems is the basis for the successful design of embedded systems, and the design and debugging of power circuits in hardware circuits is the key to the successful debugging of system hardware. Starting from practical applications, this paper analyzes and discusses the design and debugging methods of embedded system power supplies in combination with some problems encountered in the design and debugging of embedded system power supplies in welding machine control systems.

1 System Hardware Structure

In the design of welding machine control system based on embedded system, AT91RM9200 is used as the core microprocessor of the system. SDRAM, SRAM and Flash are expanded according to the requirements of the control system. The keyboard and LCD display circuit can adjust and display parameters in real time and alarm when errors occur. RS485 serial interface completes data transmission and communication, and infrared remote control can be performed. The system hardware structure is shown in Figure 1.

Figure 1 System hardware structure diagram

2 System Power Design

2.1 System Power Supply Working Principle

AT91RM9200 is a system chip built entirely around the ARM920T processor. It has a rich set of system and application peripherals and standard interfaces, making it a low-power, low-cost embedded industrial-grade product. AT91RM9200 provides a full-featured power management controller (PMC) to optimize the power consumption of the entire system, and supports normal, idle, slow clock and standby operating modes, providing different power consumption levels and event response delay times [1]. In idle mode, the ARM processor clock is disabled and waits for the next interrupt (or master reset); slow clock mode is the mode selected after reset, in which the main oscillator and PLL are turned off to reduce power consumption; standby mode is a combination of slow clock mode and idle mode, which enables the processor to respond quickly to wake-up events and maintain low power consumption. When the system is working normally, it is powered by an external DC power supply and charges the battery. When the external power supply is disconnected, it automatically switches to the internal backup battery for power supply.

2.2 Power Circuit Design

AT91RM9200 has 5 types of power pins: VDDCORE pin is used to power the core, usually 1.8 V; VDDPLL and VDDOSC are used to power the PLL or oscillator, usually 1.8 V; VDDIOP and VDDIOM are used to power the peripheral I/O port line, USB transceiver and external bus interface I/O port line, usually 3.3 V. In addition, the power supply voltage of the keyboard and display circuit of the system requires a +5 V power supply. Therefore, this control system needs to use 3 sets of power supplies. By analyzing the control requirements and performance of the entire control system, it is determined that the load current of this system is about 3 A. Therefore, the voltage regulator chip of the system power supply uses ON's LM2576 series regulator to stabilize the external DC power supply into the +3.3 V and +5 V power supplies required by the system. Since the system core power supply requires 1.8 V, the system should use a secondary power conversion circuit. This article uses TI's micro-power, ultra-low voltage dropout PMOS regulator (LDO chip) TPS72518 as the core power conversion chip to stabilize +3.3 V to +1.8 V to provide working power for the processor core. The system power circuit is shown in Figure 2. Figure 2 shows the PCB design methods such as embedded system power decoupling. C3 and C6 are electrolytic bypass capacitors of the voltage regulator chip. Connecting them in the circuit can make the circuit work stably; C2, C5, and C8 are output stabilizing capacitors, which have a good effect on reducing output ripple, output noise, and the influence of load current changes. According to the working requirements of the regulator itself, the capacitors are 10 μF and 100 μF electrolytic capacitors respectively.

Figure 2 System power circuit diagram

The performance of embedded systems based on 32-bit microprocessors depends largely on the stability and reliability of the clock circuit, while the stability of the clock circuit mainly depends on the stability of the system phase-locked loop (PLL). Therefore, a filter circuit should be used in the power supply of the PLL analog part to ensure the stability of the power supply [2]. The parameters of key components such as the clock, power supply and reset control inside the microprocessor play an important or even decisive role in various operating modes of the system. Therefore, in order to ensure that the set parameters remain unchanged under various operating modes, a backup battery power supply circuit is usually provided in the embedded system design. As shown in Figure 2, TI's battery charger BQ24200 is used as the backup battery for the system power supply. When the system is working normally, the external power supply charges it. When the external power supply is cut off, it provides system power supply so that the system can save important parameters.

3 System power supply debugging

3.1 Debugging content and steps

A relatively large embedded system hardware circuit should be welded and debugged in modules to avoid being unable to check when encountering problems. Since each circuit module in the system needs to be connected to the input power, if the power input is improper, the output result will be incorrect or even burn the integrated circuit, so the system power module should be installed and debugged first. The successful debugging of the system power circuit module is the key to the successful debugging of the entire hardware circuit.

After soldering the components according to the circuit diagram, carefully check whether the components are soldered correctly, whether there is a cold soldering or welding slag short circuit on the circuit board, and then power on and debug. The output power of the DC regulated power supply generator is connected to the input port (POW1) of the system power module, and the input power Vin is adjusted to +6 V. The 1.8 V, 3.3 V, and 5 V output ports of the system power supply are checked with an oscilloscope, and there is no voltage output. After powering off and rechecking the circuit, it was found that the electrolytic capacitor C6 had been burned black because the positive and negative polarities of C6 were reversed. After replacing the new capacitor and soldering it correctly, power on and debug. The 1.8 V and 5 V voltage output terminals are normal, while the voltage of the 3.3 V voltage output terminal is less than 3 V. After checking the data sheet of the voltage regulator chip LM2576, adjust the input power Vin and detect the voltage values ​​of the three sets of system power supplies at the same time. When the three sets of power outputs are correct, the value of the input voltage Vin is about 6.7 V. Since the load current of this control system is about 3 A, a load resistor with a load current of 3 A is added to the circuit to test the stability of the system power supply. After debugging, the components such as capacitors and inductors heat normally and the output voltage value is correct. So far, the system power module has been successfully debugged.

Next, we gradually installed and debugged other module circuits. Each time a module was installed, it was powered on for testing, mainly to test whether the system power supply voltage and the input voltage and output results of the module were correct. After the entire system hardware circuit was installed and powered on for debugging, it was found that the system power supply was unstable, that is, the DC regulated input power supply often lost power, causing the system power supply to work abnormally. Since there were many system circuits, it was difficult to check, and the problem had not been solved. After multiple power-on tests and debugging, it was found that a voltage (boost) converter in the circuit was smoking - the chip was burnt. After carefully checking the data sheet of the chip, it was found that the chip model was wrong and the positive and negative feedback voltage pins were connected in reverse. After removing the chip, the system power supply worked normally.

3.2 Analysis of debugging results

The system power debugging and the installation and debugging process of the entire system hardware circuit are analyzed. Combined with the problems encountered during the installation and debugging process, the following conclusions are drawn:

① The substrates of chip resistors and capacitors are mostly made of ceramic materials that are easily broken by collision. However, chip integrated circuits have a large number of pins, narrow spacing, and low hardness, which can easily cause pin solder short circuits, cold solder joints and other faults. Therefore, when disassembling and welding, you should master the techniques of temperature control, preheating, and light touch.

② Before debugging the power module, you must carefully check whether the components are installed correctly, and use a voltmeter to detect whether there are cold soldering or welding slag short circuits in the circuit to ensure the correctness of the circuit and avoid burning out the components.

③ If you are not sure when powering on, you can consider using an adjustable regulated power supply with a current limiting function, slowly increase the voltage value of the regulated power supply, and detect the input current (voltage) and output voltage until the output voltage meets the requirements.

④ When debugging a relatively large system circuit, you should first install and debug the system power supply, and then gradually install and debug other modules after successful debugging. Each time a module is installed, power it on for testing, and then debug another module after ensuring that it is correct.

Conclusion

This article takes the embedded control system based on AT91RM9200 as an example, focusing on the design ideas and methods of the system power circuit and the installation and debugging process of the system power supply. Combined with the problems encountered during the debugging process, the debugging methods and precautions of the embedded system circuit are analyzed. With the widespread application of embedded systems, the design and debugging of power circuits are particularly important, and the design and debugging ideas of this article are worth learning from.

Keywords:AT91RM9200 Reference address:Design and debugging of system power supply based on AT91RM9200

Previous article:A design scheme for a low-capacity reversible speed regulation system
Next article:How to better design PWM DC-DC system?

Recommended ReadingLatest update time:2024-11-15 15:27

Application of File System in EEPROM
Introduction In embedded systems, EEPROM is widely used in the field of small but important data storage due to its simple use, reliable performance and low price. At present, embedded products are emerging in an endless stream and have a wide range of applications, and corresponding EEPROMs have emerged. Among them
[Microcontroller]
Application of File System in EEPROM
u-boot transplantation on at91rm9200
Porting u-boot on at91rm9200 ================== Preparation ================ 1. Read the chapter about "boot program" in at91rm9200 official document to have a general understanding of the boot process of at91rm9200. at91rm9200 boot flow chart Device Setup | | Boot SPI DataFlash Boot -- Download from DataFlash -- run
[Microcontroller]
Latest Power Management Articles
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号