Method to solve the problem of output loss of control during power-on transient in MCU application system

Publisher:清新生活Latest update time:2015-04-07 Source: eechinaKeywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere


Some netizens asked about the method to solve the problem of output loss of control during power-on transient in MCU application system. Here is the answer: Question: How to solve the problem of random relay action when the system is powered on?

Answer:

You can use negative logic or even complementary logic, flip logic design, etc.

Negative logic design means that the low level is valid. Most MCUs' conventional IOs are weakly pulled up during the power-on transient process, that is, the output logic 1. If you use conventional positive thinking, you will often use positive logic design, that is, high level is valid, then there is a high possibility of loss of control during the power-on transient, which can be solved by using negative logic. During the power-on transient, the IO output rises rapidly with the establishment of power. Although its logic "seems to be 0" at the beginning, as long as the output execution component is under the same power establishment conditions, the initial "logic 0" cannot cause the output execution circuit to operate. After the output execution circuit establishes the working conditions, the IO output is already logic 1.

The negative logic method can solve the problem of transient out-of-control of the same power supply system, but the execution circuit must establish working conditions before the control system or when higher reliability is required, complementary logic or flip logic design must be used. Complementary logic design refers to a series of combinations of specific 01 alternating logic as valid values, otherwise it is judged invalid; flip logic is to use the timing 01 logic to alternately appear as a valid value according to specific rules, otherwise it is judged invalid. These two are also called "combinatorial logic method" and "sequential logic method". The advantage is high reliability, but the design of the execution circuit is relatively complex. In specific applications, it needs to be flexibly selected according to actual conditions.
Keywords:MCU Reference address:Method to solve the problem of output loss of control during power-on transient in MCU application system

Previous article:Improving the driving capability of MCU IO pins
Next article:A college student's experience in learning programming - worth learning from

Recommended ReadingLatest update time:2024-11-16 16:48

Implementing parallel communication between microcontroller and ISA bus using CPLD
    Abstract: ALTERA company's MAX7000 series CPLD chip is used to realize parallel communication between the microcontroller and PC104 ISA bus interface, and the system design method and program source code are given. Including communication software and AHDL design part.     Keywords: CPLD ISA bus parallel com
[Industrial Control]
Design of smart home alarm system based on AT89C2051 microcontroller
introduction With the development of electronic information technology and computer network technology, the realization of home informatization and networking is a new trend in the development of smart home systems. As an important part of the smart home system, the performance of the alarm system is directly r
[Microcontroller]
Design of smart home alarm system based on AT89C2051 microcontroller
Engineer: These domestically produced RISC-V MCUs are very powerful!
Initiating topic discussions is an old tradition of the EEWorld forum. This time, we invited senior engineers to talk about MCU chips using the RISC-V core. As a rising star, RISC-V has been hotly sought after in recent years, and has produced countless high-quality products with continuous breakthroughs
[Embedded]
PIC16C64 microcontroller external features
1. Capture/Compare/PWM Module The RC2/CCPI pin of the PICI6C64 microcontroller has the functions of capture/compare/PWM output, corresponding to the internal capture/compare/PWM module, referred to as the CCPI module. This module has a 16-bit register (CCPR1) which can be set by software to be a capture registe
[Microcontroller]
Production of Simple Programmer for STC12 Series MCU
Production of Simple Programmer for STC12 Series MCU 1. Advantages of STC12 series microcontrollers 1. High cost performance The use of STC12 series microcontrollers can save the reset circuit, external data storage (such as 24Cxx series chips), and in some cases, the crystal oscillator can be saved. The c
[Microcontroller]
Production of Simple Programmer for STC12 Series MCU
Essential knowledge for getting started with microcontrollers (3)
MCU Learning At present, many people do not approve of assembly language. It can be said that it is very important to master the C language microcontroller programming, which can greatly improve the efficiency of development. However, beginners do not need to understand the assembly language of the microcontroller, bu
[Microcontroller]
STC microcontroller programming software installation
STC microcontroller is a microcontroller based on the C51 core independently developed by Hongjing Technology and is widely used in China. Based on the traditional C51 microcontroller, STC's performance design has been greatly improved. It has superior performance and relatively low price, and has been loved by many c
[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
Guess you like

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号