Resetting-operating method of 51 single chip microcomputer (SCM)

An operating method and technology of single-chip microcomputer, applied in the field of communication engineering, can solve problems such as unrecognizable watchdog, crash, program runaway, etc.

Inactive Publication Date: 2011-03-30
王熙
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, its application in many important occasions is limited due to its fatal flaws such as crashes and program runaways.
Many technologies in anti-interference, such as setting software traps, adding hardware watchdog circuits, etc., can solve this problem better, but there are still problems: ①When the watchdog operates, it means that an error has occurred , and it has been running for a period of time, which is not allowed in some occasions; ②Sometimes the program has an infinite loop error, but it just includes the watchdog control link, and the watchdog cannot recognize such errors; ③In the detection control In a system with a relatively long cycle, the microcontroller spends a lot of time waiting for peripherals, and it will also be disturbed when executing waiting commands

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
  • Resetting-operating method of 51 single chip microcomputer (SCM)
  • Resetting-operating method of 51 single chip microcomputer (SCM)
  • Resetting-operating method of 51 single chip microcomputer (SCM)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0009] The main points of hardware implementation include two methods, one is to use a timer or a dedicated clock chip to reset, and wake up the CPU with an alarm signal after setting the alarm time; or use the inherent signal of the system as a timing reset pulse, and use a 50Hz power frequency power supply for reshaping and then reset , not only omitting the timer, but also collecting the corresponding signal for detecting the phase of the current signal. External condition resets, pulses generated by water wheels or electric meter dials, can be shaped using Schmitt triggers; for instruments that record maximum or minimum values, use window comparators. In order to realize the electronic adjustment, an electronic potentiometer can be used, and the upper and lower limits can be set with a single-chip microcomputer instruction. Connect a 1μF capacitor to a certain pin to ground, check the pin after reset, if it is low level, it is the initial power-on. If a reset button is se...

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 relates to a resetting-operating method of a 51 single chip microcomputer (SCM), in particular to a method for improving the interference resistance of the SCM in a resting-resetting operating mode, belonging to the field of communication engineering. The invention comprises principle and realization methods, hardware realization essentials and software realization essentials, wherein the realization methods comprise an unconditional timing resetting method and an external condition resetting method; and the hardware realization essentials comprise unconditional timing resetting, external condition resetting, resetting cycle and high level resetting time, processing of output terminals, power-on detection and manual resetting. The resting-resetting operating mode of the SCM is realized by the operation of hardware and software, thereby improving the interference resistance. A timer, a special clock chip or other pulse generators are used for generating resetting signals at the set time intervals. The method is especially suitable for monitoring instruments.

Description

Technical field: [0001] The invention belongs to the field of communication engineering, and relates to a method for improving the anti-interference ability of a single-chip microcomputer by using a sleep-reset operation method. Background technique: [0002] With the rapid development of microelectronics technology, the performance of single-chip microcomputers has been rapidly improved, showing extraordinary advantages in computing, logic control, and intelligence, and to a large extent replaced the original digital logic circuits and operational amplifier circuits. Control circuits are widely used. However, its application in many important occasions is limited due to its fatal defects such as crash and program runaway. Many technologies in anti-interference, such as setting software traps, adding hardware watchdog circuits, etc., can solve this problem better, but there are still problems: ①When the watchdog operates, it means that an error has occurred , and it has be...

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
IPC IPC(8): G06F1/24
Inventor 王熙
Owner 王熙
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products