Summary of the invention
The technical problem to be solved in the present invention is the defective that exists at prior art, proposes a kind of battery theft-preventing alarm device and control method of energy-saving automatically-warning.
The present invention adopts following technical scheme for achieving the above object:
The battery theft-preventing alarm device of energy-saving automatically-warning of the present invention, it is characterized in that comprising the annunciator main frame, the password transmitter, described annunciator main frame is by circuit, d type flip flop, driving circuit, mu balanced circuit, relay, normally closed dry reed pipe, the open type dry-reed tube, permanent magnet, first resistance, second resistance, diode, battery, electric capacity is formed, wherein circuit is by controller, parameter storage, drive amplifying circuit, loud speaker, the password acceptor circuit, switch, learn button constitutes, the number of described normally closed dry reed pipe is 2~10, the number of described open type dry-reed tube is 2~10, the number of described permanent magnet equates with the number of normally closed dry reed pipe, one end of normally closed dry reed pipe, one end of open type dry-reed tube, one end of the open contact of relay interconnects, connect an end of open type dry-reed tube behind the anode serial connection diode, the other end of normally closed dry reed pipe, the other end of open type dry-reed tube, the other end of the open contact of relay, the input end IN of mu balanced circuit, one end of first resistance, one end of second resistance, one end of relay coil interconnects, the other end of first resistance, the other end of second resistance meets the elimination end R and the set end S of d type flip flop respectively, the output OUT of mu balanced circuit causes the power input VCC of d type flip flop respectively, the power supply positive input terminal of circuit, the output Q end of d type flip flop is connected to the input end of driving circuit, the data input pin D of d type flip flop is connected with the power cathode VSS of d type flip flop and connects the negative pole of battery, connect the negative pole of battery behind the set end S serial connection electric capacity of d type flip flop, the coil other end of one relay termination of the output switch terminals of driving circuit, the negative pole of another termination battery of the output switch terminals of driving circuit, permanent magnet is connected by magnetic field and normally closed dry reed pipe are corresponding, the GND of mu balanced circuit connects the negative pole of battery, the power-of circuit connects the negative pole of battery, the input end of controller is connected with the password acceptor circuit respectively, switch, learn button, a mouth of controller is connected to the input end of clock CP of d type flip flop, another mouth is connected in series the driving amplifying circuit successively, loud speaker, controller is connected with parameter storage with bus mode, the password transmitter is connected with the password acceptor circuit in wireless or wired mode, described annunciator main frame being installed in the battery case except that permanent magnet, described normally closed dry reed pipe, the open type dry-reed tube is installed on the battery case inboard wall of cartridge of battery case and battery case contact surface, switch is installed on the zoarium of battery case and battery case contact surface, permanent magnet is installed on the battery case inwall corresponding with normally closed dry reed pipe, the password transmitter comprises coding chip and output circuit, is hung on the battery-driven car key-ring and puts.
The control method of the battery theft-preventing alarm device of described energy-saving automatically-warning is characterized in that comprising the steps:
A, when battery case is put into battery case and is existed simultaneously with the alarm sound of having closed loud speaker, the power supply of annunciator main frame is in cut-out, the battery theft-preventing alarm device of energy-saving automatically-warning is on the alert;
B, any one normally closed dry reed pipe break away from permanent magnet and do the time spent, the switch connection of corresponding normally closed dry reed pipe, the power connection of annunciator main frame, d type flip flop set under the electric capacity effect, the output Q end of d type flip flop is through the coil electricity of driving circuit control relay, the open contact of relay is connected, and guarantees whether the switch of dry-reed tube is in on-state after the relay power adhesive, and the power supply of annunciator main frame all keeps connecting;
C, annunciator main frame middle controller receive the cipher key information of password transmitter, the alarm sound of mute speaker, otherwise send alarm sound by loud speaker;
Behind the alarm sound of d, mute speaker, controller detects switch input signal, delays time 5 seconds, controller output pulse is to the clock input CP end of d type flip flop, the output Q end of d type flip flop is " 0 ", and the Q end is through the coil blackout of driving circuit control relay, and the open contact of relay disconnects;
E, in parallel with an open type dry-reed tube and the mutual combined in any order of a plurality of normally closed dry reed pipes of employing are arranged, and when the quick box of battery breaks away from battery case, prevent from magnet dry-reed tube to be drawn the power supply disconnection of battery to the annunciator main frame before the relay adhesive.
The present invention controls flexibly, and is easy to use, energy-conservation, and safety has very big value of service and social effect.
The specific embodiment
Be elaborated below in conjunction with the technical scheme of accompanying drawing to invention:
As described in Figure 1, a kind of battery theft-preventing alarm device of energy-saving automatically-warning, by annunciator main frame 201, password transmitter 11 is formed, described annunciator main frame 201 comprises circuit 101, d type flip flop 6, driving circuit 7, mu balanced circuit 8, relay J, normally closed dry reed pipe K1, open type dry-reed tube K1 ', permanent magnet N1, first resistance R 1, second resistance R 2, diode D, battery E, capacitor C is formed, wherein circuit 101 is by controller 1, parameter storage 2, drive amplifying circuit 3, loud speaker 4, password acceptor circuit 5, switch 9, learn button 10 constitutes, the number of described normally closed dry reed pipe K1 is 2~10, the number of described open type dry-reed tube K1 ' is 2~10, the number of described permanent magnet N1 equates with the number of normally closed dry reed pipe K1, the switch of normally closed dry reed pipe K1, the switch of open type dry-reed tube K1 ', the open contact of relay J is parallel with one another, the anodal serial connection of battery E diode D is to an end of its parallel connection, the other end in parallel is received the input end IN of mu balanced circuit 8 respectively, be connected in series the elimination end R of first resistance R 1 to d type flip flop 6, be connected in series the set end S of second resistance R 2 to d type flip flop 6, succeed electrical equipment J coil one end, the output OUT of mu balanced circuit 8 causes the power input VCC of d type flip flop 6 respectively, the power supply positive input terminal of circuit 101, the output Q end of d type flip flop 6 is connected to the input end of driving circuit 7, the data input pin D of d type flip flop 6 is connected with the power cathode VSS of d type flip flop 6 and connects the negative pole of battery E, the set end S serial connection capacitor C of d type flip flop 6 is to the negative pole of battery E, the coil other end of the output switch terminals one relay termination J of driving circuit 7, the negative pole of its another termination battery E, permanent magnet N1 is connected by magnetic field is corresponding with normally closed dry reed pipe K1, the GND of mu balanced circuit 8 connects the negative pole of battery E, the power cathode of circuit 101 connects the negative pole of battery E, the input end of controller 1 is connected with password acceptor circuit 5 respectively, switch 9, learn button 10, a mouth of controller 1 is connected to the input end of clock CP of d type flip flop 6, another mouth is connected in series successively and drives amplifying circuit 3, loud speaker 4, controller 1 is connected with parameter storage 2 with bus mode, password transmitter 11 is connected with password acceptor circuit 5 in wireless or wired mode, it is characterized in that, annunciator main frame 201 being installed in the battery case except that permanent magnet N1, Bing Lian normally closed dry reed pipe K1 wherein, open type dry-reed tube K1 ' combination in any arrangement mutually is installed on the battery case inboard wall of cartridge of battery case and battery case contact surface, switch 9 is installed on the zoarium of battery case and battery case contact surface, it can be contact, patch the mechanical switch of class, or the magnetic switch of dry-reed tube class, also can be light-operated, the sensor-type switch of magnetic control class, permanent magnet N1 is installed on the battery case inwall corresponding with normally closed dry reed pipe K1, password transmitter 11 comprises coding chip and output circuit, have only the matchbox size, be hung on the battery-driven car key-ring and put.
Controller 1 is a unit module, in CPU, microstorage, I/O interface, timer etc. are arranged, be responsible for data handing and the parameter storage and the control of circuit 101 of the battery theft-preventing alarm device of energy-saving automatically-warning.
Parameter storage 2 is EEPROM read-write storage chip, the cipher key information that is used to preserve controller 1 study password transmitter 11, and its outage is permanent preservation.
The cipher key information signal that password acceptor circuit 5 is used to receive password transmitter 11 send controller 1 to handle.
Password transmitter 11 is used to send the cipher key information signal, its bag size has only the matchbox size, on have one to send button, be hung on the battery-driven car key-ring and put, contain coding chip and output circuit, be connected with password acceptor circuit 5 in wireless or wired mode.
Driving amplifying circuit 3 is used for the sound output signal of controller 1 is amplified to loud speaker 4.
Loud speaker 4 is used to send the sound, and its sound has two kinds, and a kind of is alarm sound, and another kind is the cipher key study sound, and the study sound comprises the cipher key study prompting sound and the key learning success prompting sound.
Learn button 10 is used for the cipher key study of 1 pair of password transmitter 11 of controller, when being " 1 ", the battery theft-preventing alarm device of energy-saving automatically-warning is in normal working, when being " 0 ", the battery theft-preventing alarm device of energy-saving automatically-warning is in the cipher key learning state to password transmitter 11.
When learn button 10 is " 0 ", loud speaker 4 sends the cipher key study prompting sound, send button by opening on the password transmitter 11,1 pair of cipher key information of controller is learnt, learning success, deposit cipher key information in parameter storage 2, and send the key learning success prompting sound by loud speaker 4.
Behind the cipher key learning success, learn button 10 is changed to " 1 ".
Switch 9 is used for after controller 1 cuts out alarm sound, the relay J of control annunciator main frame 201 discharges, promptly after controller 1 is cancelled alarm sound, controller 1 detects the incoming signal of switch 9, delay time and export the input end of clock CP of pulse after 5 seconds to d type flip flop 6, the output Q end of d type flip flop 6 is " 0 ", and the Q end exports the input of driving circuit 7 to, and driving circuit 7 control relay J discharge.
Switch 9 is installed on the box body of battery case and battery case contact surface, can be the mechanical switch that contacts, patches class, or the magnetic switch of dry-reed tube class, also can be sensor-type switch light-operated, the magnetic control class.
When d type flip flop 6 is used for annunciator main frame 201 beginning energized, control relay J adhesive, whether the switch that guarantees dry-reed tube is in on-state after relay J energising adhesive, the power supply of annunciator main frame 201 all keeps connecting, when annunciator main frame 201 beginning energized, output Q end set under the effect of capacitor C of d type flip flop 6, the Q end exports the input of driving circuit 7 to, the output control relay J adhesive of driving circuit 7, the open contact of relay J is connected (closure), and the open contact of relay J is connected and remained to the clock CP end of controller 1 output pulse to d type flip flop 6 always.
The switch in parallel of normally closed dry reed pipe K1 and open type dry-reed tube K1 ' and combination in any arrangement mutually, be installed in the battery case inboard wall of cartridge of battery case and battery case contact surface, on the battery case inwall with normally closed dry reed pipe K1 corresponding position mounting permanent magnet N1, described battery case inwall and refer to the inwall nearest with normally closed dry reed pipe K1.
A plurality of normally closed dry reed pipe K1 are in parallel with a plurality of open type dry-reed tube K1 ', draw battery E and import to the power supply of annunciator main frame 201, therefore as long as the switch connection of dry-reed tube is wherein arranged, draw the power supply input just connection of battery E to annunciator main frame 201.
When battery case breaks away from battery case, before the relay J adhesive, the switch in parallel of a plurality of dry-reed tubes and the effect of combination in any, be used to prevent artificially normally closed dry reed pipe K1 is drawn the supply disconnecton of battery E to annunciator main frame 201 with magnet, improved reliability, number is many more, and reliability is high more.
When battery case was put into battery case, the switch of normally closed dry reed pipe K1 dry-reed tube under the effect of the magnetic field of corresponding permanent magnet N1 disconnected.
A plurality of open type dry-reed tube K1 ' are used for when battery case breaks away from battery case, before the relay J adhesive, prevent artificially normally closed dry reed pipe K1 being drawn the supply disconnecton of battery E to annunciator main frame 201 with magnet, when the wrong corresponding open type dry-reed tube of magnet, the switch connection of open type dry-reed tube, number is many more, and reliability is high more.
The open contact of relay J and the switch of dry-reed tube are in parallel, concrete path is connected in the power supply input that is used for annunciator main frame 201, when relay J is in attracting state, the switch of normally closed dry reed pipe K1, open type dry-reed tube K1 ' disconnects arbitrarily, and the power supply input of annunciator main frame 201 remains connection.
Mu balanced circuit 8 is used for power supply E voltage stabilizing is become annunciator main frame 201 required operating voltages.
First resistance R 1 is used to draw " 1 " clear terminal R to d type flip flop 6, and is effective when clear terminal R is input as " 0 ".
Second resistance R 2 is used to draw " 1 " set end S to d type flip flop 6, and is effective when set end S is input as " 0 ".
The set end S of d type flip flop 14 connects capacitor C to power supply E negative pole, when being used for d type flip flop 14 and powering on, under the process of charging effect of capacitor C, the set end S of d type flip flop 14 is " 0 ", and the output Q end set of d type flip flop 14 is " 1 ", the capacitor C charging finishes, and set end S is input as " 1 ".
Diode D is used to prevent battery E reversal connection to annunciator main frame 201, thereby the circuit of protection annunciator main frame 201 is not burnt out.
Battery E is the batteries in the battery of electric vehicle box.
Set end S at d type flip flop 6 is under the one state, and when controller 1 output pulse during to the clock CP end of d type flip flop 6, the Q end is output as " 0 ".
As described in Figure 2, the program function flow process of controller 1 is as follows:
A, system initialization;
B, reading learn button 10, whether be " 1 ", yes, for " 1 ", enter next step, otherwise enter step h if differentiating;
C, detection password acceptor circuit 5, whether have signal input, have the signal input to enter next step, otherwise enter step I if differentiating;
D, with parameter storage 2 in cipher key information relatively, the identical next step that enters, otherwise enter step I;
E, the stolen alarm sound of mute speaker battery case;
F, read switch 9, differentiate whether input is arranged, have input to enter next step, otherwise enter self-loopa;
G, time-delay 5 seconds, the output pulse finishes to the clock input CP end of d type flip flop 6, and after the purpose of time-delay was used to guarantee that relay J discharges, the switch of dry-reed tube was in off-state;
H, enter the cipher key study module, study finishes to enter step b;
I, output alarm signal send the stolen alarm sound of battery case to driving amplifying circuit 3 by loud speaker, change step b.
Using method
With a plurality of normally closed dry reed pipe K1 and a plurality of open type dry-reed tube K1 ' combination in any arrangement mutually, permanent magnet N1 makes it corresponding with normally closed dry reed pipe K1 on the adjustment battery case inwall as required for a, user;
B, learn button 10 is placed the cipher key learn position, make the power connection of alarm host machine, password sends button on the password transmitter 11 by opening, and carries out cipher key study, and study is finished learn button 10 is placed the normal working position;
C, close (cancelling) alarm sound after after closing (cancelling) alarm sound, battery case being put into battery case or battery case being put into battery case, the power supply of annunciator main frame 201 is in when cutting off, antitheft alarm system is on the alert, and is energy-conservation, do not need user's warning of setting up defences;
D, when battery case breaks away from battery case, the power connection of annunciator main frame 201 and alarm sound have only when alarm host machine receives the code signal of password transmitter 11 and just close (cancelling) alarm sound;
E, when the user need take off battery case, send button by opening on the password transmitter 11 when taking off battery case, take out the back up to battery case and decontrol, annunciator main frame 201 will be cancelled alarm sound in the very first time, thus annunciator main frame 201 does not produce alarm sound.