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 - Reliability Design of High-speed DSP System PCB

PCB Technical

PCB Technical - Reliability Design of High-speed DSP System PCB

Reliability Design of High-speed DSP System PCB

2021-10-27
View:360
Author:Downs

Several issues that should be paid attention to in the reliability design of PCB boards in high-speed DSP systems.

1, power supply design

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

2, consider the decoupling of power and ground

With the increase of DSP operating frequency, DSP and other IC components tend to be miniaturized and packaged densely. Usually, multi-layer boards are considered in circuit design. It is recommended that both power and ground can use a dedicated layer, and for multiple power sources, For example, the DSP I/O power supply voltage is different from the core power supply voltage, and two different power supply layers can be used. If the processing cost of a multilayer board is considered, a dedicated layer can be used for more wiring or relatively critical power supplies. The power supply can be routed the same as the signal line, but the width of the line must be sufficient.

Regardless of whether the circuit board has a dedicated ground layer and power layer, a certain and reasonably distributed capacitor 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.

pcb board

3. Wiring rules considering power distribution

separate analog and digital power layers

High-speed and high-precision analog components are very 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.

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 10 mils, and the escort ground wire width should be at least 20 mils. The hole is in good contact with the ground, and every 5cm is punched to connect with the ground; the clock sending side must be connected in series with a damping resistor of 22Ω~220Ω. The interference caused by the signal noise brought by these lines can be avoided.

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.

Hardware anti-jamming design

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

(1) Hardware filtering: RC filter can greatly attenuate 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: AC power, high-frequency power, strong current equipment, electric sparks generated by arcs will generate electromagnetic waves and become a noise source of electromagnetic interference. Metal shells can be used to surround the above devices and ground them. This pair of shields The interference caused by electromagnetic induction is very effective.

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

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 influence 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 is disturbed and jump to this area, 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.

4, 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:

5. Choose a reasonable wire width

The impact of 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 selected between 0.2mm to 1.0mm.

Using a tic-tac-toe network wiring structure.

The specific method is to route the horizontal wiring on the first layer of the PCB printed board, and the vertical wiring on the next layer.