CN110905309B - Control system and method of electronic lock and vehicle - Google Patents

Control system and method of electronic lock and vehicle Download PDF

Info

Publication number
CN110905309B
CN110905309B CN201911127202.1A CN201911127202A CN110905309B CN 110905309 B CN110905309 B CN 110905309B CN 201911127202 A CN201911127202 A CN 201911127202A CN 110905309 B CN110905309 B CN 110905309B
Authority
CN
China
Prior art keywords
electronic lock
time
voltage signal
diode
automatically locked
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911127202.1A
Other languages
Chinese (zh)
Other versions
CN110905309A (en
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.)
Beijing Electric Vehicle Co Ltd
Original Assignee
Beijing Electric Vehicle 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 Beijing Electric Vehicle Co Ltd filed Critical Beijing Electric Vehicle Co Ltd
Priority to CN201911127202.1A priority Critical patent/CN110905309B/en
Publication of CN110905309A publication Critical patent/CN110905309A/en
Application granted granted Critical
Publication of CN110905309B publication Critical patent/CN110905309B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B77/00Vehicle locks characterised by special functions or purposes
    • E05B77/44Burglar prevention, e.g. protecting against opening by unauthorised tools
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B81/00Power-actuated vehicle locks
    • E05B81/02Power-actuated vehicle locks characterised by the type of actuators used
    • E05B81/04Electrical
    • E05B81/06Electrical using rotary motors
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B81/00Power-actuated vehicle locks
    • E05B81/54Electrical circuits
    • E05B81/56Control of actuators
    • E05B81/60Control of actuators using pulse control, e.g. pulse-width modulation
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B81/00Power-actuated vehicle locks
    • E05B81/54Electrical circuits
    • E05B81/64Monitoring or sensing, e.g. by using switches or sensors
    • E05B81/72Monitoring or sensing, e.g. by using switches or sensors the lock status, i.e. locked or unlocked condition

Abstract

The invention provides a control system and a method of an electronic lock and a vehicle, wherein the control system comprises: an electronic lock; the controller is used for inputting a first forward driving pulse voltage signal with a pulse width of a first time to the electronic lock after receiving a locking instruction of the electronic lock so as to control the electronic lock to be automatically locked, and inputting a second forward driving pulse voltage signal with a pulse width of a third time to the electronic lock every second time after the electronic lock is automatically locked, wherein the second time is longer than the first time, and the first time is longer than the third time; and the detection unit is used for judging whether the electronic lock is manually unlocked after the electronic lock is automatically locked according to whether the state voltage signal output by the electronic lock is detected. Therefore, after the electronic lock is automatically locked, the state of the electronic lock is monitored in real time, the state of the electronic lock is accurately fed back, and the anti-theft function of the whole vehicle is perfected in a mode that the controller periodically sends a second forward driving pulse voltage signal.

Description

