2020 九游会官网入口官网升级中!现在您访问九游会官网入口官网的浏览器设备分辨率宽度低于1280px
请使用高分辨率宽度访问。
introduction
as the single-chip microcomputer system is more and more widely used in consumer electronics, medical treatment, industrial automation, intelligent instrumentation, aerospace and other fields, the single-chip microcomputer system is facing an increasingly serious threat of electromagnetic interference (emi). electromagnetic compatibility (emc) includes the emission and sensitivity of the system. if a single-chip microcomputer system meets the following three conditions, the system is emc:
① no interference to other systems;
② insensitive to the emission of other systems;
③ there is no interference to the system itself.
if interference cannot be completely eliminated, it should also be minimized. the generation of interference is either direct (through conductor, common impedance coupling, etc.) or indirect (through crosstalk or radiation coupling). electromagnetic interference is generated through conductors and radiation. many electromagnetic emission sources, such as lighting, relays, dc motors and fluorescent lamps, can cause interference; ac power lines, interconnection cables, metal cables and internal circuits of subsystems may also generate radiation or receive unwanted signals. in high-speed single-chip microcomputer systems, clock circuits are usually the largest source of broadband noise. these circuits can produce harmonic distortion as high as 300 mhz, which should be removed from the system. in addition, the reset line, interrupt line and control line are the most easily affected in the single chip microcomputer system.
1. coupling mode of interference
(1) conductive emi
one of the most obvious and often overlooked paths that can cause noise in a circuit is through a conductor. a wire passing through a noisy environment can pick up the noise and send it to other circuits to cause interference. the designer must avoid the noise of wire picking up and remove the noise by decoupling before the noise causes interference. the most common example is noise entering the circuit through the power line. if the power supply itself or other circuits connected to the power supply are interference sources, they must be decoupled before the power line enters the circuit.
(2) common impedance coupling
common impedance coupling occurs when current from two different circuits flows through a common impedance. the voltage drop on the impedance is determined by two circuits, and the ground current from the two circuits flows through the common ground impedance. the ground potential of circuit 1 is modulated by ground current 2, and the noise signal or dc compensation is coupled from circuit 2 to circuit 1 through common ground impedance.
(3) radiative coupling
radiated coupling is commonly known as crosstalk. crosstalk occurs when a current flows through a conductor, generating an electromagnetic field that induces transient currents in adjacent conductors.
(4) radiation emission
there are two basic types of radiative emission: differential mode (dm) and common mode (cm). common mode radiation or monopole antenna radiation is caused by unintentional voltage drop, which raises all connections in the circuit above the system ground potential. in terms of the size of the electric field, cm radiation is a more serious problem than dm radiation. in order to minimize cm radiation, a practical design must be used to reduce the common mode current to zero.
2 factors affecting emc
① voltage. the higher the power supply voltage, the greater the voltage amplitude, the more emissions, and the lower the power supply voltage affects the sensitivity.
② frequency. high frequencies produce more emissions, and periodic signals produce more emissions. in the high-frequency single-chip microcomputer system, when the device is switched, the current peak signal is generated; in the analog system, the current spike signal is generated when the load current changes.
③ grounding. among all emc problems, the main problem is caused by improper grounding. there are three signal grounding methods: single point, multipoint and hybrid. when the frequency is lower than 1 mhz, the single point grounding method can be adopted, but it is not suitable for high frequency; in high-frequency applications, it is best to use multi-point grounding. hybrid grounding is a method of single point grounding for low frequency and multi-point grounding for high frequency. the ground wire layout is the key. the ground circuit of high-frequency digital circuit and low-level analog circuit must not be mixed.
④ pcb design. proper printed circuit board (pcb) wiring is essential to prevent emi.
⑤ power decoupling. when the device is switched, transient current will be generated on the power line, which must be attenuated and filtered out. the transient current from the high di/dt source leads to the “emission” voltage of the ground and trace. the high di/dt generates a wide range of high-frequency current, which excites the radiation of components and cables. the change of current and inductance flowing through the wire will lead to voltage drop, which can be minimized by reducing the change of inductance or current with time.
3. emc design of printed circuit board (pcb)
pcb is the support of circuit components and devices in single chip microcomputer system. it provides the electrical connection between circuit components and devices. with the rapid development of electronic technology, the density of pcb is getting higher and higher. the quality of pcb design has a great impact on the electromagnetic compatibility of single chip microcomputer system. practice has proved that even if the circuit schematic design is correct and the printed circuit board design is improper, it will also have an adverse impact on the reliability of single chip microcomputer system. for example, if the two thin parallel lines of the printed board are close together, the delay of the signal waveform will be formed, and the reflected noise will be formed at the end of the transmission line. therefore, when designing pcb, we should pay attention to the correct method, abide by the general principles of pcb design, and meet the requirements of anti-interference design.
3.1 general principles of pcb design
in order to obtain the best performance of electronic circuits, the layout of components and wires is very important. in order to design pcb with good quality and low cost, the following general principles should be followed.
(1) layout of special components
first of all, we should consider the size of pcb: when the size of pcb is too large, the printing line is long, the impedance increases, the anti noise ability decreases, and the cost also increases; if it is too small, the heat dissipation is poor, and the adjacent lines are easy to be disturbed. after determining the size of pcb, determine the position of special components. finally, according to the functional units of the circuit, all components of the circuit are laid out.
the following principles shall be observed when determining the position of special components:
① try to shorten the wiring between high-frequency components and try to reduce their distribution parameters and mutual electromagnetic interference. components that are susceptible to interference should not be too close to each other, and input and output components should be as far away as possible.
② there may be a high potential difference between some components or wires, so the distance between them should be increased to avoid accidental short circuit caused by discharge. components with high voltage should be arranged in places that are not easy to touch during commissioning.
③ components weighing more than 15 g should be fixed with brackets and then welded. those large, heavy and heat generating components should not be installed on the printed board, but on the chassis bottom plate of the whole machine, and heat dissipation should be considered. the thermal element should be far away from the heating element.
④ for the layout of potentiometers, adjustable inductance coils, variable capacitors, microswitches and other adjustable components, the structural requirements of the whole machine should be considered. if it is adjusted in the machine, it should be placed on the printing board where it is convenient to adjust; if it is adjusted outside the machine, its position should be consistent with the position of the adjustment knob on the chassis panel.
⑤ reserve the position occupied by the positioning hole of the printed board and the fixed support.
(2) general component layout
according to the functional units of the circuit, the layout of all components of the circuit shall comply with the following principles:
① arrange the position of each functional circuit unit according to the circuit flow, so that the layout is convenient for signal flow, and keep the signal in the same direction as much as possible.
② take the core components of each functional circuit as the center and layout around it. components and parts shall be evenly, neatly and compactly arranged on the pcb to minimize and shorten the leads and connections between components and parts.
③ for the circuit working at high frequency, the distribution parameters between components should be considered. in general, the components and parts should be arranged in parallel as far as possible, which is not only beautiful, but also easy to assemble and weld, and easy to mass produce.
④ components and parts located at the edge of the circuit board are generally not less than 2 mm away from the edge of the circuit board. the best shape of the circuit board is rectangle. the aspect ratio is 3:2 or 4:3. the size of circuit board is greater than 200 mm × at 150 mm, the mechanical strength of the circuit board should be considered.
(3) wiring
the principles of wiring are as follows:
① the conductors used at the input and output terminals should be avoided to be adjacent and parallel as much as possible, and it is best to add ground wires between lines to avoid feedback coupling.
② the minimum width of the printed board wire is mainly determined by the adhesion strength between the wire and the insulating substrate and the current flowing through them. when the thickness of copper foil is 0.5 mm and the width is 1 ~ 15 mm, the temperature rise will not be higher than 3 ℃ through the current of 2 a. therefore, the wire width of 1.5 mm can meet the requirements. for integrated circuits, especially digital circuits, the wire width of 0.02 ~ 0.3 mm is usually selected. of course, as long as it is allowed, use as wide a line as possible, especially the power line and ground wire. the minimum spacing of wires is mainly determined by the insulation resistance and breakdown voltage between wires in the worst case. for integrated circuits, especially digital circuits, as long as the technology allows, the spacing can be less than 0.1 ~ 0.2 mm.
③ the bend of printed wire is generally circular arc, and the right angle or included angle will affect the electrical performance in high-frequency circuit. in addition, try to avoid using large-area copper foil, otherwise, copper foil expansion and falling off will easily occur when heated for a long time. when a large area of copper foil must be used, it is best to use a grid shape, which is conducive to eliminating the volatile gas generated by the heating of the adhesive between the copper foil and the substrate.
(4) pad
the central hole of the pad is slightly larger than the diameter of the device lead. if the pad is too large, it is easy to form false soldering. the outer diameter d of the pad is generally not less than (d 1.2) mm, where d is the diameter of the lead. for high-density digital circuits, the minimum diameter of the pad can be (d 1.0) mm.
3.2 anti interference measures for pcb and circuit
the anti-interference design of printed circuit board is closely related to the specific circuit. here are just some common measures of pcb anti-interference design.
(1) power cord design
according to the current of the printed circuit board, try to thicken the width of the power line and reduce the loop resistance; at the same time, make the direction of power line and ground line consistent with the direction of data transmission, which helps to enhance the anti noise ability.
(2) ground wire design
in the design of single chip microcomputer system, grounding is an important method to control interference. most interference problems can be solved if grounding and shielding can be correctly combined. the ground wire structure of single chip microcomputer system roughly includes system ground, shell ground (shielding ground), digital ground (logic ground) and analog ground. the following points should be paid attention to in the design of ground wire:
① correctly select single point grounding and multi-point grounding. in the low-frequency circuit, the working frequency of the signal is less than 1 mhz, its wiring and the inductance between devices have little influence, while the circulating current formed by the grounding circuit has a great influence on the interference, so one point grounding should be adopted. when the signal working frequency is greater than 10 mhz, the ground wire impedance becomes large. at this time, the ground wire impedance should be reduced as much as possible, and the nearest multi-point grounding should be adopted. when the working frequency is 1 ~ 10mhz, if one point grounding is adopted, the length of the ground wire should not exceed 1/20 of the wavelength, otherwise the multi-point grounding method should be adopted.
② digital and analog are separated. there are both high-speed logic circuits and linear circuits on the circuit board, so they should be separated as far as possible, and the ground wires of the two should not be mixed, and they should be connected with the ground wires of the power end respectively. the grounding of low-frequency circuit should adopt single point parallel grounding as far as possible. when the actual wiring is difficult, it can be partially connected in series and then connected in parallel; high frequency circuit should adopt multi-point series grounding, and the ground wire should be short and thick. try to use a large area of grid foil around the high-frequency components, and try to increase the grounding area of the linear circuit.
③ the grounding wire should be thickened as much as possible. if the grounding wire uses a very thin line, the grounding potential will change with the change of current, causing the timing signal level of electronic products to be unstable and the anti noise performance to be reduced. therefore, the grounding wire should be thickened as much as possible so that it can pass three times the allowable current of the printed circuit board. if possible, the width of the grounding wire should be greater than 3 mm.
④ the grounding wire forms a closed loop. when designing the ground wire system of printed circuit board composed of only digital circuits, making the ground wire into a closed circuit can significantly improve the anti noise ability. the reason is that there are many integrated circuit components on the printed circuit board, especially when there are components that consume much power, due to the limitation of the thickness of the grounding wire, a large potential difference will be generated on the grounding wire, resulting in the decline of anti noise ability; if the ground wire forms a loop, the potential difference will be reduced and the anti noise ability of electronic equipment will be improved.
(3) decoupling capacitor configuration
one of the conventional methods of pcb design is to configure appropriate decoupling capacitors in each key part of the printed board. the general configuration principle of decoupling capacitor is:
① the power input terminal is jumper 10 ~ 100 μ f electrolytic capacitor. if possible, connect 100 μ above f is better.
② in principle, each integrated circuit chip should be equipped with a 0.01 pf ceramic chip capacitor. in case of insufficient gap in the printed board, a 1 ~ 10 pf tantalum capacitor can be arranged for every 4 ~ 8 chips.
③ for devices with weak noise resistance and large power change when turning off, such as ram and rom storage devices, decoupling capacitors should be directly connected between the power line and ground wire of the chip.
④ the capacitor lead should not be too long, especially the high-frequency bypass capacitor should not have a lead.
in addition, the following two points should be noted: