Summary of the invention
In view of this, be necessary to provide a kind of power warning system and method, when the user does not connect the power lead of electric equipment, provide alarm signal to the user.
A kind of power warning system, it comprises a first detection module, one second detection module, an alarm module and a power module.The power knob of a described first detection module and an electric equipment is electrically connected, and whether the power knob that is used to detect this electric equipment is pressed.The power supply unit of described second detection module and described first detection module and described electric equipment is electrically connected, and whether the power supply unit that is used to detect this electric equipment has.Described alarm module and described second detection module are electrically connected, and are used for sending alarm signal when power supply unit does not have electricity.Described power module while and described first detection module, second detection module, alarm module and power supply unit are electrically connected, be used for to described first detection module, second detection module and alarm module power supply, and when power lead connected, power supply unit charged to power module.
A kind of power warning method of utilizing above-mentioned power warning system, whether it comprises the steps: to detect power knob and presses; If press, whether the power supply unit that then detects electric equipment has; If detecting does not have electricity, then send alarm signal; If detected electricity, then do not send alarm signal.
Power warning system of the present invention and method, when first detection module detects power knob and presses, whether the power supply unit that second detection module can detect electric equipment at once has, if do not have, the power lead of promptly representing electric equipment does not connect, provide alarm signal to the user at once, simple in structure, practical.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
See also Fig. 1, a kind of power warning system 100 that provides for embodiment of the present invention, be used to detect when the power knob 210 of an electric equipment 200 is pressed, whether the power supply unit 220 of this electric equipment 200 has, it comprises a first detection module 110, one second detection module, 120, one alarm modules 130 and a power module 140.
Described first detection module 110 is electrically connected with power knob 210, and whether the power knob 210 that is used to detect an electric equipment 200 is pressed.
Described second detection module 120 is electrically connected with first detection module 110 and power supply unit 220.When first detection module 110 detected power knob 210 and presses, whether described second detection module 120 just gets started the power supply unit 220 that detects an electric equipment 200 had.
The described alarm module 130 and second detection module 120 are electrically connected.When second detection module 120 detected power supply unit 220 and do not have electricity, described alarm module 130 just sent alarm signal at once.Described alarm module 130 can also can have both simultaneously for a light emitting diode or a hummer.In the present embodiment, described alarm module 130 has light emitting diode and hummer simultaneously.When need send alarm signal, the flicker that light emitting diode does not just stop, the sound that the while hummer does not also stop can cause user's attention more.
Described 140 whiles and first detection module 110 of power module, second detection module 120, alarm module 130 and power supply unit 220 are electrically connected, be used for to first detection module 110, second detection module 120 and alarm module 130 power supplies, and when the power lead of electric equipment 200 connected, described power supply unit 220 also can charge to power module 140.In the present embodiment, described power supply unit 140 is a rechargeable battery.Be appreciated that when electric equipment 200 did not use, this rechargeable battery itself stored certain electric weight, can keep the operate as normal of this power warning system 100, promptly when power knob 210 is pressed, detect,, give the alarm if there is not electricity.
See also Fig. 2, for embodiment of the present invention provides a kind of process flow diagram that utilizes the power warning method of above-mentioned power warning system 100.
S1: detect power knob and whether press.In the present embodiment, detect power knob 210 by first detection module 110 and whether press.If press, then enter next step.If do not press, then this first detection module 110 continues this step.
S2: if press, whether the power supply unit that then detects electric equipment has.In the present embodiment, whether the power supply unit 220 that is detected electric equipment 200 by second detection module 120 has.
S3: do not have electricity if detect, then send alarm signal.In the present embodiment, send alarm signal by alarm module 130, promptly light emitting diode does not stop flicker, the sound that the while hummer does not also stop.
S4: if detected electricity, then do not send alarm signal, change step S1 over to.In the present embodiment, if described second detection module 120 detects power supply unit 220 electricity is arranged, then hummer just can not ring, and light emitting diode does not glimmer yet, the electric equipment normal boot-strap.Then this power warning system 100 enters step S1.
Be appreciated that, also need to press power knob 210 during some electric equipment 200 shutdown, first detection module 110 detected power knob 210 and pressed this moment, whether then second detection module 220 can detect power supply unit 220 equally has, but this moment, power supply unit 220 obviously had, so alarm module 130 can not send alarm signal, electric equipment 200 normal shutdowns.After electric equipment 200 shutdown, described power warning module 100 also is to work always.
A kind of power warning system of the present invention and method are used for providing alarm signal to the user when the power lead of electric equipment does not connect, and be simple in structure, practical.
Be understandable that, for the person of ordinary skill of the art, can make other various corresponding changes and distortion by technical conceive according to the present invention, and all these change the protection domain that all should belong to claim of the present invention with distortion.