Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Abnormal forced resetting type watchdog circuit of microcontroller

A micro-controller and watchdog technology, applied in the direction of response error generation, etc., can solve problems such as unsuitable for power-off reset, short effective time of reset level, error-prone dog feeding conditions, etc., to solve the problem of program runaway and The effect of the deadlock phenomenon

Active Publication Date: 2015-07-01
GUANGDONG CORRECTITUDE POWER CURRENCY ELECTRIC CO LTD
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If it is consistent with the active level of the external watchdog feeding dog pin, it will cause the external watchdog to fail
[0007] 3. The feeding condition of the external watchdog is simple, generally the change of the high and low levels is enough. When the system is disturbed or the MCU software is abnormal, it is easy to generate the feeding condition by mistake, so that the external watchdog cannot work normally.
[0009] 5. The external watchdog is used in conjunction with the MCU reset pin, and the effective time of the reset level is relatively short, generally at the millisecond level, which is not suitable for power-off reset
The system contains large capacitors, and a millisecond-level power failure cannot effectively consume the stored power, so power-off reset cannot be realized

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Abnormal forced resetting type watchdog circuit of microcontroller
  • Abnormal forced resetting type watchdog circuit of microcontroller
  • Abnormal forced resetting type watchdog circuit of microcontroller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Such as figure 2 , a watchdog circuit, including a first CD4017 counter module, a second CD4017 counter module, a 555 oscillator circuit module and a level conversion circuit module; The voltage is converted into a voltage that matches the first CD4017 counter module, and its input terminal is connected to the output pin of the MCU feeding dog signal, and its output terminal is connected to the pulse input pin (CLK pin) of the first CD4017 counter module, which will pass through the level conversion circuit The converted feeding dog signal is input to the first CD4017 counter module; the 555 oscillator circuit module is used to generate a pulse signal, and the generated pulse signal is sent to the reset pin (RST pin) and the first CD4017 counter module of the first CD4017 counter module. The pulse input pin (CLK pin) of the second CD4017 counter module; the pulse input pin (CLK pin) of the first CD4017 counter module is connected to the output terminal of the level con...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an abnormal forced resetting type watchdog circuit of a microcontroller. The watchdog circuit comprises a first CD4017 counter module, a second CD4017 counter module, a 555 oscillator circuit module and a level conversion circuit module. The abnormal forced returning type watchdog circuit can overcome the shortages of simple feeding condition and easy error feeding of the common watchdog; the pulse cycle can be independently adjusted to achieve long-time power-off forced resetting function; the circuit is a practical and an effective MCU monitoring circuit; the phenomena of program runaway and dead locking can be effectively solved.

Description

technical field [0001] The invention relates to a reset when the software of a microcontroller (MCU) runs away in an embedded system and a forced reset circuit in the case of hardware deadlock. Background technique [0002] In the embedded system, the microcontroller (MCU) often crashes or the program runs away due to external interference or other reasons, resulting in the product not working properly. The industry uses watchdog technology to solve this problem, and resets the system that crashes or runs away through the watchdog and makes it work normally. Watchdogs are divided into microcontroller internal watchdogs and external watchdogs. The internal watchdog is implemented by utilizing the internal resources of the MCU, including an internal dedicated watchdog or using an internal timer to realize the watchdog function. After the watchdog function is turned on, the MCU needs to re-assign the initial value or clear the timer regularly (feed the dog) through the softw...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/07
Inventor 廖志梅
Owner GUANGDONG CORRECTITUDE POWER CURRENCY ELECTRIC CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products