Electronic lock control circuit, vehicle charger and control method thereof, and smart car
By designing an electronic lock control circuit including a switch module and a power module, the problem of the electronic lock being easily damaged is solved, safe and reliable charging control is achieved, overheating damage is prevented, and the safety of the vehicle charging process is ensured.
Patent Information
- Application Number
- CN202010373813.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-06
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-05-06
AI Technical Summary
Existing electronic lock control circuits are prone to damage, causing potential safety hazards during vehicle charging, and the diversified control methods make vehicles on the market prone to electronic lock damage or control circuit damage.
An electronic lock control circuit including a first switch module, a second switch module, a first power module and a second power module is designed. By controlling the states of the first switch module and the second switch module, the electronic lock is unlocked and Lock the action and confirm the completion of the action through the feedback signal from the detection end to prevent overheating damage caused by frequent operations.
It implements simple and effective electronic lock control, prevents overheating damage caused by frequent electronic lock movements, ensures electrical safety during the charging process, and reduces the risk of electronic lock damage.
Smart Images

Figure CN113689595B
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart car technology, and specifically to a control circuit of an electronic lock, an on-board charger and a control method thereof, and a smart car. Background Art
[0002] Low-carbon economy is a new engine for economic development. New energy electric vehicles are the development trend of the automotive industry and an emerging industry that my country strongly supports. Electric vehicles include pure electric vehicles and plug-in hybrid vehicles, both of which support AC slow charging.
[0003] Before the GB / T 18487.1-2015 standard, the metal contacts of charging guns and charging bases were found to melt in the market. After analysis, it was found that when the contacts carry a large current during vehicle charging, manually unplugging the charging gun will cause arcing. The standard GB / T 18487.1-2015 clearly requires that when the AC charging current is greater than 16A, the power supply interface and vehicle interface should have a locking function, and the locking function should comply with the relevant requirements of GB / T 20234.1-2015. The power supply socket and vehicle socket should be equipped with an electronic locking device to prevent accidental disconnection during charging. When the electronic lock is not reliably locked, the power supply equipment or electric vehicle should stop charging or not start charging.
[0004] However, the applicant found that in order to achieve electrical safety during charging, many passenger vehicles on the electrical market are equipped with electronic locks. However, due to the many types of electronic locks and the many control methods, the electronic locks of vehicles on the market are prone to damage or damage to the electronic lock control circuit. Summary of the invention
[0005] In view of this, the present application provides a control circuit of an electronic lock, an on-board charger and a control method thereof, and a smart car, which are used to solve the technical problem that the control circuit of the electronic lock is easily damaged.
[0006] In order to solve the above problems, the embodiments of the present application mainly provide the following technical solutions:
[0007] In a first aspect, an embodiment of the present application discloses a control circuit of an electronic lock, comprising: a first switch module, a second switch module, a first power module, and a second power module;
[0008] The first switch module is respectively connected to the first power module, the second power module, the first signal control terminal, the first node, the second node and the grounding point;
[0009] The second switch module is respectively connected to the first power module, the second power module, the second signal control terminal, the first node, the second node and the grounding point;
[0010] The first node is connected to the second pin of the electronic lock, and the second node is connected to the first pin of the electronic lock;
[0011] When the electronic lock needs to be unlocked, the first switch module is used to be in an open state under the control of the first signal control end, and the second switch module is used to be in a closed state under the control of the second signal control end;
[0012] When the electronic lock needs to be locked, the first switch module is used to be in a closed state under the control of the first signal control end, and the second switch module is used to be in an open state under the control of the second signal control end.
[0013] Optionally, the control circuit further includes a third switch module, which is respectively connected to the third power supply module, the third node, the grounding point and the detection end, and is used to make the level of the detection end a low level when the electronic lock is unlocked; and make the level of the detection end a high level when the electronic lock is locked;
[0014] The third node is connected to a detection pin of the electronic lock.
[0015] Optionally, the first switch module includes a first transistor and a second transistor;
[0016] The gate of the first transistor is connected to the first signal control terminal, the first electrode is connected to the first power module, and the second electrode is connected to the first node and the second power module;
[0017] The gate of the second transistor is connected to the first signal control terminal, the first electrode is connected to the second node, and the second electrode is connected to the ground point.
[0018] Optionally, the second switch module includes a third transistor and a fourth transistor;
[0019] The gate of the third transistor is connected to the second signal control terminal, the first electrode is connected to the first power module, and the second electrode is connected to the second node;
[0020] The gate of the fourth transistor is connected to the second signal control terminal, the first electrode is connected to the first node and the second power supply module, and the second electrode is connected to the ground point.
[0021] Optionally, the third switch module includes a transistor, a first resistor and a second resistor;
[0022] One end of the first resistor is connected to the third node, and the other end is connected to the base of the transistor;
[0023] One end of the second resistor is connected to the base of the transistor, and the other end is connected to the ground point;
[0024] The collector of the transistor is connected to the third power supply module, and the emitter is connected to the ground point.
[0025] Optionally, the first power supply module includes a first power supply voltage output terminal;
[0026] The second power supply module comprises a second power supply voltage output terminal, and a third resistor connected to the second power supply voltage output terminal;
[0027] The third power supply module includes a second power supply voltage output terminal and a fourth resistor connected to the second power supply voltage output terminal.
[0028] In a second aspect, an embodiment of the present application discloses a vehicle charger, including a control system, and further including: the control circuit described in the first aspect;
[0029] The detection end is connected to the control system and is used to feed back a low level signal or a high level signal to the control system.
[0030] In a third aspect, an embodiment of the present application discloses a smart car, comprising: the on-board charger and the electronic lock described in the second aspect;
[0031] The control circuit is electrically connected to the electronic lock and is used to control the unlocking or locking of the electronic lock.
[0032] In a fourth aspect, an embodiment of the present application discloses a control method of the vehicle-mounted charger according to the second aspect, comprising:
[0033] The control system receives a feedback signal fed back by the detection end, and determines that the electronic lock action is completed according to the feedback signal; the electronic lock action includes locking the electronic lock and unlocking the electronic lock;
[0034] The control system outputs a second level signal to the first signal control end and the second signal control end after a first preset time, controlling the first switch module and the second switch module to be in a closed state; and the duration of the second level signal received by the first signal control end and the second signal control end is a preset duration.
[0035] Optionally, the control system receives a feedback signal fed back by the detection end, and determines that the electronic lock action is completed according to the feedback signal, including:
[0036] The control system outputs a first level signal to the first signal control terminal to control the first switch module to be in an open state; and outputs a second level signal to the second signal control terminal to control the second switch module to be in a closed state; the control system receives a feedback signal fed back by the detection terminal, and if the feedback signal is a low level signal, it is determined that the electronic lock action is completed; or,
[0037] The control system outputs a second level signal to the first signal control end to control the first switch module to be in a closed state; and outputs a first level signal to the second signal control end to control the second switch module to be in an open state; the control system receives a feedback signal fed back by the detection end, and if the feedback signal is a high level signal, it is determined that the electronic lock action is completed.
[0038] Optionally, the method further comprises:
[0039] The control system receives a feedback signal from the detection end, and determines that the electronic lock action is completed according to the feedback signal;
[0040] The control system detects that the number of times the electronic lock is actuated is greater than the first preset number within the second preset time, and outputs a second level signal to the first signal control end and the second signal control end to control the first switch module and the second switch module to be in a closed state.
[0041] Optionally, the method further comprises:
[0042] The control system outputs a first level signal to the first signal control end to control the first switch module to be in an open state; and outputs a second level signal to the second signal control end to control the second switch module to be in a closed state;
[0043] The control system receives a feedback signal from the detection end, and if the feedback signal is a high-level signal, it is determined that the electronic lock fails to operate;
[0044] The control system outputs a first level signal to the first signal control end and a second level signal to the second signal control end after every third preset time interval, and receives a feedback signal fed back by the detection end in real time. If it is determined that the number of times the high level signal is received is greater than the second preset number, the control system outputs a second level signal to the first signal control end and the second signal control end to control the first switch module and the second switch module to be in a closed state.
[0045] Optionally, the method further comprises:
[0046] The control system outputs a second level signal to the first signal control end to control the first switch module to be in a closed state; and outputs a first level signal to the second signal control end to control the second switch module to be in an open state;
[0047] The control system receives the feedback signal fed back by the detection end, and if the feedback signal is a low-level signal, it is determined that the electronic lock fails to operate;
[0048] The control system outputs a second level signal to the first signal control end after every third preset time interval, outputs a first level signal to the second signal control end, and receives a feedback signal fed back by the detection end in real time. If it is determined that the number of times the low level signal is received is greater than the second preset number, the control system outputs a second level signal to the first signal control end and the second signal control end to control the first switch module and the second switch module to be in a closed state.
[0049] By means of the above technical solution, the technical solution provided by the embodiment of the present application has at least the following advantages:
[0050] Since the control circuit of the embodiment of the present application includes: a first switch module, a second switch module, a first power supply module and a second power supply module; the embodiment of the present application can control the unlocking of the electronic lock by controlling the first switch module to be in an open state and controlling the second switch module to be in a closed state; and can control the locking of the electronic lock by controlling the first switch module to be in a closed state and controlling the second switch module to be in an open state. The embodiment of the present application can simply realize the control of the unlocking or locking action of the electronic lock.
[0051] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation method of the embodiment of the present application is listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the optional embodiments below. The accompanying drawings are only used for the purpose of illustrating the optional embodiments and are not to be considered as limitations of the embodiments of the present application. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0053] Figure 1 This is a schematic diagram of the structure of the socket pins of a traditional electronic lock;
[0054] Figure 2 This is a schematic diagram of the action mechanism of a traditional electronic lock;
[0055] Figure 3 A schematic diagram of the structure of a control circuit according to an embodiment of the present application;
[0056] Figure 4 for Figure 3A structural diagram of a control circuit with a detection module;
[0057] Figure 5 A schematic diagram of the specific structure of the control circuit of an embodiment of the present application;
[0058] Figure 6 Flow chart of a control method according to an embodiment of the present application.
[0059] The reference numerals are described as follows:
[0060] 1-control circuit; 2-first switch module; 3-second switch module; 4-first power module; 5-second power module; 6-first node; 7-second node; 8-grounding point; 9-third switch module; 10-third power module; 11-third node; 12-detection end;
[0061] 21-first transistor; 22-second transistor; 32-third transistor; 31-fourth transistor; 41-first power supply voltage output terminal; 51-second power supply voltage output terminal; 52-third resistor; 53-fourth resistor; 91-transistor; 92-first resistor; 93-second resistor. DETAILED DESCRIPTION
[0062] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0063] It will be understood by those skilled in the art that, unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that the term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.
[0064] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with those in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.
[0065] The following first introduces the electronic locks with three commonly used control pins.
[0066] There are many types of automotive-grade electronic locks on the current market, and the main ones are electronic locks with three control pins. The internal working mechanisms of this type of electronic locks are basically the same. Here we take the typical HELLA863330-04 electronic lock as an example to introduce it.
[0067] The electronic lock includes three socket pins, such as Figure 1 As shown in the figure, they are the first socket pin PIN1, the second socket pin PIN2 and the third socket pin PIN3. The plug pins on the charging gun are inserted into Figure 1 The first socket pin PIN1 and the third socket pin PIN3 are shown in the figure. The first socket pin PIN1 and the third socket pin PIN3 are used to receive voltages with different polarities, and the second socket pin PIN2 is used to detect the state of the electronic lock; when the electronic lock is in a locked state, the smart car starts charging, and when the electronic lock is in an unlocked state, the smart car does not start charging for the time being.
[0068] Specifically, if Figure 2 As shown, when a positive voltage (such as +12V) is output to the first socket pin PIN1 and a negative voltage (such as -12V) is output to the third socket pin PIN3, the electronic lock performs a locking action; after the electronic lock is locked, the first socket pin PIN1 and the second socket pin PIN2 are disconnected. When a negative voltage (such as -12V) is output to the first socket pin PIN1 and a positive voltage (such as +12V) is output to the third socket pin PIN3, the electronic lock performs an unlocking action; after the electronic lock is unlocked, the first socket pin PIN1 and the second socket pin PIN2 are closed.
[0069] The embodiment of the present application provides a control circuit of an electronic lock, which is specifically used to control an electronic lock having three control pins. The control circuit of the electronic lock and the control method thereof provided in the embodiment of the present application are described in detail below in conjunction with the accompanying drawings.
[0070] In the first aspect, Figure 3 FIG. 1 shows a control circuit 1 of an electronic lock according to an embodiment of the present application. Figure 3As shown, the control circuit 1 includes: a first switch module 2, a second switch module 3, a first power module 4 and a second power module 5. The first switch module 2 is connected to the first power module 4, the second power module 5, the first signal control terminal S1, the first node 6, the second node 7 and the grounding point 8 respectively. The second switch module 3 is connected to the first power module 4, the second power module 5, the second signal control terminal S2, the first node 6, the second node 7 and the grounding point 8 respectively. The first node 6 is connected to the second pin (i.e., Figure 1 The third socket pin PIN3 in the electronic lock is connected, and the second node 7 is connected to the first pin of the electronic lock (ie, Figure 1 When the electronic lock needs to be unlocked, the first switch module 2 is in an open state under the control of the first signal control terminal S1, and the second switch module 3 is in a closed state under the control of the second signal control terminal S2. When the electronic lock needs to be locked, the first switch module 2 is in a closed state under the control of the first signal control terminal S1, and the second switch module 3 is in an open state under the control of the second signal control terminal S2.
[0071] Since the control circuit of the embodiment of the present application includes: a first switch module 2, a second switch module 3, a first power module 4 and a second power module 5; the embodiment of the present application can control the unlocking of the electronic lock by controlling the first switch module 2 to be in an open state and controlling the second switch module 3 to be in a closed state; and can control the locking of the electronic lock by controlling the first switch module 2 to be in a closed state and controlling the second switch module 3 to be in an open state. The embodiment of the present application can simply realize the control of the unlocking or locking action of the electronic lock.
[0072] Alternatively, if Figure 4 As shown, the control circuit 1 of the embodiment of the present application further includes a third switch module 9, which is respectively connected to the third power supply module 10, the third node 11, the grounding point 8 and the detection end, and is used to make the level of the detection end low when the electronic lock is unlocked. And when the electronic lock is locked, the level of the detection end is high. The third node 11 is connected to the detection pin of the electronic lock (that is, Figure 1 The second socket pin PIN2 in the
[0073] Optionally, refer to Figure 5The third switch module 9 includes a transistor 91, a first resistor 92 and a second resistor 93. One end of the first resistor 92 is connected to the third node 11, and the other end is connected to the base of the transistor 91. One end of the second resistor 93 is connected to the base of the transistor 91. The other end is connected to the grounding point 8. The collector of the transistor 91 is connected to the third power module 10, and the emitter is connected to the grounding point 8. A detection terminal 12 is connected between the collector of the transistor 91 and the third power module 10. The embodiment of the present application can detect the unlocking state and the locking state of the electronic lock by detecting the high and low levels of the detection terminal 12. The specific detection process will be introduced in the following specific embodiment section.
[0074] Optionally, continue to refer to Figure 5 The first switch module 2 includes a first transistor 21 and a second transistor 22. The gate of the first transistor 21 is connected to the first signal control terminal S1, the first electrode is connected to the first power module 4, and the second electrode is connected to the first node 6 and the second power module 5. The gate of the second transistor 22 is connected to the first signal control terminal S1, the first electrode is connected to the second node 7, and the second electrode is connected to the ground point 8.
[0075] Optionally, continue to refer to Figure 5 The second switch module 3 includes a third transistor 31 and a fourth transistor 32. The gate of the third transistor 31 is connected to the second signal control terminal S2, the first electrode is connected to the first power module 4, and the second electrode is connected to the second node 7. The gate of the fourth transistor 32 is connected to the second signal control terminal S2, the first electrode is connected to the first node 6 and the second power module 5, and the second electrode is connected to the ground point 8.
[0076] In addition, Figure 5 In the figure, the coil shown between the first node 6 and the second node 7 is an electronic lock coil, which is located inside the electronic lock.
[0077] Alternatively, if Figure 5 As shown, the first power supply module 4 includes a first power supply voltage output terminal 41. The second power supply module 5 includes a second power supply voltage output terminal 51, and a third resistor 52 connected to the second power supply voltage output terminal 51. The third power supply module 10 includes a second power supply voltage output terminal 51, and a fourth resistor 53 connected to the second power supply voltage output terminal 51.
[0078] Specifically, Figure 5 As shown, the voltage outputted by the first power supply voltage output terminal 41 of the embodiment of the present application is 12 V, and the voltage outputted by the second power supply voltage output terminal 51 is 5 V. The resistance value of the first resistor 92 is 5.1 kilo-ohms, the resistance value of the second resistor 93 is 10 kilo-ohms, the resistance value of the third resistor 52 is 5.1 kilo-ohms, and the resistance value of the fourth resistor 53 is 10 kilo-ohms.
[0079] Specifically, the first transistor 21, the second transistor 22, the third transistor 32 and the fourth transistor 31 in the embodiment of the present application are MOS transistors; in specific implementation, the first transistor 21, the second transistor 22, the third transistor 32 and the fourth transistor 31 are N-type MOS transistors.
[0080] Specifically, the transistor 91 in the embodiment of the present application is an NPN transistor.
[0081] The following Figure 5 The operating principle of the control circuit 1 of the embodiment of the present application is described in detail:
[0082] like Figure 5 As shown, the switching voltage of the first transistor 21, the second transistor 22, the third transistor 31 and the fourth transistor 32 in the embodiment of the present application is 12 V. The voltage output by the first power supply voltage output terminal 41 is 12 V, and the voltage output by the second power supply voltage output terminal 51 is 5 V. The resistance value of the first resistor 92 is 5.1 kilo-ohms, the resistance value of the second resistor 93 is 10 kilo-ohms, the resistance value of the third resistor 52 is 5.1 kilo-ohms, and the resistance value of the fourth resistor 53 is 10 kilo-ohms.
[0083] When there is no action requirement, that is, when the electronic lock does not need to be unlocked or locked, the first signal control terminal S1 outputs a low-level signal to control the first transistor 21 and the second transistor 22 to be in the off state; at the same time, the second signal control terminal S2 outputs a low-level signal to control the third transistor 31 and the fourth transistor 32 to be in the off state.
[0084] When the electronic lock needs to be unlocked, the first signal control terminal S1 outputs a high-level signal to control the first transistor 21 and the second transistor 22 to be in an on state; at the same time, the second signal control terminal S2 outputs a low-level signal to control the third transistor 31 and the fourth transistor 32 to be in an off state. Figure 2 As shown, the second socket pin PIN2 and the first socket pin PIN1 are closed inside the electronic lock. Since the third node 11 is connected to the second socket pin PIN2 and the second node 7 is connected to the first socket pin PIN1, the third node 11 is turned on with the second node 7. After the third node 11 is turned on with the second node 7, the transistor 91 is turned on. At this time, the voltage detected by the detection terminal 12 is a low-level voltage.
[0085] When the electronic lock needs to be locked, the first signal control terminal S1 outputs a low-level signal to control the first transistor 21 and the second transistor 22 to be in the off state; at the same time, the second signal control terminal S2 outputs a high-level signal to control the third transistor 31 and the fourth transistor 32 to be in the on state. Figure 2As shown, the second socket pin PIN2 and the first socket pin PIN1 are disconnected inside the electronic lock. Since the third node 11 is connected to the second socket pin PIN2 and the second node 7 is connected to the first socket pin PIN1, the third node 11 is disconnected from the second node 7. After the third node 11 is disconnected from the second node 7, the transistor 91 is not conducting. At this time, the voltage detected by the detection terminal 12 is a high-level voltage.
[0086] In the second aspect, the embodiment of the present application discloses a vehicle charger, including a control system, and further including: the control circuit 1 of the first aspect, the detection end 12 is connected to the control system, and is used to feed back a low-level signal or a high-level signal to the control system. Since the electronic lock in the second aspect includes the control circuit 1 of the first aspect, the electronic lock in the second aspect has the same technical effect as the control circuit 1 of the first aspect. Therefore, the beneficial effects of the electronic lock in the second aspect are not repeated.
[0087] In a third aspect, an embodiment of the present application discloses a smart car, comprising: a charger and an electronic lock according to the second aspect. The control circuit is electrically connected to the electronic lock, and is used to control the unlocking or locking of the electronic lock. Since the smart car in the third aspect includes the electronic lock of the second aspect, the smart car in the third aspect has the same technical effect as the electronic lock of the second aspect. Therefore, the beneficial effects of the smart car in the third aspect are not repeated.
[0088] In a fourth aspect, the present application embodiment discloses a control method of a vehicle-mounted charger according to the second aspect, such as Figure 6 As shown, including:
[0089] S101: The control system receives a feedback signal fed back by the detection end, and determines that the electronic lock action is completed according to the feedback signal; the electronic lock action includes locking the electronic lock and unlocking the electronic lock.
[0090] S102: The control system outputs a second level signal to the first signal control terminal and the second signal control terminal after the first preset time, controlling the first switch module 2 and the second switch module 3 to be in a closed state; and the duration of the second level signal received by the first signal control terminal S1 and the second signal control terminal S2 is the preset duration.
[0091] During specific implementation, the first level signal in the embodiment of the present application may be a high level signal, and the second level signal may be a low level signal.
[0092] Specifically, in the embodiment S101 of the present application, the control system receives a feedback signal fed back by the detection end, and determines that the electronic lock action is completed according to the feedback signal, including:
[0093] The control system outputs a first level signal to the first signal control terminal S1 to control the first switch module to be in an open state; and outputs a second level signal to the second signal control terminal S2 to control the second switch module 2 to be in a closed state; the control system receives a feedback signal fed back by the detection terminal, and if the feedback signal is a low level signal, it is determined that the electronic lock action is completed.
[0094] Alternatively, the control system outputs a second level signal to the first signal control terminal S1 to control the first switch module 2 to be in a closed state; and outputs a first level signal to the second signal control terminal S2 to control the second switch module 3 to be in an open state; the control system receives a feedback signal fed back by the detection terminal, and if the feedback signal is a high level signal, it is determined that the electronic lock action is completed.
[0095] Specifically, the detection end 12 is connected to the control system included in the on-board charger of the smart car, and the control system receives the feedback signal of the detection end 12; when the feedback signal fed back by the detection end 12 is a low-level signal, the control system included in the on-board charger determines that the electronic lock is in an unlocking action at this time; when the feedback signal fed back by the detection end 12 is a high-level signal, the control system included in the on-board charger determines that the electronic lock is in a locking action at this time.
[0096] Specifically, after the control system receives the feedback signal from the detection terminal 12 and determines that the electronic lock action is completed according to the feedback signal, it outputs a low-level signal to the first signal control terminal S1 and the second signal control terminal S2 after a first preset time (such as 500 milliseconds) to control the first transistor 21, the second transistor 22, the third transistor 31 and the fourth transistor 32 to be in the disconnected state. That is, the execution time of the electronic lock action in the embodiment of the present application is 500 milliseconds; because the duration of the low-level signal received by the first signal control terminal S1 and the second signal control terminal S2 is the preset duration (such as the duration is 500 milliseconds), that is, the embodiment of the present application can only allow the electronic lock to perform subsequent electronic lock actions 500 milliseconds after the previous electronic lock action is completed, thereby preventing the electronic lock from frequently acting.
[0097] Optionally, the control method in the embodiment of the present application also includes: the control system receives a feedback signal fed back by the detection end, and determines that the electronic lock action is completed according to the feedback signal; the control system detects that the number of electronic lock actions within the second preset time is greater than the first preset number, and outputs a second level signal to the first signal control end and the second signal control end, and controls the first switch module and the second switch module to be in a closed state.
[0098] Specifically, since the electronic lock is driven by the conduction of the electronic lock coil and the conversion of electrical energy into kinetic energy, in order to prevent the electronic lock from performing actions for a long time and causing overheating, when the control system detects that the number of electronic lock actions is greater than the first preset time (such as 10 times) within the second preset time (such as 30 seconds), the embodiment of the present application outputs a low-level signal to the first signal control terminal S1 and the second signal control terminal S2 to control the first transistor 21, the second transistor 22, the third transistor 31 and the fourth transistor 32 to be in the off state. That is, in the embodiment of the present application, when the action of the electronic lock occurs more than 10 times in a row within 30 seconds, the action of the electronic lock is stopped to prevent the electronic lock from being damaged by overheating due to frequent actions.
[0099] Optionally, the control method in the embodiment of the present application further includes:
[0100] The control system outputs a first level signal to the first signal control terminal S1 to control the first switch module 2 to be in an open state; and outputs a second level signal to the second signal control terminal S2 to control the second switch module 3 to be in a closed state;
[0101] The control system receives the feedback signal fed back by the detection terminal 12, and if the feedback signal is a high-level signal, it is determined that the electronic lock fails to operate;
[0102] The control system outputs a first level signal to the first signal control terminal S1 and a second level signal to the second signal control terminal S2 after every third preset time interval, and receives a feedback signal fed back by the detection terminal 12 in real time. If it is determined that the number of high level signals received is greater than the second preset number, the control system outputs a second level signal to the first signal control terminal S1 and the second signal control terminal S2 to control the first switch module and the second switch module 3 to be in a closed state.
[0103] Specifically, when the control system outputs a high level to the first signal control terminal S1, the first switch module 2 is controlled to be in an open state; and outputs a low level to the second signal control terminal S2, the second switch module 3 is controlled to be in a closed state; the control system receives the feedback signal fed back by the detection terminal, and if the feedback signal is a high level signal, it is determined that the electronic lock fails to unlock. The control system outputs a high level to the first signal control terminal S1 and a low level to the second signal control terminal S2 after a third preset time interval (such as 500 milliseconds), and receives the feedback signal fed back by the detection terminal 12 in real time. If it is determined that the number of high-level signals received is greater than the second preset number (such as 3 times), a low level is output to the first signal control terminal S1 and the second signal control terminal S2, and the first switch module and the second switch module 3 are controlled to be in a closed state. In this way, reliable unlocking can be ensured as much as possible, and the unlocking failure caused by excessive friction can be overcome, and reliable operation can be ensured when the friction of the lock hole is too large.
[0104] Optionally, the control method in the embodiment of the present application further includes:
[0105] The control system outputs a second level signal to the first signal control terminal S1 to control the first switch module 2 to be in a closed state; and outputs a first level signal to the second signal control terminal S2 to control the second switch module 3 to be in an open state;
[0106] The control system receives the feedback signal fed back by the detection end, and if the feedback signal is a low-level signal, it is determined that the electronic lock fails to operate;
[0107] The control system outputs a second level signal to the first signal control terminal after every third preset time interval, outputs a first level signal to the second signal control terminal, and receives a feedback signal fed back by the detection terminal in real time. If it is determined that the number of low-level signals received is greater than the second preset number, the control system outputs a second level signal to the first signal control terminal S1 and the second signal control terminal S2 to control the first switch module 2 and the second switch module 3 to be in a closed state.
[0108] Specifically, when the control system outputs a low level to the first signal control terminal S1, the first switch module 2 is controlled to be in a closed state; and a high level is output to the second signal control terminal S2, the second switch module 3 is controlled to be in an open state; the control system receives the feedback signal fed back by the detection terminal, and if the feedback signal is a low level signal, it is determined that the electronic lock fails to lock. The control system outputs a low level to the first signal control terminal S1 and a high level to the second signal control terminal S2 after a third preset time interval (such as 500 milliseconds), and receives the feedback signal fed back by the detection terminal 12 in real time. If it is determined that the number of low-level signals received is greater than the second preset number (such as 3 times), a low level is output to the first signal control terminal S1 and the second signal control terminal S2, and the first switch module and the second switch module 3 are controlled to be in a closed state. In this way, reliable locking can be ensured as much as possible, the locking failure caused by excessive friction can be overcome, and reliable operation can be ensured when the friction of the lock hole is too large.
[0109] The beneficial effects obtained by applying the embodiments of the present application include:
[0110] 1. Since the control circuit of the embodiment of the present application includes: a first switch module 2, a second switch module 3, a first power module 4 and a second power module 5; the embodiment of the present application can control the unlocking of the electronic lock by controlling the first switch module 2 to be in an open state and controlling the second switch module 3 to be in a closed state; and can control the locking of the electronic lock by controlling the first switch module 2 to be in a closed state and controlling the second switch module 3 to be in an open state. The control circuit provided in the embodiment of the present application can simply realize the unlocking or locking action of controlling the electronic lock.
[0111] 2. In the embodiment of the present application, since the duration of the low-level signal received by the first signal control terminal S1 and the second signal control terminal S2 is a preset duration (such as 500 milliseconds), the embodiment of the present application allows the electronic lock to perform subsequent electronic lock actions only 500 milliseconds after the previous electronic lock action is completed, thereby preventing the electronic lock from frequently operating.
[0112] 3. In the embodiment of the present application, if the control circuit can determine that the number of times the electronic lock is actuated is greater than the preset number (10 times) within a preset time (such as 30 seconds), a low-level signal is output to the first signal control terminal S1 and the second signal control terminal S2 to disconnect the first switch module 2 and the second switch module 3, stop the electronic lock from actuating, and prevent the electronic lock from being damaged by overheating due to frequent actuation.
[0113] 4. In the embodiment of the present application, if the control system detects that the feedback state is inconsistent after the electronic lock is actuated, that is, the feedback signal fed back by the detection end 12 to the control system after locking is a low-level signal, and the feedback signal fed back by the detection end 12 to the control system after unlocking is a high-level signal, the electronic lock action is repeated three times, and the interval time of each electronic lock action is 500ms. If the feedback state is still detected to be inconsistent, the electronic lock action is stopped to ensure that the electronic lock is reliably locked or unlocked as much as possible, overcome the locking or unlocking failure caused by excessive friction, and ensure that it can still operate reliably when the friction of the lock hole is too large.
[0114] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A control circuit for an electronic lock, It is characterized in that include: A first switch module, a second switch module, a first power module and a second power module; The first switch module is respectively connected to the first power module, the second power module, the first signal control terminal, the first node, the second node and the grounding point; The second switch module is respectively connected to the first power module, the second power module, the second signal control terminal, the first node, the second node and the grounding point; The first node is connected to the second pin of the electronic lock, and the second node is connected to the first pin of the electronic lock; When the electronic lock needs to be unlocked, the first switch module is used to be in an open state under the control of the first signal control end, and the second switch module is used to be in a closed state under the control of the second signal control end; When the electronic lock needs to be locked, the first switch module is used to be in a closed state under the control of the first signal control end, and the second switch module is used to be in an open state under the control of the second signal control end; The control circuit further includes a third switch module, which is respectively connected to the third power supply module, the third node, the grounding point and the detection end, and the third node is connected to the detection pin of the electronic lock, so that when the electronic lock is unlocked, the first pin is closed with the detection pin, so that the level of the detection end is a low level; and when the electronic lock is locked, the first pin is disconnected from the detection pin, so that the level of the detection end is a high level.
2. The control circuit according to claim 1, It is characterized in that The first switch module includes a first transistor and a second transistor; The gate of the first transistor is connected to the first signal control terminal, the first electrode is connected to the first power module, and the second electrode is connected to the first node and the second power module; The gate of the second transistor is connected to the first signal control terminal, the first electrode is connected to the second node, and the second electrode is connected to the ground point.
3. The control circuit according to claim 1, It is characterized in that The second switch module includes a third transistor and a fourth transistor; The gate of the third transistor is connected to the second signal control terminal, the first electrode is connected to the first power module, and the second electrode is connected to the second node; The gate of the fourth transistor is connected to the second signal control terminal, the first electrode is connected to the first node and the second power supply module, and the second electrode is connected to the ground point.
4. The control circuit according to claim 1, It is characterized in that The third switch module includes a transistor, a first resistor and a second resistor; One end of the first resistor is connected to the third node, and the other end is connected to the base of the transistor; One end of the second resistor is connected to the base of the transistor, and the other end is connected to the ground point; The collector of the transistor is connected to the third power supply module, and the emitter is connected to the ground point.
5. The control circuit according to claim 4, It is characterized in that The first power supply module comprises a first power supply voltage output terminal; The second power supply module comprises a second power supply voltage output terminal, and a third resistor connected to the second power supply voltage output terminal; The third power supply module includes a second power supply voltage output terminal and a fourth resistor connected to the second power supply voltage output terminal.
6. A vehicle charger, comprising a control system, It is characterized in that Also comprising: a control circuit as claimed in any one of claims 1 to 5; The detection end is connected to the control system and is used to feed back a low level signal or a high level signal to the control system.
7. A smart car, It is characterized in that include: The on-board charger and electronic lock as claimed in claim 6; The control circuit is electrically connected to the electronic lock and is used to control the unlocking or locking of the electronic lock.
8. A control method for a vehicle charger as claimed in claim 6, It is characterized in that include: The control system receives a feedback signal fed back by the detection end, and determines that the electronic lock action is completed according to the feedback signal; the electronic lock action includes locking the electronic lock and unlocking the electronic lock; The control system outputs a second level signal to the first signal control end and the second signal control end after a first preset time, controlling the first switch module and the second switch module to be in a closed state; and the duration of the second level signal received by the first signal control end and the second signal control end is a preset duration.
9. The control method according to claim 8, It is characterized in that The control system receives a feedback signal fed back by the detection end, and determines that the electronic lock action is completed according to the feedback signal, including: The control system outputs a first level signal to the first signal control terminal to control the first switch module to be in an open state; and outputs a second level signal to the second signal control terminal to control the second switch module to be in a closed state; the control system receives a feedback signal fed back by the detection terminal, and if the feedback signal is a low level signal, it is determined that the electronic lock action is completed; or, The control system outputs a second level signal to the first signal control end to control the first switch module to be in a closed state; and outputs a first level signal to the second signal control end to control the second switch module to be in an open state; the control system receives a feedback signal fed back by the detection end, and if the feedback signal is a high level signal, it is determined that the electronic lock action is completed.
10. The control method according to claim 9, It is characterized in that The method further includes: The control system receives a feedback signal from the detection end, and determines that the electronic lock action is completed according to the feedback signal; The control system detects that the number of times the electronic lock is actuated is greater than the first preset number within the second preset time, and outputs a second level signal to the first signal control end and the second signal control end to control the first switch module and the second switch module to be in a closed state.
11. The control method according to claim 9, It is characterized in that The method further includes: The control system outputs a first level signal to the first signal control end to control the first switch module to be in an open state; and outputs a second level signal to the second signal control end to control the second switch module to be in a closed state; The control system receives the feedback signal fed back by the detection end, and if the feedback signal is a high-level signal, it is determined that the electronic lock fails to operate; The control system outputs a first level signal to the first signal control end and a second level signal to the second signal control end after every third preset time interval, and receives a feedback signal fed back by the detection end in real time. If it is determined that the number of times the high level signal is received is greater than the second preset number, the control system outputs a second level signal to the first signal control end and the second signal control end to control the first switch module and the second switch module to be in a closed state.
12. The control method according to claim 9, It is characterized in that The method further includes: The control system outputs a second level signal to the first signal control end to control the first switch module to be in a closed state; and outputs a first level signal to the second signal control end to control the second switch module to be in an open state; The control system receives a feedback signal from the detection end, and if the feedback signal is a low-level signal, it is determined that the electronic lock fails to operate; The control system outputs a second level signal to the first signal control end after every third preset time interval, outputs a first level signal to the second signal control end, and receives a feedback signal fed back by the detection end in real time. If it is determined that the number of times the low level signal is received is greater than the second preset number, the control system outputs a second level signal to the first signal control end and the second signal control end to control the first switch module and the second switch module to be in a closed state.
Citation Information
Patent Citations
Electronic lock unlocking circuit , electronic lock drive circuit and charging device
CN208737558U
Variable index mechanism for glass press
US3362807A
Lock, especially for a lock installation
US6260392B1
