Precision PCB Fabrication, High-Frequency PCB, High-Speed PCB, Standard PCB, Multilayer PCB and PCB Assembly.
The most reliable PCB & PCBA custom service factory.
PCB Technical

PCB Technical - How to guarantee the quality of DSP PCB design

PCB Technical

PCB Technical - How to guarantee the quality of DSP PCB design

How to guarantee the quality of DSP PCB design

2021-10-26
View:546
Author:Downs

With the increasing degree of chip integration, the number of chip pins is increasing, and the packaging of devices is constantly changing, from DIP to OSOP, from SOP to PQFP, and from PQFP to BGA. TMS320C6000 series devices adopt BGA package. In terms of circuit application, BGA package has the characteristics of high success rate, low repair rate, and high reliability. It is more and more widely used. However, because BGA package belongs to ball grid array chip package, it is under development. The physical realization of the system, that is, the board-level design involves many high-speed digital circuit design techniques.

In high-speed systems, the generation of noise interference is the first influencing factor. High-frequency PCB circuits will also produce radiation and collisions, while faster edge rates will produce ringing, reflection and crosstalk. If you do not consider the particularity of high-speed signal layout and routing, the designed circuit board will not work properly. Therefore, the success of PCB board design is a very critical link in the circuit design process of DSPs.

Therefore, the design quality of the PCB board is very important. It is the only way to transform the optimal design concept into reality. The following discusses several issues that should be paid attention to in the reliability design of PCB boards in high-speed DSP systems.

1. Power supply design

pcb board

The first thing that needs to be considered in the PCB board design of a high-speed DSP system is the power supply design. In power supply design, the following methods are usually used to solve signal integrity problems.

1. Consider the decoupling of power and ground

Regardless of whether the circuit board has a dedicated ground layer and power layer, a certain and reasonably distributed capacitance must be added between the power supply and the ground. In order to save space and reduce the number of through holes, it is recommended to use more chip capacitors. The chip capacitor can be placed on the back of the PCB board, that is, the soldering surface. The chip capacitor is connected to the through hole with a wide wire and connected to the power supply and the ground through the through hole.

2. Consider the wiring rules for power distribution

Separate analog and digital power planes

High-speed and high-precision analog components are sensitive to digital signals. For example, the amplifier will amplify the switching noise to make it close to the pulse signal, so the analog and digital parts of the board, the power layer is generally required to be separated.

3. Isolate sensitive signals

Some sensitive signals (such as high-frequency clocks) are particularly sensitive to noise interference, and high-level isolation measures must be taken for them. The high-frequency clock (a clock above 20MHz, or a clock with a flip time of less than 5ns) must have a ground wire escort, the clock line width should be at least 10mil, and the escort ground wire width should be at least 20mil. The hole is in good contact with the ground, and every 5cm is punched to connect with the ground; a 22Ω-220Ω damping resistor must be connected in series on the clock sending side. The interference caused by the signal noise brought by these lines can be avoided.

2. Software and hardware anti-jamming design

Generally, high-speed DSP application system PCB boards are designed by users according to the specific requirements of the system. Due to limited design capabilities and laboratory conditions, if perfect and reliable anti-interference measures are not taken, once the working environment is not ideal, there is electromagnetic Interference will cause the DSP program flow to be disordered. When the DSP's normal working code cannot be restored, the program will run away or crash, and some components may even be damaged. Attention should be paid to taking corresponding anti-interference measures.

1. Hardware anti-interference design

The hardware anti-interference efficiency is high. When the system complexity, cost, and volume are tolerable, the hardware anti-interference design is preferred. Commonly used hardware anti-jamming technologies can be summarized into the following categories:

(1) Hardware filtering: RC filter can greatly weaken all kinds of high-frequency interference signals. For example, the interference of "burr" can be suppressed.

(2) Reasonable grounding: Reasonable design of grounding system, for high-speed digital and analog circuit systems, it is very important to have a low-impedance, large-area grounding layer. The ground layer can not only provide a low-impedance return path for high-frequency currents, but also make EMI and RFI smaller, and it also has a shielding effect on external interference. Separate the analog ground from the digital ground during PCB design.

