Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Fig. 1 shows the structure of the supervisory circuit that first embodiment of the invention provides, and for convenience of explanation, only shows the part relevant with the embodiment of the invention.
The supervisory circuit that the embodiment of the invention provides comprises the power end that connects primary power cource and monitored object, the power switch 100 of control monitored object power supply, the power end and ground that connect monitored object, the discharge switch 200 of control monitored object discharge, and with power switch 100, discharge switch 200, the first control circuit 300 that primary power cource is connected with monitored object, first control circuit 300 receives the working state signal that monitored object sends, when monitored object work is undesired, first control circuit 300 control power switches 100 disconnect, control discharge switch 200 closures, after the monitored object discharge, first control circuit 300 control discharge switches 200 disconnect, control power switch 100 closures, and send reset signal to monitored object.
The principle of work of the supervisory circuit that the embodiment of the invention provides is:
When monitored object sends to the working state signal of first control circuit 300 when undesired, first control circuit 300 control power switches 100 disconnect, discharge switch 200 closures, and then monitored object power down, and the electric capacity of monitored object inside discharges;
After the power down time through regulation, first control circuit 300 control discharge switches 200 disconnect, power switch 100 closures, and then power supply continues monitored object is powered, and first control circuit 300 sends reset signal to monitored object, makes it restart work.
Fig. 2 shows the structure of the supervisory circuit that second embodiment of the invention provides, and for convenience of explanation, only shows the part relevant with the embodiment of the invention.
As one embodiment of the invention, supervisory circuit also comprises commutation circuit 400, and the input end of commutation circuit 400 connects primary power cource and standby power supply, and output terminal connects power switch 100.When primary power cource was effective, promptly primary power cource was greater than 3.5V, and commutation circuit 400 is connected primary power cource and power switch 100, and the power supply of monitored object is provided by primary power cource; When primary power cource was invalid, promptly primary power cource was less than 3.2V, and commutation circuit 400 is connected standby power supply and power switch 100, and the power supply of monitored object is provided by standby power supply.
As one embodiment of the invention, also be connected with primary power cource supervisory circuit 500 between primary power cource and the first control circuit 300, the validity of its identification primary power cource, when primary power cource is effective, primary power cource is offered first control circuit 300, start first control circuit 300 work, when primary power cource is invalid, disconnecting primary power cource is the power supply of first control circuit 300, disconnects discharge switch 200 simultaneously.
As one embodiment of the invention, supervisory circuit also comprises the second control circuit 600 that is connected with standby power supply, primary power cource supervisory circuit 500, power switch 100 and discharge switch 200 respectively, second control circuit 600 is controlled by primary power cource supervisory circuit 500, when primary power cource is effective, second control circuit 600 is not worked, when primary power cource was invalid, second control circuit 600 control power switches 100 closures offered monitored object with standby power supply.
The principle of work of the supervisory circuit that the embodiment of the invention provides is:
(1) when primary power cource is effective, promptly primary power cource is greater than 3.5V, and commutation circuit 400 is connected primary power cource and power switch 100, and the power supply of monitored object is provided by primary power cource.
The validity of primary power cource supervisory circuit 500 identification primary power cources, when primary power cource is effective, primary power cource is offered first control circuit 300, start first control circuit 300 work, control second control circuit 600 simultaneously and do not work, when monitored object sends to the working state signal of first control circuit 300 when undesired, first control circuit 300 control power switches 100 disconnect, discharge switch 200 closures, then monitored object power down, and the electric capacity of monitored object inside discharges;
After the power down time through regulation, first control circuit 300 control discharge switches 200 disconnect, power switch 100 closures, and then power supply continues monitored object is powered, and first control circuit 300 sends reset signal to monitored object, makes it restart work.
(2) when primary power cource is invalid, be that primary power cource is less than 3.2V, commutation circuit 400 is connected standby power supply and power switch 100, it is invalid that primary power cource supervisory circuit 500 recognizes primary power cource, disconnecting primary power cource is the power supply of first control circuit 300, disconnect discharge switch 200 simultaneously, first control circuit 300 can't be worked owing to do not power, supervisory circuit is no longer monitored monitored object, second control circuit 600 is controlled by primary power cource supervisory circuit 500, control power switch 100 closures, standby power supply is the monitored object power supply, supervisory circuit enters battery saving mode.
Fig. 3 shows the exemplary circuit structure of the supervisory circuit that first embodiment of the invention provides.
Power switch 100 comprises that the source electrode of the first metal-oxide-semiconductor Q1, first resistance R 1 and second resistance R, 2, the first metal-oxide-semiconductor Q1 connects primary power cource, and its grid is leaded up to first resistance R, 1 ground connection, and another road connects an end of second resistance R 2.
Discharge switch 200 comprises the second metal-oxide-semiconductor Q2, the 3rd resistance R 3, the 4th resistance R 4 and the 5th resistance R 5, one end of the 3rd resistance R 3 connects the drain electrode of the first metal-oxide-semiconductor Q1 and the power end of monitored object simultaneously, the drain electrode of another termination second metal-oxide-semiconductor Q2 of the 3rd resistance R 3, the source ground of the second metal-oxide-semiconductor Q2, its grid one tunnel connects an end of the 4th resistance R 4, and another road is by the 5th resistance R 5 ground connection.
First control circuit 300 comprises control chip U1, the power end VCC of control chip U1 connects primary power cource, its first I/O end I/O1 connects the other end of second resistance R 2, its second I/O end I/O2 connects the other end of the 4th resistance R 4, its the 3rd I/O end I/O3 connects the output terminal of monitored object, and its 4th I/O end I/O4 connects the reset signal end of monitored object.
Its principle of work is:
When monitored object sends to the working state signal of control chip U1 when undesired by its output terminal, control chip U1 transmits control signal to power switch 100 by its first I/O end I/O1, the grid that makes the metal-oxide-semiconductor Q1 that wins is a high level, the first not conducting of metal-oxide-semiconductor Q1, power switch 100 disconnects, then monitored object power down, then, control chip U1 transmits control signal to discharge switch 200 by its second I/O end I/O2, make that the grid of the second metal-oxide-semiconductor Q2 is a high level, the second metal-oxide-semiconductor Q2 conducting, discharge switch 200 closures, then the electric capacity of monitored object inside discharges.
After the power down time through regulation, control chip U1 transmits control signal to discharge switch 200 by its second I/O end I/O2, make that the grid of the second metal-oxide-semiconductor Q2 is a low level, the second not conducting of metal-oxide-semiconductor Q2, discharge switch 200 disconnects, control chip U1 transmits control signal to power switch 100 by its first I/O end I/O1, the grid that makes the metal-oxide-semiconductor Q1 that wins is a low level, the first metal-oxide-semiconductor Q1 conducting, power switch 100 closures, then primary power cource continues monitored object is powered, and control chip U1 sends reset signal to monitored object by its 4th I/O end I/O4, makes it restart work.
Fig. 4 shows the exemplary circuit structure of the supervisory circuit that second embodiment of the invention provides.
As one embodiment of the invention, supervisory circuit also comprises the commutation circuit 400 that is made of the first diode D1 and the second diode D2, the anode of the first diode D1 connects standby power supply, the anode of the second diode D2 connects primary power cource, and the negative electrode of the first diode D1 and the second diode D2 connects the source electrode of the first metal-oxide-semiconductor Q1 simultaneously.When primary power cource was effective, promptly primary power cource was greater than 3.5V, and commutation circuit 400 is connected primary power cource and power switch 100, and the power supply of monitored object is provided by primary power cource; When primary power cource was invalid, promptly primary power cource was less than 3.2V, and commutation circuit 400 is connected standby power supply and power switch 100, and the power supply of monitored object is provided by standby power supply.
Also be connected with primary power cource supervisory circuit 500 between primary power cource and the first control circuit 300, it is made of Schmidt circuit, its input termination primary power cource, and its output terminal VCC connects the power end VCC of control chip U1.
Supervisory circuit also comprises second control circuit 600, and it is made of feedback circuit, and its feeder ear is connected with standby power supply, and its feedback input end VCC meets the output terminal VCC of Schmidt circuit, and its feedback output end connects the drain and gate of the first metal-oxide-semiconductor Q1.
The principle of work of the supervisory circuit that the embodiment of the invention provides is:
(1) when primary power cource is effective, promptly primary power cource is greater than 3.5V, and commutation circuit 400 is connected primary power cource and power switch 100, and the power supply of monitored object is provided by primary power cource.
The validity of Schmidt circuit identification primary power cource, when primary power cource is effective, primary power cource is offered control chip U1, start-up control chip U1 work, the Control and Feedback circuit is not worked simultaneously, when monitored object sends to the working state signal of control chip U1 when undesired by its output terminal, control chip U1 transmits control signal to power switch 100 by its first I/O end I/O1, the grid that makes the metal-oxide-semiconductor Q1 that wins is a high level, the first not conducting of metal-oxide-semiconductor Q1, power switch 100 disconnects then monitored object power down, then, control chip U1 transmits control signal to discharge switch 200 by its second I/O end I/O2, makes that the grid of the second metal-oxide-semiconductor Q2 is a high level, the second metal-oxide-semiconductor Q2 conducting, discharge switch 200 closures, then the electric capacity of monitored object inside discharges.
After the power down time through regulation, control chip U1 transmits control signal to discharge switch 200 by its second I/O end I/O2, make that the grid of the second metal-oxide-semiconductor Q2 is a low level, the second not conducting of metal-oxide-semiconductor Q2, discharge switch 200 disconnects, control chip U1 transmits control signal to power switch 100 by its first I/O end I/O1, the grid that makes the metal-oxide-semiconductor Q1 that wins is a low level, the first metal-oxide-semiconductor Q1 conducting, power switch 100 closures, then primary power cource continues monitored object is powered, and control chip U1 sends reset signal to monitored object by its 4th I/O end I/O4, makes it restart work.
(2) when primary power cource is invalid, be that primary power cource is less than 3.2V, commutation circuit 400 is connected standby power supply and power switch 100, it is invalid that Schmidt circuit recognizes primary power cource, disconnecting primary power cource is the power supply of control chip U1, control chip U1 is under power-down conditions, its each terminal can be considered high resistant " ", the second not conducting of metal-oxide-semiconductor Q2, discharge switch 200 disconnects, control chip U1 can't work owing to do not power, supervisory circuit is no longer monitored monitored object, and feedback circuit is controlled by control chip U1, control power switch 100 closures, standby power supply is the monitored object power supply, and supervisory circuit enters battery saving mode.
Above-mentioned monitored object can be a microcomputer circuit.
In embodiments of the present invention, the working state signal that first control circuit sends according to monitored object, control power switch and discharge switch break-make, thereby the work when monitored object of guaranteeing takes place when unusual, supervisory circuit is impelled the monitored object power down, discharges, powers on and is resetted, and recovers operate as normal again.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.