CN104777760B - Super low-power consumption MCU safe starting method and circuit - Google Patents
Super low-power consumption MCU safe starting method and circuit Download PDFInfo
- Publication number
- CN104777760B CN104777760B CN201410013072.XA CN201410013072A CN104777760B CN 104777760 B CN104777760 B CN 104777760B CN 201410013072 A CN201410013072 A CN 201410013072A CN 104777760 B CN104777760 B CN 104777760B
- Authority
- CN
- China
- Prior art keywords
- power consumption
- super low
- flash
- circuit
- read
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25338—Microprocessor
Abstract
The invention discloses a kind of super low-power consumption MCU safe starting method, on super low-power consumption MCU after electricity, using super low-power consumption electric source monitoring circuit, by general reset home position signal " 1 " inside MCU chip, then start internal RC oscillating circuits, while start adaptive circuit work;The clock that adaptive circuit exports according to RC oscillating circuits, flash read operation is often carried out by 1024 clocks, read the flash detection codes in flash;If correct flash detection codes can not be read, then after 1024 clocks, continue to read flash detection codes;After it can normally read correct flash detection codes, general reset signal reset is then shut off RC oscillating circuits, while super low-power consumption MCU chip is normally started by adaptive circuit.The invention also discloses a kind of super low-power consumption MCU safety starter circuit.The present invention can guarantee that the normal use that super low-power consumption MCU is under any working environment.
Description
Technical field
The present invention relates to high security super low-power consumption MCU (microcontroller) technical field, more particularly to a kind of ultralow work(
The high safety for consuming MCU starts method.The invention further relates to a kind of circuit for realizing methods described.
Background technology
MCU power supply monitoring includes electrification reset, power-off reset, supply voltage detection.Common MCU electric source monitoring circuit
Operating current is needed to produce accurate reference voltage, by it compared with chip power voltage after, produce electrification reset with
And power-off reset.
This common MCU uses the electric source monitoring circuit of power consumption, for example the minimum operating voltage of chip is 1.6V's
Words, then reset signal release voltage is positioned 1.8V by electric source monitoring circuit, after ensureing chip reset (reset) releases, chip
Can normal work.When MCU supply voltages are less than some value, set-reset signal, to ensure that MCU is in abnormal voltage
When can ensure that MCU is in reset state, increase MCU anti-interference and robustness.In order to which chip can be detected at any time
The change of outer power voltage, MCU stability is ensured, this electric source monitoring circuit will open all the time.Common MCU power supply prison
The electric current of survey needs 10~100 μ A, and (SiliconLab C8051Fxxx VDD monitors electric current is 20~50 μ A;
The electric current of Freescale MC9S08LG32 low voltage detectors is 90 μ A;NXP LPC11xx series BOD low voltage detectors
For 51 μ A;Atmel AT91 series low voltage detector is 20 μ A), but this portion of electrical current to be included in MCU operating current and
Standby current.
Super low-power consumption MCU low-power consumption mode operation under (such as real-time clock RTC work, LCD screen LCD work, outside
The μ A of power consumption 1~2 of portion 32K crystal oscillators work) typically it is exactly 1~2 microampere this scope, the μ A of 10 μ A~50 electric current is absolutely not
Received by super low-power consumption MCU.Super low-power consumption MCU electric source monitoring circuit needs to use the circuit framework of super low-power consumption to drop
Low MCU power consumptions under super low-power consumption pattern, because low current and high accurancy and precision are conflicting, this means that super low-power consumption
Power supply monitoring can not be timely, accurately monitor external voltage, can only be with VthThreshold voltage be monitored external voltage, but
VthThreshold voltage with process deviation, temperature change and become very inaccurate, the voltage resetted for MCU becomes to float
Suddenly it is indefinite, make MCU in the hole.
Logic circuit and flash under TSMC 0.18 μm of ULL (ultralow delay) technique can work in 1.2V, so
This circuit structure is under normal temperature and low temperature can be with chip power during normal work, i.e. power supply monitoring release reset signal
Voltage>1.5V.But work in the case of a high temperature, under 85 degrees Celsius, 2 VthReset signal about is discharged in 0.9V or so,
But the minimum voltage that internal flash can also not up to work, MCU is caused to read less than correct routine data, MCU, which is run, to fly.This
It is intolerable in high security MCU products, the complete collapse of system can be caused.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of super low-power consumption MCU safe starting method, can reduce ultralow
Power consumption MCU operating current, the precision of super low-power consumption electric source monitoring circuit monitoring voltage is improved, ensure that super low-power consumption MCU is in
Normal use under any working environment;Therefore, the present invention also provides a kind of circuit for realizing methods described.
In order to solve the above technical problems, the super low-power consumption MCU of present invention safe starting method is to use following technical side
What case was realized:
, will be total multiple inside super low-power consumption MCU chip using super low-power consumption electric source monitoring circuit on super low-power consumption MCU after electricity
Position home position signal " 1 ", then start RCOSC (RC oscillating circuits) inside MCU chip, while start adaptive circuit work;Institute
The clock that adaptive circuit exports according to the RC oscillating circuits is stated, flash (flash memory) reading is often carried out by 1024 clocks
Operation, read the flash detection codes in flash;If correct flash detection codes can not be read, then by 1024
After clock, continue to read flash detection codes;It is described adaptive after it can normally read correct flash detection codes
Answer circuit that the general reset signal reset is then shut off into RCOSC, while super low-power consumption MCU chip is normally started.
The super low-power consumption MCU for realizing the above method of present invention safety starter circuit, including:
One super low-power consumption electric source monitoring circuit, for monitoring the supply voltage of MCU chip;
RC oscillating circuits inside one MCU chip, its frequency of oscillation are more than MCU chip acquiescence working frequency;
One flash, in the most long region storage flash detection codes of its read access time;
One register, for depositing general reset signal inside MCU chip;
One adaptive circuit, Self Adaptive Control is carried out to the internal general reset signal;
The super low-power consumption electric source monitoring circuit, by the general reset home position signal " 1 " after electricity on MCU, described in startup
RC oscillating circuits, while start adaptive circuit work;
The clock that the adaptive circuit exports according to the RC oscillating circuits, often by 1024 clocks to described
Flash carries out read operation, reads the flash detection codes in flash;If correct flash detection codes can not be read, then
After 1024 clocks, continue to read flash detection codes;Until can normally read correct flash detection codes it
Afterwards, the general reset signal reset is then shut off RC oscillating circuits, while make super low-power consumption MCU core by the adaptive circuit
Piece normally starts.
The present invention can allow super low-power consumption MCU to use super low-power consumption electric source monitoring circuit with less hardware costs,
And the validity resetted in the case of spread of voltage is adaptively handled, super low-power consumption MCU operating current is reduced, overcomes
The shortcomings that super low-power consumption electric source monitoring circuit monitoring voltage is forbidden;Adaptive circuit can ensure for voltage request highest electricity
Road module, in worst case can normal work, ensure super low-power consumption MCU be under any working environment normally make
With enhancing MCU stability, anti-interference, security, improve the super low-power consumption MCU market competitiveness.
Brief description of the drawings
The present invention is further detailed explanation with embodiment below in conjunction with the accompanying drawings:
Fig. 1 is the embodiment schematic diagram of safety starter circuit one of the super low-power consumption MCU;
Fig. 2 is Flash detection codes in Flash storage areas schematic diagram.
Embodiment
The present general inventive concept is, if for voltage request highest circuit module inside MCU, in worst case
Can normal work, then ensure that MCU chip normal work, just start all functional modules work of MCU chip.
After testing each module of MCU chip, the minimum voltage that works for finding flash module is requirement highest,
So using adaptive circuit of the flash module to the adaptive circuit of voltage as MCU chip to voltage change.Super low-power consumption electricity
The inspection voltage of source observation circuit is 0.9V~1.8V with temperature, process drift, and adaptive circuit is to protect under this voltage
Card can be with normal work.
The high safety of the super low-power consumption MCU is started method and realized using following scheme:It is electric on super low-power consumption MCU
Afterwards, using super low-power consumption electric source monitoring circuit, by the internal general reset home position signal of super low-power consumption MCU chip (hereinafter referred to as chip)
" 1 ", start internal RCOSC, while start adaptive circuit work;The adaptive circuit exports according to the RC oscillating circuits
Clock, flash read operation is often carried out by 1024 clocks, read in flash flash detection codes (such as:AA55).
If correct flash detection codes can not be read, then after 1024 clocks, continue to read flash detection codes;Directly
To after can normally read correct flash detection codes, the adaptive circuit is by the general reset signal reset, so
After close RCOSC, while chip is normally started.Objective is for voltage request highest circuit module, in worst condition
Under can normal work, then MCU ensures can be with normal work.
With reference to shown in Fig. 1, realize the super low-power consumption MCU high safety start-up circuit of methods described in following embodiment
In, including:One super low-power consumption electric source monitoring circuit, the RC oscillating circuits of a chip internal, a flash;One register, one is adaptive
Answer circuit.
The super low-power consumption electric source monitoring circuit, it is a monitoring and detection voltage not accurately circuit, but belong to ultralow
Power consumption electric source monitoring circuit.After chip power or power-down again on it is electric when, produce a chip internal general reset signal.Because
Power consumption is about 50nA, so monitoring voltage deviation is larger, under different temperatures different process, the general reset signal release electricity
Press as 0.9V~1.8V, adaptive circuit is that ensure can be with normal work under this voltage.It is under 0.18 μm of ULL of TSMC
Under 50nA, most extreme case general reset signal is discharged for 0.9V~1.8V.
The RC oscillating circuits, its frequency are more than chip acquiescence working frequency, after ensureing self-adapting starting circuit, core
Piece can be with normal work.The RC oscillating circuits are after the general reset signal that the super low-power consumption electric source monitoring circuit is sent is received
Begin to start.The frequency requirement of the RC oscillating circuits is not that very precisely, but to ensure can be normal below low pressure 0.7V
Work.I.e. this voltage is less than the general reset signal release voltage of the electric source monitoring circuit.Under 0.18 μm of ULL of TSMC most
Low-work voltage is 0.7V.
The flash, wherein one flash detection code of storage, when this flash detection code needs to be placed on flash readings
Between most long region, such as TSMC flash IP (Taiwan Semiconductor Manufacturing Co.'s flash memory intellectual property) information area.Leave in this region
Flash data decoding circuit is farthest, and parasitic resistance capacitance is maximum, therefore the time for reading flash is most long, to ensure that MCU is read
Take the correctness in other regions of flash.Flash detection codes are shown in Figure 2 in Flash storage areas schematic diagram.
The register, for depositing the general reset signal.By super low-power consumption electric source monitoring circuit when electric on chip
Its set, general reset signal is effective;, will be by its reset, always by the adaptive circuit after flash detection codes are read
Reset signal is invalid.
When chip is in and resetted, the address of flash detection codes is pointed in flash address, then often by RC vibration electricity
1024 clocks on road, the adaptive circuit carry out flash read operation, read in flash flash detection codes (such as:
AA55).If when can not read correct detection code, it is necessary to again after 1024 clocks, flash detection codes are read;
After correct flash detection codes can normally being read from flash, adaptive circuit puts internal general reset signal
" 0 ", RC oscillating circuits are closed, while chip normally starts.
The flash detection codes can provide test flash content as flash detection codes according to manufacturer, write
Enter in flash, such as 0x55AA.It is the numerical value for being most difficult to read that if manufacturer, which provides 0000, then this flash is detected
Code is write as 0x0000.Write when CP (wafer test) tests are done by manufacturer.
The present invention is described in detail above by embodiment and embodiment, but these are not composition pair
The limitation of the present invention.Without departing from the principles of the present invention, those skilled in the art can also make many deformations and change
Enter, these also should be regarded as protection scope of the present invention.
Claims (4)
- A kind of 1. super low-power consumption MCU safe starting method, it is characterised in that:On super low-power consumption MCU after electricity, super low-power consumption is utilized Electric source monitoring circuit, by general reset home position signal " 1 " inside super low-power consumption MCU chip, then start RC vibrations inside MCU chip Circuit, while start adaptive circuit work;The clock that the adaptive circuit exports according to the RC oscillating circuits, often passes through 1024 clocks carry out flash read operation, read the flash detection codes in flash;If it can not read correctly Flash detection codes, then again after 1024 clocks, continue to read flash detection codes;It is correct until can normally read Flash detection codes after, the general reset signal reset is then shut off RC oscillating circuits, simultaneously by the adaptive circuit Super low-power consumption MCU chip is set normally to start.
- A kind of 2. super low-power consumption MCU safety starter circuit, it is characterised in that including:One super low-power consumption electric source monitoring circuit, for monitoring the supply voltage of MCU chip;RC oscillating circuits inside one MCU chip, its frequency of oscillation are more than MCU chip acquiescence working frequency;One flash, in the most long region storage flash detection codes of its read access time;One register, for depositing general reset signal inside MCU chip;One adaptive circuit, Self Adaptive Control is carried out to the internal general reset signal;The super low-power consumption electric source monitoring circuit, by the general reset home position signal " 1 " after electricity on MCU, then start described in RC oscillating circuits, while start adaptive circuit work;The clock that the adaptive circuit exports according to the RC oscillating circuits, often the flash is entered by 1024 clocks Row read operation, read the flash detection codes in flash;If correct flash detection codes can not be read, then pass through After 1024 clocks, continue to read flash detection codes;After it can normally read correct flash detection codes, institute Adaptive circuit is stated by the general reset signal reset, is then shut off RC oscillating circuits, while make super low-power consumption MCU chip just Often start.
- 3. super low-power consumption MCU as claimed in claim 2 safety starter circuit, it is characterised in that:The general reset signal is released Electric discharge pressure is 0.9V~1.8V, and the adaptive circuit guarantees normal work under this voltage.
- 4. super low-power consumption MCU as claimed in claim 2 safety starter circuit, it is characterised in that:The RC oscillating circuits, Below 0.7V can normal work.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410013072.XA CN104777760B (en) | 2014-01-13 | 2014-01-13 | Super low-power consumption MCU safe starting method and circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410013072.XA CN104777760B (en) | 2014-01-13 | 2014-01-13 | Super low-power consumption MCU safe starting method and circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104777760A CN104777760A (en) | 2015-07-15 |
CN104777760B true CN104777760B (en) | 2017-12-19 |
Family
ID=53619293
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410013072.XA Active CN104777760B (en) | 2014-01-13 | 2014-01-13 | Super low-power consumption MCU safe starting method and circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104777760B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101840242A (en) * | 2010-05-21 | 2010-09-22 | 广州市广晟微电子有限公司 | CMOS low power consumption voltage current offset start-up circuit |
CN103019132A (en) * | 2012-11-21 | 2013-04-03 | 杭州士兰微电子股份有限公司 | Chip and method for realizing low-power-consumption mode |
CN103066942A (en) * | 2012-12-20 | 2013-04-24 | 无锡中科微电子工业技术研究院有限责任公司 | Quick-start crystal oscillator circuit with ultra-low power consumption |
CN103199692A (en) * | 2013-03-14 | 2013-07-10 | 中国科学院微电子研究所 | Monolithic low power consumption starting circuit device arranged inside chip and used in switching power supply |
CN103269216A (en) * | 2013-06-07 | 2013-08-28 | 东南大学 | Quick starting circuit with low power consumption, and current source |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10312695A (en) * | 1997-05-09 | 1998-11-24 | Nec Corp | Semiconductor device |
JP2001005552A (en) * | 1999-06-18 | 2001-01-12 | Nec Eng Ltd | Power consumption reducing circuit |
US8046615B2 (en) * | 2007-10-19 | 2011-10-25 | Denso Corporation | Microcomputer system with reduced power consumption |
-
2014
- 2014-01-13 CN CN201410013072.XA patent/CN104777760B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101840242A (en) * | 2010-05-21 | 2010-09-22 | 广州市广晟微电子有限公司 | CMOS low power consumption voltage current offset start-up circuit |
CN103019132A (en) * | 2012-11-21 | 2013-04-03 | 杭州士兰微电子股份有限公司 | Chip and method for realizing low-power-consumption mode |
CN103066942A (en) * | 2012-12-20 | 2013-04-24 | 无锡中科微电子工业技术研究院有限责任公司 | Quick-start crystal oscillator circuit with ultra-low power consumption |
CN103199692A (en) * | 2013-03-14 | 2013-07-10 | 中国科学院微电子研究所 | Monolithic low power consumption starting circuit device arranged inside chip and used in switching power supply |
CN103269216A (en) * | 2013-06-07 | 2013-08-28 | 东南大学 | Quick starting circuit with low power consumption, and current source |
Non-Patent Citations (1)
Title |
---|
一种低功耗八位MCU的设计与实现;张旭 等;《微处理机》;20030831(第4期);第7-9页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104777760A (en) | 2015-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220115048A1 (en) | Customizable backup and restore from nonvolatile logic array | |
US20140035560A1 (en) | Method and apparatus for limiting access to an integrated circuit (ic) | |
US9472510B2 (en) | Semiconductor device and control system | |
US7689887B2 (en) | Automatic shutdown or throttling of a BIST state machine using thermal feedback | |
JP6873185B2 (en) | Methods and circuits for controlling and / or reducing current leakage during low power or inactive mode | |
WO2013003223A2 (en) | Mechanism for facilitating fine-grained self-refresh control for dynamic memory devices | |
US10090025B2 (en) | Discharging electric charge in integrated circuit unless in-specification condition(s) detected | |
CN104777760B (en) | Super low-power consumption MCU safe starting method and circuit | |
CN104570821A (en) | Integrated circuit and operation method thereof | |
US8046634B2 (en) | Integrated circuit card with condition detector | |
KR20140146341A (en) | Watt-hour meter and operating method thereof | |
US9147498B2 (en) | Circuit arrangement, a method for testing a supply voltage provided to a test circuit, and a method for repairing a voltage source | |
JP2013192061A (en) | Semiconductor integrated circuit and printed wiring board having semiconductor integrated circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |