CN206110865U - Electronic lock system - Google Patents
Electronic lock system Download PDFInfo
- Publication number
- CN206110865U CN206110865U CN201621045252.7U CN201621045252U CN206110865U CN 206110865 U CN206110865 U CN 206110865U CN 201621045252 U CN201621045252 U CN 201621045252U CN 206110865 U CN206110865 U CN 206110865U
- Authority
- CN
- China
- Prior art keywords
- resistance
- foot
- electric capacity
- control module
- module
- 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
- 230000004913 activation Effects 0.000 claims description 13
- 230000005611 electricity Effects 0.000 claims description 9
- 238000001514 detection method Methods 0.000 claims description 8
- 229910004682 ON-OFF Inorganic materials 0.000 claims description 6
- WHXSMMKQMYFTQS-UHFFFAOYSA-N lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 claims description 6
- 229910052744 lithium Inorganic materials 0.000 claims description 6
- 238000004166 bioassay Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 230000000284 resting Effects 0.000 description 2
- 210000004247 Hand Anatomy 0.000 description 1
- 210000003128 Head Anatomy 0.000 description 1
- 240000007871 Indigofera tinctoria Species 0.000 description 1
- 229910020019 S1 Can Inorganic materials 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- XEEYBQQBJWHFJM-UHFFFAOYSA-N iron Chemical group [Fe] XEEYBQQBJWHFJM-UHFFFAOYSA-N 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006011 modification reaction Methods 0.000 description 1
- 230000003287 optical Effects 0.000 description 1
Abstract
The utility model belongs to the technical field of the electron, a electronic lock system is provided. The electronic lock that electronic lock system adopted the electronics key that includes bluetooth communication module, a host system and an interface module and included the 2nd interface module, the 2nd host system, solenoid valve control module and solenoid valve, when the electronics key inserted the electronic lock, bluetooth communication module sent the control command that bluetooth control terminal sent to a host system, a host system carries out assay to control command to to authorize message routing to the 2nd host system at control command during for unlock instruction, the 2nd host system analyzes the authorization message to the matching sign indicating number phase -match output open -lock signal who prestores among matching sign indicating number in the authorization message and the 2nd host system, solenoid valve control module is closed according to open -lock signal control solenoid, and then controls the electronic lock and open, owing to do not need artificially to predetermine the angle with the rotation of electron key, has consequently reduced the degree of difficulty of unblanking, has increased the success rate of unblanking.
Description
Technical field
This utility model belongs to electronic technology field, more particularly to a kind of electronic lock system.
Background technology
Electronic lock is a kind of circuit or chip operation controlled by electronic communication inside lock, and then is controlled in lock
The folding of portion's mechanical switch, with the "smart" products for completing to unlock with locking.Electronic lock is more pacified relative to traditional mechanical lock
It is complete and convenient, it is widely used in fields such as security protection, smart homes.
In existing electronic lock system, the structure of electronic lock and electron key is relatively simple, when electron key insertion electricity
After son lock, simple electric signal transmission is only carried out between electron key and electronic lock, if desired unlocked, in addition it is also necessary to by electronics key
Spoon rotation predetermined angle (such as 90 degree) can just open electronic lock, can so increase the difficulty of unlocking, reduce unlocking into
Power.
In summary, when existing electronic lock system presence is unlocked by electron key to electronic lock, need artificial
Electronic lock can just be opened by electronic lock rotation predetermined angle, cause unlocking difficulty to increase, the problem that unlocking success rate is reduced.
Utility model content
The purpose of this utility model is to provide a kind of electronic lock system, it is intended to solve existing electronic lock system presence logical
When crossing electron key and unlocking electronic lock, need artificially just electronic lock can be opened electronic lock rotation predetermined angle, lead
Unlocking difficulty is caused to increase, the problem that unlocking success rate is reduced.
This utility model is achieved in that a kind of electronic lock system, including electron key and electronic lock;The electronic lock
Including electromagnetic valve;During the solenoid closure, the electronic lock is opened;The electron key includes:Bluetooth communication, first
Main control module and first interface module;The electronic lock also includes second interface module, the second main control module and solenoid valve control
Module;
The bluetooth communication carries out radio communication, the number of the bluetooth communication with the Bluetooth control terminal of outside
According to transmitting terminal, data receiver and test side the first data receiver, the second data respectively with first main control module
Sending end and test side connect, and second data sending terminal and the second data receiver of first main control module are respectively with described the
The data receiver of one interface module and data sending terminal connect;
The data sending terminal and data receiver of the second interface module is respectively with the first of second main control module
Data receiver and the first data sending terminal connect, control end and the solenoid valve control module of second main control module
Input connects, and first outfan and the second outfan of the solenoid valve control module is defeated with the first of the electromagnetic valve respectively
Enter end and the connection of the second input;
The bluetooth communication receives the authorization message that the Bluetooth control terminal sends, and the authorization message is sent out
Deliver to first main control module;When the electron key inserts the electronic lock, the first interface module and described the
Two interface modules carry out serial communication, and the bluetooth communication receives the control instruction that the Bluetooth control terminal sends, and
The control instruction is sent to first main control module;First main control module is analyzed to the control instruction,
And when the control instruction is unlocking instruction the authorization message is exported to second main control module;The second master control mould
Block is parsed to the authorization message, and the matching code in the authorization message is exported when matching with the matching code for prestoring
Unlocking signal;The solenoid valve control module controls the solenoid closure according to the unlocking signal.
The electronic lock system that this utility model is provided is adopted includes bluetooth communication, the first main control module and first interface
The electron key of module and the electronics including second interface module, the second main control module, solenoid valve control module and electromagnetic valve
Lock, when electron key inserts electronic lock, bluetooth communication receives the control instruction that Bluetooth control terminal sends, and will control
Instruction is sent to the first main control module;First main control module is analyzed to control instruction, if control instruction is unlocking instruction,
First main control module sends authorization message to the second main control module;Second main control module is parsed to authorization message, if awarding
The matching code prestored in matching code in power information and the second main control module matches, then the second main control module output is unlocked letter
Number;Solenoid valve control module controls solenoid closure according to unlocking signal, and then controls electronic lock opening, artificial due to not needing
Electron key is rotated into predetermined angle, therefore reduces unlocking difficulty, increased unlocking success rate.
Description of the drawings
Fig. 1 is the modular structure schematic diagram of the electronic lock system that this utility model embodiment is provided;
Fig. 2 is the modular structure schematic diagram of the electronic lock system that another embodiment of this utility model is provided;
Fig. 3 is the electrical block diagram of the electron key that this utility model embodiment is provided;
Fig. 4 is the electrical block diagram of the electronic lock that this utility model embodiment is provided.
Specific embodiment
In order that the purpose of this utility model, technical scheme and advantage become more apparent, below in conjunction with accompanying drawing and enforcement
Example, is further elaborated to this utility model.It should be appreciated that specific embodiment described herein is only to explain
This utility model, is not used to limit this utility model.
The electronic lock system that this utility model embodiment is provided is using including bluetooth communication, the first main control module and the
The electron key of one interface module and including second interface module, the second main control module, solenoid valve control module and electromagnetic valve
Electronic lock, when electron key inserts electronic lock, bluetooth communication receives the control instruction that Bluetooth control terminal sends, and
Control instruction is sent to the first main control module;First main control module is analyzed to control instruction, if control instruction is unlocking
Instruction, then the first main control module sends authorization message to the second main control module;Second main control module is solved to authorization message
Analysis, if the matching code prestored in the matching code in authorization message and the second main control module matches, the second main control module is exported
Unlocking signal;Solenoid valve control module controls solenoid closure according to unlocking signal, and then controls electronic lock opening, due to being not required to
Very important person is that electron key is rotated into predetermined angle, therefore reduces unlocking difficulty, increased unlocking success rate.
Fig. 1 shows the modular structure of the electronic lock system that this utility model embodiment is provided, and for convenience of description, only shows
The part related to this utility model embodiment is gone out, details are as follows:
A kind of electronic lock system, including electron key 1 and electronic lock 2;Electronic lock 2 includes electromagnetic valve 23;Electromagnetic valve 23 is closed
During conjunction, electronic lock 2 is opened;Electron key 1 includes:Bluetooth communication 10, the first main control module 11 and first interface module 12;
Electronic lock 2 also includes second interface module 20, the second main control module 21 and solenoid valve control module 22.
Bluetooth communication 10 carries out radio communication, the data of bluetooth communication 10 with the Bluetooth control terminal 3 of outside
Transmitting terminal, data receiver and test side the first data receiver, the second data sending terminal respectively with the first main control module 11
And test side connection, second data sending terminal and the second data receiver of the first main control module 11 respectively with first interface module
12 data receiver and data sending terminal connect.
The data sending terminal and data receiver of second interface module 20 respectively with the first data of the second main control module 21
Receiving terminal and the first data sending terminal connect, and the control end of the second main control module 21 connects with the input of solenoid valve control module 22
Connect, first outfan and the second outfan of solenoid valve control module 22 is defeated with the first input end of electromagnetic valve 23 and second respectively
Enter end connection.
Bluetooth communication 10 receives the authorization message that Bluetooth control terminal 3 sends, and authorization message is sent to first
Main control module 11;When electron key 1 inserts electronic lock 2, first interface module 12 carries out serial ports and leads to second interface module 20
Letter, bluetooth communication 10 receives the control instruction that Bluetooth control terminal 3 sends, and control instruction is sent to the first master control mould
Block 11;First main control module 11 is analyzed to control instruction, if control instruction is unlocking instruction, the first main control module 11 will
Authorization message is sent to the second main control module 21;Second main control module 21 is parsed to authorization message, if in authorization message
The matching code prestored in matching code and the second main control module 21 matches, then the second main control module 21 sends unlocking signal to electromagnetism
Valve control module 22;Solenoid valve control module 22 controls electromagnetic valve 23 and closes according to unlocking signal.
In this utility model embodiment, first pass through Bluetooth control terminal 3 and electron key 1 is authorized, i.e. bluetooth control
Terminal processed 3 sends authorization message to electron key 1, and bluetooth communication 10 sends authorization message to the first main control module 11,
First main control module 11 is preserved authorization message.Wherein, authorization message can be by matching code, unlocking control bit and feedback
The communications codes of the compositions such as value.After electron key 1 inserts electronic lock 2, bluetooth communication 10 receives Bluetooth control terminal and sends
Control instruction, and control instruction is transmitted to the first main control module 11, the first main control module 11 judges that whether control instruction is
Unlocking instruction, if control instruction is unlocking instruction, main control module 11 connects authorization message Jing first interface module 12 and second
Mouth mold block 20 is sent to the second main control module 21, and the second main control module 21 is parsed to authorization message, in judging authorization message
Matching code whether match with the matching code for prestoring, if the matching code in authorization message matches with the matching code for prestoring,
Second main control module 21 sends unlocking signal to solenoid valve control module 22, and solenoid valve control module 22 is electricity according to unlocking signal
Magnet valve 23 is powered, the coil electricity of electromagnetic valve 23, and now, if detecting the pressing operation of outside, electromagnetic valve 23 is closed, this
When, the handle of electronic lock 2 turns to the second predeterminated position from the first predeterminated position, and electronic lock is opened electronic lock 2 and opened.Second master
Control module 21 exports block signal when unlocking instruction is not received, and solenoid valve control module 22 controls electromagnetism according to block signal
Valve 23 disconnects, and now, the handle of electronic lock 2 turns to the first predeterminated position from the second predeterminated position, and electronic lock 2 is closed.
Wherein, the first predeterminated position refers to that electronic lock descends in off position handle location, the second predeterminated position to refer to electricity
Son locks handle location in the on-state.Preferably, handle is default in second with handle in the first predeterminated position
Angle during position is 90 degree.
Fig. 2 shows the modular structure of the electronic lock system that another embodiment of this utility model is provided, for convenience of description,
The part related to this utility model embodiment is illustrate only, details are as follows:
Used as the embodiment of this utility model one, electron key 1 also includes:USB module 13, key control module 14 and prompting
Module 15.
The data sending terminal and data receiver of USB module 13 respectively with the 3rd data receiver of the first main control module 11
With the connection of the 3rd data sending terminal, the enable control end of key control module 14 and controlled end respectively with the first main control module 11
Enable Pin and the first control end connect, first controlled end and the second controlled end of reminding module 15 respectively with the first main control module 11
The second control end and the 3rd control end connection.
Key control module 14 is controlled according to the button operation of user to the working condition of electron key 1;Prompting mould
Block 15 is pointed out the power supply status of electron key 1.
In this utility model embodiment, USB module 13 is used to provide the burning interface to electron key 1.
In this utility model embodiment, user can control electron key 1 and enter work shape by key control module 14
State or into resting state etc..
Reminding module 15 carries out low capacity prompt or warning to electron key 1.
Used as the embodiment of this utility model one, electronic lock 2 also includes feedback of status module 24 and first communication module 23.
The outfan of feedback of status module 24 is connected with the feedback input end of the second main control module 21, first communication module 23
The first data sending terminal and the first data receiver be connected with outside monitoring server 4, the of first communication module 23
Two data sending terminals and the second data receiver are sent out respectively with second data receiver and the second data of the second main control module 21
Sending end connects.
The on off state of the real-time detection electronic lock 2 of feedback of status module 24, and the on off state of electronic lock 2 is sent to
Two main control modules 21;Second main control module 21 is by the on off state of electronic lock by first communication module 23 or second interface module
20 are respectively sent to monitoring server 4 or Bluetooth control terminal 3.
In this utility model embodiment, Bluetooth control terminal 3 or monitoring server 4 can at any time know opening for electronic lock 2
Off status, to carry out significantly more efficient management to electronic lock 2.
Fig. 3 shows the circuit structure of the electron key that this utility model embodiment is provided, and for convenience of description, only illustrates
The part related to this utility model embodiment, details are as follows:
Used as the embodiment of this utility model one, bluetooth communication 10 includes Bluetooth chip U1, first resistor R1, first electric
Hold C1, the first inductance L1, the second electric capacity C2, the 3rd electric capacity C3, the 4th electric capacity C4, the 5th electric capacity C5, the second inductance L2, the 3rd electric
Sense L3, the 4th inductance L4, the tenth electric capacity C10, antenna 100, second resistance R2,3rd resistor R3, the 4th resistance R4, the 5th resistance
R5, the 6th electric capacity C6, the 7th electric capacity C7, the first crystal oscillator Y1, the 8th electric capacity C8, the 9th electric capacity C9 and the second crystal oscillator Y2.
The supply pin VCC of Bluetooth chip U1 is connected to altogether the first power supply with the first end of first resistor R1, Bluetooth chip U1's
Second end of resetting pin nRST and first resistor R1 is connected to altogether the first end of the first electric capacity C1, the lower margin GND of Bluetooth chip U1 with
Second end of first resistor R1 is connected to altogether ground, and second end of the first radio frequency foot RF_N and the 3rd electric capacity C3 of Bluetooth chip U1 connects
Connect, the first end of the 3rd electric capacity C3 is connected to altogether second end of the first inductance L1, the first inductance L1 with second end of the second electric capacity C2
First end ground connection, the second radio frequency foot RN_P of Bluetooth chip U1 is connected with second end of the 4th electric capacity C4, the 4th electric capacity C4's
First end is connected to altogether second end of the second inductance L2 with the first end of the 5th electric capacity C5, and second end of the 5th electric capacity C5 is grounded, the
The first end of the first end of two electric capacity C2 and the second inductance L2 is connected to altogether second end of the 4th inductance L4, and the first of the 4th inductance L4
End is connected to altogether second end of the 3rd inductance L3 with the first end of the tenth electric capacity C10, and second end of the tenth electric capacity C10 is grounded, and the 3rd
The first end of inductance L3 is connected with antenna 100, and the data receiver foot P0.3 of Bluetooth chip U1 connects with the first end of second resistance R2
Connect, the second end of second resistance R2 for bluetooth communication 10 data receiver, the data is activation foot P0.2 of Bluetooth chip U1
The first end of the 4th resistance R4, the second end ground connection of the 4th resistance R4,3rd resistor are connected to altogether with the first end of 3rd resistor R3
Second end of R3 for bluetooth communication 10 data sending terminal, the of the detection foot P1.1 and the 5th resistance R5 of Bluetooth chip U1
One end connects, second end of the 5th resistance R5 for bluetooth communication 10 test side, the first crystal oscillator foot X1 of Bluetooth chip U1
With the first end that the first end of the 6th electric capacity C6 is connected to altogether the first crystal oscillator Y1, the second crystal oscillator foot X2 of Bluetooth chip U1 is electric with the 7th
The first end for holding C7 is connected to altogether second end of the first crystal oscillator Y2, the 3rd crystal oscillator foot XO1's and the 8th electric capacity C8 of Bluetooth chip U1
First end is connected to altogether the first end of the second crystal oscillator Y2, the 4th crystal oscillator foot XO2 and the first end of the 9th electric capacity C9 of Bluetooth chip U1
Be connected to second end of the second crystal oscillator Y2 altogether, second end of the 6th electric capacity C6, second end of the 7th electric capacity C7, the of the 8th electric capacity C8
Second end of two ends and the 9th electric capacity C9 is connected to ground altogether.
In this utility model embodiment, the magnitude of voltage of the first power supply is 3.3V.
In this utility model embodiment, Bluetooth chip U1 can adopt the Bluetooth chip of model CC2540, model
The Bluetooth chip of CC2540 is one kind of the standard of bluetooth 4.0, and it is compared to common Bluetooth chip (such as indigo plant based on bluetooth 3.0
Tooth chip) safety is higher, and certainly, Bluetooth chip U1 can also adopt the Bluetooth chip of other models, with specific reference to actual feelings
Condition is configured, and is not limited herein.
Used as the embodiment of this utility model one, USB module 13 includes:USB interface U2, the 11st electric capacity C11, the 6th resistance
R6, the 7th resistance R7, the 12nd electric capacity C12, the 13rd electric capacity C13, the 3rd crystal oscillator Y3 and USB turn serial communication chip U3.
The first end of the supply pin VCC and the 11st electric capacity C11 of USB interface U2 is connected to altogether second source, the 11st electric capacity
The second end ground connection of C11, the lower margin GND ground connection of USB interface U2, the positive foot D+ of data transfer of USB interface U2 and data transfer are born
Foot D- is connected respectively with the first end of the 6th resistance R6 and the first end of the 7th resistance R7, second end and the 7th of the 6th resistance R6
Second end of resistance R7 turns respectively the negative foot UD- of the positive foot UD+ of data transfer and data transfer of serial communication chip U3 with USB and connects
Connect, USB turns the first end of the first crystal oscillator foot XI and the 3rd crystal oscillator Y3 of serial communication chip U3 and is connected to the 12nd electric capacity C12's altogether
Second end, USB turns second end of the second crystal oscillator foot XO and the 3rd crystal oscillator Y3 of serial communication chip U3 and is connected to the 13rd resistance altogether
Second end of C13, the first end of the 12nd resistance C12 and the first end of the 13rd resistance C13 are connected to altogether ground, and USB turns serial and leads to
The supply pin VCC of letter chip U3 connects the first power supply, and USB turns the lower margin GND ground connection of serial communication chip U3, and USB turns serial communication
The data is activation foot TXD and data receiver foot RXD of chip U3 are respectively the data sending terminal and data receiver of USB module 13.
In this utility model embodiment, USB turns serial communication chip U3 can adopt the USB of model CH340G to turn string
Row communication chip, it would however also be possible to employ the USB of other models turns serial communication chip, is configured with specific reference to practical situation, this
Place is not limited.
In this utility model embodiment, the magnitude of voltage of second source is 5V.
Used as the embodiment of this utility model one, the first main control module 11 includes:First single-chip microcomputer U4, the 8th resistance R8,
Nine resistance R9, the 14th electric capacity C14, the tenth resistance R10 and the 11st resistance R11.
The second of the first power detecting foot P1.0 of the first single-chip microcomputer U4, second end of the 8th resistance R8 and the 9th resistance R9
End is connected to altogether second end of the 14th electric capacity C14, the positive pole of the first termination lithium battery of the 8th resistance R8, and the of the 9th resistance R9
One end is connected to altogether ground with the first end of the 14th electric capacity C14, and the second source detection foot P1.1 of the first single-chip microcomputer U4 is electric with the tenth
Second end of resistance R10 is connected to altogether the first end of the 11st resistance R11, the first end ground connection of the tenth resistance R10, the 11st resistance
The second termination second source of R11, the supply pin VCC of the first single-chip microcomputer U4 meets the first power supply, the lower margin GND of the first single-chip microcomputer U4
Ground connection, the first data is activation foot TXD1 of the first single-chip microcomputer U4, the first data receiver foot RXD1, detection foot MOSI, the 3rd data
Receive foot RXD3, the 3rd data is activation foot TXD3, the first control foot P2.1, enable foot P1.5, the second data receiver foot RXD2, the
Two data is activation foot TXD2, the second control foot P0.1 and the 3rd control foot P0.0 are respectively the first data of the first main control module 11
Transmitting terminal, the first data receiver, test side, the 3rd data receiver, the 3rd data sending terminal, the first control end, Enable Pin,
Second data receiver, the second data sending terminal, the second control end and the 3rd control end.
In this utility model embodiment, the first single-chip microcomputer U4 can adopt the single-chip microcomputer of STC series, specifically, monolithic
The model of machine U3 can be STC15W408AS, and certainly, single-chip microcomputer U4 can also adopt the single-chip microcomputer of other models, with specific reference to
Actual demand is configured, and is not limited herein.
Used as the embodiment of this utility model one, key control module 14 includes:12nd resistance R12, the 13rd resistance
R13, the 14th resistance R14, the 15th resistance R15, first switch pipe 140, second switch pipe 141 and control button S1.
The first end of the 13rd resistance R13 for key control module 14 controlled end, second end of the 13rd resistance R13 with
The control end connection of first switch pipe 140, the cold end ground connection of first switch pipe 140, the hot end of first switch pipe 140
With the second end that the first end of the 14th resistance R14 is connected to altogether the 13rd resistance R13, second end of the 14th resistance R14 and the
The control end connection of two switching tubes 141, the first end of the 12nd resistance R12, the hot end of second switch pipe 141 and control are pressed
The first end of key S1 is connected to altogether the positive pole of lithium battery, the cold end of second switch pipe 141, the second end of control button S1 and
The first end of 15 resistance R15 connects altogether the enable control end as key control module 14, second termination of the 15th resistance R15
Ground.
In this utility model embodiment, when control button S1 is pressed, i.e., when control button S1 is closed, by key control mould
The enable control end output high level signal of block 14, when the enable foot P1.5 of single-chip microcomputer U4 is high level signal, single-chip microcomputer U4's
First control foot P2.1 output high level signals, now first switch pipe 140 and second switch pipe 141 are both turned on, if this time control
Button S2 processed is not pressed, i.e., control button S2 disconnects, now the enable control end output low level letter of key control module 14
Number, single-chip microcomputer U4 can be judged the button operation of user according to the height of the level of its enable foot P1.5.When user presses
During lower control button S1, single-chip microcomputer U4 control electron keys 1 enter working condition;When control button S1 is pressed with the head of a household, monolithic
Machine U4 control electron keys 1 enter resting state.
Used as the embodiment of this utility model one, first switch pipe 140 can be NPN type triode Q1, NPN type triode Q1
Base stage, colelctor electrode and emitter stage be respectively control end, hot end and the cold end of first switch pipe 140.
Used as the embodiment of this utility model one, second switch pipe 141 can be PNP type triode Q2, PNP type triode Q2
Base stage, emitter stage and colelctor electrode be respectively control end, high potential and the cold end of second switch pipe 140.
Used as the embodiment of this utility model one, reminding module 15 includes:First light emitting diode D1, the second light emitting diode
D2, the 18th resistance R18 and the 19th resistance R19.
The negative electrode of the negative electrode of the first light emitting diode D1 and the second light emitting diode D2 is respectively the first of reminding module 15
The anode of controlled end and the second controlled end, the anode pole of the first light emitting diode D1 and the second light emitting diode D2 is respectively with the tenth
The first end of eight resistance R18 and the first end connection of the 19th resistance R19, second end of the 18th resistance R18 is electric with the 19th
Second end of resistance R19 is connected to altogether the first power supply.
In this utility model embodiment, when the first single-chip microcomputer U4 detects the not enough power supply of lithium battery or the first power supply
When, the second control foot P0.1 of the first single-chip microcomputer U4 or the 3rd control foot P0.0 exports low level signal, and then control first
Optical diode D1 or the second light emitting diode D2 lights, to carry out low capacity prompt to user.
Used as the embodiment of this utility model one, first interface module 12 includes:First interface chip U5, the 16th resistance
R16 and the 17th resistance R17.
The first end of the 16th resistance R16 and the first end of the 17th resistance R17 are respectively the number of first interface module 12
According to transmitting terminal and data receiver, second end of the 16th resistance R16 and second end of the 17th resistance R17 connect respectively with first
The negative foot D- connections of the positive foot D+ of data transfer and data transfer of mouth chip U5, the supply pin VCC of first interface chip U5 connects lithium electricity
The positive pole in pond, the lower margin GND ground connection of first interface chip U5.
Fig. 4 shows the circuit structure of the electronic lock that this utility model embodiment is provided, and for convenience of description, illustrate only
The part related to this utility model embodiment, details are as follows:
Used as the embodiment of this utility model one, second interface module 20 includes second interface chip U6 and the 15th electric capacity
The first end of the supply pin VCC and the 15th electric capacity C15 of C15, second interface chip U6 is connected to altogether the first power supply, second interface core
Second end of the lower margin GND and the 15th electric capacity C15 of piece U6 be connected to altogether ground, the positive foot D+ of data transfer of second interface chip U6 and
The negative foot D- of data transfer is respectively the data sending terminal and data receiver of second interface module.
Used as the embodiment of this utility model one, the second main control module 21 includes second singlechip U7, second singlechip U7's
The negative foot D+ of the positive foot D+ of data transfer, data transfer, data receiver foot P0.3, data is activation foot P0.2, control foot P3.3 and feedback
Input pin P2.0 be respectively the first data receiver of the second main control module 21, the first data sending terminal, the second data receiver,
Second data sending terminal control end and feedback input end, the supply pin VCC of second singlechip U7 connects the first power supply, second singlechip
The lower margin GND ground connection of U7.
In this utility model embodiment, second singlechip U7 can adopt the single-chip microcomputer of STC series, specifically, monolithic
The model of machine U3 can be STC15W101, and certainly, single-chip microcomputer U7 can also adopt the single-chip microcomputer of other models, with specific reference to reality
Border demand is configured, and is not limited herein.
The second singlechip U7 in the first single-chip microcomputer U4 and electronic lock 2 in electron key 1 is using the monolithic of STC series
Machine, communication mode is simple, it is ensured that communication it is safe and reliable.
Used as the embodiment of this utility model one, solenoid valve control module 22 includes:24th resistance R24, the 4th switch
Pipe 220 and diode D3.
The first end of the 24th resistance R24 for solenoid valve control module 22 input, the of the 24th resistance R24
One end is connected to altogether the first power supply, second end of the 24th resistance R24 and the 4th switch with the hot end of the 4th switching tube 220
The control end connection of pipe 220, the cold end of the 4th switching tube 220 is connect altogether as solenoid valve control mould with the negative electrode of diode D3
First outfan of block 22, the plus earth of diode D3, the anode of diode D3 is second defeated for solenoid valve control module 22
Go out end.
In this utility model embodiment, the 4th switching tube 220 can with PMOS Q4, the grid of PMOS Q4, source electrode and
Drain electrode is respectively control end, hot end and the cold end of the 4th switching tube 220.
In actual applications, electromagnetic valve 23 can adopt the existing electromagnetic valve including iron core, armature and coil.
In this utility model embodiment, when single-chip microcomputer U7 receives unlocking instruction, the control foot P3.3 of single-chip microcomputer U7
Output unlocking signal, i.e. low level signal, now the 4th switching tube Q4 conductings, solenoid valve control module 22 is supplied for electromagnetic valve 23
Electricity, now, the coil electricity of electromagnetic valve 23, electromagnetic valve 23 is in the case of energization, if detecting the pressing operation of outside, electricity
Magnet valve 23 is closed, and the handle of electronic lock turns to the second predeterminated position from the first predeterminated position, and now electronic lock is opened.
Used as the embodiment of this utility model one, first communication module 23 includes the 20th resistance R20, the 21st resistance
R21, the 3rd switching tube 230, the 22nd resistance R22, the 23rd resistance R23 and the 16th electric capacity C16.
The first end of the 20th resistance R20 is the second data sending terminal of first communication module 23, the 20th resistance R20's
Second end is connected with the control end of the 3rd switching tube 230, the cold end ground connection of the 3rd switching tube 230, the 3rd switching tube 230
Hot end is connected with second end of the 21st resistance R21, first end and the 22nd resistance of the 21st resistance R21
The first end of R22 is respectively first data receiver and the first data sending terminal of first communication module 23, the 22nd resistance
Second end of R22, the first end of the 23rd resistance R23 and the first end of the 16th electric capacity R16 are connect altogether as the first communication mould
Second data receiver of block 23.
Used as the embodiment of this utility model one, feedback of status module 24 includes electromagnetic switch S2 and the 25th resistance R25.
The first end of electromagnetic switch S2 is connect altogether as the defeated of feedback of status module 24 with second end of the 25th resistance R15
Go out end, the first termination second source of the 25th resistance R15, the second end ground connection of electromagnetic switch S2.
In this utility model embodiment, electromagnetic switch S1 can adopt the dry spring of model SMK11, dry spring it is disconnected
Open and determined by the magnetic field intensity around it with closure, for example, when one piece 5 cubic millimeters of Magnet and the distance of dry spring are less than
During 10mm, in the magnetic field that Magnet is produced, now dry spring is closed dry spring;When one piece 5 cubic millimeters of Magnet and dry bullet
When the distance of spring is more than 15mm, outside the magnetic field that dry spring is produced in Magnet, now dry spring disconnects.
Accordingly principle, in actual applications, can arrange a Magnet in the handle of electronic lock 2, while so that electronic lock 2
Handle when being in the first predeterminated position, the distance between handle of electronic lock 2 and electromagnetic switch S are less than the first predeterminable range
Value, when the handle of electronic lock 2 is in the second predeterminated position, the distance between handle and electromagnetic switch S of electronic lock 2 are more than second
Predeterminable range value.For example, one piece 5 cubic millimeters of Magnet can be set in the handle of electronic lock 2, while so that electronic lock 2
When handle is in the first predeterminated position, the distance between handle and electromagnetic switch S of electronic lock 2 are less than 10mm, the handle of electronic lock 2
When handss are in the second predeterminated position, the distance between handle and electromagnetic switch S of electronic lock 2 are more than 15mm.
So, when electronic lock 2 is opened, because the handle of now electronic lock 2 is in the second predeterminated position, therefore electromagnetism is opened
Close S1 to disconnect, now, the feed back input foot P2.0 of second singlechip U7 is high level, when the feed back input foot of second singlechip U7
When P2.0 is high level, second singlechip U7 confirms that electronic lock 2 is in open mode, and by the current feedback of status of electronic lock 2
To Bluetooth control terminal 3 or monitoring server 4 so that Bluetooth control terminal 2 or monitoring server 4 are known at Current electronic lock 2
In open mode;When electronic lock 2 is closed, because the handle of now electronic lock 2 is in the first predeterminated position, therefore, electromagnetism is opened
S1 closures are closed, now, the feed back input foot P2.0 of second singlechip U7 is low level, when the feed back input foot of second singlechip U7
When P2.0 is level, second singlechip U7 confirms that electronic lock 2 is closed, and by the current feedback of status of electronic lock 2 extremely
Bluetooth control terminal 3 or monitoring server 4 so that Bluetooth control terminal 3 or monitoring server 4 know that Current electronic lock 2 is in
Closed mode.Monitor in real time can be carried out to the state of electronic lock 2 by Bluetooth control terminal 3 or monitoring server 4, be solved
Traditional mechanical lock cannot monitor the problem of the state of lock.
The electronic lock system that this utility model embodiment is provided is using including bluetooth communication, the first main control module and the
The electron key of one interface module and including second interface module, the second main control module, solenoid valve control module and electromagnetic valve
Electronic lock, when electron key inserts electronic lock, bluetooth communication receives the control instruction that Bluetooth control terminal sends, and
Control instruction is sent to the first main control module;First main control module is analyzed to control instruction, if control instruction is unlocking
Instruction, then the first main control module sends authorization message to the second main control module;Second main control module is solved to authorization message
Analysis, if the matching code prestored in the matching code in authorization message and the second main control module matches, the second main control module is exported
Unlocking signal;Solenoid valve control module controls solenoid closure according to unlocking signal, and then controls electronic lock opening, due to being not required to
Very important person is that electron key is rotated into predetermined angle, therefore reduces unlocking difficulty, increased unlocking success rate.
Preferred embodiment of the present utility model is the foregoing is only, it is all at this not to limit this utility model
Any modification, equivalent and improvement made within the spirit and principle of utility model etc., should be included in this utility model
Protection domain within.
Claims (10)
1. a kind of electronic lock system, including electron key and electronic lock;The electronic lock includes electromagnetic valve;The solenoid closure
When, the electronic lock is opened;Characterized in that, the electron key includes:Bluetooth communication, the first main control module and first
Interface module;The electronic lock also includes second interface module, the second main control module and solenoid valve control module;
The bluetooth communication carries out radio communication with the Bluetooth control terminal of outside, and the data of the bluetooth communication are sent out
Sending end, data receiver and test side the first data receiver, the second data sending terminal respectively with first main control module
And test side connection, second data sending terminal and the second data receiver of first main control module connect respectively with described first
The data receiver of mouth mold block and data sending terminal connect;
The data sending terminal and data receiver of the second interface module respectively with the first data of second main control module
Receiving terminal and the connection of the first data sending terminal, the control end of second main control module and the input of the solenoid valve control module
End connection, first outfan and the second outfan of the solenoid valve control module respectively with the first input end of the electromagnetic valve
With the connection of the second input;
The bluetooth communication receives the authorization message that the Bluetooth control terminal sends, and by the authorization message send to
First main control module;When the electron key inserts the electronic lock, the first interface module connects with described second
Mouth mold block carries out serial communication, and the bluetooth communication receives the control instruction that the Bluetooth control terminal sends, and by institute
State control instruction to send to first main control module;First main control module is analyzed to the control instruction, and
The control instruction exports the authorization message to second main control module when being unlocking instruction;Second main control module pair
The authorization message is parsed, and the matching code in the authorization message is exported when matching with the matching code for prestoring and unlocked
Signal;The solenoid valve control module controls the solenoid closure according to the unlocking signal.
2. electronic lock system as claimed in claim 1, it is characterised in that the electron key also includes:USB module, button
Control module and reminding module;
The data sending terminal and data receiver of the USB module respectively with the 3rd data receiver of first main control module
With the connection of the 3rd data sending terminal, the enable control end of the key control module and controlled end respectively with the first master control mould
The Enable Pin of block and the first control end connect, and first controlled end and the second controlled end of the reminding module are respectively with described first
Second control end of main control module and the 3rd control end connect;
The key control module is controlled according to the button operation of user to the working condition of the electron key;It is described to carry
Show that module is pointed out the power supply status of the electron key.
3. electronic lock system as claimed in claim 1, it is characterised in that the electronic lock also includes feedback of status module and the
One communication module;
The outfan of the feedback of status module is connected with the feedback input end of second main control module, the first communication mould
First data sending terminal and the first data receiver of block is connected with outside monitoring server, the first communication module
Second data sending terminal and the second data receiver are counted respectively with second data receiver and second of second main control module
Connect according to transmitting terminal;
The on off state of electronic lock described in the feedback of status module real-time detection, and the on off state of the electronic lock is sent
To second main control module;The on off state of the electronic lock is passed through the first communication module by second main control module
Or the second interface module is respectively sent to the monitoring server or the Bluetooth control terminal.
4. electronic lock system as claimed in claim 2, it is characterised in that the bluetooth communication include Bluetooth chip, the
It is one resistance, the first electric capacity, the first inductance, the second electric capacity, the 3rd electric capacity, the 4th electric capacity, the 5th electric capacity, the second inductance, the 3rd electric
It is sense, the 4th inductance, the tenth electric capacity, antenna, second resistance, 3rd resistor, the 4th resistance, the 5th resistance, the 6th electric capacity, the 7th electric
Appearance, the first crystal oscillator, the 8th electric capacity, the 9th electric capacity and the second crystal oscillator;
The supply pin of the Bluetooth chip and the first end of the first resistor be connected to altogether the first power supply, and the Bluetooth chip is answered
Position foot and the second end of the first resistor are connected to altogether the first end of first electric capacity, the lower margin of the Bluetooth chip with it is described
Second end of first resistor is connected to altogether ground, and the first radio frequency foot of the Bluetooth chip is connected with the second end of the 3rd electric capacity,
The first end of the 3rd electric capacity is connected to altogether the second end of first inductance with the second end of second electric capacity, and described first
The first end ground connection of inductance, the second radio frequency foot of the Bluetooth chip is connected with the second end of the 4th electric capacity, and the described 4th
The first end of electric capacity is connected to altogether the second end of second inductance with the first end of the 5th electric capacity, and the of the 5th electric capacity
Two ends are grounded, and the first end of second electric capacity is connected to altogether the second of the 4th inductance with the first end of second inductance
End, first end and the first end of the tenth electric capacity of the 4th inductance are connected to altogether the second end of the 3rd inductance, described
The second end ground connection of the tenth electric capacity, the first end of the 3rd inductance is connected with the antenna, and the data of the Bluetooth chip connect
Receive foot to be connected with the first end of the second resistance, the second end of the second resistance is that the data of the bluetooth communication connect
Receiving end, the data is activation foot of the Bluetooth chip is connected to altogether the first of the 4th resistance with the first end of the 3rd resistor
End, the second end ground connection of the 4th resistance, the second end of the 3rd resistor is the data is activation of the bluetooth communication
End, the detection foot of the Bluetooth chip is connected with the first end of the 5th resistance, and the second end of the 5th resistance is described
The test side of bluetooth communication, the first crystal oscillator foot and the first end of the 6th electric capacity of the Bluetooth chip are connected to altogether described
The first end of the first crystal oscillator, the second crystal oscillator foot and the first end of the 7th electric capacity of the Bluetooth chip are connected to altogether described first
Second end of crystal oscillator, the 3rd crystal oscillator foot and the first end of the 8th electric capacity of the Bluetooth chip are connected to altogether second crystal oscillator
First end, the 4th crystal oscillator foot of the Bluetooth chip is connected to altogether the of second crystal oscillator with the first end of the 9th electric capacity
Two ends, the second end of the 6th electric capacity, the second end of the 7th electric capacity, second end and the described 9th of the 8th electric capacity
Second end of electric capacity is connected to ground altogether.
5. electronic lock system as claimed in claim 2, it is characterised in that the USB module includes:It is USB interface, the 11st electric
Appearance, the 6th resistance, the 7th resistance, the 12nd electric capacity, the 13rd electric capacity, the 3rd crystal oscillator and USB turn serial communication chip;
The supply pin of the USB interface is connected to altogether second source, the 11st electric capacity with the first end of the 11st electric capacity
The second end ground connection, the lower margin ground connection of the USB interface, the negative foot point of the positive foot of data transfer of the USB interface and data transfer
It is not connected with the first end of the 6th resistance and the first end of the 7th resistance, the second end of the 6th resistance and described
Second end of the 7th resistance is connected respectively with the positive foot of the data transfer that the USB turns serial communication chip and the negative foot of data transfer,
The USB turns the first crystal oscillator foot of serial communication chip and the first end of the 3rd crystal oscillator is connected to altogether the 12nd electric capacity
Second end, the USB turns the second crystal oscillator foot of serial communication chip and the second end of the 3rd crystal oscillator is connected to altogether the described tenth
Second end of three resistance, the first end of the 12nd resistance and the first end of the 13rd resistance are connected to altogether ground, the USB
The supply pin for turning serial communication chip connects the first power supply, and the USB turns the lower margin ground connection of serial communication chip, and the USB turns string
The data is activation foot and data receiver foot of row communication chip are respectively the data sending terminal and data receiver of the USB module.
6. electronic lock system as claimed in claim 2, it is characterised in that first main control module includes:First single-chip microcomputer,
8th resistance, the 9th resistance, the 14th electric capacity, the tenth resistance and the 11st resistance;
Second end of the first power detecting foot, the second end of the 8th resistance and the 9th resistance of first single-chip microcomputer
The second end of the 14th electric capacity, the positive pole of the first termination lithium battery of the 8th resistance, the 9th resistance are connected to altogether
First end and the first end of the 14th electric capacity be connected to ground altogether, the second source detection foot of first single-chip microcomputer with it is described
Second end of the tenth resistance is connected to altogether the first end of the 11st resistance, the first end ground connection of the tenth resistance, and described the
Second termination second source of 11 resistance, the supply pin of first single-chip microcomputer connects the first power supply, first single-chip microcomputer
Lower margin is grounded, the first data is activation foot of first single-chip microcomputer, the first data receiver foot, detection foot, the 3rd data receiver foot,
3rd data is activation foot, the first control foot, enable foot, the second data receiver foot, the second data is activation foot, the second control foot and the
Three control feet are respectively the first data sending terminal, the first data receiver, test side, the 3rd data of first main control module
Receiving terminal, the 3rd data sending terminal, the first control end, Enable Pin, the second data receiver, the second data sending terminal, the second control
End processed and the 3rd control end.
7. electronic lock system as claimed in claim 2, it is characterised in that the key control module includes:12nd resistance,
13rd resistance, the 14th resistance, the 15th resistance, first switch pipe, second switch pipe and control button;
The first end of the 13rd resistance is the controlled end of the key control module, the second end of the 13rd resistance with
The control end connection of the first switch pipe, the cold end ground connection of the first switch pipe, the height electricity of the first switch pipe
Position end and the first end of the 14th resistance are connected to altogether the second end of the 13rd resistance, and the second of the 14th resistance
End is connected with the control end of the second switch pipe, the first end of the 12nd resistance, the high potential of the second switch pipe
The first end of end and the control button is connected to altogether the positive pole of lithium battery, the cold end of the second switch pipe, the control
The first end of the second end of button and the 15th resistance connects altogether the enable control end as the key control module, described
The second end ground connection of the 15th resistance.
8. electronic lock system as claimed in claim 2, it is characterised in that the reminding module includes:First light emitting diode,
Second light emitting diode, the 18th resistance and the 19th resistance;
The negative electrode of the negative electrode of first light emitting diode and second light emitting diode is respectively the of the reminding module
The anode difference of one controlled end and the second controlled end, the anode pole of first light emitting diode and second light emitting diode
Be connected with the first end of the 18th resistance and the first end of the 19th resistance, the second end of the 18th resistance with
Second end of the 19th resistance is connected to altogether the first power supply.
9. electronic lock system as claimed in claim 3, it is characterised in that second main control module includes second singlechip,
The negative foot of the positive foot of data transfer of the second singlechip, data transfer, data receiver foot, data is activation foot, control foot and feedback
Input pin be respectively the first data receiver of second main control module, the first data sending terminal, the second data receiver,
Two data sending terminal control ends and feedback input end, the supply pin of the second singlechip connects the first power supply, second monolithic
The lower margin ground connection of machine.
10. electronic lock system as claimed in claim 3, it is characterised in that the feedback of status module include electromagnetic switch and
25th resistance;
The first end of the electromagnetic switch is connect altogether as the feedback of status module with the second end of the 25th resistance
Outfan, the first termination second source of the 25th resistance, the second end ground connection of the electromagnetic switch.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201621045252.7U CN206110865U (en) | 2016-09-08 | 2016-09-08 | Electronic lock system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201621045252.7U CN206110865U (en) | 2016-09-08 | 2016-09-08 | Electronic lock system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN206110865U true CN206110865U (en) | 2017-04-19 |
Family
ID=58518908
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201621045252.7U Active CN206110865U (en) | 2016-09-08 | 2016-09-08 | Electronic lock system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN206110865U (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107733994A (en) * | 2017-09-20 | 2018-02-23 | 美的智慧家居科技有限公司 | Control method, intelligent door lock and the readable storage medium storing program for executing of intelligent door lock |
CN107818259A (en) * | 2017-11-29 | 2018-03-20 | 湖南长城医疗科技有限公司 | One kind printing authorization control circuit and control method |
CN110273587A (en) * | 2019-05-05 | 2019-09-24 | 国网浙江海盐县供电有限公司 | A kind of ring network cabinet earthing switch anti-error lock |
CN111127706A (en) * | 2019-11-28 | 2020-05-08 | 深圳指芯物联技术有限公司 | Intelligent lock control method, intelligent lock, cloud server and computing equipment |
-
2016
- 2016-09-08 CN CN201621045252.7U patent/CN206110865U/en active Active
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107733994A (en) * | 2017-09-20 | 2018-02-23 | 美的智慧家居科技有限公司 | Control method, intelligent door lock and the readable storage medium storing program for executing of intelligent door lock |
CN107818259A (en) * | 2017-11-29 | 2018-03-20 | 湖南长城医疗科技有限公司 | One kind printing authorization control circuit and control method |
CN110273587A (en) * | 2019-05-05 | 2019-09-24 | 国网浙江海盐县供电有限公司 | A kind of ring network cabinet earthing switch anti-error lock |
CN110273587B (en) * | 2019-05-05 | 2021-10-22 | 国网浙江海盐县供电有限公司 | Anti-misoperation lockset of ring main unit grounding switch |
CN111127706A (en) * | 2019-11-28 | 2020-05-08 | 深圳指芯物联技术有限公司 | Intelligent lock control method, intelligent lock, cloud server and computing equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN206110865U (en) | Electronic lock system | |
CN203539051U (en) | Letter box | |
CN102800142B (en) | Intelligent lock, intelligent key and bidirectional interaction control method thereof | |
CN102654002B (en) | Keyless entry intelligent lock capable of adding and deleting keys | |
CN103729926A (en) | Bluetooth access control system based on remote authorization of intelligent terminal and control method thereof | |
CN203192055U (en) | Electronic lock | |
CN101882332A (en) | Intelligent control method of multifunctional infrared remote-control electronic password lock | |
CN109898563A (en) | A kind of smart electronics well lid and control method based on NB-IOT | |
CN110374413A (en) | A kind of intelligent wireless door-locking system | |
CN204463267U (en) | A kind of intelligent access control system | |
CN106836990B (en) | Fingerprint lock with wireless charging function | |
CN109184361A (en) | Door lock and its working method with high security | |
CN206115523U (en) | Electronic lock and ON -OFF control circuit thereof | |
CN203769461U (en) | Wireless intelligent lock based on encryption IC cards | |
CN103617661B (en) | Wireless unlocking system and method for unlocking thereof | |
CN101775942A (en) | Network intelligent wireless control system-based safe | |
CN201730455U (en) | Safe based on intelligent wireless network control system | |
CN202976286U (en) | IC (Integrated Circuit) fingerprint lock | |
CN105023320A (en) | Bluetooth intelligent lock and method for remotely controlling Bluetooth intelligent lock through Bluetooth mobile terminal | |
CN209413514U (en) | Door lock with high security | |
CN101068293B (en) | Home long-distance management device | |
CN206224642U (en) | Access controller circuit and gate control system | |
CN200990109Y (en) | Key identity recognition intelligent lock | |
CN202788226U (en) | Electronic key | |
CN201446937U (en) | Automobile electronic anti-theft device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |