CN115503518A - Electronic lock control device and method - Google Patents

Electronic lock control device and method Download PDF

Info

Publication number
CN115503518A
CN115503518A CN202211236950.5A CN202211236950A CN115503518A CN 115503518 A CN115503518 A CN 115503518A CN 202211236950 A CN202211236950 A CN 202211236950A CN 115503518 A CN115503518 A CN 115503518A
Authority
CN
China
Prior art keywords
electronic lock
switch
switch unit
switch module
state
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.)
Pending
Application number
CN202211236950.5A
Other languages
Chinese (zh)
Inventor
田凯
王军
由浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Linchr New Energy Technology Co Ltd
Original Assignee
Xian Linchr New Energy Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xian Linchr New Energy Technology Co Ltd filed Critical Xian Linchr New Energy Technology Co Ltd
Priority to CN202211236950.5A priority Critical patent/CN115503518A/en
Publication of CN115503518A publication Critical patent/CN115503518A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • B60L53/10Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles characterised by the energy transfer between the charging station and the vehicle
    • B60L53/14Conductive energy transfer
    • B60L53/16Connectors, e.g. plugs or sockets, specially adapted for charging electric vehicles
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/62Means for facilitating engagement or disengagement of coupling parts or for holding them in engagement
    • H01R13/639Additional means for holding or locking coupling parts together, after engagement, e.g. separate keylock, retainer strap
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/7072Electromobility specific charging systems or methods for batteries, ultracapacitors, supercapacitors or double-layer capacitors

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application provides an electronic lock control device and method, which relate to the field of electronic locks, and the device comprises: the power supply, first switch unit, the switch module, energy storage capacitor, power supply passes through energy storage capacitor ground connection, the first end and the second end of first switch unit are connected at energy storage capacitor's both ends, the first input of switch module is connected to first switch unit's third end, switch module's second input ground connection, power supply is all connected to switch module's first power end and switch module's second power end, the both ends of electronic lock are connected respectively to switch module's first output and switch module's second output, when power supply does not supply power, carry out automatic unblock to the electronic lock through energy storage capacitor discharge, change to the drive waveform of electronic lock is less, improve the timeliness and the success rate of electronic lock unblock, the rifle that charges can in time separate smoothly with the electric motor car, improve user's experience and feel.

Description

Electronic lock control device and method
Technical Field
The application relates to the technical field of electronic locks, in particular to an electronic lock control device and method.
Background
Along with the development of electric motor car, the electric motor car can appear serial safety problem in the charging process, the rifle that charges of pulling out outward as one wishes, consequently, needs locking mechanism to be in the electric motor car and the rifle locking that charges of charging, ensures the charging safety of electric motor car.
Among the prior art, through setting up the electronic lock on the rifle that charges for the electric motor car is at the charging process, and the rifle that charges all can be in the shutting state, prevents to be stolen, but, the control mode of current electronic lock is behind the unexpected outage of machine of charging system, can not in time unblock, and perhaps, the failure rate of unblock is higher, leads to the unable smooth unblock of rifle that charges, makes the rifle that charges and electric motor car unable smooth separation, and user's experience is felt relatively poorly.
Disclosure of Invention
The invention aims to provide an electronic lock control device and method aiming at the defects of the prior art, and aims to solve the technical problem that a charging gun cannot be smoothly separated from an electric vehicle after a charger system is powered off accidentally in the prior art.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides an electronic lock control device, which includes: the power supply comprises a power supply source, a first switch unit, a second switch unit, a switch module and an energy storage capacitor;
the power supply is grounded through the energy storage capacitor, the first end and the second end of the first switch unit are connected to the two ends of the energy storage capacitor, the third end of the first switch unit is connected to the first input end of the switch module, the second input end of the switch module is grounded, the first power end of the switch module and the second power end of the switch module are both connected to the power supply, and the first output end of the switch module and the second output end of the switch module are respectively connected to the two ends of the electronic lock.
Optionally, the switch module comprises: a second switching unit and a third switching unit;
the first end of the second switch unit is a first input end of the switch module, and the third end of the first switch unit is connected with the first end of the second switch unit;
the second end of the second switch unit is a first power end of the switch module, the second end of the third switch unit is a second power end of the switch module, the second end of the second switch unit is connected with the power supply, and the second end of the third switch unit is connected with the power supply;
the third end of the second switch unit is a first output end of the switch module, the third end of the third switch unit is a second output end of the switch module, the third end of the second switch unit is connected with one end of the electronic lock, and the third end of the third switch unit is connected with the other end of the electronic lock;
the first end of the third switching unit is a second input end of the switching module, and the first end of the third switching unit is grounded.
Optionally, the first switch unit is a relay, a first end of the first switch unit is a normally closed contact, a second end of the first switch unit is a normally open contact, and a third end of the first switch unit is a fixed contact;
the first power supply driving end of the first switch unit is connected with the power supply, and the second power supply driving end of the first switch unit is grounded;
and the first power supply driving end and the second power supply driving end of the first switch unit are respectively two ends of a power supply coil in the first switch unit.
Optionally, the control device further comprises: a control unit;
and the output end of the control unit is respectively connected with the control ends of the second switch unit and the third switch unit.
Optionally, the second switching unit and the third switching unit are both relays;
the first ends of the second switch unit and the third switch unit are both normally closed contacts, the second ends of the second switch unit and the third switch unit are both normally open contacts, and the third ends of the second switch unit and the third switch unit are both fixed contacts;
the control ends of the second switch unit and the third switch unit are respectively two ends of a power supply coil in the second switch unit and two ends of a power supply coil in the third switch unit.
In a second aspect, an embodiment of the present application provides an electronic lock control method, where the method includes:
if the electronic lock control device is detected to be in a power-on state, acquiring a switch on-off control mode corresponding to the type of the electronic lock according to the type of the electronic lock; the electronic lock control device is the electronic lock control device of any one of the first aspect;
and controlling the on-off state of the switch module according to the on-off control mode of the switch so as to control the locking or unlocking of the electronic lock.
Optionally, the obtaining, according to the type of the electronic lock, a switch on-off control manner corresponding to the type includes:
if the type of the electronic lock is a pulse type electronic lock, determining that the on-off control mode of the switch is as follows: a first control mode or a second control mode;
the according to switch on-off control mode, control the on-off state of switch module to control locking or unblock of electron lock includes:
according to the first control mode, controlling the on-off state of the switch module to enable a first power supply end of the switch module to be communicated with a power supply source, a first output end of the switch module to be communicated with one end of the electronic lock, and a second output end of the switch module to be grounded so as to unlock the pulse type electronic lock; or,
and according to the second control mode, controlling the on-off state of the switch module to enable a second power supply end of the switch module to be communicated with the power supply, a second output end of the switch module to be communicated with the other end of the electronic lock, and a first output end of the switch module to be grounded so as to lock the pulse type electronic lock.
Optionally, the obtaining, according to the type of the electronic lock, a switch on-off control manner corresponding to the type includes:
if the type of the electronic lock is a level type electronic lock, determining that the on-off control mode of the switch is as follows: a third control mode or a fourth control mode or a fifth control mode;
the according to switch on-off control mode, control the on-off state of switch module to control locking or unblock of electron lock includes:
according to the third control mode, controlling the on-off state of the switch module to enable the first power end of the switch module to be communicated with a power supply source, the first output end of the switch module to be communicated with one end of the electronic lock, and the second output end of the switch module to be grounded so as to lock the level type electronic lock; or,
according to the fourth control mode, controlling the on-off state of the switch module to enable a second power supply end of the switch module to be communicated with the power supply, a second output end of the switch module to be communicated with the other end of the electronic lock, and a first output end of the switch module to be grounded so as to lock the level type electronic lock; or,
and according to the fifth control mode, controlling the on-off state of the switch module to enable two ends of the electronic lock to be grounded so as to unlock the level type electronic lock.
Optionally, if the switch module includes: before the second switching unit and the third switching unit obtain the on-off control mode of the switch corresponding to the type according to the type of the electronic lock, the method further includes:
controlling a first target switch unit to sequentially execute actions in a first action group, and acquiring first group state feedback of the electronic lock corresponding to the first action group; the first action group comprises: closing action and opening action which are executed at intervals in sequence; the first target switch unit is the second switch unit, and/or the third switch unit;
and determining the type of the electronic lock according to the first group of state feedback.
Optionally, the method further comprises:
if the first group of state feedbacks do not have the corresponding type of the electronic lock, and the state values in the first group of state feedbacks are the same, continuing to control a second target switch unit to sequentially execute the actions in a second action group, and acquiring a second group of state feedbacks of the electronic lock corresponding to the second action group; the second action group comprises: opening and closing actions are sequentially executed at intervals; determining the type of the electronic lock according to the first group of state feedback and the second group of state feedback; the second target switch unit is the second switch unit, and/or the third switch unit; or,
if the first group of state feedbacks do not have the corresponding type of the electronic lock, and different state values exist in the first group of state feedbacks, determining that the electronic lock has a fault error; or,
if different state values exist in the second group of state feedbacks, determining that the electronic lock has a fault error; or,
and if the state feedback in the first group of state feedback and the second group of state feedback is in a disconnection state, determining that the electron has a connection error.
Compared with the prior art, the method has the following beneficial effects:
the application provides an electronic lock control device and a method, and the electronic lock control device comprises: the power supply, first switch unit, the switch module, energy storage capacitor, wherein, power supply passes through energy storage capacitor ground connection, the first end and the second end of first switch unit are connected at energy storage capacitor's both ends, the first input of switch module is connected to the third end of first switch unit, switch module's second input ground connection, switch module's first power end and switch module's second power end all connect power supply, switch module's first output and switch module's second output are connected the both ends of electronic lock respectively, when the machine system that charges is down, when the power supply does not supply power, can carry out automatic unblock through energy storage capacitor and electronic lock's current return circuit, simultaneously, there are not other loads in energy storage capacitor and electronic lock's current return circuit during charging and discharging, make all electric energy of storage capacitor in-storage can all be used for the unblock of electronic lock, therefore, change to electronic lock's drive waveform is less, the high efficiency and the stability of drive have been guaranteed, the promptness and the stability of electronic lock unblock have been improved, make the rifle and can in time separate smoothly with the electric motor car, user's experience has been improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of an electronic lock control device according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic lock control device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of another electronic lock control device provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of another electronic lock control device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another electronic lock control device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another electronic lock control device provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of another electronic lock control device provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of another electronic lock control device provided in an embodiment of the present application;
fig. 9 is a schematic structural diagram of another electronic lock control device provided in an embodiment of the present application;
fig. 10 is a schematic structural diagram of another electronic lock control device provided in an embodiment of the present application;
fig. 11 is a schematic structural view of another electronic lock control device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of another electronic lock control device provided in an embodiment of the present application;
fig. 13 is a schematic structural diagram of another electronic lock control device provided in an embodiment of the present application;
fig. 14 is a schematic structural view of another electronic lock control device according to an embodiment of the present application;
fig. 15 is a schematic flowchart of a control method of an electronic lock according to an embodiment of the present application;
figure 16 is a schematic flowchart of another electronic lock control method according to an embodiment of the present application;
fig. 17 is a schematic view of an electronic lock control device according to an embodiment of the present application;
fig. 18 is a schematic diagram of a control unit according to an embodiment of the present application.
Icon: a power supply 10; a first switching unit 20; a switch module 35; a second switching unit 30; a third switching unit 40; an energy storage capacitor 50; a first end 21 of the first switching unit; a second end 22 of the first switching unit; a third terminal 23 of the first switching unit; a first end 31 of the second switching unit; a second terminal 32 of the second switching unit; a third terminal 33 of the second switching unit; an electronic lock 60; a first terminal 41 of the third switching unit; a second terminal 42 of the third switching unit; a third terminal 43 of the third switching unit; a current limiting resistor 70; a diode 80; a transient suppression diode 90; a first power drive terminal 24 of the first switching unit; the second power-supply drive terminal 25 of the first switch unit; a control unit 100.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. In the description of the present invention, the terms "first," "second," "third," and the like, if any, are used merely to distinguish one description from another, and are not to be construed as indicating or implying relative importance. It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
Along with the development of electric motor car, the safety of charging of electric motor car is also more and more important, be greater than 16A's battery charging outfit to charging current, guarantee the safety of the in-process of charging through setting up locking mechanism (electronic lock) on the rifle that charges, but current electronic lock is behind the unexpected outage of machine of charging system, the failure rate that can not in time unblock or unblock is higher, the rifle that charges can't in time separate with the electric motor car for the user can not use the electric motor car when the electric motor car does not charge, user's experience feels relatively poor.
In order to realize that the charging gun and the electric vehicle can be timely separated after the charger system is powered off accidentally, the application provides the electronic lock control device and the method.
An electronic lock control device provided in an embodiment of the present application is explained by specific examples as follows. Fig. 1 is a schematic structural diagram of an electronic lock control device provided in an embodiment of the present application, and as shown in fig. 1, the electronic lock control device includes: the system comprises a power supply 10, a first switch unit 20, a second switch unit 30, a switch module 35 and an energy storage capacitor 50.
The power supply 10 is grounded through the energy storage capacitor 50, so that the power supply 10 can charge the energy storage capacitor 50, and the charging loop is: and the power supply 10- > the energy storage capacitor 50- > GND (ground). In the embodiment of the present application, the capacitance of the energy storage capacitor 50 may be 10mF, and of course, the capacitance may also be other sizes, and is not limited in the embodiment of the present application.
Optionally, the power supply 10 is a 12V power supply, and of course, may also be a power supply of other voltages, which is not particularly limited in the embodiments of the present application.
In the embodiment of the present application, the energy storage capacitor 50 may be a super capacitor, and as a novel energy storage device, has a larger capacity and can be used as a battery. When the charger system is powered off, that is, when the power supply 10 does not supply power, the electronic lock may be unlocked according to the electric energy stored in the energy storage capacitor 50, and therefore, in this embodiment of the present application, the energy storage capacitor 50 may also be referred to as a power-off unlocking capacitor.
The first end 21 of the first switch unit and the second end 22 of the first switch unit are connected to two ends of the energy storage capacitor 50, the electric energy stored in the energy storage capacitor 50 can be transmitted to the third end 23 of the first switch unit through the first end 21 of the first switch unit, the third end 23 of the first switch unit is connected to the first input end of the switch module 35, the first input end of the switch module 35 can be connected to the first output end of the switch module 35, the second input end of the switch module 35 can be connected to the second output end of the switch module 35, the first output end of the switch module 25 and the second output end of the switch module 25 are respectively connected to two ends of the electronic lock, and the second input end of the switch module 25 is grounded, so that when the power supply 10 does not supply power, the energy storage capacitor 50 can supply power to the electronic lock 60 through a current loop, so that the electronic lock 60 is unlocked. The current loop is as follows: one end of the energy storage capacitor 50- > the first end 21- > the third end 23- > the first input end of the switch module 25- > the first output end of the switch module 25- > one end of the electronic lock 60- > the other end of the electronic lock 60- > the second output end of the switch module 25- > the second input end of the switch module 25- > the other end of the energy storage capacitor 50.
The switch module 25 may control the communication between the input terminal and the output terminal, and the communication between the first power terminal and the second power terminal and the power supply 10, to supply power to the electronic lock 60 to control the locked or unlocked state thereof.
Alternatively, the energy storage capacitor 50 may be replaced by a plurality of energy storage capacitors connected in parallel.
When the electronic lock 60 is a level electronic lock, the charger system releases the electricity of the energy storage capacitor 50 in a short time after power failure, and the level electronic lock can be automatically unlocked because no power is supplied.
When electronic lock 60 is the pulsed electronic lock, the one end of energy storage capacitor 50 is anodal, and the one end of electronic lock 60 is the negative pole, and the other end of electronic lock 60 is anodal, and the other end of energy storage capacitor 50 is the negative pole, and at this moment, energy storage capacitor 50 begins to discharge and lets the pulsed electronic lock unblock, because the pulsed electronic lock is reverse voltage, and electronic lock 60 can realize the unblock. When a positive pulse level is applied to the pulse type electronic lock, the pulse type electronic lock can realize locking, and when a negative pulse level is applied to the pulse type electronic lock, the pulse type electronic lock can realize unlocking. Other power consumption elements do not exist between the energy storage capacitor 50 and the electronic lock 60, so that all electric energy stored in the energy storage capacitor 50 can be completely used for unlocking the electronic lock 60, the driving waveforms required in the preset electronic lock specification are met, the driving efficiency and stability are ensured, and the timeliness and the success rate of unlocking the electronic lock can be improved.
The application provides a pair of electronic lock control device, when the machine system that charges falls the electricity, when power supply does not supply power promptly, can carry out automatic unblock to the electronic lock through the current loop of energy storage capacitor and electronic lock, simultaneously, there are not other loads in the current loop of energy storage capacitor and electronic lock during charging and discharging, make all electric energy of storage in the energy storage capacitor can all be used for the unblock of electronic lock, therefore, change to the drive waveform of electronic lock is less, driven high efficiency and stability have been guaranteed, the promptness and the success rate of electronic lock unblock have been improved, make the rifle that charges and electric motor car can in time separate smoothly, user's experience sense has been improved.
On the basis of the electronic lock control device shown in fig. 1, the embodiment of the present application further provides another electronic lock control device. Optionally, fig. 2 is a schematic structural diagram of another electronic lock control device provided in an embodiment of the present application, and as shown in fig. 2, the switch module 25 includes: a second switching unit 30 and a third switching unit 40.
The first end 31 of the second switch unit 30 is a first input end of the switch module, the third end of the first switch unit 23 is connected to the first end 31 of the second switch unit, the second end 32 of the second switch unit 30 is a first power end of the switch module 35, the second end 42 of the third switch unit 40 is a second power end of the switch module 35, the second end 32 of the second switch unit 30 is connected to the power supply 10, the second end 42 of the third switch unit 40 is connected to the power supply 10, the third end 33 of the second switch unit 30 is a first output end of the switch module 35, the third end 43 of the third switch unit 40 is a second output end of the switch module 35, the third end 33 of the second switch unit 30 is connected to one end of the electronic lock 60, the third end 43 of the third switch unit 40 is connected to the other end of the electronic lock 60, the first end 41 of the third switch unit 40 is a second input end of the switch module 35, and the first end 41 of the third switch unit 40 is grounded.
The electric energy stored in the energy storage capacitor 50 can be transmitted to the third terminal 23 of the first switch unit through the first terminal 21 of the first switch unit, the third terminal 23 of the first switch unit is connected to the first terminal 31 of the second switch unit, the third terminal 23 of the first switch unit can transmit the electric energy to the first terminal 31 of the second switch unit, the third terminal 33 of the second switch unit is connected to one terminal of the electronic lock 60, and the third terminal 33 of the second switch unit can transmit the electric energy to one terminal of the electronic lock 60.
Furthermore, the third end 43 of the third switching unit is connected to the other end of the electronic lock 60, the first end 41 of the third switching unit is grounded, and the energy storage capacitor 50 is also grounded, so that when the power supply 10 does not supply power, the energy storage capacitor 50 can supply power to the electronic lock 60 through a current loop, so that the electronic lock 60 is unlocked. Fig. 3 is a schematic structural diagram of another electronic lock control device provided in the embodiment of the present application, and as shown in fig. 3, the current loop is: one end of the energy storage capacitor 50- > the first end 21- > the third end 23- > the first end 31- > the third end 33- > the third end 43- > the third end 41- > the other end of the energy storage capacitor 50.
The second terminal 32 of the second switching unit is connected to the power supply 10. When the power supply 10 and the electronic lock 60 work normally, the third terminal 23 of the first switch unit is switched to be connected to the second terminal 22 of the first switch unit, and the power supply 10 can supply power to the electronic lock 60 through the second switch unit 30 and the third switch unit 40 to control the locked or unlocked state thereof. Fig. 4 is a schematic structural diagram of another electronic lock control device according to an embodiment of the present application, and as shown in fig. 4, a current loop of the power supply includes: the power supply 10- > the second end 32- > the third end 33- > the one end of the electronic lock 60- > the other end of the electronic lock 60- > the third end 43- > the first end 41- > GND of the third switch unit.
The second terminal 42 of the third switching unit is connected to the power supply 10. When the power supply 10 and the electronic lock 60 are in normal operation, the power supply 10 may further supply power to the electronic lock 60 through the third switching unit 40 and the second switching unit 30 to control the locked or unlocked state thereof. Fig. 5 is a schematic structural diagram of another electronic lock control device provided in the embodiment of the present application, and as shown in fig. 5, a current loop of the power supply is: the power supply 10- > the second end 42- > the third end 43- > the other end of the electronic lock 60- > the third end 33- > the first end 31- > the third end 23- > the second end 22- > the GND of the second switch unit.
According to the electronic lock control device, when a charger system is powered off, namely when a power supply does not supply power, the electronic lock can be automatically unlocked through the energy storage capacitor and the current loop of the electronic lock.
On the basis of the electronic lock control device shown in fig. 1, the embodiment of the present application further provides another electronic lock control device. Optionally, fig. 6 is a schematic structural view of another electronic lock control device provided in an embodiment of the present application, and as shown in fig. 6, the electronic lock control device further includes: a current limiting resistor 70.
The power supply 10 is connected to one end of the energy storage capacitor 50 through a current limiting resistor 70, and the other end of the energy storage capacitor 50 is grounded.
Connect current-limiting resistor 70 in series on energy-storing capacitor 50's the return circuit that charges, can be so that energy-storing capacitor 50 restricts its electric current's size when charging, in case power supply 10 is influenced to the electric current is too big, cause the interference to other equipment, simultaneously, current-limiting resistor 70 can guarantee energy-storing capacitor 50's the voltage stability of the return circuit that charges, consequently, current-limiting resistor 70 can guarantee energy-storing capacitor 50 safe effect, and, can also play the effect of extension energy-storing capacitor 50's life.
Alternatively, the current limiting resistor 70 may be replaced by a MOS Transistor (Metal-Oxide-Semiconductor Field-Effect Transistor).
According to the electronic lock control device provided by the embodiment of the application, the power supply is connected with one end of the energy storage capacitor through the current limiting resistor, the other end of the energy storage capacitor is grounded, and the safety of the energy storage capacitor can be ensured through the current limiting resistor.
On the basis of the electronic lock control device shown in fig. 6, the embodiment of the present application further provides another electronic lock control device. Optionally, fig. 7 is a schematic structural diagram of another electronic lock control device provided in an embodiment of the present application, and as shown in fig. 7, the electronic lock control device further includes: a diode 80.
The current limiting resistor 70 is connected to one end of the energy storage capacitor 50 through a diode 80.
The diode 80 is connected in series to the charging loop of the energy storage capacitor 50, so that when the charger system is powered down, the electric energy stored in the energy storage capacitor 50 can be prevented from flowing back to the charger system. The diode 80 may be any diode having an anti-reverse function, and is not particularly limited in the embodiment of the present application.
Optionally, the diode 80 may be replaced with a switching tube.
According to the electronic lock control device provided by the embodiment of the application, the current-limiting resistor is connected with one end of the energy storage capacitor through the diode, electric energy can be prevented from reversely flowing back to the charger system through the diode when the charger system is powered down, the electric energy in the energy storage capacitor is ensured to be sufficient, and the electric energy stored in the energy storage capacitor is completely used for unlocking the electronic lock.
On the basis of the electronic lock control device shown in fig. 7, the embodiment of the present application further provides another electronic lock control device. Optionally, fig. 8 is a schematic structural diagram of another electronic lock control device provided in an embodiment of the present application, and as shown in fig. 8, the electronic lock control device further includes: a transient suppression diode 90.
A transient suppression diode 90 is connected in parallel across the electronic lock 60.
The transient suppression diode 90 may also be referred to as a transient voltage suppression diode. The electronic lock 60 generates a peak voltage at the moment of unlocking, and the transient suppression diode 90 can absorb the peak voltage to protect the switch unit connected to the electronic lock 60 from being damaged by the peak voltage.
In the embodiment of the present application, the model of the transient suppression diode 90 may be the xdsd 12VT23-3, and may also be other models, which are not particularly limited in the embodiment of the present application.
According to the electronic lock control device provided by the embodiment of the application, the transient suppression diode is connected to two ends of the electronic lock in parallel, and the transient suppression diode can absorb peak voltage generated by the electronic lock so as to ensure the safety of other components connected with the electronic lock.
On the basis of the electronic lock control device shown in fig. 8, the embodiment of the present application further provides another electronic lock control device. Optionally, fig. 9 is a schematic structural diagram of another electronic lock control device provided in the embodiment of the present application, and as shown in fig. 9, a first power driving end 24 of a first switch unit is connected to the power supply 10, and a second power driving end 25 of the first switch unit is grounded.
The power supply 10 can control the state of the first switching unit via the first power drive 24 of the first switching unit and the second power drive 25 of the first switching unit, i.e. the state of the first switching unit 20 can be controlled by the power supply 10. Fig. 8 shows the state of the first switch unit 20 when the charger system is not powered on.
In this embodiment of the application, when the charger system is powered on, the electric energy is grounded through the first power driving end 24 of the first switch unit and the second power driving end 25 of the first switch unit, so that the electric energy is both present in the first power driving end 24 of the first switch unit and the second power driving end 25 of the first switch unit, and further the third end 23 of the first switch unit is controlled to be connected to the second end 22 of the first switch unit, and at this time, the locking or unlocking of the electronic lock 60 can be realized by controlling the state of the switch module 35.
According to the electronic lock control device provided by the embodiment of the application, the first power supply driving end of the first switch unit is connected with the power supply, the second power supply driving end of the first switch unit is grounded, the state of the first switch unit is controlled through the power supply instead of being controlled through the external control device, and the state conversion efficiency of the first switch unit can be improved.
On the basis of the electronic lock control device shown in fig. 9, the embodiment of the present application further provides another electronic lock control device. Optionally, the first switching unit 20 is a relay.
Optionally, the first switching unit 20 is a single pole double throw relay.
The first end 21 of the first switch unit is a normally closed contact, the second end 22 of the first switch unit is a normally open contact, and the third end 23 of the first switch unit is a fixed contact.
When the first switch unit 20 is in the reset state, that is, the power supply 10 does not supply power and there is no power stored in the energy storage capacitor 50, the first terminal 21 of the first switch unit 20 is connected to the third terminal 23 of the first switch unit, and at this time, the electronic lock 60 is not powered.
The first power supply terminal 24 of the first switching unit and the second power supply terminal 25 of the first switching unit are both ends of the power supply coil in the first switching unit 20, respectively. Fig. 10 is a schematic structural diagram of another electronic lock control device according to an embodiment of the present application, and as shown in fig. 10, when a charger system is powered on, according to a current loop, a power supply 10 supplies power to a power supply coil in a first switch unit 20, and after the coil is powered on, the second end 22 of the first switch unit is attracted to be connected to a third end 23 of the first switch unit, that is, the first switch unit 20 is automatically switched from a normally closed contact to a normally open contact. Meanwhile, the power supply 10 also charges the energy storage capacitor 50.
When the charger system is powered down, the first switch unit 20 is automatically switched from the normally open contact to the normally closed contact, so that the electric energy in the energy storage capacitor 50 can be transmitted to the electronic lock 60 through the normally closed contact of the first switch unit 20, and the electronic lock 60 can be powered down and unlocked.
The embodiment of the application provides an electronic lock control device, first switch unit is the relay, first switch unit's first end is normally closed contact, first switch unit's second end is normally open contact, first switch unit's third end is fixed contact, first switch unit's first power drive end and second power drive end are the both ends of power supply coil in the first switch unit respectively, according to the normally open contact and the normally closed contact of relay and the relation of supplying power and falling the electricity, when making the machine system that charges fall the electricity, the electric energy in the energy storage capacitor can be transmitted to the electronic lock through first switch unit's normally closed contact, in order to supply the electronic lock to fall the electricity unblock.
On the basis of the electronic lock control device shown in fig. 2, the embodiment of the present application further provides another electronic lock control device. Optionally, fig. 11 is a schematic structural diagram of another electronic lock control device provided in the embodiment of the present application, and as shown in fig. 11, the control device further includes: a control unit 100. In another embodiment, fig. 12 is a schematic structural diagram of another electronic lock control device according to an embodiment of the present application, and as shown in fig. 12, a current limiting resistor 70, a diode 80, and a transient suppression diode 90 are provided on the basis of fig. 11.
The output terminal of the control unit 100 is connected to the control terminals of the second and third switching units 30 and 40, respectively.
After the charger system is powered on, the first switch unit 20 is automatically switched from the normally closed contact to the normally open contact, and the control unit 100 controls the states of the second switch unit 30 and the third switch unit 40 to control the state of the electronic lock 60, so as to lock or unlock the electronic lock 60.
Alternatively, the control Unit 100 may be a control chip, and for example, the control Unit 100 may be a Micro Controller Unit (MCU), and of course, other control chips may also be used, which are not particularly limited in the embodiments of the present application.
According to the electronic lock control device provided by the embodiment of the application, the output end of the control unit is respectively connected with the control ends of the second switch unit and the third switch unit, so that after a charger system is powered on, the control unit controls the switching of the working state of the electronic lock during normal operation.
On the basis of the electronic lock control device shown in fig. 12, the embodiment of the present application further provides another electronic lock control device. Alternatively, the second and third switching units 30 and 40 are both relays.
Alternatively, the second switching unit 30 and the third switching unit 40 are both single-pole double-throw relays.
First ends of the second switch unit 30 and the third switch unit 40 are both normally closed contacts, second ends of the second switch unit 30 and the third switch unit 40 are both normally open contacts, and third ends of the second switch unit 30 and the third switch unit 40 are both fixed contacts.
When the second switch unit 30 is in the reset state, i.e. the control unit 100 does not control it, the first terminal 31 of the second switch unit 30 is connected to the third terminal 33 of the second switch unit, and at this time, the electronic lock 60 is not powered.
When the third switching unit 40 is in the reset state, i.e. not controlled by the control unit 100, the first terminal 41 of the third switching unit 40 is connected to the third terminal 43 of the third switching unit, and at this time, the electronic lock 60 is not powered.
The control terminals of the second switching unit 30 and the third switching unit 40 are both terminals of the power supply coil in the second switching unit and both terminals of the power supply coil in the third switching unit, respectively.
Fig. 13 is a schematic structural diagram of another electronic lock control device according to an embodiment of the present application, and as shown in fig. 13, when the control unit 100 supplies power to a power supply coil in the second switch unit 30, the coil attracts the second end 32 of the second switch unit to connect with the third end 33 of the second switch unit after being powered on, that is, the second switch unit 30 is switched from a normally closed contact to a normally open contact. The current loop of the power supply is as follows: the power supply 10- > the second end 32- > the third end 33- > the one end of the electronic lock 60- > the other end of the electronic lock 60- > the third end 43- > the first end 41- > GND of the third switch unit. At this time, when the electronic lock 60 is a pulse electronic lock, the pulse electronic lock is a reverse voltage, and the electronic lock 60 is unlocked. When the electronic lock 60 is a level electronic lock, the control unit 100 controls the second switch unit 30 to switch from the normally closed contact to the normally open contact, and the electronic lock 60 is locked; after the second switch unit 30 is switched from the normally closed contact to the normally open contact, the control unit 100 controls the second switch unit 30 to be switched from the normally open contact to the normally closed contact, and the electronic lock 60 is unlocked.
Fig. 14 is a schematic structural diagram of another electronic lock control device according to an embodiment of the present application, and as shown in fig. 14, when the control unit 100 supplies power to a power supply coil in the third switching unit 40, after the coil is powered on, the second end 42 of the third switching unit is attracted to connect with the third end 43 of the third switching unit, that is, the third switching unit 40 is switched from a normally closed contact to a normally open contact. The current loop of the power supply is as follows: the power supply 10- > the second end 42- > the third end 43- > the other end of the electronic lock 60- > the third end 33- > the first end 31- > the third end 23- > the second end 22- > the GND of the second switch unit. At this time, when the electronic lock 60 is a pulse type electronic lock, the pulse type electronic lock is set to a forward voltage, and the electronic lock 60 is locked. When the electronic lock 60 is a level-type electronic lock, the control unit 100 controls the third switching unit 40 to switch from the normally closed contact to the normally open contact, and the electronic lock 60 is locked; after the third switching unit 40 is switched from the normally closed contact to the normally open contact, the control unit 100 controls the third switching unit 40 to be switched from the normally open contact to the normally closed contact, and the electronic lock 60 is unlocked.
When the charger system is powered off, the first switch unit 20, the second switch unit 30 and the third switch unit 40 are all automatically switched to the normally closed contacts. The current loop is as follows: one end of the energy storage capacitor 50- > the first end 21- > the third end 23- > the first end 31- > the third end 33- > the third end 43- > the third end 41- > the other end of the energy storage capacitor 50. The energy storage capacitor 50 begins to discharge to unlock the pulsed electronic lock.
Alternatively, the relay may be replaced with an Insulated Gate Bipolar Transistor (IGBT) or a MOS Transistor (Metal-Oxide-Semiconductor Field-Effect Transistor).
According to the electronic lock control device provided by the embodiment of the application, the second switch unit and the third switch unit are both relays, the first ends of the second switch unit and the third switch unit are both normally closed contacts, the second ends of the second switch unit and the third switch unit are both normally open contacts, the third ends of the second switch unit and the third switch unit are both fixed contacts, and the control ends of the second switch unit and the third switch unit are respectively two ends of a power supply coil in the second switch unit and two ends of a power supply coil in the third switch unit.
On the basis of the embodiments described in fig. 1 to fig. 14, an electronic lock control system is further provided in the embodiments of the present application, and the system includes an electronic lock 60 and an electronic lock control device.
The electronic lock in the system can be a pulse type electronic lock and can also be a horizontal type electronic lock, namely the electronic lock control system provided by the application can be compatible with two different electronic locks.
There are two different state control methods for two different electronic locks. Meanwhile, the function of power-down unlocking can be realized for two different electronic locks, and the timeliness and the success rate of unlocking of the two electronic locks can be improved.
On the basis of the embodiments described in fig. 1 to fig. 14, an embodiment of the present application further provides an electronic lock control method. Fig. 15 is a schematic flow chart of an electronic lock control method provided in an embodiment of the present application, where an execution subject of the method may be a control unit in an electronic lock control device. As shown in fig. 15, the method includes:
and S1501, if the electronic lock control device is detected to be in the power-on state, acquiring a switch on-off control mode corresponding to the type according to the type of the electronic lock.
In the embodiment of the application, if the electronic lock control device is in a power-down state, the power-down unlocking can be automatically performed according to the hardware attribute of the electronic component of the first switch unit, and the control unit is not required to control the electronic lock control device.
If the electronic lock control device is in a power-on state, the control unit can acquire a switch on-off control mode corresponding to the type according to the type of the electronic lock, and then control the on-off of the switch.
In the embodiment of the application, the types of the electronic locks and the on-off control modes of the switches are in a corresponding relationship, and it can be understood that one type corresponds to one on-off control mode of the switches, so that the on-off control mode of the switches corresponding to the type needs to be acquired according to the type of the electronic locks.
And S1502, controlling the on-off state of the switch module according to the on-off control mode of the switch so as to control the locking or unlocking of the electronic lock.
The control unit controls the locking of the electronic lock according to the switch on-off control mode corresponding to the locking of the electronic lock in the switch on-off control modes, and meanwhile, the control unit can also control the unlocking of the electronic lock according to the switch on-off control mode corresponding to the unlocking of the electronic lock in the switch on-off control modes.
According to the electronic lock control method, if the electronic lock control device is detected to be in the power-on state, the on-off control mode of the switch corresponding to the type is obtained according to the type of the electronic lock, and the on-off state of the switch module is controlled according to the on-off control mode of the switch, so that the electronic lock is controlled to be locked or unlocked, and the compatibility of the electronic lock control method is improved.
Further, on the basis of the above embodiment, the embodiment of the present application further provides another electronic lock control method. Optionally, in the method S1501, if it is detected that the electronic lock control device is in a powered-on state, acquiring, according to the type of the electronic lock, a switch on-off control manner corresponding to the type, where the method includes:
if the type of the electronic lock is the pulse type electronic lock, determining the on-off control mode of the switch as follows: a first control mode or a second control mode.
The method S1502 for controlling the on-off state of the switch module according to the on-off control manner of the switch to control the locking or unlocking of the electronic lock includes:
according to a first control mode, the on-off state of the switch module is controlled, so that the first power end of the switch module is communicated with the power supply, the first output end of the switch module is communicated with one end of the electronic lock, the second output end of the switch module is grounded, namely, the first input end of the switch module is controlled to be communicated with the first output end, and the second input end of the switch module is controlled to be lotus paste with the second output end, so that the pulse type electronic lock is unlocked.
According to the second control mode, the on-off state of the switch module is controlled, so that the second power supply end of the switch module is communicated with the power supply, the second output end of the switch module is communicated with the other end of the electronic lock, the first output end of the switch module is grounded, namely the first input end of the switch module is controlled to be communicated with the first output end, and the second power supply end of the switch module is connected with the second output end of the switch module to lock the pulse type electronic lock.
If the type of the electronic lock is a level type electronic lock, determining that the on-off control mode of the switch is as follows: a third control mode or a fourth control mode or a fifth control mode.
The method S1502 for controlling the on/off state of the switch module according to the on/off control manner of the switch to control the locking or unlocking of the electronic lock includes:
according to a third control mode, the on-off state of the switch module is controlled, so that the first power end of the switch module is communicated with the power supply, the first output end of the switch module is communicated with one end of the electronic lock, the second output end of the switch module is grounded, namely, the second input end of the switch module is controlled to be communicated with the second output end, and the first power end of the switch module is connected with the first output end of the switch module, so that the locking of the level type electronic lock is realized.
According to a fourth control mode, the on-off state of the switch module is controlled, so that the second power end of the switch module is communicated with the power supply, the second output end of the switch module is communicated with the other end of the electronic lock, the first output end of the switch module is grounded, namely, the first input end of the switch module is controlled to be communicated with the first output end, and the second power end of the switch module is connected with the second output end of the switch module, so that the locking of the level type electronic lock is realized.
And according to a fifth control mode, controlling the on-off state of the switch module to enable two ends of the electronic lock to be grounded so as to unlock the level type electronic lock. In an example, after the third control mode is executed, the first power end of the switch module is controlled to be disconnected from the first output end, and the first input end is connected with the first output end, so that unlocking of the level electronic lock is realized. For example, after the fourth control mode is executed, the second power end of the switch module is controlled to be disconnected from the second output end, and the second input end of the switch module is controlled to be connected with the second output end, so that the unlocking of the level type electronic lock is realized.
According to the electronic lock control method provided by the application, if the type of the electronic lock is the pulse type electronic lock, the on-off control mode of the switch is determined as follows: and if the type of the electronic lock is a level type electronic lock, determining that the on-off control mode of the switch is as follows: the third control mode, the fourth control mode or the fifth control mode are used for controlling the locking or unlocking of the two types of electronic locks, and the compatibility of the control methods for the electronic locks is improved.
On the basis of the embodiment described in fig. 15, another electronic lock control method is further provided in the embodiment of the present application. Optionally, fig. 16 is a schematic flowchart of another electronic lock control method according to an embodiment of the present application, and as shown in fig. 16, if the switch module includes: before the method S1501, that is, before the obtaining of the switch on-off control manner corresponding to the type according to the type of the electronic lock, the method further includes:
s1601, the first target switch unit is controlled to sequentially execute the actions in the first action group, and first group state feedback of the electronic lock corresponding to the first action group is acquired.
Wherein, the first action group comprises: and the first target switch unit is a second switch unit and/or a third switch unit.
In the embodiment of the application, because the types of the electronic locks are different and the control methods thereof are also different, after the charger system is powered on, before the state of the electronic lock is controlled, the type of the electronic lock should be determined first, and then the state of the electronic lock is controlled according to the control method corresponding to the type.
Before determining the type of the electronic lock, the action of the first target switch unit may be recorded as conditional inputs, each of which corresponds to a state feedback of the electronic lock. For example, when the target switch unit is the second switch unit, the second switch unit is controlled to be closed, and if the state feedback of the corresponding electronic lock is the open state, the condition input is that the second switch unit is closed, and the obtained state feedback of the electronic lock is the open state.
The action of the target switch unit is controlled, the state feedback of the electronic lock corresponding to the action is obtained, and the state feedback of the electronic lock can be used as a data basis for determining the type of the electronic lock.
In the embodiment of the application, the state feedback of the electronic lock can be represented by a numerical value, wherein the state feedback of the electronic lock is represented as 0 when the state feedback of the electronic lock is in an open state, and the state feedback of the electronic lock is represented as 1 when the state feedback of the electronic lock is in a closed state.
In the embodiment of the present application, when the electronic lock is a level electronic lock, the state of the level electronic lock may be immediately changed when the state of the switch unit is changed, and when the state of the switch unit is changed, the state of the pulse electronic lock may not be immediately changed, but may be changed after the current state is maintained for a period of time and the next switch action is waited.
Therefore, the first target switch unit needs to perform multiple actions in sequence, the duration time of each action can be set to 200ms, if the state feedback of the electronic lock is not changed immediately after the state of the first target switch unit is changed, the electronic lock is a pulse type electronic lock, otherwise, the electronic lock is a level type electronic lock.
And S1602, determining the type of the electronic lock according to the first group of state feedback.
According to the state feedback of the electronic lock and the preset relation between the state feedback and the type of the electronic lock, the type of the electronic lock can be determined.
In the embodiment of the present application, the types of the electronic lock may be divided into four types, respectively: normally open type level electronic lock, normally closed type level electronic lock, normally open type pulse type electronic lock, and normally closed type pulse type electronic lock.
The electronic lock is a normally open electronic lock if the state feedback of the electronic lock in the unlocked state is an open state, and the electronic lock is a normally closed electronic lock if the state feedback of the electronic lock in the unlocked state is a closed state.
For example, if the first target switch unit is the second switch unit, the first action group includes three actions executed in sequence: the second switch unit is closed, the second switch unit is opened, the second switch unit is closed, and if the state feedback of the electronic lock corresponding to the three actions in the first action group is respectively 0, 1 and 0, the electronic lock is a normally open level type electronic lock; if the state feedback of the electronic lock corresponding to the three actions in the first action group is 1, 0 and 1 respectively, the electronic lock is a normally closed level type electronic lock; if the state feedback of the electronic lock corresponding to the three actions in the first action group is respectively 0, 1 and 1, the electronic lock is a normally closed pulse type electronic lock; if the state feedback of the electronic lock corresponding to the three actions in the first action group is 1, 0 and 0 respectively, the electronic lock is a normally open pulse type electronic lock.
For example, if the first target switch unit is the third switch unit, the first action group includes three actions executed in sequence: if the state feedback of the electronic lock corresponding to the three actions in the first action group is respectively 0, 1 and 0, the electronic lock is a normally open level type electronic lock; if the state feedback of the electronic lock corresponding to the three actions in the first action group is 1, 0 and 1 respectively, the electronic lock is a normally closed level type electronic lock; if the state feedback of the electronic lock corresponding to the three actions in the first action group is respectively 0, 1 and 1, the electronic lock is a normally-open type pulse electronic lock; if the state feedback of the electronic lock corresponding to the three actions in the first action group is 1, 0 and 0, the electronic lock is a normally closed pulse type electronic lock.
And according to the type of the electronic lock, a switch on-off control mode corresponding to the type is adopted to control the on-off states of the second switch unit and the third switch unit so as to control the locking or unlocking of the electronic lock.
For example, if the type of the electronic lock is a normally open type flat electronic lock, after the charger system is powered on, the first switch unit is switched from the normally closed contact to the normally open contact, the control unit does not control the third switch unit, and after the control unit controls the second switch unit to be switched from the normally closed contact to the normally open contact, the electronic lock is locked, and after the control unit controls the second switch unit to be switched from the normally open contact to the normally closed contact, the electronic lock is unlocked. Or after the charger system is powered on, the first switch unit is switched to the normally open contact from the normally closed contact, the control unit does not control the second switch unit, the control unit controls the third switch unit to be locked after the normally closed contact is switched to the normally open contact from the normally closed contact, and the electronic lock is unlocked after the third switch unit is controlled to be switched to the normally closed contact from the normally open contact.
For example, if the type of the electronic lock is a normally open type pulse electronic lock, after the charger system is powered on, the first switch unit is switched from the normally closed contact to the normally open contact, the control unit does not control the third switch unit, after the control unit controls the second switch unit to be switched from the normally closed contact to the normally open contact, the control unit controls the second switch unit to be switched from the normally open contact to the normally closed contact again after 200ms, and then the electronic lock is unlocked. After the charger system is electrified, the first switch unit is switched to the normally open contact from the normally closed contact, the control unit does not control the second switch unit, the control unit controls the third switch unit to be switched to the normally open contact from the normally closed contact, and after the control unit controls the second switch unit to be switched to the normally closed contact from the normally open contact again through 200ms, the electronic lock is locked.
According to the electronic lock control method, the first target switch unit is controlled to sequentially execute actions in the first action group, the first group state feedback of the electronic lock corresponding to the first action group is obtained, the first target switch unit is the second switch unit and/or the third switch unit, the type of the electronic lock is determined according to the first group state feedback, and then the on-off state of the second switch unit and the on-off state of the third switch unit are controlled by adopting a switch on-off control mode corresponding to the type according to the type of the electronic lock so as to control locking or unlocking of the electronic lock.
Further, on the basis of the above embodiment, the embodiment of the present application further provides another electronic lock control method. Optionally, the method further includes:
and if the first group of state feedbacks do not have the type of the corresponding electronic lock and the state values in the first group of state feedbacks are the same, continuously controlling the second target switch unit to sequentially execute the actions in the second action group and acquiring the second group of state feedbacks of the electronic lock corresponding to the second action group.
For example, if the first set of state feedback is not among the multiple sets of state feedback provided in the above embodiments, it is described that the type of the corresponding electronic lock is not determined by only the first set of state feedback. At this time, if the state values in the first set of state feedback are the same, the type of the corresponding electronic lock needs to be determined through the second set of state feedback.
The second group of state feedbacks are obtained by sequentially executing the actions in the second action group through the second target switch unit. Wherein the second action group comprises: the opening action and the closing action are executed at intervals in sequence.
The type of the electronic lock is determined according to the first group of state feedback and the second group of state feedback.
Illustratively, the first target switch unit is a second switch unit, and the first action group includes three actions to be performed in sequence: the second switch unit is closed, the second switch unit is opened, the second switch unit is closed, the second target switch unit is a third switch unit, and the second action group comprises two actions which are executed in sequence: when the third switch unit is switched off and closed, if the state feedback of the electronic lock corresponding to the three actions in the first action group is respectively 0, 0 and 0, and the state feedback of the electronic lock corresponding to the two actions in the second action group is respectively 1 and 1, the electronic lock is a normally open type pulse type electronic lock; if the state feedback of the electronic locks corresponding to the three actions in the first action group is 1, 1 and 1 respectively, and the state feedback of the electronic locks corresponding to the two actions in the second action group is 0 and 0 respectively, the electronic lock is a normally closed pulse type electronic lock.
Illustratively, the first target switch unit is a third switch unit, and the first action group includes three actions performed in sequence: the third switch unit is closed, the third switch unit is opened, the third switch unit is closed, the second target switch unit is a second switch unit, and the second action group comprises two actions which are executed in sequence: when the second switch unit is switched off and the second switch unit is switched on, if the state feedback of the electronic locks corresponding to the three actions in the first action group is respectively 0, 0 and 0, and the state feedback of the electronic locks corresponding to the two actions in the second action group is respectively 1 and 1, the electronic locks are normally closed pulse type electronic locks; if the state feedback of the electronic lock corresponding to the three actions in the first action group is 1, 1 and 1 respectively, and the state feedback of the electronic lock corresponding to the two actions in the second action group is 0 and 0 respectively, the electronic lock is a normally open pulse type electronic lock.
In the electronic lock control method provided in the embodiment of the present application, if the first group of state feedbacks do not have the type of the corresponding electronic lock, and the state values in the first group of state feedbacks are the same, the second target switch unit is continuously controlled to sequentially execute the actions in the second action group, and a second group of state feedbacks of the electronic lock corresponding to the second action group are obtained, where the second action group includes: the method can determine the type of the electronic lock together by combining the state feedback of one switch unit and the state feedback of another switch unit on the basis of the state feedback of one switch unit when the state feedback of one switch unit cannot determine the type of the electronic lock.
Further, on the basis of the above embodiment, the embodiment of the present application further provides another electronic lock control method. Optionally, the method further comprises:
and if the first group of state feedback does not have the corresponding type of the electronic lock and different state values exist in the first group of state feedback, determining that the electronic lock is in a fault error.
For example, if the first target switch unit is the second switch unit, if the first action group includes three actions executed in sequence: and if the state feedback of the electronic lock corresponding to the three actions in the first action group is respectively 0, 0 and 1, or respectively 1, 1 and 0, the electronic lock has a fault.
For example, if the first target switch unit is the third switch unit, if the first action group includes three actions executed in sequence: and if the state feedback of the electronic lock corresponding to the three actions in the first action group is respectively 0, 0 and 1, or respectively 1, 1 and 0, the electronic lock has a fault.
If a different state value exists in the second set of state feedbacks, it is determined that the electronic latch is in a fault error.
Illustratively, the first target switch unit is a second switch unit, and the first action group includes three actions to be performed in sequence: the second switch unit is closed, the second switch unit is opened, the second switch unit is closed, the second target switch unit is a third switch unit, and the second action group comprises two actions which are executed in sequence: when the third switch unit is opened and closed, if the state feedback of the electronic lock corresponding to the three actions in the first action group is respectively 0, 0 and 0, and the state feedback of the electronic lock corresponding to the two actions in the second action group is respectively 0 and 1, or respectively 1 and 0, then the electronic lock has a fault error; if the state feedback of the electronic locks corresponding to the three actions in the first action group is 1, 1 and 1 respectively, and the state feedback of the electronic locks corresponding to the two actions in the second action group is 0 and 1 respectively, or 1 and 0 respectively, then the electronic lock has a fault. Optionally, at this time, if the state feedback of the electronic lock corresponding to the three actions in the first action group is 1, and 1, respectively, and the state feedback of the electronic lock corresponding to the two actions in the second action group is 1 and 1, respectively, the electronic lock has a fault.
Illustratively, the first target switch unit is a third switch unit, and the first action group includes three actions performed in sequence: the third switch unit is closed, the third switch unit is opened, the third switch unit is closed, the second target switch unit is a second switch unit, and the second action group comprises two actions which are executed in sequence: when the second switch unit is turned off and the second switch unit is turned on, if the state feedback of the electronic lock corresponding to the three actions in the first action group is respectively 0, 0 and 0, and the state feedback of the electronic lock corresponding to the two actions in the second action group is respectively 0 and 1, or respectively 1 and 0, then the electronic lock has a fault. Optionally, at this time, if the state feedback of the electronic lock corresponding to the three actions in the first action group is 1, and 1, respectively, and the state feedback of the electronic lock corresponding to the two actions in the second action group is 1 and 1, respectively, the electronic lock has a fault.
And if the state feedback in the first group of state feedback and the second group of state feedback is in a disconnection state, determining that the connection error exists in the electron. That is, the first set of state feedbacks are 0, and 0, respectively, and the second set of state feedbacks are 0 and 0, respectively, the electronic lock is not successfully connected to the circuit.
According to the electronic lock control method provided by the embodiment of the application, if the first group of state feedbacks do not have the corresponding type of the electronic lock, and different state values exist in the first group of state feedbacks, it is determined that the electronic lock is in a fault error, or if different state values exist in the second group of state feedbacks, it is determined that the electronic lock is in a fault error, or if the state feedbacks in the first group of state feedbacks and the second group of state feedbacks are both in a disconnected state, it is determined that the electronic lock has a connection error.
The following describes an electronic lock control device, a control unit, a storage medium, and the like provided by the present application for execution, and specific implementation processes and technical effects thereof are referred to above, and will not be described again below.
Fig. 17 is a schematic diagram of an electronic lock control device provided in an embodiment of the present application, and as shown in fig. 17, the electronic lock control device may include:
the obtaining module 1701 is configured to, if it is detected that the electronic lock control device is in a powered-on state, obtain, according to the type of the electronic lock, a switch on-off control manner corresponding to the type.
The control module 1702 is configured to control an on-off state of the switch module according to the on-off control manner of the switch, so as to control locking or unlocking of the electronic lock.
Optionally, the obtaining module 1701 is specifically configured to determine that the on-off control manner of the switch is as follows if the type of the electronic lock is a pulse type electronic lock: a first control mode or a second control mode; according to the on-off control mode of switch, the on-off state of control switch module to control locking or unblock of electronic lock includes: according to a first control mode, controlling the on-off state of the switch module to enable a first power supply end of the switch module to be communicated with a power supply, a first output end of the switch module to be communicated with one end of the electronic lock, and a second output end of the switch module to be grounded so as to unlock the pulse type electronic lock; or according to a second control mode, the on-off state of the switch module is controlled, so that the second power supply end of the switch module is communicated with the power supply, the second output end of the switch module is communicated with the other end of the electronic lock, and the first output end of the switch module is grounded, so that the locking of the pulse type electronic lock is realized.
Optionally, the obtaining module 1701 is specifically configured to determine that the on-off control manner of the switch is as follows if the type of the electronic lock is a level type electronic lock: a third control mode or a fourth control mode or a fifth control mode; according to the on-off control mode of switch, the on-off state of control switch module to control locking or unblock of electronic lock includes: according to a third control mode, controlling the on-off state of the switch module to enable the first power supply end of the switch module to be communicated with the power supply, the first output end of the switch module to be communicated with one end of the electronic lock, and the second output end of the switch module to be grounded so as to lock the level type electronic lock; or according to a fourth control mode, controlling the on-off state of the switch module to enable the second power supply end of the switch module to be communicated with the power supply, the second output end of the switch module to be communicated with the other end of the electronic lock, and the first output end of the switch module to be grounded so as to lock the level-type electronic lock; or according to a fifth control mode, the on-off state of the switch module is controlled, so that two ends of the electronic lock are grounded, and the unlocking of the level type electronic lock is realized.
Optionally, the obtaining module 1701 is further configured to control the first target switch unit to sequentially execute actions in the first action group, and obtain a first group state feedback of the electronic lock corresponding to the first action group; the first action group includes: closing action and opening action which are executed at intervals in sequence; the first target switch unit is a second switch unit and/or a third switch unit; based on the first set of state feedback, a type of the electronic lock is determined.
A determining module 1703, configured to continue to control the second target switch unit to sequentially execute the actions in the second action group if the first group of state feedbacks do not have the type of the corresponding electronic lock and the state values in the first group of state feedbacks are the same, and obtain a second group of state feedbacks of the electronic lock corresponding to the second action group; the second action group includes: opening and closing actions are sequentially executed at intervals; determining the type of the electronic lock according to the first group of state feedback and the second group of state feedback; the second target switch unit is a second switch unit and/or a third switch unit; or if the first group of state feedbacks do not have the corresponding type of the electronic lock, and different state values exist in the first group of state feedbacks, determining that the electronic lock is in a fault error; or if different state values exist in the second group of state feedbacks, determining that the electronic lock has a fault error; or if the state feedback in the first group of state feedback and the second group of state feedback is in a disconnected state, determining that the connection error exists in the electron.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 18 is a schematic diagram of a control unit provided in an embodiment of the present application, where the control unit may be a device having a calculation processing function.
The control unit includes: a processor 1801, a storage medium 1802, and a bus 1803. The processor 1801 and the storage medium 1802 are connected by a bus 1803.
The storage medium 1802 is used to store a program, and the processor 1801 calls the program stored in the storage medium 1802 to execute the above-described method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the invention also provides a program product, for example a computer-readable storage medium, comprising a program which, when being executed by a processor, is adapted to carry out the above-mentioned method embodiments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