Control system and method of electronic lock and vehicle
Technical Field
The invention relates to the technical field of automobiles, in particular to a control system of an electronic lock, a control method of the electronic lock and a vehicle.
Background
At present, the electronic lock on the market is usually unlocked and locked in a pulse driving manner, and the position of the electronic lock is fed back during the pulse driving power supply period. The electronic lock position feedback time is short due to the short power-on time of the pulse driving mode, so that the electronic lock control strategy of the whole vehicle charging port in the related art can feed back the position signal of the electronic lock only when a Battery Management System (BMS) instruction is executed.
However, the applicant finds that if a user unlocks the electronic lock through the electronic lock quick unlocking device in the using process and fails to monitor the unlocking state of the electronic lock, the situation that wrong state information of the electronic lock is reported may occur, which is contrary to the whole vehicle anti-theft function.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, the first objective of the present invention is to provide a control system of an electronic lock, which can realize real-time monitoring of the state of the electronic lock, accurately feed back the state of the electronic lock, and improve the anti-theft function of the whole vehicle.
The second objective of the present invention is to provide a control method for an electronic lock.
A third object of the invention is to propose a vehicle.
To achieve the above object, an embodiment of the present invention provides a control system for an electronic lock, including: an electronic lock; the controller is used for inputting a first forward driving pulse voltage signal with a pulse width of a first time to the electronic lock after receiving a locking instruction of the electronic lock so as to control the electronic lock to be automatically locked, and inputting a second forward driving pulse voltage signal with a pulse width of a third time to the electronic lock every second time after the electronic lock is automatically locked, wherein the second time is longer than the first time, and the first time is longer than the third time; and the detection unit is used for judging whether the electronic lock is manually unlocked after the electronic lock is automatically locked according to whether the state voltage signal output by the electronic lock is detected.
According to the control system of the electronic lock, after the controller receives the locking instruction of the electronic lock, a first forward driving pulse voltage signal with the pulse width of the first time is input into the electronic lock to control the electronic lock to be automatically locked, a second forward driving pulse voltage signal with the pulse width of the third time is input into the electronic lock every second time after the electronic lock is automatically locked, and whether the electronic lock is manually unlocked after the electronic lock is automatically locked is judged through the detection unit according to whether the state voltage signal output by the electronic lock is detected. Therefore, after the electronic lock is automatically locked, the state of the electronic lock is monitored in real time, the state of the electronic lock is accurately fed back, and the anti-theft function of the whole vehicle is perfected in a mode that the controller periodically sends a second forward driving pulse voltage signal.
In addition, the control system of the electronic lock according to the above embodiment of the present invention may further have the following additional technical features:
according to an embodiment of the invention, the controller is further configured to: after an electronic lock unlocking instruction is received, a negative driving pulse voltage signal with the pulse width of the first time is input into the electronic lock so as to control the electronic lock to be automatically unlocked.
According to an embodiment of the present invention, the detection unit is specifically configured to: detecting a state voltage signal output by the electronic lock, and judging that the electronic lock is manually unlocked after the electronic lock is automatically locked; and if the state voltage signal output by the electronic lock is not detected, judging that the electronic lock is not manually unlocked after the electronic lock is automatically locked.
According to one embodiment of the present invention, the electronic lock includes: an input positive terminal and an input negative terminal; a first switch, a first end of the first switch is connected with the positive input terminal; a first diode, a cathode of the first diode being connected to the positive input terminal; a first end of the motor is connected with an anode of the first diode; a cathode of the second diode is connected with a first end of the motor, and an anode of the second diode is connected with a second end of the first switch; the anode of the third diode is connected with the second end of the motor, and the cathode of the third diode is connected with the negative input end; a second switch, a first end of the second switch being connected to the negative input terminal; a cathode of the fourth diode is connected with the second end of the motor, and an anode of the fourth diode is connected with the second end of the second switch; an anode of the fifth diode is connected with the second end of the first switch, and a cathode of the fifth diode is connected with the detection unit; and the anode of the sixth diode is connected with the second end of the second switch, and the cathode of the sixth diode is connected with the detection unit.
According to one embodiment of the invention, the detection unit comprises: the first end of the pull-down resistor is connected with the electronic lock, and the second end of the pull-down resistor is grounded; and the detection circuit is connected with the first end of the pull-down resistor.
According to an embodiment of the present invention, the first time has a value ranging from 450 milliseconds to 550 milliseconds, the second time has a value ranging from 900 milliseconds to 1100 milliseconds, and the third time has a value ranging from 15 milliseconds to 25 milliseconds.
In order to achieve the above object, a control method of an electronic lock according to an embodiment of a second aspect of the present invention includes: after receiving an electronic lock locking instruction, inputting a first forward driving pulse voltage signal with a pulse width of a first time to an electronic lock to control the electronic lock to be automatically locked, and after the electronic lock is automatically locked, inputting a second forward driving pulse voltage signal with a pulse width of a third time to the electronic lock at intervals of a second time, wherein the second time is longer than the first time, and the first time is longer than the third time; and judging whether the electronic lock is manually unlocked after the electronic lock is automatically locked according to whether the state voltage signal output by the electronic lock is detected.
According to the control method of the electronic lock, after the locking instruction of the electronic lock is received, a first forward driving pulse voltage signal with the pulse width of the first time is input into the electronic lock to control the electronic lock to be automatically locked, after the electronic lock is automatically locked, a second forward driving pulse voltage signal with the pulse width of the third time is input into the electronic lock every second time, and whether the electronic lock is manually unlocked after the electronic lock is automatically locked is judged according to whether the state voltage signal output by the electronic lock is detected. Therefore, after the electronic lock is automatically locked, the state of the electronic lock is monitored in real time in a mode of periodically sending a second forward driving pulse voltage signal, the state of the electronic lock is accurately fed back, and the anti-theft function of the whole vehicle is perfected.
In addition, the control method of the electronic lock according to the above embodiment of the present invention may further have the following additional technical features:
according to an embodiment of the present invention, a method for controlling an electronic lock further includes: after an electronic lock unlocking instruction is received, a negative driving pulse voltage signal with the pulse width of the first time is input into the electronic lock so as to control the electronic lock to be automatically unlocked.
According to an embodiment of the present invention, a method for controlling an electronic lock further includes: detecting a state voltage signal output by the electronic lock, and judging that the electronic lock is manually unlocked after the electronic lock is automatically locked; and if the state voltage signal output by the electronic lock is not detected, judging that the electronic lock is not manually unlocked after the electronic lock is automatically locked.
In order to achieve the above object, a vehicle according to an embodiment of a third aspect of the present invention includes the control system of the electronic lock.
According to the vehicle provided by the embodiment of the invention, the control system of the electronic lock is adopted, so that the real-time monitoring of the state of the electronic lock can be realized, the state of the electronic lock can be accurately fed back, and the anti-theft function of the whole vehicle is perfected.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a block diagram of a control system of an electronic lock according to an embodiment of the present invention;
FIG. 2 is a schematic circuit diagram of an electronic lock and detection unit in accordance with one embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for controlling an electronic lock according to an embodiment of the invention;
FIG. 4 is a flowchart illustrating a method for controlling an electronic lock according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a method for controlling an electronic lock according to an embodiment of the present invention;
FIG. 6 is a block schematic diagram of a vehicle according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A control system, a method, and a vehicle of an electronic lock of an embodiment of the invention are described below with reference to the drawings.
It should be noted that, considering that there may be a need for manual unlocking in an actual charging process of a user, if the controller continuously drives the electronic lock at the forward level, when the user needs to manually unlock, because the controller continuously outputs the forward level drive, a situation that the controller directly drives to lock just after the user completes manual unlocking occurs, which seriously affects user experience.
In addition, according to the control strategy of the electronic lock in the prior art, the controller only applies pulses to the electronic lock when executing the BMS command to drive the electronic lock to be locked or unlocked, and in other cases, if there is a manual unlocking demand in the charging process, the entire vehicle controller may not detect the real state of the electronic lock due to the fact that the driving of the electronic lock does not supply power, which is not beneficial to the realization of the entire vehicle anti-theft function.
Therefore, the embodiment of the invention provides a control system 100 of an electronic lock, which can realize real-time monitoring of the state of the electronic lock, accurately feed back the state of the electronic lock and perfect the anti-theft function of the whole vehicle.
Fig. 1 is a block diagram illustrating a control system of an electronic lock according to an embodiment of the present invention.
As shown in fig. 1, a control system 100 of an electronic lock includes: electronic lock 1, controller 2 and detecting element 3.
The controller 2 is configured to input a first forward driving pulse voltage signal with a pulse width of a first time to the electronic lock 1 after receiving an electronic lock locking instruction, so as to control the electronic lock 1 to automatically lock, and input a second forward driving pulse voltage signal with a pulse width of a third time to the electronic lock 1 every second time after the electronic lock 1 is automatically locked; the detection unit 3 is configured to determine whether the electronic lock 1 is manually unlocked after the electronic lock 1 is automatically locked according to whether the state voltage signal output by the electronic lock 1 is detected.
It should be noted that the second time is longer than the first time, and the first time is longer than the third time.
Optionally, the first time may have a value in a range of 450 ms to 550 ms, the second time may have a value in a range of 900 ms to 1100 ms, and the third time may have a value in a range of 15 ms to 25 ms, for example, in an embodiment of the present invention, the first time may be preferably 500 ms, the second time may be preferably 1000 ms (1 second), and the third time may be preferably 20 ms.
For example, after the controller 2 receives the electronic lock locking instruction, a first forward driving pulse voltage signal with a pulse width of 500 milliseconds is input to the electronic lock 1 to control the electronic lock 1 to be automatically locked, and after the electronic lock 1 is automatically locked, a second forward driving pulse voltage signal with a pulse width of 20 milliseconds is input to the electronic lock 1 every 1000 milliseconds, that is, the controller 2 periodically sends a short pulse to the electronic lock 1, and further, the detection unit 3 determines whether the electronic lock 1 is manually unlocked after the electronic lock 1 is automatically locked according to whether the state voltage signal output by the electronic lock 1 is detected.
It should be understood that, since the pulse width (the third time) of the second forward driving pulse voltage signal is smaller than the pulse width (the first time) of the first forward driving pulse voltage signal, the electronic lock 1 is not locked, and meanwhile, a corresponding driving pulse can be provided for the state monitoring of the electronic lock 1, so that the real-time monitoring of the state of the electronic lock 1 is realized, and the state of the electronic lock 1 is accurately fed back.
Further, in the embodiment of the present invention, the controller 2 is further configured to: after receiving an unlocking instruction of the electronic lock, inputting a negative driving pulse voltage signal with the pulse width of the first time to the electronic lock 1 so as to control the electronic lock 1 to automatically unlock.
That is, after the controller 2 receives an unlocking instruction of the electronic lock, a negative driving pulse voltage signal with a pulse width of a first time is input to the electronic lock 1 to control the electronic lock 1 to automatically unlock.
Alternatively, after the electronic lock 1 completes the automatic unlocking, a second forward driving pulse voltage signal with a pulse width of 20 milliseconds may be input to the electronic lock 1 every 1000 milliseconds, that is, the controller 2 periodically sends a short pulse to the electronic lock 1, and then, the detecting unit 3 determines whether the electronic lock 1 is manually locked after the electronic lock 1 completes the automatic unlocking according to whether the state voltage signal output by the electronic lock 1 is detected.
Further, in the embodiment of the present invention, the detecting unit 3 is specifically configured to: detecting a state voltage signal output by the electronic lock 1, and judging that the electronic lock 1 is manually unlocked after the electronic lock 1 is automatically locked; if the state voltage signal output by the electronic lock 1 is not detected, it is determined that the electronic lock 1 is not manually unlocked after the electronic lock 1 is automatically locked.
Specifically, in the embodiment of the present invention, when the detection unit 3 detects the state voltage signal output by the electronic lock 1, it may be considered that the electronic lock 1 is manually unlocked after the electronic lock 1 is automatically locked, and when the detection unit 3 does not detect the state voltage signal output by the electronic lock 1, it may be considered that the electronic lock 1 is not manually unlocked after the electronic lock 1 is automatically locked, so that, if there is a manual unlocking requirement during the charging process, the situation that the vehicle controller cannot detect the real state of the electronic lock due to the fact that the power is not supplied to the electronic lock is avoided, and the vehicle anti-theft function is improved.
The structure of the electronic lock 1 and the detecting unit 3 will be described with reference to fig. 2 and the embodiment of the present invention.
Specifically, in the embodiment of the present invention, as shown in fig. 2, the electronic lock 1 includes: an input positive terminal 11, an input negative terminal 12, a first switch 13, a first diode 14, a motor 15, a second diode 16, a third diode 17, a second switch 18, a fourth diode 19, a fifth diode 20, and a sixth diode 21.
Wherein, the first end of the first switch 13 is connected with the input positive end 11; the cathode of the first diode 14 is connected to the positive input terminal 11; a first terminal of the motor 15 is connected to an anode of the first diode 14; the cathode of the second diode 16 is connected with the first end of the motor 15, and the anode of the second diode 16 is connected with the second end of the first switch 13; the anode of the third diode 17 is connected with the second end of the motor 15, and the cathode of the third diode 17 is connected with the input negative end 12; a first end of the second switch 18 is connected with the input negative terminal 12; the cathode of the fourth diode 19 is connected to the second end of the motor 15, and the anode of the fourth diode 19 is connected to the second end of the second switch 18; the anode of the fifth diode 20 is connected to the second end of the first switch 13, and the cathode of the fifth diode 20 is connected to the detection unit 3; an anode of the sixth diode 21 is connected to the second terminal of the second switch 18, and a cathode of the sixth diode 21 is connected to the detection unit 3.
Specifically, after the controller 2 receives the electronic lock locking instruction, and outputs a first forward driving pulse voltage signal with a pulse width of 500 milliseconds through the input positive terminal 11, since the first switch 13 is in a normally closed state, the first diode 14, the second diode 16 and the fifth diode 20 are turned on, and the electronic lock 1 is automatically locked, at this time, the detection unit 3 is connected to the electronic lock 1 through the sixth diode 20 to detect the state of the electronic lock 1.
And after the electronic lock 1 finishes the automatic locking, the first switch 13 is changed from the normally closed state to the normally open state, at this time, if the user carries out the manual unlocking operation, the first switch 13 is changed from the normally open state to the normally closed state again, therefore, a second forward driving pulse voltage signal with the pulse width of 20 milliseconds is input to the electronic lock 1 every 1000 milliseconds through the controller 2, and further, whether the electronic lock 1 is manually unlocked after the electronic lock 1 finishes the automatic locking is judged through the detection unit 3 according to whether the state voltage signal output by the electronic lock 1 is detected.
Similarly, when the controller 2 receives an unlocking instruction of the electronic lock and outputs a first forward driving pulse voltage signal with a pulse width of 500 milliseconds through the input negative terminal 12, the electronic lock 1 is automatically unlocked because the second switch 18 is in a normally closed state and the third diode 17, the fourth diode 19 and the sixth diode 21 are conducted, and at this time, the detection unit 3 is connected to the electronic lock 1 through the sixth diode 21 to detect the state of the electronic lock 1.
And after the electronic lock 1 finishes the automatic unlocking, the second switch 18 is changed from the normally closed state to the normally open state, at this time, if a user carries out the manual unlocking operation, the second switch 18 is changed from the normally open state to the normally closed state again, therefore, a second forward driving pulse voltage signal with the pulse width of 20 milliseconds is input to the electronic lock 1 every 1000 milliseconds through the controller 2, and further, whether the electronic lock 1 is manually locked after the electronic lock 1 finishes the automatic unlocking is judged through the detection unit 3 according to whether the state voltage signal output by the electronic lock 1 is detected.
It should be understood that, when the electronic lock 1 is automatically locked, the first switch 13 is turned from the normally closed state to the normally open state, and the second switch 18 is in the inactive state (i.e. in the normally open state), and, when the electronic lock 1 is automatically unlocked, the second switch 18 is turned from the normally closed state to the normally open state, and the first switch 13 is in the inactive state (i.e. in the normally open state).
Further, in the embodiment of the present invention, as shown in fig. 2, the detection unit 3 includes: a pull-down resistor 31 and a detection circuit 32.
A first end of the pull-down resistor 31 is connected with the electronic lock 1, and a second end of the pull-down resistor 31 is grounded; the detection circuit 32 is connected to a first terminal of the pull-down resistor 31.
That is, the detection unit 3 may determine whether the electronic lock 1 is manually unlocked or locked after the electronic lock 1 is automatically locked or unlocked by the detection circuit 32 according to whether the state voltage signal output by the electronic lock 1 on the pull-down resistor 31 is detected.
Specifically, in order to realize real-time monitoring of the state of the electronic lock 1 of the whole vehicle, the embodiment of the invention provides a method for monitoring the state of the electronic lock 1 in real time by periodically sending short pulses through the controller 2. Taking the control strategy of the electronic lock 1 for locking as an example, when the electronic lock 1 is normally locked, the controller 2 outputs a first forward driving pulse voltage signal with a pulse width of 500 milliseconds to control the electronic lock 1 to be automatically locked, and after the electronic lock 1 is automatically locked, the controller 2 sends a second forward driving pulse voltage signal with a pulse width of 20 milliseconds to the electronic lock 1 every 1000 milliseconds, so as to realize real-time monitoring of the state of the electronic lock. At this time, if the manual unlocking by the user is completed, the state of the first switch 13 is normally closed, and the controller 2 sends a second forward driving pulse voltage signal with a pulse width of 20 milliseconds, the control unit 4 may detect the voltage through the detection circuit 32, and may know that the electronic lock 1 has performed the manual unlocking operation, and at the same time, the second forward driving pulse voltage signal with a pulse width of 20 milliseconds may not cause the locking of the electronic lock 1, that is, the electronic lock 1 according to the embodiment of the present invention may detect the user behavior of reporting the manual unlocking in real time, and at the same time, the user may perform the gun pulling (charging) operation.
Furthermore, it should be understood that, in the case where the electronic lock 1 is not manually unlocked, the state of the first switch 13 is normally open, and the controller 2 does not form a closed loop for the driving circuit of the electronic lock 1, and the power consumption of the controller 2 is not increased.
That is to say, the control system of the electronic lock of the embodiment of the invention can realize real-time monitoring of the state of the electronic lock 1 at the charging port of the whole vehicle, accurately feed back the state of the electronic lock 1, better serve the anti-theft function of the whole vehicle, improve the user experience, and simultaneously, cannot increase the additional power consumption of the controller 2 or the whole vehicle.
In addition, the control strategy for unlocking the electronic lock 1 is opposite to the control strategy, and is not described herein again.
In summary, according to the control system of the electronic lock of the embodiment of the invention, after the controller receives the electronic lock locking instruction, the controller inputs a first forward driving pulse voltage signal with a pulse width of a first time to the electronic lock to control the electronic lock to be automatically locked, and after the electronic lock is automatically locked, the controller inputs a second forward driving pulse voltage signal with a pulse width of a third time to the electronic lock at intervals of a second time, and the detection unit determines whether the electronic lock is manually unlocked after the electronic lock is automatically locked according to whether the detection unit detects the status voltage signal output by the electronic lock. Therefore, after the electronic lock is automatically locked, the state of the electronic lock is monitored in real time, the state of the electronic lock is accurately fed back, and the anti-theft function of the whole vehicle is perfected in a mode that the controller periodically sends a second forward driving pulse voltage signal.
Fig. 3 is a flowchart illustrating a control method of an electronic lock according to an embodiment of the invention.
As shown in the figure, the control method of the electronic lock comprises the following steps:
s101, after receiving an electronic lock locking instruction, inputting a first forward driving pulse voltage signal with a pulse width of a first time to the electronic lock to control the electronic lock to be automatically locked, and after the electronic lock is automatically locked, inputting a second forward driving pulse voltage signal with a pulse width of a third time to the electronic lock at intervals of a second time.
That is, after receiving the locking instruction of the electronic lock, a first forward driving pulse voltage signal with a pulse width of a first time is input into the electronic lock to control the electronic lock to be automatically locked, and after the electronic lock is automatically locked, a second forward driving pulse voltage signal with a pulse width of a third time is input into the electronic lock every second time, wherein the second time is longer than the first time, and the first time is longer than the third time.
And S102, judging whether the electronic lock is manually unlocked after the electronic lock is automatically locked according to whether the state voltage signal output by the electronic lock is detected.
After a second forward driving pulse voltage signal with a pulse width of a third time is input to the electronic lock every second time, whether the electronic lock is manually unlocked after the electronic lock is automatically locked is judged according to whether a state voltage signal output by the electronic lock is detected.
Further, in an embodiment of the present invention, as shown in fig. 4, the method for controlling an electronic lock further includes:
and S103, after receiving an unlocking instruction of the electronic lock, inputting a negative driving pulse voltage signal with the pulse width of the first time to the electronic lock so as to control the electronic lock to automatically unlock.
That is, after receiving an unlocking instruction of the electronic lock, a negative driving pulse voltage signal with a pulse width of a first time is input into the electronic lock to control the electronic lock to automatically unlock.
Further, in an embodiment of the present invention, as shown in fig. 5, the method for controlling an electronic lock further includes:
s201, detecting a state voltage signal output by the electronic lock, and judging that the electronic lock is manually unlocked after the electronic lock is automatically locked.
That is, when the state voltage signal output by the electronic lock is detected, it is determined that the electronic lock is manually unlocked after the electronic lock is automatically locked.
S202, if the state voltage signal output by the electronic lock is not detected, it is judged that the electronic lock is not manually unlocked after the electronic lock is automatically locked.
That is, when the state voltage signal output by the electronic lock is not detected, it is determined that the electronic lock is not manually unlocked after the electronic lock is automatically locked.
It should be noted that the control method of the electronic lock according to the embodiment of the present invention corresponds to the specific implementation of the control system of the electronic lock according to the embodiment of the present invention, and details are not described herein again.
In summary, according to the control method of the electronic lock of the embodiment of the invention, after receiving the electronic lock locking instruction, the controller inputs a first forward driving pulse voltage signal with a pulse width of a first time to the electronic lock to control the electronic lock to be automatically locked, and after the electronic lock is automatically locked, a second forward driving pulse voltage signal with a pulse width of a third time is input to the electronic lock every second time, where the second time is greater than the first time, and the first time is greater than the third time, and the detection unit determines whether the electronic lock is manually unlocked after the electronic lock is automatically locked according to whether the status voltage signal output by the electronic lock is detected. Therefore, after the electronic lock is automatically locked, the state of the electronic lock is monitored in real time, the state of the electronic lock is accurately fed back, and the anti-theft function of the whole vehicle is perfected in a mode that the controller periodically sends a second forward driving pulse voltage signal.
Based on the same inventive concept, as shown in fig. 6, an embodiment of the present invention further provides a vehicle 1000 corresponding to the control system 100 of the electronic lock.
Specifically, according to the vehicle 1000 provided by the embodiment of the present invention, the control system 100 of the electronic lock is adopted, wherein the vehicle 1000 of the embodiment of the present invention may implement a specific implementation manner corresponding to the control system 100 of the electronic lock one to one.
According to the vehicle provided by the embodiment of the invention, the control system of the electronic lock is adopted, so that the real-time monitoring of the state of the electronic lock is realized, the state of the electronic lock is accurately fed back, and the anti-theft function of the whole vehicle is perfected.
Since the vehicle described in the embodiment of the present invention is a vehicle used for implementing the control system of the electronic lock in the embodiment of the present invention, based on the system described in the embodiment of the present invention, a person skilled in the art can understand the specific structure and the modification of the vehicle, and thus the detailed description is omitted here. All vehicles adopted by the system in the embodiment of the invention belong to the protection scope of the invention.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. A control system for an electronic lock, comprising:
an electronic lock;
the controller is used for inputting a first forward driving pulse voltage signal with a pulse width of a first time to the electronic lock after receiving a locking instruction of the electronic lock so as to control the electronic lock to be automatically locked, and inputting a second forward driving pulse voltage signal with a pulse width of a third time to the electronic lock every second time after the electronic lock is automatically locked, wherein the second time is longer than the first time, and the first time is longer than the third time;
and the detection unit is used for judging whether the electronic lock is manually unlocked after the electronic lock is automatically locked according to whether the state voltage signal output by the electronic lock related to the second forward driving pulse voltage signal is detected.
2. The control system of claim 1, wherein the controller is further configured to:
after an electronic lock unlocking instruction is received, a negative driving pulse voltage signal with the pulse width of the first time is input into the electronic lock so as to control the electronic lock to be automatically unlocked.
3. The control system according to claim 1, characterized in that the detection unit is specifically configured to:
detecting a state voltage signal output by the electronic lock, and judging that the electronic lock is manually unlocked after the electronic lock is automatically locked;
and if the state voltage signal output by the electronic lock is not detected, judging that the electronic lock is not manually unlocked after the electronic lock is automatically locked.
4. The control system of claim 1, wherein the electronic lock comprises:
an input positive terminal and an input negative terminal;
a first switch, a first end of the first switch is connected with the positive input terminal;
a first diode, a cathode of the first diode being connected to the positive input terminal;
a first end of the motor is connected with an anode of the first diode;
a cathode of the second diode is connected with a first end of the motor, and an anode of the second diode is connected with a second end of the first switch;
the anode of the third diode is connected with the second end of the motor, and the cathode of the third diode is connected with the negative input end;
a second switch, a first end of the second switch being connected to the negative input terminal;
a cathode of the fourth diode is connected with the second end of the motor, and an anode of the fourth diode is connected with the second end of the second switch;
an anode of the fifth diode is connected with the second end of the first switch, and a cathode of the fifth diode is connected with the detection unit;
and the anode of the sixth diode is connected with the second end of the second switch, and the cathode of the sixth diode is connected with the detection unit.
5. The control system according to claim 1, wherein the detection unit includes:
the first end of the pull-down resistor is connected with the electronic lock, and the second end of the pull-down resistor is grounded;
and the detection circuit is connected with the first end of the pull-down resistor.
6. The control system of claim 1, wherein the first time is between 450 milliseconds and 550 milliseconds, the second time is between 900 milliseconds and 1100 milliseconds, and the third time is between 15 milliseconds and 25 milliseconds.
7. A method of controlling an electronic lock, comprising:
after receiving an electronic lock locking instruction, inputting a first forward driving pulse voltage signal with a pulse width of a first time to an electronic lock to control the electronic lock to be automatically locked, and after the electronic lock is automatically locked, inputting a second forward driving pulse voltage signal with a pulse width of a third time to the electronic lock at intervals of a second time, wherein the second time is longer than the first time, and the first time is longer than the third time;
and judging whether the electronic lock is manually unlocked after the electronic lock is automatically locked according to whether a state voltage signal output by the electronic lock related to the second forward driving pulse voltage signal is detected.
8. The control method according to claim 7, characterized by further comprising:
after an electronic lock unlocking instruction is received, a negative driving pulse voltage signal with the pulse width of the first time is input into the electronic lock so as to control the electronic lock to be automatically unlocked.
9. The control method according to claim 7, characterized by further comprising:
detecting a state voltage signal output by the electronic lock, and judging that the electronic lock is manually unlocked after the electronic lock is automatically locked;
and if the state voltage signal output by the electronic lock is not detected, judging that the electronic lock is not manually unlocked after the electronic lock is automatically locked.
10. A vehicle, characterized by comprising: a control system for an electronic lock as claimed in any one of claims 1 to 6.
CN201911127202.1A 2019-11-18 2019-11-18 Control system and method of electronic lock and vehicle Active CN110905309B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911127202.1A CN110905309B (en) 2019-11-18 2019-11-18 Control system and method of electronic lock and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911127202.1A CN110905309B (en) 2019-11-18 2019-11-18 Control system and method of electronic lock and vehicle

