MCU control board design principles and some details

Publisher:美丽花朵Latest update time:2015-08-07 Source: dzscKeywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. Component layout

In terms of the layout of components, 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 circuit switch 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 circuit boards separately, which is conducive to anti-interference and improves the reliability of circuit operation.

2. Decoupling capacitors

Try to install decoupling capacitors next to key components, such as ROM, RAM and other chips. In fact, PCB 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 PCB board, chip capacitors can be used directly 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:

(1) Connect an electrolytic capacitor of about 100uF across the power input terminal of the PCB board. If the volume allows, a larger capacitance is better.

(2) In principle, a 0.01uF ceramic capacitor needs to be placed next to each integrated circuit chip. If the gap in the circuit board is too small to accommodate it, a 1~10uF tantalum capacitor can be placed for every 10 chips.

(3) For components with weak anti-interference ability, large current changes when turned off, and storage components such as RAM and ROM, a decoupling capacitor should be connected between the power line (Vcc) and the ground line.

(4) The leads of the capacitor should not be too long, especially high-frequency bypass capacitors should not have leads.

3. Ground wire design

In the single-chip 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:

(1) The 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.

(2) When designing the printed circuit board of a logic circuit, its ground wire should form a closed loop to improve the circuit's anti-interference ability.

(3) 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, the width of the main ground wire should be at least 2~3mm, and the ground wire on the component pin should be around 1.5mm.

(4) 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 it from forming a loop. 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.

4. Others

(1) In addition to increasing the width of the power line as much as possible according to the current size, the routing direction of the power line and the ground line should be consistent with the routing direction of 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 routing. These methods are helpful to enhance the circuit's anti-interference ability.

(2) 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.

(3) Since a via in a circuit board will bring about a capacitance effect of about 10pF, which will introduce too much interference to high-frequency circuits, the number of vias should be reduced as much as possible during wiring. In addition, too many vias will also reduce the mechanical strength of the circuit board.

Keywords:MCU Reference address:MCU control board design principles and some details

Previous article:Make a highly stable constant temperature crystal oscillator for the microcontroller clock
Next article:Teach you to design single chip microcomputer hardware system

Recommended ReadingLatest update time:2024-11-16 17:50

Lingyang 61 MCU timer
Time base signal generator: The time base signal, referred to as the time base signal, comes from the 32768Hz real-time clock and is combined through frequency selection. The frequency selection logic TMB1 of the time base signal generator provides various frequency selection signals for the clock source B of TimerA
[Microcontroller]
Application of 8-bit MCU TM56F1552 in electric ceramic stove, integrated low-noise OPA
As people's living standards continue to improve, consumers have higher and higher requirements for kitchen appliances, and have high demands for the environmental protection and energy saving characteristics, safety, flexibility, etc. of electrical appliances. Ceramic stoves meet the needs of current consumers very
[Embedded]
Application of 8-bit MCU TM56F1552 in electric ceramic stove, integrated low-noise OPA
Classic MCU C51 multi-tasking code (improved version)
I have published an article before http://www.51hei.com/mcu/1616.html   This is an improved version with several minor issues fixed. //Note that this source code comes from the Internet (DIY ultra-lightweight multi-tasking operating system article) //===================================================================
[Microcontroller]
Advantages and features of AVR microcontrollers and future development prospects
This article discusses the specific applications of single-chip microcomputers in life, tells the development history and characteristics of single-chip microcomputers, and looks forward to the prospects of single-chip microcomputers. With the continuous development of urban public transportation, unmanned ticket bu
[Microcontroller]
Advantages and features of AVR microcontrollers and future development prospects
Application of MSP430 microcontroller in power supply control
The MSP430 series microcontroller is a new generation of 16-bit microcontroller produced by TI in the United States. It is an ultra-low power mixed signal processor (MixedSignal Processor). It has the advantages of low voltage, ultra-low power consumption, powerful processing capability, stable system operation, ric
[Power Management]
Application of MSP430 microcontroller in power supply control
Design of non-contact infrared thermometer based on 51 single chip microcomputer
1. Hardware Solution This system uses 51 single-chip microcomputer to control infrared temperature sensor to perform non-contact temperature detection and display, which can realize rapid measurement of human body temperature. It is mainly composed of 51 single chip microcomputer + minimum system + LCD1602 liquid cr
[Microcontroller]
Design of non-contact infrared thermometer based on 51 single chip microcomputer
Design of frequency characteristic tester based on single chip microcomputer AT89C52
introduction Frequency characteristic tester is also called scanner. Early frequency characteristic tester was completed by manually changing the frequency point by point. Later, a special scanner was designed according to this method for measuring frequency characteristics. Most of the early measuring instruments u
[Microcontroller]
Design of frequency characteristic tester based on single chip microcomputer AT89C52
MCU and MCU communication program
MCU and MCU communication program #include reg51.h   #define uchar unsigned char  #define SLAVE 0x00  #define BN 16  uchar idata tdata ;  uchar idata rdata ; bit trdy;  bit rrdy;  void main(void)  {    TMOD=0x20; //Timer T1 is mode 2    TL1=0xfd; //Timer initial value    TH1=0xfd;    PCON=0x00;    TR1=1;    SCON=0xf0
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号