Claims (10)

1. An electronic lock control device, characterized by comprising: the power supply, the first switch unit, the switch module and the energy storage capacitor are arranged on the power supply;
the power supply is grounded through the energy storage capacitor, the first end and the second end of the first switch unit are connected to the two ends of the energy storage capacitor, the third end of the first switch unit is connected to the first input end of the switch module, the second input end of the switch module is grounded, the first power end of the switch module and the second power end of the switch module are both connected to the power supply, and the first output end of the switch module and the second output end of the switch module are respectively connected to the two ends of the electronic lock.
2. The control device of claim 1, wherein the switch module comprises: a second switching unit and a third switching unit;
the first end of the second switch unit is a first input end of the switch module, and the third end of the first switch unit is connected with the first end of the second switch unit;
the second end of the second switch unit is a first power end of the switch module, the second end of the third switch unit is a second power end of the switch module, the second end of the second switch unit is connected with the power supply, and the second end of the third switch unit is connected with the power supply;
the third end of the second switch unit is a first output end of the switch module, the third end of the third switch unit is a second output end of the switch module, the third end of the second switch unit is connected with one end of the electronic lock, and the third end of the third switch unit is connected with the other end of the electronic lock;
the first end of the third switching unit is a second input end of the switching module, and the first end of the third switching unit is grounded.
3. The control device according to claim 1, wherein the first switch unit is a relay, a first end of the first switch unit is a normally closed contact, a second end of the first switch unit is a normally open contact, and a third end of the first switch unit is a fixed contact;
a first power supply driving end of the first switch unit is connected with the power supply, and a second power supply driving end of the first switch unit is grounded;
and the first power supply driving end and the second power supply driving end of the first switch unit are respectively two ends of a power supply coil in the first switch unit.
4. The control device according to claim 2, characterized by further comprising: a control unit;
and the output end of the control unit is respectively connected with the control ends of the second switch unit and the third switch unit.
5. The control device according to claim 4, wherein the second switching unit and the third switching unit are both relays;
the first ends of the second switch unit and the third switch unit are both normally closed contacts, the second ends of the second switch unit and the third switch unit are both normally open contacts, and the third ends of the second switch unit and the third switch unit are both fixed contacts;
the control ends of the second switch unit and the third switch unit are respectively two ends of a power supply coil in the second switch unit and two ends of a power supply coil in the third switch unit.
6. An electronic lock control method, characterized in that the method comprises:
if the electronic lock control device is detected to be in a power-on state, acquiring a switch on-off control mode corresponding to the type of the electronic lock according to the type of the electronic lock; the electronic lock control device is the electronic lock control device as claimed in any one of claims 1 to 5;
and controlling the on-off state of the switch module according to the on-off control mode of the switch so as to control the locking or unlocking of the electronic lock.
7. The electronic lock control method according to claim 6, wherein the obtaining of the on-off control manner of the switch corresponding to the type of the electronic lock according to the type of the electronic lock includes:
if the type of the electronic lock is a pulse type electronic lock, determining that the on-off control mode of the switch is as follows: a first control mode or a second control mode;
the according to switch on-off control mode, control the on-off state of switch module to control locking or unblock of electron lock includes:
according to the first control mode, controlling the on-off state of the switch module to enable a first power supply end of the switch module to be communicated with a power supply source, a first output end of the switch module to be communicated with one end of the electronic lock, and a second output end of the switch module to be grounded so as to unlock the pulse type electronic lock; or,
according to the second control mode, the on-off state of the switch module is controlled, so that a second power supply end of the switch module is communicated with the power supply, a second output end of the switch module is communicated with the other end of the electronic lock, and a first output end of the switch module is grounded, so that the pulse type electronic lock is locked.
8. The electronic lock control method according to claim 6, wherein the obtaining of the on-off control manner of the switch corresponding to the type of the electronic lock according to the type of the electronic lock includes:
if the type of the electronic lock is a level type electronic lock, determining that the on-off control mode of the switch is as follows: a third control mode or a fourth control mode or a fifth control mode;
the according to switch on-off control mode, control the on-off state of switch module to control locking or unblock of electron lock includes:
according to the third control mode, controlling the on-off state of the switch module to enable the first power end of the switch module to be communicated with a power supply source, the first output end of the switch module to be communicated with one end of the electronic lock, and the second output end of the switch module to be grounded so as to lock the level type electronic lock; or,
according to the fourth control mode, controlling the on-off state of the switch module to enable a second power supply end of the switch module to be communicated with the power supply, a second output end of the switch module to be communicated with the other end of the electronic lock, and a first output end of the switch module to be grounded so as to lock the level type electronic lock; or,
and according to the fifth control mode, controlling the on-off state of the switch module to enable two ends of the electronic lock to be grounded so as to unlock the level type electronic lock.
9. The electronic lock control method according to claim 6, wherein if the switch module includes: before the second switching unit and the third switching unit obtain the on-off control mode of the switch corresponding to the type according to the type of the electronic lock, the method further includes:
controlling a first target switch unit to sequentially execute actions in a first action group, and acquiring first group state feedback of the electronic lock corresponding to the first action group; the first action group comprises: closing action and opening action which are executed at intervals in sequence; the first target switch unit is the second switch unit, and/or the third switch unit;
and determining the type of the electronic lock according to the first group of state feedback.
10. The electronic lock control method according to claim 9, characterized by further comprising:
if the first group of state feedbacks do not have the corresponding type of the electronic lock, and the state values in the first group of state feedbacks are the same, continuing to control a second target switch unit to sequentially execute the actions in a second action group, and acquiring a second group of state feedbacks of the electronic lock corresponding to the second action group; the second action group comprises: opening and closing actions are sequentially executed at intervals; determining the type of the electronic lock according to the first group of state feedback and the second group of state feedback; the second target switch unit is the second switch unit, and/or the third switch unit; or,
if the first group of state feedbacks do not have the corresponding type of the electronic lock, and different state values exist in the first group of state feedbacks, determining that the electronic lock has a fault error; or,
if different state values exist in the second group of state feedbacks, determining that the electronic lock has a fault error; or,
and if the state feedback in the first group of state feedback and the second group of state feedback is in a disconnection state, determining that the electron has a connection error.
CN202211236950.5A 2022-10-10 2022-10-10 Electronic lock control device and method Pending CN115503518A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211236950.5A CN115503518A (en) 2022-10-10 2022-10-10 Electronic lock control device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211236950.5A CN115503518A (en) 2022-10-10 2022-10-10 Electronic lock control device and method

