For the current electronic system, the design of the power supply part is becoming more and more important. I want to discuss some of my own experiences on power supply design, and let us know how to make in-depth and long-term power supply design.
Q1: How to evaluate the power requirements of a system
Answer: For an actual electronic system, carefully analyze its power requirements. Not only care about the input voltage, output voltage and current, but also carefully consider the total power consumption, the efficiency of the power supply, the transient response of the power supply to the load change, the tolerance of the critical components to the power supply fluctuations, and the corresponding allowable Power ripple, heat dissipation issues, and more. Power consumption and efficiency are closely related, and the efficiency is high. The total power consumption is small under the same load power consumption. It is very beneficial to the power budget of the whole system. Compared with LDO and switching power supply, the switching power supply is more efficient. some. At the same time, the efficiency of the evaluation is not only to look at the efficiency of the power circuit at full load, but also to consider the efficiency level at light loads.
As for the load transient response capability, there are strict requirements for some high-performance CPU applications, because when the CPU suddenly starts running heavy tasks, the required starting current is very large, if the power circuit response speed is not enough, causing an instant The voltage drops too much and too low, causing the CPU to run incorrectly.
In general, the actual value of the required power supply is mostly +-5% of the nominal value, so the allowed power supply ripple can be calculated accordingly, of course, the margin must be reserved.
The heat dissipation problem is important for high-current power supplies and LDOs, and calculations can also be evaluated for suitability.
Q2: How to choose the right power supply implementation circuit
Answer: According to the specific technical indicators obtained by analyzing the system requirements, you can choose the appropriate power supply implementation circuit. Generally for the weak current part, including LDO (linear power converter), switching power supply capacitor buck converter and switching power supply inductor-capacitor converter. In contrast, the LDO design is the easiest to implement, and the output ripple is small, but the disadvantage is that the efficiency may not be high, the heat is large, and the current that can be supplied is not much larger than that of the switching power supply. The switching power supply circuit is flexible in design and high in efficiency, but the ripple is large, the implementation is complicated, and the debugging is cumbersome.
Q3: How to choose the right components and parameters for the switching power supply circuit
Answer: Many engineers who have not used switching power supply design will have certain fears, such as concerns about switching power supply interference, PCB layout problems, component parameters and type selection issues. In fact, as long as you understand, using a switching power supply design is very convenient.
A switching power supply generally consists of a switching power supply controller and an output. Some controllers integrate the MOSFET into the chip, which makes it easier to use and simplifies PCB design, but the design flexibility is reduced.
The switch controller is basically a closed-loop feedback control system, so there is generally a sampling circuit that feeds back the output voltage and a control loop for the feedback loop. Therefore, this part of the design is to ensure accurate sampling circuit, and to control the feedback depth, because if the feedback loop response is too slow, there will be a lot of impact on the transient response capability.
The output part design includes output capacitors, output inductors, MOSFETs, etc. These choices are basically to balance a performance and cost, such as high switching frequency can use small inductance values ​​(meaning small package and Cheaper cost), but high switching frequency increases interference and switching losses to the MOSFET, resulting in reduced efficiency. The result of using a low switching frequency is the opposite.
The ESR of the output capacitor and the Rds_on parameter selection of the MOSFET are also critical. A small ESR can reduce the output ripple, but the cost of the capacitor will increase, and a good capacitor will be expensive. Switching power supply controller drive capability should also be noted that too many MOSFETs cannot be driven well.
In general, the supplier of the switching power supply controller will provide specific calculation formulas and usage plans for engineers to learn from.
Q4: How to debug the switching power supply circuit
Answer: Some experience can be shared with everyone
1: The output of the power circuit is connected to the board through a low-resistance high-power resistor, so that in the case of no soldering resistor, the power circuit can be debugged first, avoiding the influence of the latter circuit.
2: Generally speaking, the switch controller is a closed-loop system. If the output deteriorates beyond the range that the closed-loop can control, the switching power supply will not work properly. Therefore, the feedback and sampling circuits need to be carefully checked. In particular, if a large ESR output capacitor is used, a lot of power supply ripple will occur, which will also affect the operation of the switching power supply.
Discussion of grounding technology
Q1: Why should I ground?
Answer: The introduction of grounding technology was originally designed to prevent lightning strikes on equipment such as electricity or electronics. The purpose is to introduce the lightning strike current generated by lightning into the earth through a lightning rod to protect the building. At the same time, grounding is also an effective means to protect personal safety. When the phase line caused by some reason (such as poor wire insulation, aging of the line, etc.) and the equipment casing touch, the equipment's outer casing will have dangerous voltage. The generated fault current flows through the PE line to the ground for protection. With the development of electronic communication and other digital fields, it is far from satisfactory to consider only lightning protection and safety in the grounding system. For example, in a communication system, the interconnection of signals between a large number of devices requires that each device have a reference 'ground' as a reference ground for the signal. Moreover, with the complication of electronic devices, the signal frequency is getting higher and higher. Therefore, in the grounding design, electromagnetic compatibility problems such as mutual interference between signals must be given special attention. Otherwise, improper grounding will seriously affect the reliability of the system operation. Sex and stability. Recently, the concept of "ground" has also been introduced in the signal reflow technique of high-speed signals.
Q2: Definition of grounding
Answer: In modern grounding concepts, for line engineers, the term is usually referred to as 'the reference point for line voltage'; for system designers, it is often a cabinet or rack; for electrical engineers, it It is the meaning of green safety ground or receiving the earth. A more general definition is "ground is the low impedance path where current returns to its source." Note that the requirements are "low impedance" and "path".
Q3: Common grounding symbol
Answer: PE, PGND, FG-protective ground or chassis; BGND or DC-RETURN-DC-48V (+24V) power supply (battery) reflow; GND-work ground; DGND-digital ground; AGND-analog ground; LGND- Lightning protection ground
Q4: Suitable grounding method
Answer: There are several ways to ground, single point grounding, multi-point grounding, and mixed type grounding. Single-point grounding is divided into series single-point grounding and parallel single-point grounding. In general, single-point grounding is used for simple circuits, grounding between different functional modules, and low frequency (f < 1MHz) electronics. Multi-point grounding or multi-layer boards (complete ground plane layers) are used when designing high frequency (f > 10 MHz) circuits.
Q5: Introduction to signal reflow and cross-segmentation
Answer: For an electronic signal, it needs to find a way to return the current with the lowest impedance to the ground, so how to handle this signal reflow becomes very critical.
First, according to the formula, the radiation intensity is proportional to the loop area, that is, the longer the path that the reflow needs to go, the larger the loop formed, and the greater the interference with the external radiation. Therefore, when the PCB is laid Minimize power supply loop and signal loop area.
Second, for a high-speed signal, providing good signal reflow can guarantee its signal quality. This is because the characteristic impedance of the transmission line on the PCB is generally calculated by reference to the ground plane (or power plane), if the high-speed line There is a continuous ground plane nearby, so that the impedance of this line can be kept continuous. If there is no ground reference near the segment line, the impedance will change, and the discontinuous impedance will affect the signal integrity. Therefore, when wiring, you should assign the high-speed line to the layer near the ground plane, or walk along the high-speed line and walk one or two ground lines to provide the function of shielding and providing reflow.
Third, why do you try to avoid splitting across the power supply when wiring? This is because after the signal crosses different power supply layers, its return path will be long and susceptible to interference. Of course, it is not strictly required that it cannot be split across power sources, and it is possible for low-speed signals because the generated interference can be ignored regardless of the signal. For high-speed signals, it is necessary to carefully check, try not to cross, you can adjust the wiring of the power supply part. (This is for multiple power supplies of multi-layer boards)
Q6: Why do you want to separate the analog ground from the digital ground?
Answer: Both analog and digital signals are returned to ground because the digital signal changes rapidly, causing a lot of noise on the digital ground, and the analog signal requires a clean ground reference. If the analog ground and digital ground are mixed together, the noise will affect the analog signal.
In general, analog ground and digital ground are treated separately, then connected together by thin traces, or joined together at a single point. The general idea is to try to block the noise on the digital ground from hitting the analog ground. Of course, this is not very strict. The analog ground and the digital ground must be separated. If the digital ground near the analog part is still very clean, it can be put together.
Q7: How is the signal on the board grounded?
Answer: For general devices, the nearest grounding is the best. After using a multi-layer board design with a complete ground plane, it is very easy to ground the general signal. The basic principle is to ensure the continuity of the wiring and reduce it. Number of holes; close to the ground plane or power plane, and so on.
Q8: How is the interface device of the board grounded?
Answer: Some boards have external I/O interfaces, such as serial port connectors, network port RJ45 connectors, etc. If the grounding of them is poorly designed, it will affect normal operation. For example, the network port interconnection has errors. , packet loss, etc., and will become an external source of electromagnetic interference, sending out the noise inside the board. Generally, a separate interface ground is separately separated, and the connection with the signal ground is connected by a thin trace, and a resistor of 0 ohm or small resistance can be serially connected. Fine traces can be used to block signal ground noise from reaching the interface ground. Similarly, the filtering of the interface ground and interface power supply should also be carefully considered.
Q9: How is the shield of the cable with shield layer grounded?
Answer: The shield of the shielded cable should be connected to the ground of the board instead of the signal ground. This is because there is various noise on the signal ground. If the shield is connected to the signal ground, the noise voltage will drive the common mode current along the shield. External interference, so poorly designed cable is generally the largest source of noise for electromagnetic interference. Of course, the premise is that the interface should be very clean.
Packages For Fiber Optic Communication,Optical Housings,Optical Communication Component,Optical Communication Fine Tube
Shaanxi Xinlong Metal Electro-mechanical Co., Ltd. , https://www.cnxlalloyproduct.com