Publications (2)

Publication Number Publication Date
CN110905309A CN110905309A (en) 2020-03-24
CN110905309B true CN110905309B (en) 2021-09-17

Family

ID=69816972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911127202.1A Active CN110905309B (en) 2019-11-18 2019-11-18 Control system and method of electronic lock and vehicle

Country Status (1)

Country Link
CN (1) CN110905309B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111361439B (en) * 2020-04-26 2024-04-02 成都肯保捷旭阳新能源电器有限公司 Control method and device for preventing charging gun from locking
CN113787926B (en) * 2021-08-10 2023-08-01 华人运通(江苏)技术有限公司 Vehicle electronic lock control method, device and equipment and vehicle

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4215430A (en) * 1978-09-26 1980-07-29 Control Data Corporation Fast synchronization circuit for phase locked looped decoder
EP0161758A2 (en) * 1984-05-18 1985-11-21 Tektronix Inc. 50% point of amplitude and phase detector
CN2035939U (en) * 1988-06-27 1989-04-12 山东工业大学 Automatic microcomputer controller for generator load
KR20040087740A (en) * 2003-04-08 2004-10-15 주식회사 만도 Method for detecting locking state of a pump motor in a anti lock brake system
CN202889291U (en) * 2012-10-17 2013-04-17 广州市迪士普音响科技有限公司 Power amplifier protective circuit
CN205089076U (en) * 2015-10-20 2016-03-16 易思亮 Wireless device of unblanking or locking
CN105508598A (en) * 2014-09-25 2016-04-20 比亚迪股份有限公司 Parking control system and parking control method
CN105857450A (en) * 2016-05-24 2016-08-17 湖南科技学院 Remote control antitheft warning bicycle lock
CN106373228A (en) * 2016-08-29 2017-02-01 杭州巴玺电子科技有限公司 Intelligent safe passive lockset system and unlocking method thereof
CN205945212U (en) * 2016-07-13 2017-02-08 国家电网公司 Low pressure undercurrent uninterrupted power source module
CN206884781U (en) * 2017-06-07 2018-01-16 中航光电科技股份有限公司 A kind of electric vehicle and its charging socket, electronic lock
CN207233048U (en) * 2017-07-24 2018-04-13 天索(苏州)控制技术有限公司 Electric automobile electronic lock forced unlocking device, electronic lock, charging socket, Vehicular charger and electric automobile
CN107945343A (en) * 2017-12-06 2018-04-20 贾梦辉 A kind of theftproof lock of triple laser characteristics codings
CN108010167A (en) * 2017-12-14 2018-05-08 业成科技(成都)有限公司 The device and its unlocking method locked by coded lock
CN108010175A (en) * 2018-01-10 2018-05-08 云南电网有限责任公司电力科学研究院 A kind of pulse ray coded lock and password setting method, password unlocking method
CN108932765A (en) * 2017-05-24 2018-12-04 北京卡多宝信息技术有限公司 A kind of smart lock and its control method, intelligent lock system
CN109830017A (en) * 2019-02-01 2019-05-31 深圳市汇顶科技股份有限公司 Data managing method, device, equipment, system and the storage medium of smart lock
CN209523554U (en) * 2018-12-03 2019-10-22 西安朗通科技发展有限公司 A kind of electronic lock intelligent adaptive drive system
CN110453991A (en) * 2019-07-26 2019-11-15 深圳市奇辉电气有限公司 Pulsed electron lock control circuit

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19961504A1 (en) * 1999-12-20 2001-06-28 Bosch Gmbh Robert Rotational speed signal error detection method for anti-slip or anti-lock regulation system of vehicle, involves detecting speed change based on specific condition involving pulse width of falling pulses of measurement signal
JP4599260B2 (en) * 2004-09-28 2010-12-15 プライムアースEvエナジー株式会社 POWER CONTROL DEVICE, POWER CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM
JP5261888B2 (en) * 2006-05-18 2013-08-14 富士通セミコンダクター株式会社 Semiconductor memory device
US7816958B2 (en) * 2007-05-04 2010-10-19 Exar Corporation Means to reduce the PLL phase bump caused by a missing clock pulse
CN102096975A (en) * 2009-12-14 2011-06-15 周彤 Password doorbell alarm
CN106296896A (en) * 2016-07-29 2017-01-04 暨南大学 A kind of gate control system based on LED visible light communication

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4215430A (en) * 1978-09-26 1980-07-29 Control Data Corporation Fast synchronization circuit for phase locked looped decoder
EP0161758A2 (en) * 1984-05-18 1985-11-21 Tektronix Inc. 50% point of amplitude and phase detector
CN2035939U (en) * 1988-06-27 1989-04-12 山东工业大学 Automatic microcomputer controller for generator load
KR20040087740A (en) * 2003-04-08 2004-10-15 주식회사 만도 Method for detecting locking state of a pump motor in a anti lock brake system
CN202889291U (en) * 2012-10-17 2013-04-17 广州市迪士普音响科技有限公司 Power amplifier protective circuit
CN105508598A (en) * 2014-09-25 2016-04-20 比亚迪股份有限公司 Parking control system and parking control method
CN205089076U (en) * 2015-10-20 2016-03-16 易思亮 Wireless device of unblanking or locking
CN105857450A (en) * 2016-05-24 2016-08-17 湖南科技学院 Remote control antitheft warning bicycle lock
CN205945212U (en) * 2016-07-13 2017-02-08 国家电网公司 Low pressure undercurrent uninterrupted power source module
CN106373228A (en) * 2016-08-29 2017-02-01 杭州巴玺电子科技有限公司 Intelligent safe passive lockset system and unlocking method thereof
CN108932765A (en) * 2017-05-24 2018-12-04 北京卡多宝信息技术有限公司 A kind of smart lock and its control method, intelligent lock system
CN206884781U (en) * 2017-06-07 2018-01-16 中航光电科技股份有限公司 A kind of electric vehicle and its charging socket, electronic lock
CN207233048U (en) * 2017-07-24 2018-04-13 天索(苏州)控制技术有限公司 Electric automobile electronic lock forced unlocking device, electronic lock, charging socket, Vehicular charger and electric automobile
CN107945343A (en) * 2017-12-06 2018-04-20 贾梦辉 A kind of theftproof lock of triple laser characteristics codings
CN108010167A (en) * 2017-12-14 2018-05-08 业成科技(成都)有限公司 The device and its unlocking method locked by coded lock
CN108010175A (en) * 2018-01-10 2018-05-08 云南电网有限责任公司电力科学研究院 A kind of pulse ray coded lock and password setting method, password unlocking method
CN209523554U (en) * 2018-12-03 2019-10-22 西安朗通科技发展有限公司 A kind of electronic lock intelligent adaptive drive system
CN109830017A (en) * 2019-02-01 2019-05-31 深圳市汇顶科技股份有限公司 Data managing method, device, equipment, system and the storage medium of smart lock
CN110453991A (en) * 2019-07-26 2019-11-15 深圳市奇辉电气有限公司 Pulsed electron lock control circuit