Publications (1)

Publication Number Publication Date
CN115503518A true CN115503518A (en) 2022-12-23

Family

ID=84508117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211236950.5A Pending CN115503518A (en) 2022-10-10 2022-10-10 Electronic lock control device and method

Country Status (1)

Country Link
CN (1) CN115503518A (en)

Similar Documents

Publication Publication Date Title
CN108123509B (en) Charging control method and related device thereof
CN207782762U (en) A kind of automatic reset circuit and electronic product
CN109245189A (en) A kind of battery management system and a kind of circuit for battery set charge/discharge
CN208053127U (en) A kind of power-off of charging gun pipette tips self solves lock system
CN108023582A (en) A kind of automatic reset circuit and electronic product
CN210669590U (en) Lithium battery management application circuit
CN206850457U (en) A kind of charging wake-up circuit and system applied to battery management system
CN211032215U (en) Control device for electronic lock of charging gun of electric automobile
CN111799759A (en) Overcurrent protection circuit of vehicle-mounted ECU output power supply and control method thereof
CN113708467B (en) Electrifying circuit, battery backup unit and storage server system
CN108683248B (en) Power supply switching circuit and switching method and power supply equipment
CN218085105U (en) Electronic lock control device and system
CN115503518A (en) Electronic lock control device and method
US9783139B2 (en) Switch monitoring circuit
WO2021138249A1 (en) Very low power standby circuit such as for a battery management system
CN112531814A (en) Multi-battery charging management system and method
CN108711929B (en) Intelligent emergency power supply, control method and intelligent emergency lamp
CN213602442U (en) Battery and power supply switching circuit
CN115241962A (en) Emergency power supply for vehicle
CN212518377U (en) Protection circuit with anti-dragging starting direct current generator controller
CN212162912U (en) Back-up power supply input self-starting control circuit suitable for power distribution terminal power supply
CN110597127B (en) Electric vehicle control system with activation function
CN210489530U (en) Battery relay control circuit and vehicle
CN109301907B (en) Switching circuit and method of super capacitor
CN210469725U (en) Prompting device and network equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination