Design principles and points for attention of single chip microcomputer control board

Publisher:Tianran2021Latest update time:2014-09-19 Source: dzscKeywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

  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.

Keywords:MCU Reference address:Design principles and points for attention of single chip microcomputer control 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

A multifunctional AC voltage-stabilized power supply controlled by a single-chip microcomputer
Abstract: This paper proposes a multifunctional AC voltage-stabilized power supply controlled by a single-chip microcomputer, discusses its working principle, and gives the software and hardware block diagrams. The power supply realizes intelligence, multi-function, high precision, and has functions such as timing
[Microcontroller]
A multifunctional AC voltage-stabilized power supply controlled by a single-chip microcomputer
51 MCU voice + temperature control source code
#include #define uchar unsigned char #define uint unsigned int volatile index; uchar a,b,c; //Define three variables. flying m; // uint teempr; // uint z,i; //************************************************★The following is the array of PWM modulation★******************************************************** //22
[Microcontroller]
DC/DC circuit simulation + program design based on PID control of 51 single chip microcomputer
The course comprehensive design done before the winter vacation integrates single-chip microcomputer technology, analog electronic technology, power electronic technology, and automatic control technology. A PID-controlled DC/DC circuit based on a 51 single-chip microcomputer was designed. The main circuit of the desi
[Microcontroller]
DC/DC circuit simulation + program design based on PID control of 51 single chip microcomputer
Playing PID control with a single-chip microcomputer - from ideal PID control to advanced PID control_13
3.5 Composite fuzzy control Compound fuzzy control means that fuzzy control is used when the deviation is large, and PID control is used when the deviation is small, thereby overcoming the shortcoming of fuzzy control with deviation. Its principle is shown in Figure 1. 3.5.1 Fuzzy Control The working principle o
[Microcontroller]
Playing PID control with a single-chip microcomputer - from ideal PID control to advanced PID control_13
Timing of instruction execution inside the microcontroller
  When the microcontroller performs various operations, the CPU completes the related work in strict accordance with the prescribed time sequence. This time sequence is called timing.   Single cycle instruction operation timing   Operation timing of two-cycle instructions
[Microcontroller]
Timing of instruction execution inside the microcontroller
51 MCU general assembly delay subroutine
: General delay subroutine : 7FEBH - FFEBH : Delay : The delay constant is placed in the R2 register. The delay time corresponding to the time constant N (hexadecimal) (6MZH crystal oscillator) is shown in the following table: : R2=0 : R2 : None Example: Delay 1 second subroutine MOV R2,#18H LC
[Microcontroller]
Comparison of overall R&D costs between 8-bit and 32-bit MCUs
Preface: In most microcontroller (MCU) applications, "cost" has always been regarded as the first design principle. Therefore, many engineers tend to (or are required to) use entry-level MCUs to save costs. However, this only saves the hardware material cost during mass production. If viewed from the perspective of ove
[Microcontroller]
Introduction to PIC series microcontrollers
1. Introduction According to statistics, the annual capacity of single-chip microcomputers in China has reached 100-300 million pieces, and it is growing at a rate of about 16% per year, but China's share of the world market is less than 1%. This shows that the application of single-chip microcomputers in C
[Microcontroller]
Introduction to PIC series microcontrollers
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号