CN206021402U - A kind of off-line cipher lock control device of low-power consumption - Google Patents
A kind of off-line cipher lock control device of low-power consumption Download PDFInfo
- Publication number
- CN206021402U CN206021402U CN201621049897.8U CN201621049897U CN206021402U CN 206021402 U CN206021402 U CN 206021402U CN 201621049897 U CN201621049897 U CN 201621049897U CN 206021402 U CN206021402 U CN 206021402U
- Authority
- CN
- China
- Prior art keywords
- circuit
- circuits
- line
- interface
- control device
- 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
Landscapes
- Lock And Its Accessories (AREA)
Abstract
A kind of off-line cipher lock control device of low-power consumption includes that CC2640 minimum systems and VDDR voltage supply circuits, double antenna and filter circuit, keystroke interface circuit, circuit for controlling motor, motor rotation-blocking detection circuit, 2 line cJTAG connection circuits, MiniUSB interface circuits, external connection battery turn 3.3V circuits, USB5V and turn 3.3V circuits, standby battery circuit and power module.This device is powered on antitheft door of house and using battery.The device acquiescence is placed in sleep state by this utility model, and by judging in induced key module whether the level of IRQ interrupt lines and bluetooth are initiated connection determining whether to produce wake-up signal, mobile phone terminal Bluetooth transmission and key number are transmitted two kinds of signals and is set to interrupt source, be operated with corresponding module in Rouser.This device reduces the power consumption of control device so that off-line cipher lock control device permanently effective can run while coded lock work efficiency is ensured.
Description
Technical field
This utility model is related to a kind of low-power consumption off-line cipher lock control device, more particularly to one kind by bluetooth or is pressed
Key wakes up the control device of coded lock, belongs to observing and controlling and technical field of automation.
Background technology
External real estate intermediary has been developed the history of last 100 yearses, no matter dealing storage or increment real estate are nearly all
It is to be traded by intermediary, all information of buying house all are transmitted by broker association.If developer oneself is not broker,
Also want managing operator intermediary to handle, and oneself Development and Production with single-hearted devotion.For real estate presell, then must pass through
Broker handles, and in the U.S., real estate transaction has 85% to be formed by intermediary sevices transaction, it is seen that U.S.'s occupation house property medium
Quantity is huge, so developing a set of coding lock system to aid in house property medium be with extremely important meaning.
With the growing of science and technology and constantly bring forth new ideas, realize that sell house interconnection networking, intellectuality of intermediary has become certainty
Trend.Bluetooth is a kind of radiotechnics of holding equipment short haul connection, with long transmission distance, good confidentiality, and
There is the advantages such as partition wall transmission, consolidated the developability of this design.Using Bluetooth technology, effectively can simplify mobile logical
Communication between letter terminal unit.
Bluetooth technology mature is accompanied by, bluetooth is also just progressively applied among the digital equipment in each field, such as:Handss
Machine, panel computer, notebook computer etc. some we live in commonly used digital product.Wherein mobile phone is the most universal, is based on
This point we, we using mobile phone bluetooth function open coded lock, so as to change the unlatching of traditional locks.Set forth herein a kind of low
Power consumption off-line cipher lock control device, more reduces power consumption, improves work efficiency, can meet U.S.'s house property warp very well
Discipline Man's Demands, and meet the product of the trend of new technique.
Simultaneously as adopting Bluetooth transmission, the power power consumption of existing password lock is generally very big, affects device performance and use
Life-span.After motor rotation a period of time that casket is locked in control, need to suspend rotation, i.e. motor rotation blockage.And traditional coded lock is in electricity
During machine stall, the electric current increase of circuit for controlling motor, thus high energy consumption can be equally brought, while shortening motor service life.
Utility model content
In order to solve the deficiency of prior art presence, the purpose of this utility model is to provide a kind of low-power consumption off-line cipher
Lock control device.The device connects keystroke interface circuit by using IQR interrupt lines, judges that key-press module or bluetooth module are
No there is wake-up signal, completes the switching from park mode to mode of operation, to realize Timing Data Acquisition, it is ensured that code data
Accuracy;By setting the threshold value of motor control electric current, work as motor rotation blockage, the electric current of circuit for controlling motor increases and exceeds and sets
When determining threshold value, circuit for controlling motor prevents motor from rotating, it is ensured that the real-time of motor rotational strain and simultaneously reduction motor energy
Consumption, ensures electrical machinery life.Coded lock control device described in the utility model is by button and APP Bluetooth transmission password figures
Mode, control while each age group use demand of user is met this device without APP or during key response automatically into
Park mode, reduces the overall power of device.This device is supported without network off-line working simultaneously, also be can guarantee that in the feelings without network
Cryptosync under condition.
For achieving the above object, the low-power consumption off-line cipher lock control device that this utility model is provided, including CC2640 most
Mini system and VDDR(VDDR is power pins name)Voltage supply circuit, double antenna and filter circuit, keystroke interface circuit, motor
Control circuit, motor rotation-blocking detection circuit, 2 line cJTAG(Compact JTAG, ieee standard 1147.9)Connection circuit,
MiniUSB(Mini Universal Serial BUS, USB (universal serial bus))Interface circuit, external connection battery turn 3.3V circuits,
USB5V turns 3.3V circuits, standby battery circuit and power module;
The input of wherein CC2640 minimum systems and VDDR voltage supply circuits be simultaneously connected with double antenna and filter circuit,
Motor rotation-blocking detection circuit, 2 line cJTAG connection circuits, standby battery circuit and power module, CC2640 minimum systems and VDDR
The outfan of voltage supply circuit is connected with keystroke interface circuit two-way communication link while circuit for controlling motor is connected;
The input of power module is simultaneously connected with MiniUSB interface circuits, external connection battery and turns 3.3V circuits and USB5V turn
3.3V circuits, the outfan of power module is simultaneously to 2 line cJTAG connection circuits, keystroke interface circuit, circuit for controlling motor and electricity
Machine lock-rotor detection circuit is powered;
Iic bus interface is provided with described keystroke interface circuit, button data line interface in iic bus interface, is pressed
Key clock line interface and keys interrupt line interface respectively with CC2640 minimum systems and VDDR voltage supply circuits in data
Line interface, clock line interface, interruption line interface connection.Wherein, the keys interrupt line in iic bus interface is in independent IRQ
Broken string, in control logic, IRQ interrupt lines determine whether iic bus are in running order.
Wherein, 32.768K sleep RTC are provided with described CC2640 minimum systems and VDDR voltage supply circuits(Real-
Time Clock, real-time clock).Meanwhile, equipment is furnished with standby battery circuit(110)For sleeping, RTC clock is powered, it is ensured that when
Between synchronous, it is ensured that coded lock still has the time synchronized function of degree of precision in sleep.
Described key-press module is chip used for MPR121, is provided with iic bus interface, other similar cores in MPR121 chips
General in piece do not have extra interrupt line or with certain restriction.IIC is provided with keystroke interface circuit(Inter-
Integrated Circuit, internal integrated circuit)EBI, when iic bus interface includes button data line interface, button
Clock line interface and a keys interrupt line interface, wherein keys interrupt line interface are IRQ(Interrupt Request, interrupting please
Ask)Interrupt line interface.Button data line, button clock line, and keys interrupt line respectively with CC2640 minimum systems and VDDR
Voltage supply circuit(101)In data line interface, clock line interface, interrupt line interface be connected, MPR121 modules by interrupt
Line wakes up CC2640 minimum systems and VDDR voltage supply circuits(101)Afterwards, CC2640 minimum systems and VDDR voltages supply electricity
Road(101)Export clock line sequential and read the data of data wire.While button in MPR121 key-press modules is subject to touching
A low level interrupt signal is produced in IRQ interrupt lines, CC2640 minimum system receiving datas are notified.Called out by interrupt signal
Awake corresponding circuit module, this just can ensure while data receiver instantaneity is improved that low-power consumption of the present utility model is special
Property.
The filter circuit adopted in described double antenna and filter circuit is balun filter circuit, so as to ensure that signal is launched
With receive stability, and to kernel power supply using low-and high-frequency filtering, it is ensured that " cleaning " of power supply.Meanwhile, double antenna is tied
Structure also adds somewhat to the intensity of Bluetooth transmissions.
By NMOS in described circuit for controlling motor(N-Metal-Oxide-Semiconductor, N-type metal-oxide
Thing-quasiconductor)Type field effect transistor connects motor, provides electric current needed for operation to motor.This utility model is locked by motor control
During casket folding, by spring reset, the current control motor unlocking casket that provided by NMOS field effect transistor realizes that lock casket is closed.Only
Need NMOS field effect transistor, it becomes possible to coordinate spring return mechanism to realize the double-direction control of lock casket, so as to avoid additional drives chip
The energy consumption of generation when double-direction control is carried out so that this utility model more saves energy consumption.
Described motor rotation-blocking detection circuit includes current detection and feedback circuit, is serially connected with 1 watt of volume in current detection circuit
Determine the sampling resistor of power.By sampling to the magnitude of voltage of sampling resistor, reflect the change of running current judging motor
Whether stall there is.
2 described line cJTAG connection circuits are 2 line programming debud modes, it is only necessary to TMS(Test Mode Select, survey
Examination model selection)Data wire and TCK(Test Clock, test clock)Clock line, just can realize firmware upgrade.
Described described external connection battery turns 3.3V circuits using TPS82740B chips, and TPS82740B passes through power module
CC2640 minimum systems, keystroke interface circuit, circuit for controlling motor and 2 line cJTAG wired circuits are simultaneously connected with, and are powered.
In mA level electric currents, external connection battery turns the conversion ratio that 3.3V circuits can realize 95%, greatly improves energy consumption utilization rate.
Described USB5V is turned 3.3V circuits and adopts AMS1117-3.3, AMS1117-3.3 to be simultaneously connected with by power module
CC2640 minimum systems, keystroke interface circuit, circuit for controlling motor and 2 line cJTAG wired circuits.Standby battery circuit is used for
Sleep RTC clock is powered, while ensureing time synchronized.
The MiniUSB interface circuits are a kind of more universal emergent interfaces.
This utility model compared to the prior art, have the advantages that including:
(1)Bluetooth of mobile phone signal and push button signalling are made by low-power consumption off-line cipher lock control device described in the utility model
For wake-up signal, whether wake-up signal is produced by the electrical level judging of IRQ interrupt lines in iic bus.When without wake-up signal, will
Device is placed in sleep pattern, after wake-up signal is received is switched to mode of operation from sleep pattern, resumes work, so as to reduce
The power consumption of CC2640 minimum systems in device.CC2640 minimum systems are responsible for bluetooth communication in this device, also make simultaneously
Peripheral circuit is controlled with signal for central processing unit.This device is slept so as to introduce due to increased IRQ interruption line structures
Sleep mode reducing energy consumption, so that solve existing control device for security consideration, it is impossible to using high capacity cell, and cause
Usage cycles short, have a strong impact on the problem of the work efficiency efficiency of device.Give tacit consent in this utility model and control device is placed in
Sleep pattern, receives wake-up signal by IRQ interrupt lines, so as to Rouser carries out normal operating conditions, effectively extends control
The service life of device;
(2)While this utility model maintains control device service life by sleep pattern, by standby battery circuit
To sleeping, RTC clock is powered so that 32.768K sleep RTC clocks ensure that coded lock remains to keep more high-precision in sleep
The time synchronized of degree.So that this device can be waken up in a sleep state at any time, receives password and respond unlocking instruction.Cause
And, normal use is not interfered with while device service life is ensured.
(3)This device connects motor by nmos type field effect transistor in circuit for controlling motor, provides controlled motor to motor
Electric current needed for lock casket is opened in operation, while realizing that lock casket is closed by spring reset.Reduce when the double-direction control of lock casket is realized
The use of field effect transistor in driving chip, saves as realizing energy that double-direction control is consumed.When considering to unlock, when control lock
After the motor of casket rotates a period of time, motor needs to suspend and rotates.This function needs to realize by physics stall, therefore this dress
Putting, the sampling resistor of 1 watt of rated power is serially connected with motor operation circuit to detect locked rotor current.Set when locked rotor current is more than
Immediately stop motor when definite value, it is to avoid motor unnecessarily dallies, further save power supply power consumption output.Ensureing device
Motor is protected while low power capabilities, extends the service life of motor and whole device.
(4)With button two ways is locked, this utility model realizes that password is transmitted using mobile phone A PP, both met each of user
The demand of age bracket ensure that the safety of password transmission again simultaneously.Simultaneously connecting without APP or device is being set during key response
Automatically into park mode, reduce the overall power consumption of device.3.3V circuits are turned as external connection battery using TPS82740B, in mA
95% energy transformation ratio is realized during level electric current for device, greatly improves the energy consumption utilization rate of device.Meanwhile, adopt
ASM1117-3.3 turns 3.3V circuits as USB5V and powers for device, RTC clock of sleeping is powered using standby battery circuit, with
When ensure time synchronized.This device also provides a MiniUSB interface simultaneously, by this more universal emergent interface tight
Electric energy is provided for device under anxious state.
Description of the drawings
Accompanying drawing is used for providing and further understanding to of the present utility model, and constitutes a part for description, and with this reality
With new embodiment together, for explaining this utility model, do not constitute to restriction of the present utility model.In the accompanying drawings:
Fig. 1 is off-line cipher lock control device block diagram of the present utility model;
Fig. 2 is CC2640 minimum systems plate design drawing of the present utility model;
Fig. 3 is power vd D_EB(Power pins name)Filter circuit;
Fig. 4 is CC2640 chip VDDR voltage supply circuits;
Fig. 5 is that balun filter circuit of the present utility model is designed with double antenna;
Fig. 6 is the connection circuit of MPR121 induced key modules;
Fig. 7 turns 3.3V circuit diagrams for 5V and RTC reserve batteries supply electrograph;
Fig. 8 is circuit for controlling motor figure and lock-rotor detection circuit figure;
Fig. 9 is MiniUSB interface circuit figures;
Figure 10 downloads 2 line cJTAG wiring diagrams for the Debug of CC2640;
Figure 11 turns 3.3V schematic diagrams (powering for CC2640 kernels) for external connection battery voltage.
Specific embodiment
Preferred embodiment of the present utility model is illustrated below in conjunction with accompanying drawing, it will be appreciated that described herein excellent
Select embodiment to be merely to illustrate and explain this utility model, be not used to limit this utility model.
Control device described in the utility model is applied to be connect by Keysheet module, mobile phone terminal bluetooth applications module and single-chip microcomputer
Receive in the system constituted by three part of control module.Whole system realizes data transfer using input through keyboard or bluetooth.User
Can select to unlock using conventional cipher disk button or be unlocked by mobile phone A PP in the range of several meters.Master control receives data
Afterwards, will determine that whether password is consistent with presetting cipher, if password is correct, drive door-lock motor to unlock.This utility model is corresponding
Single-chip microcomputer in said system receives control module, is mainly responsible for connection bluetooth and keyboard, determines whether Password Input, is input into
Password whether correct, and casket is locked according to cipher control open and close.
Low-power consumption off-line cipher lock control device described herein is sold for managing house on antitheft door of house The key and buyer deposited by family obtains key with backstage password.In device, CC2640 minimum systems, keystroke interface circuit be all Be set to park mode, after CC2640 minimum systems receive wake-up signal will above-mentioned both be set to reception pattern, wake up CC2640 minimum systems, peripheral hardware, kernel, RTC etc. recover normal and run.Now, when CC2640 is used as bluetooth side, terminal is stored The password value of a certain passage of transmission; When CC2640 is used as main control end, also begin to by iic bus to MPR121 module transfers Initialization value so as to normal work, to receive button transmission password value.At the same time, CC2640 internal processes produce with when Between for seed keying sequence, the password value contrast that itself and transmission are obtained judges whether to need controlled motor to run: if button Password or terminal password are correct, and lock casket motor brings into operation; When motor rotation blockage, master control can be by detection sampling resistor all the way The detected value of ADC is compared with the threshold value for arranging, if detected value is more than threshold value, closes motor immediately.When button for a period of time Inside do not respond to or when mobile phone terminal does not initiate to connect, CC2640 minimum systems enter park mode, wait wake-up signal. Wake-up signal has two kinds, and a kind of is that CC2640 arranges bluetooth 500ms interval repeated broadcast and is set to the Server ends angle of peripheral hardware During color, mobile phone terminal scans peripheral hardware the signal for initiating to connect as the Client role in central authorities; Another kind is touch key-press mould Block(MPR121 key-press modules) When whether detection button is pressed and indicate the respective value of button, produced when button is pressed IRQ line low level signals.
With reference to the accompanying drawings and detailed description, the concrete structure of this device is described further:
As shown in Figure 1, the present embodiment provides a kind of low-power consumption off-line cipher lock control device, comprises CC2640 minimum system And VDDR voltage supply circuits 101, double antenna and filter circuit 102, keystroke interface circuit 103, circuit for controlling motor 104, electricity Machine lock-rotor detection circuit 105,2 line cJTAG(Compact JTAG, ieee standard 1147.9) Connection circuit 106, MiniUSB (Mini Universal Serial BUS, USB (universal serial bus)) Interface circuit 107, external connection battery turn 3.3V circuits 108, USB5V turns 3.3V circuits 109, standby battery circuit 110 and power module;
The input of wherein CC2640 minimum systems and VDDR voltage supply circuits 101 is simultaneously connected with double antenna and filtered electrical
Road 102, motor rotation-blocking detection circuit 105,2 line cJTAG connection circuits 106, standby battery circuit 110 and power module,
The outfan of CC2640 minimum systems and VDDR voltage supply circuits 101 connect circuit for controlling motor 104 while and button
103 two-way communication link of interface circuit connects;
The input of power module is simultaneously connected with MiniUSB interface circuits 107, external connection battery and turns 108 and of 3.3V circuits
USB5V turns 3.3V circuits 109, the outfan of power module simultaneously to 2 line cJTAG connection circuits 106, keystroke interface circuit 103,
Circuit for controlling motor 104 and motor rotation-blocking detection circuit 105 are powered;
Iic bus interface is provided with described keystroke interface circuit 103, button data line interface in iic bus interface,
Button clock line interface and keys interrupt line interface respectively with CC2640 minimum systems and VDDR voltage supply circuits 101 in
Data line interface, clock line interface, interruption line interface connection.
Described CC2640 minimum systems and VDDR voltage supply circuits 101 are applied to CC26 ×× family chips.
32.768K sleep RTC clocks are provided with CC2640 minimum systems and VDDR voltage supply circuits.Meanwhile, equipment is furnished with standby electricity
Pond circuit(110)For sleeping, RTC clock is powered, it is ensured that time synchronized, it is ensured that coded lock still has degree of precision in sleep
Time synchronized function.
Chip used by described key-press module is MPR121.IIC is provided with keystroke interface circuit 103(Inter-
Integrated Circuit, internal integrated circuit)EBI, when iic bus interface includes button data line interface, button
Clock line interface and a keys interrupt line interface, wherein keys interrupt line interface are IRQ(Interrupt Request, interrupting please
Ask)Interrupt line interface.Button data line, button clock line, and keys interrupt line respectively with CC2640 minimum systems and VDDR
Voltage supply circuit(101)In data line interface, clock line interface, interrupt line interface be connected, MPR121 modules by interrupt
Line wakes up CC2640 minimum systems and VDDR voltage supply circuits(101)Afterwards, CC2640 minimum systems and VDDR voltages supply electricity
Road(101)Export clock line sequential and read the data of data wire.While button in MPR121 key-press modules is subject to touching
A low level interrupt signal is produced in IRQ interrupt lines, CC2640 minimum system receiving datas are notified.This can just improve
Ensure low power consumption characteristic of the present utility model while data receiver instantaneity.
The filter circuit adopted in described double antenna and filter circuit is balun filter circuit, so as to ensure that signal is launched
With receive stability, and to kernel power supply using low-and high-frequency filtering, it is ensured that " cleaning " of power supply.Double-antenna structure can
Increase Bluetooth transmissions intensity to a certain extent.In bluetooth unlocking mode, password used of unlocking is adopted with the time as seed
Dynamic password, application end sends keying sequence, and master control can be by the internal keying sequence for producing and the password for obtaining after receiving
Sequence carries out correctness comparison, and then judges whether to unlock.Generally, successfully rear motor of unlocking is in locked rotor condition, this
When realize current sample by way of ADC sampling resistor magnitudes of voltage by series resistor, master control stops motor after accurately judging
Turn.
By NMOS in described circuit for controlling motor(N-Metal-Oxide-Semiconductor, N-type metal-oxide
Thing-quasiconductor)Type field effect transistor connects motor, provides electric current needed for operation to motor.This utility model is locked by motor control
During casket folding, by spring reset, the current control motor unlocking casket that provided by NMOS field effect transistor realizes that lock casket is closed.Only
Need NMOS field effect transistor, it becomes possible to coordinate spring return mechanism to realize the double-direction control of lock casket, can so avoid additional drives
Additional energy produced by the double-direction control of chip, further reduces device power in use.
Described motor rotation-blocking detection circuit includes current detection and feedback circuit, is serially connected with 1 watt of volume in current detection circuit
Determine the sampling resistor of power.By sampling to the magnitude of voltage of sampling resistor, reflect the change of running current judging motor
Whether stall there is.
In the present embodiment, the operation principle of circuit for controlling motor and lock-rotor detection circuit is:CC2640 control NMOS fields effect
Should be after pipe input high level so that wherein D, S level conducting, and then normally run for motor enough electric currents are provided;When motor is blocked up
When turning, running current increases suddenly, and the change in voltage on the sampling resistor of the 1 watt of rated power concatenated by detection just can reflect
Whether stall.
2 described line cJTAG connection circuits are 2 line programming debud modes, it is only necessary to TMS(Test Mode Select, survey
Examination model selection)Data wire and TCK(Test Clock, test clock)Clock line, just can realize firmware upgrade.
Described described external connection battery turns 3.3V circuits and adopts TPS82740B, TPS82740B to pass through power module simultaneously
Connection CC2640 minimum systems, keystroke interface circuit and circuit for controlling motor are simultaneously powered, and realize 95% conversion in mA level electric currents
Rate, greatly improves energy consumption utilization rate.
Described USB5V is turned 3.3V circuits and adopts AMS1117-3.3, AMS1117-3.3 to be simultaneously connected with by power module
CC2640 minimum systems, keystroke interface circuit and circuit for controlling motor power supply.Standby battery circuit is used for RTC clock confession of sleeping
Electricity, while ensure time synchronized.
The MiniUSB interface circuits are a kind of more universal emergent interfaces.
The hardware elementary diagram of the present embodiment mainly includes five parts:
Fig. 2,3,4,5 are CC2640 minimum systems and VDDR voltage supply circuits 101, double antenna and filter circuit 102 etc.
The schematic diagram of minimum system design.When CC2640 minimum systems and VDDR voltage supply circuits 101 are using 32.768K sleep RTC
Clock, and it is furnished with RTC reserve batteries, it is ensured that coded lock still has the time synchronized function of degree of precision in sleep;The double antenna
And filter circuit 102 adopts balun filter circuit to double antenna, it is ensured that signal transmitting and the stability for receiving, and kernel is powered
Power supply is filtered using low-and high-frequency, it is ensured that " cleaning " of power supply, meanwhile, using double antenna, bluetooth can be increased to a certain extent
The intensity of transmission signal.In the system, the main I/O mouths service conditions of CC2640 are as follows:DIO_2, DIO_3 are used for the serial ports of system
The receiving terminal and transmitting terminal of communication;DIO_10 ~ 17 are used for the display of LED, and LED plays the work of display lamp in this secondary design
With;DIO_5, DIO_6 are used for data wire and clock line in MPR121 module ii C interface, respectively number correspondingly described in description
According to line interface and clock line interface;DIO_7 is used for the interruption of key-press module and wakes up, i.e., the interrupt line correspondingly described in description connects
Mouthful;DIO 21, DIO_22 is used for the motor control for locking casket and U locks, and DIO_23, DIO_24 are used for the voltage detecting of sampling resistor;
DIO _ 8, DIO_9, DIO_30 are used for SPI(Serial Peripheral Interface, Serial Peripheral Interface (SPI)), if possible
If, the interface of display screen is reserved as with this.
Fig. 6 is the figure of key-press module circuit and interface circuit 103.MPR121 modules carry an interrupt output pin IRQ
That is keys interrupt line interface(IRQ pins in corresponding Fig. 6, are connected with DIO_7 pins in Fig. 2), CC2640 minimum system plates(Fig. 2)
The depositor of chip can be read by IIC or directly judge that IRQ pin levels change determining whether that button is pressed.If
Keyboard has touch sensible, IRQ(IRQ pins in corresponding Fig. 6, are connected with DIO_7 pins in Fig. 2)Level change triggers are interrupted,
CC2640 minimum system plates(Fig. 2)Given SCL clock line(Serial Clock Line, serial time clock line, DIO_ in corresponding Fig. 2
6 pins, with SCL_3.3V pins in Fig. 6, i.e. button clock line interface, are connected.12 SCL cycles are a key scan week
Phase, corresponding 12 buttons), and SDA is passed through with identical sequential(Serial Data Line, serial data line, in corresponding Fig. 2
DIO_5 pins, with SDA_3.3V pins in Fig. 6, i.e. button data line interface, are connected)Read 12 depositors of MPR121
Value.As MPR121 has a special depositor SRT, in RUN MODE(That is mode of operation)Or STOP MODE(Sleep
Pattern)Under can be realized by IIC write operations MPR121 enter POR(POWER ON RESET)Power-up initializing pattern,
That is sleep pattern.Now IIC is still work, therefore can write initialization register by IIC again, so that MPR121 enters
Enter mode of operation.To sum up, MPR121 freely can be carried out sleeping/the switching of mode of operation, but have some mandatory declarations:MPR121
Sleep pattern keyboard can not be realized touching or proximity test, and IRQ cannot also produce interruption, and this is waken up to master control certain office
Sex-limited.
Fig. 8 is circuit for controlling motor 104 and lock-rotor detection circuit 105, is strengthened using the amplification of field effect transistor and is driven
Ability, using SI2302 type NMOS field effect transistor;The gate input voltage of field effect transistor, PMOS(P-Metal-Oxide-
Semiconductor, p-type Metal-oxide-semicondutor)The source electrode of pipe meets power supply VCC, and the drain electrode of PMOS is connect by motor
Positive source, the source electrode of PMOS are grounded by sampling resistor;When input voltage is low-voltage, do not have between gate leve and source class
Pressure reduction, field effect transistor is by motor operation circuit disconnects, and motor will not run;When input voltage is high voltage, gate leve and source
Level pressure reduction causes field effect transistor drain electrode and source conduction, so motor operation circuit connection, motor operation.When motor rotation blockage,
Running current increases suddenly, can realize close loop maneuver, gone here and there by detection by way of ADC samples series resistor magnitude of voltage
The change in voltage of connecting resistance just can reflect whether stall, if magnitude of voltage is more than certain threshold value, then it is assumed that stall, now should make in time
The gate leve input low level of field effect transistor, stops motor.
Figure 10 is that the Debug of CC2640 downloads 2 line cJTAG wiring Figure 106, carries out firmware for technical staff to coded lock
Upgrading.CC26xx family chips generally require special emulator, model xds100v3_cJTAG, and interface is USB2.0 high speeds
Interface, this secondary design use TMS, TCK, PD, RST, VCC, GND to amount to 6 feet, as shown in the figure.Especially set out is in attention figure
PD feet in xds100v3 interfaces, actually connect external module and feed back to voltage inside xds100v3, because core during emulation
Piece uses the 3.3V of xds100v3 to export as power supply, therefore, that is, this 3.3V is fed back to PD feet, allows well xds100v3
Inside know the supply voltage of current chip.
Mainly turning 3.3V circuits 108, USB5V including MiniUSB interface circuits 107, external connection battery turns 3.3V for Fig. 7,9,11
Circuit 109, standby battery circuit 110.MiniUSB interface circuits 107 turn 3.3V circuits 109 there is provided emergency power supply with USB5V,
Application MiniUSB can power for coded lock;External connection battery turns 3.3V circuits 108 and provides main power source for coded lock, including
The power supply supply of CC2640 minimum systems 101, keystroke interface circuit 103, circuit for controlling motor 104 etc.;Standby battery circuit 110
Then it is used for running in RTC clock.
Coded lock of the present utility model has three-way power.MiniUSB interface circuits turn 3.3V circuits with USB5V to be used for providing
Emergency power supply, wherein MiniUSB can be powered for coded lock.External connection battery turns 3.3V circuits and provides main power source for coded lock, realizes
Power supply including CC2640 minimum systems, keystroke interface circuit, circuit for controlling motor etc. is supplied;Standby battery circuit is then used for
RTC clock runs.
This utility model can also be supported without network off-line working, can be situations such as password match unlocking casket and U lock
Cryptosync is carried out in the case of without network.Database background application cryptographic algorithm is consistent with cryptographic algorithm in CC2640 minimum systems,
Adopt algorithm with the present terminal time as object to generate dynamic password, it is close that such user mobile phone terminal APP obtains backstage
Password is passed to utility model after code, and be suitable for new which is verified with the internal password that produces, be just capable of determining whether to unlock
Casket.Now, as this device and backstage do not have network communication, it is to ensure cryptographic calculations precision, needs to pass through every a period of time
Backoff period is carried out bluetooth communication time service to this utility model by mobile phone terminal APP, so that device was kept with the time on backstage
Unanimously, so that it is guaranteed that the normal accurate operation of off line.
One of ordinary skill in the art will appreciate that:Preferred embodiment of the present utility model is the foregoing is only, and
Restriction this utility model is not used in, although being described in detail to this utility model with reference to the foregoing embodiments, for ability
For the technical staff in domain, which still can be modified to the technical scheme that foregoing embodiments are recorded, or in the middle part of which
Technical characteristic is divided to carry out equivalent.All any modifications that within spirit of the present utility model and principle, is made, equivalent are replaced
Change, improve, should be included within protection domain of the present utility model.
Claims (9)
1. a kind of low-power consumption off-line cipher lock control device, it is characterised in that supply including CC2640 minimum systems and VDDR voltages
Give circuit(101), double antenna and filter circuit(102), keystroke interface circuit(103), circuit for controlling motor(104), motor block up
Turn detection circuit(105), 2 line cJTAG connection circuits(106), MiniUSB interface circuits(107), external connection battery turn 3.3V circuits
(108), USB5V turn 3.3V circuits(109), standby battery circuit(110)And power module;
Wherein CC2640 minimum systems and VDDR voltage supply circuits(101)Input be simultaneously connected with double antenna and filter circuit
(102), motor rotation-blocking detection circuit(105), 2 line cJTAG connection circuits(106), standby battery circuit(110)With power supply mould
Block, CC2640 minimum systems and VDDR voltage supply circuits(101)Outfan connection circuit for controlling motor(104)While
With keystroke interface circuit(103)Two-way communication link connects;
The input of power module is simultaneously connected with MiniUSB interface circuits(107), external connection battery turn 3.3V circuits(108)With
USB5V turns 3.3V circuits(109), the outfan of power module is simultaneously to 2 line cJTAG connection circuits(106), keystroke interface circuit
(103), circuit for controlling motor(104)And motor rotation-blocking detection circuit(105)Power supply;
Described keystroke interface circuit(103)In be provided with iic bus interface, button data line interface in iic bus interface, press
Key clock line interface and keys interrupt line interface respectively with CC2640 minimum systems and VDDR voltage supply circuits(101)In
Data line interface, clock line interface, interruption line interface connection.
2. low-power consumption off-line cipher lock control device as claimed in claim 1, it is characterised in that the minimum systems of described CC2640
System and VDDR voltage supply circuits(101)In be provided with 32.768K sleep RTC.
3. low-power consumption off-line cipher lock control device as claimed in claim 1, it is characterised in that used by described key-press module
Chip is MPR121.
4. low-power consumption off-line cipher lock control device as claimed in claim 1, it is characterised in that described double antenna and filtering
Circuit(102)The middle filter circuit for adopting is for balun filter circuit.
5. low-power consumption off-line cipher lock control device as claimed in claim 1, it is characterised in that described circuit for controlling motor
(104)In by nmos type field effect transistor connect motor.
6. low-power consumption off-line cipher lock control device as claimed in claim 1, it is characterised in that described motor rotation blockage detection
Circuit(105)Including current detection and feedback circuit, the sampling resistor of 1 watt of rated power in current detection circuit, is serially connected with.
7. low-power consumption off-line cipher lock control device as claimed in claim 1, it is characterised in that 2 described line cJTAG wiring
Circuit(106)For 2 line programming debud modes.
8. low-power consumption off-line cipher lock control device as claimed in claim 1, it is characterised in that described external connection battery turns
3.3V circuit(108)Using TPS82740B chips, external connection battery turns 3.3V circuits(108)It is simultaneously connected with by power module
CC2640 minimum systems(101), keystroke interface circuit(103)And circuit for controlling motor(104)And power.
9. low-power consumption off-line cipher lock control device as claimed in claim 1, it is characterised in that described USB5V turns 3.3V
Circuit(109)Using AMS1117-3.3 chips, USB5V turns 3.3V circuits(109)CC2640 is simultaneously connected with most by power module
Mini system(101), keystroke interface circuit(103), circuit for controlling motor(104)And 2 line cJTAG connection circuits(106).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201621049897.8U CN206021402U (en) | 2016-09-12 | 2016-09-12 | A kind of off-line cipher lock control device of low-power consumption |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201621049897.8U CN206021402U (en) | 2016-09-12 | 2016-09-12 | A kind of off-line cipher lock control device of low-power consumption |
Publications (1)
Publication Number | Publication Date |
---|---|
CN206021402U true CN206021402U (en) | 2017-03-15 |
Family
ID=58259658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201621049897.8U Active CN206021402U (en) | 2016-09-12 | 2016-09-12 | A kind of off-line cipher lock control device of low-power consumption |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN206021402U (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106997632A (en) * | 2017-05-24 | 2017-08-01 | 长兴芯科物联科技有限公司 | A kind of locking device and method for unlocking based on low coverage wireless technology |
CN110400403A (en) * | 2019-07-24 | 2019-11-01 | 深圳市凯迪仕智能科技有限公司 | A kind of the double antenna circuit and its door lock of bluetooth |
CN110690905A (en) * | 2018-07-04 | 2020-01-14 | 青岛海信智慧家居***股份有限公司 | Key scanning control method on touch panel and intelligent control equipment |
CN114047959A (en) * | 2021-11-01 | 2022-02-15 | 东莞新能安科技有限公司 | Startup management method and device and power supply system |
CN114495338A (en) * | 2022-03-10 | 2022-05-13 | 珠海格力电器股份有限公司 | Door lock control method and device, electronic equipment and storage medium |
-
2016
- 2016-09-12 CN CN201621049897.8U patent/CN206021402U/en active Active
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106997632A (en) * | 2017-05-24 | 2017-08-01 | 长兴芯科物联科技有限公司 | A kind of locking device and method for unlocking based on low coverage wireless technology |
CN110690905A (en) * | 2018-07-04 | 2020-01-14 | 青岛海信智慧家居***股份有限公司 | Key scanning control method on touch panel and intelligent control equipment |
CN110690905B (en) * | 2018-07-04 | 2023-11-14 | 青岛海信智慧生活科技股份有限公司 | Key scanning control method on touch panel and intelligent control equipment |
CN110400403A (en) * | 2019-07-24 | 2019-11-01 | 深圳市凯迪仕智能科技有限公司 | A kind of the double antenna circuit and its door lock of bluetooth |
CN114047959A (en) * | 2021-11-01 | 2022-02-15 | 东莞新能安科技有限公司 | Startup management method and device and power supply system |
CN114495338A (en) * | 2022-03-10 | 2022-05-13 | 珠海格力电器股份有限公司 | Door lock control method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN206021402U (en) | A kind of off-line cipher lock control device of low-power consumption | |
CN107331016A (en) | A kind of ultra-low power consumption intelligent fingerprint gate lock | |
CN201255903Y (en) | Wireless remote transmission intelligent meter | |
CN108806029A (en) | A kind of low energy consumption intelligent door lock system | |
CN104680761A (en) | Intelligent wireless remote meter reading terminal device | |
CN106652206B (en) | A kind of electricity consumption interactive terminal | |
CN205722202U (en) | Electronic locker | |
CN104424086B (en) | Computer error detection module and method | |
CN201092778Y (en) | Low-power consumption electronic lock pipe control circuit and key circuit | |
CN201060223Y (en) | Single-phase smart card type anti-theft electricity pre-payment electrical energy meter | |
CN201084214Y (en) | A clavier split-type multifunctional prepayment electric energy meter | |
CN102242584B (en) | Control chip of coded lock | |
CN206903419U (en) | A kind of suitcase provided with NFC electronic locks | |
CN103679101B (en) | Handset audio reader device and system | |
CN109972922A (en) | A kind of mechanical energy luminous energy hybrid power supply Radio Frequency Identification Technology electronic lock | |
CN203117961U (en) | Dead halt monitoring and resetting device | |
CN206696926U (en) | A kind of Bluetooth door lock | |
CN206409063U (en) | The file cabinet of securely unlocking mechanism based on fingerprint and bluetooth | |
CN213579477U (en) | Water quality and water quantity ecological compensation monitoring system and unmanned ship | |
CN201819953U (en) | Single-phase carrier prepayment electronic ammeter | |
CN214670882U (en) | STS prepayment gas meter based on bluetooth communication | |
Tao et al. | A design of WSN based locking system | |
CN202188875U (en) | Multifunctional intelligent water meter | |
CN200947048Y (en) | Wireless water meter | |
CN202284415U (en) | Control chip of coded lock |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |