The following principles need to be followed during the design of the single-chip control board:
(1) In terms of component layout, related components should be placed as close as possible. For example, clock generators, crystal oscillators, and CPU clock input terminals are prone to noise, so they should be placed closer together. For those devices that are prone to noise, small current circuits, large current circuits, switching circuits, etc., they should be kept as far away from the logic control circuits and storage circuits (ROM, RAM) of the microcontroller as possible. If possible, these circuits can be made into separate circuit boards, which is conducive to anti-interference and improves the reliability of circuit operation.
(2) Try to install decoupling capacitors next to key components such as ROM, RAM and other chips. In fact, printed circuit board traces, pin connections and wiring may contain large inductance effects. Large inductance may cause severe switching noise spikes on the Vcc trace. The only way to prevent switching noise spikes on the Vcc trace is to place a 0.1uF electronic decoupling capacitor between VCC and the power ground. If surface mount components are used on the circuit board, chip capacitors can be directly placed close to the components and fixed on the Vcc pin. It is best to use ceramic capacitors because this type of capacitor has lower electrostatic loss (ESL) and high-frequency impedance. In addition, the dielectric stability of this capacitor over temperature and time is also very good. Try not to use tantalum capacitors because their impedance is higher at high frequencies.
The following points should be noted when placing decoupling capacitors:
Connect an electrolytic capacitor of about 100uF across the power input terminal of the printed circuit board. If the volume allows, a larger capacitance is better.
In principle, a 0.01uF ceramic capacitor should be placed next to each integrated circuit chip. If the space on the circuit board is too small to accommodate it, a 1~10uF tantalum capacitor can be placed for every 10 chips.
For components with weak anti-interference ability, large current changes when turned off, and storage components such as RAM and ROM, decoupling capacitors should be connected between the power line (Vcc) and the ground line.
The leads of the capacitor should not be too long, especially high-frequency bypass capacitors should not have leads.
(3) In the single-chip microcomputer control system, there are many types of ground wires, including system ground, shield ground, logic ground, analog ground, etc. Whether the ground wire layout is reasonable will determine the anti-interference ability of the circuit board. When designing the ground wire and grounding point, the following issues should be considered:
·Logic ground and analog ground should be wired separately and cannot be used together. Their respective ground wires should be connected to the corresponding power ground wire. When designing, the analog ground wire should be as thick as possible, and the grounding area of the lead-out end should be as large as possible. Generally speaking, for the input and output analog signals, it is best to isolate them from the microcontroller circuit through an optical coupler.
When designing a printed circuit board for a logic circuit, its ground wire should form a closed loop to improve the circuit's anti-interference ability.
The ground wire should be as thick as possible. If the ground wire is very thin, the ground wire resistance will be large, causing the ground potential to change with the current, resulting in unstable signal level and reduced anti-interference ability of the circuit. If the wiring space allows, ensure that the width of the main ground wire is at least 2~3mm, and the ground wire on the component pin should be around 1.5mm.
Pay attention to the selection of grounding points. When the signal frequency on the circuit board is lower than 1MHz, the electromagnetic induction effect between the wiring and the components is small, while the loop current formed by the grounding circuit has a greater impact on interference, so one-point grounding should be used to prevent loops from being formed. When the signal frequency on the circuit board is higher than 10MHz, the inductance effect of the wiring is obvious, and the ground impedance becomes very large. At this time, the loop current formed by the grounding circuit is no longer a major problem. Therefore, multi-point grounding should be used to minimize the ground impedance.
In addition to increasing the width of the power line as much as possible according to the current, the power line and ground line should be aligned with the data line during wiring. At the end of the wiring work, the ground line is used to cover the bottom layer of the circuit board where there is no wiring. These methods are helpful to enhance the anti-interference ability of the circuit.
The width of the data line should be as wide as possible to reduce impedance. The width of the data line should be at least 0.3mm (12mil), and 0.46~0.5mm (18mil~20mil) is more ideal.
Since a via in a circuit board will bring about a 10pF capacitance effect, which will introduce too much interference to high-frequency circuits, the number of vias should be reduced . In addition, too many vias will also reduce the mechanical strength of the circuit board.
Previous article:Design of six-degree-of-freedom automatic tracking robot based on single-chip microcomputer
Next article:Application design of CMOS image acquisition system based on STM8 microcontroller
Recommended ReadingLatest update time:2024-11-16 16:22
- Popular Resources
- Popular amplifiers
- Wireless Sensor Network Technology and Applications (Edited by Mou Si, Yin Hong, and Su Xing)
- Modern Electronic Technology Training Course (Edited by Yao Youfeng)
- Modern arc welding power supply and its control
- Small AC Servo Motor Control Circuit Design (by Masaru Ishijima; translated by Xue Liang and Zhu Jianjun, by Masaru Ishijima, Xue Liang, and Zhu Jianjun)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- [MM32 eMiniBoard Review] Give feedback on this board
- IWR6843 Smart mmWave Sensor Antenna-Package Evaluation Module
- Three designs of constant current circuit
- How can an outdoor Bluetooth speaker output the same power as a 12V lead-acid battery using two 7.4V lithium batteries?
- 【GD32F307E-START】+I2C driver problem
- Essential survival skills for power engineers - 20 classic analog circuits
- Please recommend a power IC with 12V input and 48V/1.2A output
- Two books about VIM
- Switching Power Supply Interest Group 04th Task
- Shanghai Hangxin ACM32F070 Development Board + Touch Function Evaluation Board Evaluation - Part 2 Capacitive Touch Slider Function Development