Self-diagnosis, self-recovery method for computer CPU anti-interference

A self-diagnosis and self-recovery technology, applied in computing, instrumentation, electrical digital data processing, etc., can solve problems such as improper noise circuit coupling, increased long-term costs, and circuit board complexity, so as to improve anti-interference performance and save long-term Cost, the effect of simplifying design and production

Inactive Publication Date: 2008-09-03
KUNMING UNIV OF SCI & TECH
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] (1) For cheap microcomputer control systems (such as single-chip computers), the introduction of the above-mentioned anti-jamming hardware will significantly increase the conventional cost of the product, and in some cases the proportion of increased expenditure is even intolerable
Because of this, the noise suppression facilities of most household automatic control devices and portable digital instruments are not perfect, and malfunctions often occur in areas with strong interference
[0005] (2) The added hardware will complicate the circuit board, which will introduce new noise and improper circuit coupling
This problem is more prominent on the micro smart meter
[0006] (3) Due to the fast flipping speed of digital circuits, radio frequency interference pulses are easily generated, and the high-speed response characteristics of other integrated circuits make such pulses easy to be received, which leads to new interference and composite interference
[0007] (4) The increase of hardware often leads to the shortening of the system's trouble-free working time. "Hardware is more prone to failure than software" has become a consensus in the field of industrial control
Therefore, blindly adding anti-interference hardware not only increases the long-term cost, but also sometimes adds additional noise sources or noise receivers, increasing the incidence of system hardware failures

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
  • Self-diagnosis, self-recovery method for computer CPU anti-interference
  • Self-diagnosis, self-recovery method for computer CPU anti-interference

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0025] Timing / counter ①: In this example, the MCS-51 series single-chip microcomputer is used to form a measurement and control system, and the idle timer T in the chip is 0 As a component ①.

[0026] Timer clearing program ②: first set T in the initialization block 0 The working method, clear and enable its interrupt and timing functions. The main frequency is 12MHz, T 0 is an 8-bit timer, then

[0027] The maximum count value is 2 8 -1=255

[0028] The counting rate is 1 / 12 of the main frequency (1 time / μs), so:

[0029] The overflow period is (255+1)÷1=256μs

[0030] Second, calculate the execution time of each instruction, and reset T at an appropriate interval 0 =0. Since the instruction set of the MCS-51 series single-chip microcomputer only consumes 4 machine cycles for "multiply" and "divide", and the others only consume 1 to 2 machine cycles, it is conservatively simplified as "each instruction consumes 2 machine cycles", that is, each instruction takes 2μs t...

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

A self-diagnosis self-recover method of computer CPU anti-jamming is provided. The invention relates to a computer CPU self-diagnosis noise-tolerant scheme which belongs to electronic technology electro-magnetism compatibility technology field. The invention receives a stable pulse provided by inner clock by using a timer/counter unit in microcomputer slice, and puts forward a IRQ when the timer overflows (addition type) or is zero (subtraction type); corresponding interrupt service program compels a program indicating pin return to the designated location and recover important port and data in order to forcedly realize 'soft reset'. When functional application programs operate normally, the soft makes the timer zero clearing or number setting every definite time (within the overflow periodic of the timer) so that the mis-reset caused by the overflow interrupt can be prevented. The invention does not need slice-out hard ware, is low failure rate, finds PC indicating pin's abnormity in time, and forces 'soft reset' and recover important data in real time so that the normal operation of the computer system is ensured.

Description

technical field [0001] The invention relates to a computer CPU self-diagnosis noise tolerance scheme, which belongs to the technical field of electronic technology-electromagnetic compatibility. Background technique [0002] With the continuous improvement of computer performance, it has rapidly penetrated into various control fields of traditional industries. The operating environment of the measurement and control computer is complex: some are installed in the screen cabinet of the central control room of the power plant, and some are located next to various controlled equipment; and for mechatronic products, the computer is a part of the product. Industrial computer is a combination of hardware and software, and most of them are in the harsh electromagnetic environment formed by strong electric circuits, strong electric equipment and even ultra-high frequency and ultra-high voltage electrical appliances. [0003] For the scientific and technological personnel who develop...

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/00
Inventor 杨华舒杨宇璐吴霞郑郝伟施继华
Owner KUNMING UNIV OF SCI & TECH
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