Also Published As

Publication number Publication date
CN110905309A (en) 2020-03-24

Similar Documents

Publication Publication Date Title
CN109849733B (en) Device and method for detecting and processing adhesion of high-voltage relay of electric vehicle
CN110905309B (en) Control system and method of electronic lock and vehicle
EP2227850B1 (en) Method for balancing of high voltage battery pack
EP3270173B1 (en) Battery management device, battery monitoring circuit, control system
US9372216B2 (en) Electric power supply controller for vehicle
US20090108674A1 (en) Power Supply Control Device and Method of Detecting Abnormality of Relay
JP2007159280A (en) Power supply unit for vehicle
CN112721833A (en) Vehicle low-voltage power supply voltage monitoring method and system, storage medium and vehicle
US10065509B2 (en) Circuit for controlling low power DC-DC converter of hybrid vehicle and method for controlling low power DC-DC converter
JP2006115640A (en) Adjusting device for capacity of battery pack
KR20200125879A (en) System and method for controlling low voltage dc-dc converter for vehicle
US11979095B2 (en) Discharge control circuit and power conversion device
CN110481326B (en) Vehicle and collision detection device thereof
KR101861422B1 (en) Method and apparatus for monitoring a quiescent state in a motor vehicle
JP2009132366A (en) Switch control device for vehicle
KR20200124786A (en) System and method for diagnosing battery sensor
CN104168679A (en) Induction cooker and induction cooker discharge method
KR20200104709A (en) Apparatus for diagnosing reserving charging function of battery and method thereof
CN110764599B (en) Reset control device and method
CN114961447B (en) Vehicle door control method and device and vehicle
CN114156974A (en) Charging control method and device for low-voltage storage battery, central electronic control module and medium
CN115129335A (en) Remote upgrading method and device for electric automobile, T-Box and electric automobile
JP6928830B2 (en) Power management device and power management system
KR102196760B1 (en) Active-Charging-Control-Type Charger for Electronic Vehicle and an Active-Charging-Control-Type Charging Method for Electronic Vehicle
JP2012256386A (en) Program writing system

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
GR01 Patent grant
GR01 Patent grant