Data protection circuit in singlechip system power off and method thereof

A single-chip, power failure technology, used in emergency protection circuit devices, general control systems, control/regulation systems, etc., can solve the problems of circuit complexity, poor reliability, increased cost, etc., and achieve strong operational reliability and high reliability. , The effect of the system is simple

Inactive Publication Date: 2008-06-18
SUZHOU NEW DACHENG TECH DEV
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the service life of the backup battery is very limited, and the stored data is easily disturbed, the reliability is poor, and it causes the complexity of the circuit and increases the cost

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
  • Data protection circuit in singlechip system power off and method thereof
  • Data protection circuit in singlechip system power off and method thereof
  • Data protection circuit in singlechip system power off and method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] As shown in Figure 1, the 220V AC is connected to the transformer T1, through the rectifier circuit, capacitor C1, voltage stabilizer U1 and C2, to provide DC 5V to the microcontroller 1; the power failure detection circuit is mainly composed of the transformer T1 and the photoelectric converter U2, 220V The alternating current passes through the transformer T1, and outputs 9V alternating current, which is connected to the input terminal of the photocoupler U2 through the resistor R1; ) The circuit U2A outputs a high-level signal to the single-chip microcomputer 1 after shaping and inverting; when the alternating current is in the negative half cycle, since its voltage is less than the conduction voltage of the photocoupler U2, the photocoupler U2 is not turned on, and is shaped by the shaping circuit U2A Output a low-level signal to the single-chip microcomputer 1 after inversion; therefore, the pulse signal with a duty cycle of about 50% is input to the single-chip mic...

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 data protecting circuit when a singlechip has power failure and the method thereof. The output of the transformer of the invention is connected with a rectifier circuit; the DC current is output through a capacitor and a voltage stabilizer; the other output of the transformer is connected with the singlechip through a resistance and a photoelectric converter; the DC is supplied for the singlechip; the transformer is connected with the photoelectric converter through the resistance, with positive half cycle conductive and negative half cycle non-conductive; the photoelectric converter is connected with a shaping circuit, with the positive half cycle being high level and the negative half-cycle being low level; the shaping circuit outputs the high level and the lower level to the singlechip; the period that the singlechip scans the low level which is output by the shaping circuit is 5ms; the power loss is judged when the singlechip scans the continuous low level more than twice and the singlechip starts power failure processing program. The invention solves the defects that the service life of standby battery is limited during power failure, the storage data is easy to be interfered, the reliability is poor, the circuit is complex, the cost is increased, etc. The invention has the advantages of protecting against the loss of the data without batteries, no interference of the outside world, high reliability, simple system and fast speed.

Description

technical field [0001] The invention relates to a data protection circuit and method, in particular to a data protection circuit and method when a single-chip microcomputer is powered off. Background technique [0002] Before the present invention, in the system of single-chip microcomputer, data is generally all stored in random access memory, and the main shortcoming of random access memory is exactly that all data will be lost after power failure, cannot preserve data for a long time. Therefore, in order to enable the random access memory to store data for a long time after a power failure, it is generally used to add a backup battery to the random access memory to protect the data in the random access memory. However, the service life of the backup battery is very limited, and the stored data is easily disturbed, has poor reliability, and causes circuit complexity and increases costs. Contents of the invention [0003] The purpose of the present invention is just to o...

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): H02H7/20G05B15/02
Inventor 陈磊
Owner SUZHOU NEW DACHENG TECH DEV
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