Electrify restoration circuit
Technical field
The present invention relates to a kind of electrify restoration circuit.
Background technology
Existing electrify restoration circuit as shown in Figure 1, comprise voltage regulator module (VR, VOLTAGEREGULATOR) and electrification reset module (POR, POWER ON RESET), described voltage adjuster is processed external voltage VCC, for logical circuit and electrification reset module provide operating voltage vpwr, in the described electrification reset module process that voltage raises when powering on logical circuit is sent reset signal rstb, described logic road also provides a voltage regulator module static mode of operation enable signal Standby_en for voltage adjuster.
Generally, the waveform of the power-on reset signal rstb of electrify restoration circuit as shown in Figure 2, Low level effective, when external voltage is reduced to Vtrip_f, system is in power-down state, when external voltage reached Vtrip_r, wherein there was the sluggishness of Vhyst in system power-on reset between Vtrip_f and the Vtrip_r.When external voltage reaches Vtrip_r, the end that resets, internal logic is started working.And the voltage of voltage regulator module output this moment only has Vtrip_r, also do not reach the normal operating voltage of internal logic, although the electrification reset module has been exported an effective rstb signal like this, but logical gate is not because voltage also reaches normal working voltage and just can not receive normally this reset signal, and this just may cause internal logic can not normally reset in power up.
Summary of the invention
Technical problem to be solved by this invention provides a kind of electrify restoration circuit, guarantees behind the voltage stabilization of voltage regulator module output, to produce again a reliable reset signal to internal logic, thus the normal electrification reset of assurance system.
For solving the problems of the technologies described above, the technical scheme of electrify restoration circuit of the present invention is to comprise:
Voltage regulator module is processed external voltage, is power logic circuitry;
The electrification reset module, described electrification reset module connects external voltage, and produces a reset signal before the supply power voltage of voltage adjuster reaches normal level;
Counter receives the reset signal that a clock signal and described electrification reset module produce, and the described reset signal supply power voltage of delaying time is exported to logical circuit after reaching normal level.
The present invention guarantees to produce a reliable reset signal to internal logic behind the voltage stabilization of voltage regulator module output by adopting a counter to delay time for electrify restoration circuit again, thus the normal electrification reset of the system that guaranteed.
Description of drawings
The present invention is further detailed explanation below in conjunction with drawings and Examples:
Fig. 1 is the structure chart of existing electrify restoration circuit;
Fig. 2 is the oscillogram of existing electrify restoration circuit when resetting;
Fig. 3 is the structure chart of an embodiment of electrify restoration circuit of the present invention;
Fig. 4 is the structure chart of another embodiment of electrify restoration circuit of the present invention;
Fig. 5 is the oscillogram of electrify restoration circuit of the present invention when resetting.
Embodiment
The invention discloses a kind of electrify restoration circuit, as shown in Figure 3, comprising:
Voltage regulator module, VCC processes to external voltage, for logical circuit provides operating voltage Vpwr;
The electrification reset module, described electrification reset module connects external voltage VCC, and produces a reset signal POR before the supply power voltage of voltage adjuster reaches normal level;
Counter receives the reset signal POR that a clock signal clk and described electrification reset module produce, and the described reset signal POR supply power voltage of delaying time is reached after the normal level, and rstb is to logical circuit for the output reset signal.
In the embodiment shown in fig. 3, the clock signal clk of described counter connection is external timing signal.
In the embodiment shown in fig. 4, also comprise oscillator module, the clock signal clk that described counter receives is produced by described oscillator module.
Described oscillator module provides clock signal clk for described logical circuit simultaneously.
Described oscillator module comprises that a beginning can hold, and the signal OSCEN that this beginning can hold is provided by described logical circuit.
In conjunction with shown in Figure 5, electrification reset module sum counter adopts the external voltage power supply, and the voltage adjuster output voltage is to logical circuit, oscillator module and other module for power supply.When the output voltage of voltage adjuster rises to the operating voltage of logical circuit and oscillator module gradually, logical circuit can hold OSCEN control generator module to begin clock signal to counter by beginning, reset signal rstb exports low always in this process, when counting arrives predetermined value, the rstb signal of logic counting circuit output discharges, the high logical circuit (rstb Low level effective) of giving of output, through such delay process, at this moment the voltage adjuster output voltage has reached the logical circuit normal working voltage, thereby guarantees a reliable and effective power-on reset signal is offered logical circuit.The present invention can be applied in the electrify restoration circuit of EE130 serial EEPROM chip and other logical circuit.
In sum, the present invention guarantees to produce a reliable reset signal to internal logic behind the voltage stabilization of voltage regulator module output by adopting a counter to delay time for electrify restoration circuit again, thus the normal electrification reset of the system that guaranteed.