(3) Shielding measures: electric sparks generated by AC power, high-frequency power, strong current equipment, and arcs will generate electromagnetic waves and become a noise source of electromagnetic interference. The above-mentioned devices can be surrounded by a metal shell and grounded. This pair of shields The interference caused by electromagnetic induction is very effective.

(4) Photoelectric isolation: photoelectric isolator can effectively avoid mutual interference between different circuit boards. High-speed photoelectric isolator is often used in the interface of DSP and other devices (such as sensors, switches, etc.).

2. Software anti-jamming design

Software anti-jamming has the advantage that hardware anti-jamming cannot replace. In the DSP application system, the anti-jamming ability of software should also be fully tapped to minimize the impact of interference. Several effective software anti-jamming methods are given below.

(1) Digital filtering: The noise of the analog input signal can be eliminated by digital filtering. Commonly used digital filtering techniques include: median filtering, arithmetic mean filtering and so on.

(2) Set trap: set a section of boot program in the unused program area. When the program jumps to this area due to interference, the boot program will forcibly guide the captured program to the specified address, and use a special program to correct the error program there. To process.

(3) Instruction redundancy: Insert two or three bytes of no-operation instruction NOP after the double-byte instruction and the three-byte instruction, which can prevent the program from being automatically brought into the right track when the DSP system is disturbed by the program running away.

(4) Set watchdog timing: If an out-of-control program enters an "endless loop", the "watchdog" technology is usually used to make the program out of the "endless loop". The principle is to use a timer, which generates a pulse according to the set period. If you do not want to generate this pulse, the DSP should clear the timer within a time less than the set period; but when the DSP program runs away, it does not The timer will be cleared as required, and the pulse generated by the timer will be used as a DSP reset signal to reset and initialize the DSP again.

Three, electromagnetic compatibility design

Electromagnetic compatibility refers to the ability of electronic equipment to work normally in a complex electromagnetic environment. The purpose of electromagnetic compatibility design is to enable electronic equipment to suppress all kinds of external interference, but also to reduce the electromagnetic interference of electronic equipment to other electronic equipment. In the actual PCB board, there is more or less electromagnetic interference phenomenon, that is, crosstalk between adjacent signals. The size of the crosstalk is related to the distributed capacitance and distributed inductance between the loops. The following measures can be taken to solve this mutual electromagnetic interference between signals:

1. Choose a reasonable wire width

The impact interference produced by the transient current on the printed lines is mainly caused by the inductance of the printed wires, and its inductance is proportional to the length of the printed wires and inversely proportional to the width. Therefore, the use of short and wide wires is beneficial to suppress interference. The signal wires of clock leads and bus drivers often have large transient currents, and their printed wires should be as short as possible. For discrete component circuits, the printed wire width is about 1.5mm to meet the requirements; for integrated circuits, the printed wire width is between 0.2mm and 1.0mm.

2. Adopt the grid-shaped wiring structure of tic-tac-toe.

The specific method is to wire horizontally on the first layer of the PCB board and wire vertically on the next layer.

Fourth, heat dissipation design

In order to facilitate heat dissipation, the printed board is best to be installed on its own, and the board spacing should be greater than 2cm. At the same time, pay attention to the layout rules of the components on the printed board. In the horizontal direction, the high-power devices are arranged as close to the edge of the printed board as possible to shorten the heat transfer path; in the vertical direction, the high-power devices are arranged as close as possible to the top of the printed board, thereby reducing its impact on the temperature of other components. Components that are more sensitive to temperature should be placed in areas with relatively low temperature as much as possible, and should not be placed directly above devices that generate large amounts of heat.

In the various designs of high-speed DSP application systems, how to transform a perfect design from theory to reality depends on high-quality PCB boards. How to improve the quality of the signal is very important. Therefore, whether the performance of the system is good is inseparable from the quality of the designer's PCB board.