Locking and unlocking method of vehicle and lock body device
1. The locking and unlocking method of the vehicle is characterized by being realized by controlling a lock body device arranged on the vehicle, and comprises an unlocking process and/or a locking process;
the unlocking process comprises the following steps:
step 11: receiving an unlocking instruction;
step 12: acquiring the locking and unlocking state of the lock body;
step 13: judging whether to execute the unlocking instruction according to the locking and unlocking state;
the locking process comprises the following steps:
step 21: receiving a lock-off command
Step 22: acquiring the speed of the vehicle;
step 23: comparing the speed of the vehicle with a preset safe speed;
step 24: and judging whether to execute the locking instruction according to the result of the step 23.
2. A method of locking and unlocking a switch according to claim 1, wherein said step 13 comprises:
when the switch lock state is an unlocking state, the unlocking instruction is not executed; and
and when the switch lock state is the off-lock state, executing the unlocking instruction.
3. The method of claim 2, wherein the unlocking process further comprises sending information containing the status of the switch lock to a server and/or a user terminal.
4. The method of claim 1, wherein the unlocking process further comprises: and controlling the driving part to be electrified when the unlocking instruction is received and/or when the unlocking instruction can be executed.
5. The method of claim 1, wherein the unlocking process further comprises: after the vehicle is unlocked, the driving part is controlled to be powered off.
6. A method of locking and unlocking a switch according to claim 1, wherein said step 12 comprises:
acquiring the state of a first detection device;
acquiring the state of a second detection device;
and judging the state of the switch lock according to the state of the first detection device and/or the state of the second detection device.
7. A method of locking and unlocking a switch as claimed in claim 1, wherein said step 24 comprises:
when the speed of the vehicle is less than or equal to the preset safe speed, executing the locking instruction; and
and when the speed of the vehicle is greater than the preset safe speed, the locking instruction is not executed.
8. The method of claim 1, wherein the locking process further comprises: and controlling the driving part to be powered on when the locking instruction is received and/or when the locking instruction is judged to be executable.
9. The method of claim 1, wherein the locking process further comprises: controlling the drive component to de-energize after the vehicle is locked.
10. A method as claimed in claim 1, characterized in that the predetermined safety speed is ≤ 10 km/h.
11. A method of locking and unlocking a switch according to claim 1, wherein said step 23 comprises:
step 231: calling the vehicle speed stored in a memory of the vehicle within a preset time to be compared with the preset safe speed; and/or
Step 232: comparing the current speed of the vehicle with the preset safe speed.
12. The method of claim 11, wherein the locking process further comprises:
determining the source of the locking command, wherein when the locking command is from the user end, the step 231 is executed,
when the lock-off instruction comes from the background server, the step 232 is executed.
13. The method of claim 11, wherein the predetermined time is ≦ 5 s.
14. A lock body device for performing the locking and unlocking method according to any one of claims 1 to 13, wherein the lock body is engaged with the expansion brake, the lock body comprising:
an actuator comprising an actuator component cooperating with the expansion brake, the actuator configured to: the execution part is separated from the expansion brake to complete unlocking, and the execution part is matched with the expansion brake to complete locking when the expansion brake is in a stop state or the speed of the expansion brake is less than a preset safe speed;
the driving part is configured to drive the executing part to unlock or lock through a linkage mechanism;
the control device is connected with the driving part and is configured to respond to an unlocking instruction and/or a locking instruction and control the driving part to be powered off or powered on;
the switch detection device is coupled with the actuating mechanism and/or the linkage mechanism and is connected with the control device, and the switch detection device is configured to generate switch information under the triggering of the actuating mechanism and/or the linkage mechanism and send the switch information to the control device;
a speed detection device connected with the control device, the speed detection device being configured to detect a speed of the expansion brake and to transmit information including the speed of the expansion brake to the control device.
15. A lock body arrangement as claimed in claim 14, characterised in that said switch detection means includes at least one travel switch; the speed detection device comprises a Hall sensor and magnets which are arranged at equal intervals on the expansion brake.
Background
With the development of the internet, shared bicycles are gradually popular and are seen everywhere. People can use the shared bicycle independently and mainly depend on the control of the intelligent lock of the shared bicycle. The intelligent lock is a control center of the shared bicycle, is not only related to the safety and normal use of the shared bicycle, but also is the key point for improving the operation efficiency and reducing the cost of an operation enterprise.
The existing intelligent lock used by a shared bicycle directly executes an unlocking instruction without checking the state of a switch lock after receiving the unlocking instruction in the unlocking process. This unlocking logic easily causes the intelligent lock to have an unlocking fault. The horseshoe lock is directly executed after receiving a locking command in the locking process, and if a vehicle runs, safety accidents are easily caused after the locking command is executed.
Therefore, those skilled in the art have devoted themselves to develop a method for opening and closing a lock of a vehicle and a lock body using the same, which can determine whether to perform an unlocking operation based on an accurate judgment of the state of the opening and closing lock, and thus facilitate successful unlocking and reporting of the state of the opening and closing lock; meanwhile, locking operation can be prevented from being executed during high-speed running, and safety accidents are avoided.
Disclosure of Invention
In view of the above-mentioned defects of the prior art, the technical problem to be solved by the present invention is how to successfully unlock and report the locking/unlocking state, and how to avoid performing the locking/unlocking operation during high-speed driving.
In order to achieve the above object, the present invention provides a method for opening and closing a vehicle, the method being implemented by controlling a lock device provided in the vehicle, the method comprising an unlocking process and/or a locking process;
the unlocking process comprises the following steps:
step 11: receiving an unlocking instruction;
step 12: acquiring the locking and unlocking state of the lock body;
step 13: judging whether to execute the unlocking instruction according to the locking and unlocking state;
the locking process comprises the following steps:
step 21: receiving a lock-off command
Step 22: acquiring the speed of the vehicle;
step 23: comparing the speed of the vehicle with a preset safe speed;
step 24: and judging whether to execute the locking instruction according to the result of the step 23.
In some embodiments, optionally, the step 13 comprises:
when the switch lock state is an unlocking state, the unlocking instruction is not executed; and
and when the switch lock state is the off-lock state, executing the unlocking instruction.
In some embodiments, optionally, the unlocking process further includes sending information including the status of the switch lock to a server and/or a user terminal.
In some embodiments, optionally, the unlocking process further comprises:
and controlling the driving part to be electrified when the unlocking instruction is received and/or when the unlocking instruction can be executed.
In some embodiments, optionally, the unlocking process further comprises: after the vehicle is unlocked, the driving part is controlled to be powered off.
The driving component is a power source component for driving the switch lock. After the unlocking instruction is executed, the driving part is controlled to be powered off, namely, the power-off state of the driving part is kept in the unlocking state, so that the driving part can be prevented from being locked due to false triggering of the control device in the riding process of the vehicle, and potential safety hazards are caused; the driving part is controlled to be powered on after the locking command is received, and safety accidents caused by locking and locking of a lock body device due to misoperation in the riding process can be avoided by combining the set safety speed; the lock body device is safer due to double fault reporting, and is more suitable for sharing the bicycle. After the lock closing instruction is executed, the driving part is controlled to be powered off, namely, the power-off state of the driving part is kept in the lock closing state, so that on one hand, the power consumption can be reduced, the power consumption is saved, on the other hand, the situation that the unlocking is carried out due to the false triggering of the control device in the lock closing state can be guaranteed, and a user mistakenly thinks that the vehicle cannot be normally used. And after receiving the unlocking instruction, the driving part is powered on immediately, so that the unlocking time can be shortened, and the user experience is improved.
In some embodiments, optionally, the step 12 comprises:
acquiring the state of a first detection device;
acquiring the state of a second detection device;
and judging the state of the switch lock according to the state of the first detection device and/or the state of the second detection device.
In some embodiments, optionally, the step 24 comprises:
when the speed of the vehicle is less than or equal to the preset safe speed, executing the locking instruction;
and
and when the speed of the vehicle is greater than the preset safe speed, the locking instruction is not executed.
In some embodiments, optionally, the locking process further comprises: and controlling the driving part to be powered on when the locking instruction is received and/or when the locking instruction is judged to be executable.
In some embodiments, optionally, the locking process further comprises: controlling the drive component to de-energize after the vehicle is locked.
In some embodiments, optionally, the step 22 comprises detecting a speed of the vehicle by a speed sensor.
In some embodiments, optionally, the speed sensor is a hall sensor.
In some embodiments, optionally, the preset safe speed is ≦ 10 km/hr.
In some embodiments, optionally, the step 23 includes:
step 231: calling the vehicle speed stored in a memory of the vehicle within a preset time to be compared with the preset safe speed; and/or
Step 232: comparing the current speed of the vehicle with the preset safe speed.
In some embodiments, optionally, the locking process further comprises:
determining the source of the locking command, wherein when the locking command is from the user end, the step 231 is executed,
when the lock-off instruction comes from the background server, the step 232 is executed.
In some embodiments, optionally, the preset time is ≦ 5 s.
The invention also provides a lock body device for executing the locking and unlocking method, wherein the lock body is matched with an expansion brake, and the lock body comprises:
an actuator comprising an actuator component cooperating with the expansion brake, the actuator configured to: the execution part is separated from the expansion brake to complete unlocking, and the execution part is matched with the expansion brake to complete locking when the expansion brake is in a stop state or the speed of the expansion brake is less than a preset safe speed;
the driving part is configured to drive the executing part to unlock or lock through a linkage mechanism;
the control device is connected with the driving part and is configured to respond to an unlocking instruction and/or a locking instruction and control the driving part to be powered off or powered on;
the switch detection device is coupled with the actuating mechanism and/or the linkage mechanism and is connected with the control device, and the switch detection device is configured to generate switch information under the triggering of the actuating mechanism and/or the linkage mechanism and send the switch information to the control device;
a speed detection device connected with the control device, the speed detection device being configured to detect a speed of the expansion brake and to transmit information including the speed of the expansion brake to the control device.
In some embodiments, optionally, the switch detection means comprises at least one travel switch; the speed detection device comprises a Hall sensor and magnets which are arranged at equal intervals on the expansion brake.
The locking and unlocking method and the lock body device provided by the invention have the following technical effects:
1. according to the locking and unlocking method provided by the invention, the unlocking process is carried out based on the accurate judgment of the locking and unlocking state of the lock body, and the unlocking operation can be effectively implemented. If the locking state is not judged, the unlocking instruction is directly executed, and the motor is easy to lock or break down when the lock body is in the unlocking state. However, as described in the present invention, when the unlocking command is executed again in the case of accurately determining the state of the switch lock, it is possible to avoid the occurrence of similar failures.
2. According to the locking and unlocking method provided by the invention, the locking and unlocking process is carried out under the condition of accurately judging the vehicle speed, and the risk caused by forced locking and unlocking of the vehicle in a high-speed running state due to misoperation or failure can be effectively avoided. When it is determined that the speed of the vehicle is higher than the preset safe speed, if the vehicle is forcibly locked due to a malfunction or a failure, the riding person may suffer injury. The locking and unlocking method of the invention is equivalent to adding a safety mechanism, namely when the riding speed is higher, the vehicle cannot be locked no matter what reason causes the locking and unlocking instruction, thereby avoiding the occurrence of the injury.
3. The expansion brake lock provided by the invention not only has the advantages of executing the locking and unlocking method to achieve the technical effect, but also can be arranged at a hidden position of a vehicle to avoid violent damage; meanwhile, the expansion brake lock can complete the locking and unlocking operation without manual operation, and the intelligent degree is high.
The conception, the specific structure and the technical effects of the present invention will be further described with reference to the accompanying drawings to fully understand the objects, the features and the effects of the present invention.
Drawings
FIG. 1 is a flow chart of a method for locking and unlocking a lock according to a preferred embodiment of the present invention;
FIG. 2 is a schematic view of an expansion brake lock according to another preferred embodiment of the present invention;
FIG. 3 is an exploded view of the expansion brake lock of FIG. 2;
FIG. 4 is the view of the expansion brake lock of FIG. 2 in an unlocked state;
fig. 5 is a locked state diagram of the expansion brake lock of fig. 2.
The lock comprises a lock body 100, a lock body 111, a second shell 112, a cover plate 113, a second bolt, a through hole 114, a driving part 120, a control device 130, an actuator 140, a bolt 141, a first projection 142, a second elastic element 144, a second projection 146, a linkage mechanism 160, a crank 161, a first elastic element 162, a first switch 181, a second switch 182, a first shell 200, a brake disc assembly 201, a brake disc assembly 202, a first bolt 203, a groove 204 and a strong magnet 205.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the drawings only show the components related to the present invention rather than the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
Some exemplary embodiments of the invention have been described for illustrative purposes, and it is to be understood that the invention may be practiced otherwise than as specifically described.
The invention provides a locking and unlocking method of a vehicle, which realizes the locking and unlocking of the vehicle by controlling the switch of a lock body arranged on the vehicle. In a preferred embodiment of the present invention, as shown in FIG. 1, an unlocking process and a locking process are included.
The unlocking process comprises the following steps: the lock body receives the unlocking instruction, obtains the opening and closing lock state of the lock body (namely whether the lock body locks the vehicle), and judges whether to execute the unlocking instruction according to the opening and closing lock state of the vehicle. If the vehicle is in the unlocking state, namely the vehicle is not locked by the lock body, the unlocking instruction is not executed at the moment; if the vehicle is in a locking state, namely the vehicle is locked by the lock body, the lock body executes an unlocking instruction to unlock the vehicle.
The locking process comprises the following steps: the lock body receives the locking command, obtains the speed of the vehicle, compares the speed with the preset safe speed, and judges whether to execute the locking command according to the comparison result. If the speed of the vehicle is higher than the preset safe speed, the locking command is continuously executed, which may cause safety accidents, and therefore, the locking command is not executed at this time. And if the speed of the vehicle is less than or equal to the preset safe speed, including that the vehicle is in a stop state, continuing to execute the locking command.
In some embodiments, only the steps included in the unlocking process described above may be performed in the lock body of the vehicle, and only the steps included in the locking process described above may be performed in the lock body of the vehicle. Here, it is preferable that both the unlocking process and the locking process be performed in the vehicle lock body.
The unlocking process and the locking process will be described in detail below.
1. Unlocking process
The unlocking instructions received by the lock body can have different sources. In some embodiments, a user uses a terminal to scan a two-dimensional code arranged on a vehicle to obtain vehicle information and send the vehicle information to a client server, and the client server sends an unlocking instruction to a lock body of the vehicle. In some embodiments, the user uses the terminal to establish a connection with the lock body of the vehicle by using a short-range communication method such as bluetooth and sends an unlocking instruction to the lock body. The person skilled in the art can set up and discern different unblock instruction sources according to actual demand.
After the lock body receives the unlocking instruction, the unlocking instruction is not immediately executed, but whether the unlocking instruction is executed or not is judged according to the locking and unlocking state of the lock body. In some embodiments, the switch lock status may be obtained by calling data stored in memory. The lock body detects the locking and unlocking state information at regular time, or the lock body stores the locking and unlocking state data in the memory in time after unlocking or locking operation is carried out each time. And after receiving an unlocking instruction, calling the latest updated switch lock state in the memory. In some embodiments, the current switch lock state may be detected in real time when an unlock command is received. Preferably, the switch lock state is accessible by a control means of the lock body.
After the control device of the lock body acquires the locking and unlocking state of the lock body, if the lock body is in the unlocking state, the unlocking instruction is not executed, and preferably, prompt information is also sent to a user to inform that the vehicle is occupied. And if the lock body is in a locked state, executing an unlocking instruction, and preferably, after unlocking is finished, sending a prompt message of successful unlocking to a user. In some embodiments, when the user unlocks the lock in the code scanning mode, the lock body reports unlocking state information to the user terminal server, and the user terminal server sends prompt information to the user terminal. In some embodiments, when the user unlocks the lock through a short-range communication mode such as Bluetooth, the lock body directly sends prompt information to the user terminal. In any embodiment, the current on-off lock state of the lock body is sent to a user side server and updated, or the data in the memory is updated at the same time.
The unlocking process of the lock body is completed by controlling the driving part of the lock body to move. In order to prevent the driving part from rotating due to faults or accidents to cause potential safety hazards, the driving part is generally in a power-off state. In some embodiments, the control device controls the driving part to be powered on when receiving the unlocking instruction, and continues to control the driving part to be powered off if the unlocking instruction cannot be executed. In some embodiments, the unlocking instruction is received and judged that the lock body is in the locking state, the unlocking instruction can be normally executed, at this time, the control device controls the driving part to be powered on, and if the lock body is judged to be in the unlocking state, the unlocking instruction cannot be normally executed, at this time, the control device controls the driving part to be kept powered off. After the unlocking is finished, the lock body is in the unlocking state, and the driving part is still controlled to keep the power-off state.
Preferably, the detection of the locking state of the lock body can be realized by a switch detection device arranged in the lock body. At least one switch detection device, preferably two switch detection devices, is arranged in the lock body, wherein one switch detection device is arranged near the output end of the driving part, and the switch detection device is triggered by the output end of the driving part; the other switch detection device is arranged near the bolt, and the bolt triggers the switch detection device; and then the locking state of the lock body is judged according to the state integration of the two switch detection devices. The switch detection device can be a travel switch, an optical coupler device or other devices which generate trigger information due to external environment stimulation. Through setting up two switch detection device, can detect the switch lock state more accurately, avoid appearing the emergence of the wrong report situation.
2. Locking process
Similar to the unlocking process, the lock-closing command received by the lock body may have different sources, such as a background server (called and sent by a customer service or an administrator) or a client server (including a user terminal, sent by a user). Those skilled in the art can set and read different sources of lock-closing instructions according to actual requirements.
After the lock body receives the locking instruction, the locking instruction is not immediately executed, but whether the locking instruction is executed or not is judged according to the relation between the running speed of the vehicle and the preset safe speed. In some embodiments, the operating speed of the vehicle may be obtained by recalling data stored in memory. The running speed of the vehicle is obtained through the speed sensor, the speed data are stored in the memory of the lock body in real time, and the latest speed data continuously cover the previously stored data. And after receiving the locking instruction, calling speed data in the memory within the preset time to compare with the preset safe speed. The preset time is less than or equal to 5s, and preferably 2 s. In some embodiments, the current speed of the vehicle may be detected in real time upon receiving the lock-off command, and compared with a preset safe speed. Preferably, the lock body judges a sender of the locking instruction, if the locking instruction is from a user side or a user side server, the lock body calls a vehicle speed stored in the memory within a preset time, for example, the speed 2s before the locking instruction is received, and then compares the speed with a preset safe speed; and if the locking instruction is from the background server, detecting the current vehicle speed, and comparing the vehicle speed with the preset safe speed.
The speed of the vehicle is detected through a sensor. The speed of the vehicle may be measured using any of a variety of sensors known in the art, such as, but not limited to, GPS, gyroscopes, encoders, hall sensors, and the like. Preferably, hall sensors are used to measure the rotational speed of the wheels.
The preset safe speed is a threshold value obtained according to the comprehensive factors of dynamics principle, medical common knowledge and the like, and then the threshold value is preset in the control program of the lock body. The purpose of setting the preset safe speed is to prevent the vehicle from being suddenly locked while traveling at a high speed due to an off-lock command or an unexpected rotation of the driving part caused by a malfunction or a malfunction of the lock body. Preferably, the preset safe speed is less than or equal to 10 km/h. It should be appreciated that the preset safe speed minimum may be set to zero, indicating that the locking operation can only be performed when the vehicle is in a complete stop. However, the preset safe speed is generally greater than 0, and it should be understood that the present invention is not limited to a threshold of 10 km/h, which may be set according to actual requirements.
During the operation of the vehicle, the lock body is in the unlocked state, and at this time, in order to prevent the driving member from rotating due to a fault or accident, which may cause a safety hazard, the control device 130 controls the driving member 120 to be maintained in the power-off state. After receiving the lock closing instruction, the control device 130 compares the acquired vehicle speed with a preset safe speed, and does not execute the lock closing instruction when the acquired vehicle speed is higher than the preset safe speed; when the vehicle speed is less than or equal to the preset safe speed, the driving part 120 is powered on and a lock-off command is executed. In some embodiments, the control device controls the driving part to be powered on when receiving the locking command, and controls the driving part to be powered off if the unlocking command cannot be executed. In some embodiments, the control device controls the driving part to be powered on when the locking command is received and can be normally executed. After the lock is closed, the lock body is in the locked state, and the control device 130 controls the driving part 120 to maintain the power-off state.
Preferably, the lock body receives the lock closing instruction, but does not execute the lock closing instruction due to the fact that the lock body does not meet the condition of executing the lock closing instruction, and the lock body can send the information of execution failure to the user side server and/or the user terminal; if the condition is met and the locking instruction is executed, after the locking is performed, the locking and unlocking state information can be sent to the user side server and/or the user terminal, and finally the locking and unlocking state is updated in the user side server and can also be stored in the memory of the lock body.
Compared with the prior art, the locking and unlocking method can execute unlocking operation on the premise of accurately judging the locking and unlocking state, and avoids the lock body from breaking down; meanwhile, when the vehicle running speed is higher than the preset safety speed, the intelligent lock cannot be forcibly closed, so that the safety accident caused by sudden lock closing due to misoperation or failure is avoided.
The invention also provides another preferred embodiment, a lock body capable of executing the locking and unlocking method. The lock body is preferably an expansion brake lock used in conjunction with an expansion brake.
As shown in fig. 2, the expansion brake lock of the present embodiment includes a lock body 100 engaged with the expansion brake assembly. The lock body 100 can be used with any expansion brake assembly in the prior art without affecting the existing structure and use principle of the expansion brake assembly. Preferably, the expansion brake assembly selected in this embodiment includes a brake disc assembly 201 and a brake disc 202 disposed on the first housing 200, and the brake disc 202 is installed in the first housing 200 and cooperates with the brake disc assembly 201 to realize a braking function. The lock body 100 is matched with the brake disc 202 to complete locking or unlocking. The lock body 100 is fixed in the first housing 200 by the first bolt 203.
As shown in fig. 3, the lock body 100 includes a second housing 111 and a cover plate 112, the cover plate 112 covers the second housing 111 to form a receiving space, and all main components of the lock body 100 are disposed in the receiving space, including an actuator 140, a driving component 120, a control device 130 and a switch detection device. The cover plate 112 is fixed to the second housing 111 by a second bolt 113. The second shell 111 and the cover plate 112 enclose a shell with a waterproof rating of IPX7 or above.
The driving member 120 is connected to the actuator 140 through a linkage 160, and the linkage 160 converts the rotation output by the driving member 120 into a translation of the actuator 140. The drive member 120 is preferably a waterproof motor with an encoder.
As shown in fig. 4 and 5, the linkage mechanism 160 is connected to the driving part 120 and the actuator 140, respectively. Specifically, linkage 160 includes a link 162 coupled to actuator 140 and a crank 161 coupled to link 162. The linkage mechanism 160 is used to transmit the force of the driving member 120 to the actuator 140, so that the actuator 140 moves in the direction of the brake disc 202 when the lock is unlocked or moves away from the brake disc 202 when the lock is closed. The connector 162 may be any rod-like member or other shaped member known to those skilled in the art. Preferably, an elastic element is chosen here. Adopt elastic element as connecting piece 162, compare in the connecting rod formula connecting piece can accomplish the instruction of unblanking under the condition of unusually unblanking, when the unusual condition is clear away, can accomplish the action of unblanking and be unlikely to make spring bolt 141 blocked and can not unblank. One end of the crank 161 is fixedly connected to the output end of the driving member 120, and the other end is connected to the connecting member. It should be understood that linkage 160 may also be a structure capable of translating rotational motion into translational motion, such as a gear arrangement, worm screw, cam slider, etc.
The actuator 140 is used to complete the unlocking or locking action, and in this embodiment, as shown in fig. 3, the actuator 140 has an actuator part, which is a latch 141. The latch bolt 141 is provided with a first protrusion 142, the first protrusion 142 protrudes from the latch bolt 141 toward the brake disc 202 from one side edge of the brake disc 202, and forms a hook shape with the body of the latch bolt 141, that is, one side wall of the first protrusion 142 forms an obtuse angle with the side edge of the latch bolt 141, and the other side wall of the first protrusion 142 forms an acute angle with the side edge of the latch bolt 141. As shown in fig. 5, the first protrusion 142 may extend out of the second housing 111 through the through hole 114 provided on the second housing 111, and engage with the groove 204 provided on the brake disc 202, thereby completing the locking and bringing the expansion brake lock into the locked state. A plurality of grooves 204 are uniformly arranged on the circumference of the brake disc 202. As shown in fig. 4, after the first protrusion 142 is separated from the groove 204, the expansion brake lock is in an unlocked state. Preferably, the latch bolt 141 is rotatably coupled to the second housing 111, and the rotation shaft is disposed near one end of the latch bolt 141. Preferably, the latch 141 is further provided with a second elastic element 144, one end of the second elastic element 144 is connected to the second housing 111, and the other end is connected to the latch 141. The second elastic member 144 exerts an elastic force on the latch 141, which urges the latch 141 to move in a direction protruding out of the second housing 111. Preferably, the second elastic element 144 is a torsion spring, and is sleeved on the rotation shaft of the locking tongue 141. The second elastic element 144 is provided to enable the positioning of the locking tongue 141 to be more accurate, but an installation groove needs to be formed on the locking tongue 141 for installing the second elastic element 144, for example, when a torsion spring is selected, a hooking groove needs to be formed, which increases the manufacturing cost.
The control device 130 is electrically connected to the driving member 120 and is used for controlling the movement of the driving member 120, so as to drive the actuator 140 to move. The control device 130 is disposed in the second housing 111, and the control device 130 is a circuit board. The control device 130 can respond to the lock opening and closing command to control the driving part 120 to complete the unlocking or locking and report the unlocking state or the locking state. In some embodiments, the control device 130 integrates a communication function, and not only can communicate with a background server through remote communication to receive unlocking and locking instructions and report the vehicle state, thereby implementing remote management of the vehicle, but also can communicate with a user terminal through a short-range communication mode, such as bluetooth, ZigBee, and the like, to receive unlocking and locking instructions. In some embodiments, the control device 130 may be independently disposed outside the lock body and may communicate with a separate communication module to realize data interaction, and the separate communication module may include a function of remote communication with the background server and the client server and a function of short-range communication such as bluetooth and ZigBee. The control decoration 130 is further integrated with a memory (not shown in the figure) capable of storing information on the locking/unlocking state of the lock body and/or the speed of the expansion brake.
In the embodiment, a sensor for detecting the motion state of the expansion brake assembly is also arranged. The sensor is connected to the control device 130, or the sensor is integrated into the control device 130. When the sensor detects that the expansion brake assembly is in a moving state, the control device 130 will determine whether the operating speed of the expansion brake is greater than the safe speed according to the detection information of the sensor. If the speed is higher than the safe speed, the control device 130 receives the lock-off command or the electric control fault occurs in the expansion brake lock, and the control device 130 does not control the movement of the driving part 120, but controls the driving part 120 to be kept in the stopped state. In some embodiments, an angular velocity sensor may be used to measure the rotational speed of the wheel and transmit it to the control device 130. In this embodiment, a hall sensor is preferably used to detect the rotation speed. The control device 130 includes hall sensing elements (not shown), as shown in fig. 2, the brake disc 202 is provided with strong magnets 205 arranged at equal intervals, if the vehicle is in a riding state, the hall sensing elements sense corresponding signals, and the control device 130 accordingly determines whether the speed of the brake disc is greater than a safe speed.
As shown in fig. 3, the switch detecting means includes a first switch 181 and a second switch 182. The second switch 182 is provided at an end position of a rotational stroke of the crank 161 at the time of unlocking, and is coupled with the crank 161; the first switch 181 is disposed near a first end of the latch bolt 141, and is coupled to the latch bolt 141; a second protrusion 146 is disposed on the first end of the latch bolt 141, and the second protrusion 146 protrudes from the latch bolt 141 in a direction away from the brake disc 202, so that the second protrusion 146 can contact or separate from the first switch 181. When the lock body 100 is in the normal unlocking state, the crank 161 is located at a position away from the lock tongue 141, at this time, the crank 161 is in contact with the second switch 182, the second switch 182 is in the on state, the lock tongue 141 is located at a position away from the brake disc 202, the second protrusion 146 is separated from the first switch 181, and the first switch 181 is in the off state. As shown in fig. 3, when the lock body 100 is in the normal locking state, the crank 161 is located near the latch tongue 141, the crank 161 is separated from the second switch 182, the second switch 182 is in the off state, the latch tongue 141 is located near the brake disc 202, the first protrusion 142 is engaged with the groove 204, the second protrusion 146 is in contact with the first switch 181, and the first switch 181 is in the on state. According to the states of the first switch 181 and the second switch 182, it can be accurately determined whether the lock body 100 is in the unlocked state or the locked state. The switch detection means is not limited to the first switch 181 and the second switch 182, and in some embodiments, the detection means may be a voltage dependent resistor, an optical coupler, or the like, and any means that can be triggered by the positions of the crank 161 and the latch 141 in the locked or unlocked state may be applied to this embodiment.
The working principle of the embodiment is as follows:
1. the driving member 120 maintains a power-off state when the lock body is in the unlocked state and/or the locked state.
2. When receiving the unlocking instruction, the control device 130 immediately powers on the driving part 120; judging the switch state of the lock body according to whether the first switch 181 and the second switch 182 are switched on, if the switch state is judged to be the unlocking state, the control device 130 executes an unlocking instruction, or after the switch state is judged to be the unlocking state, the control device 130 controls the driving part 120 to be powered on, so that the lock tongue 141 is driven to be separated from the groove 204 on the brake disc 202; after unlocking, the control state 130 sends the information to the background server, or to the client server and the user terminal, and updates the unlocking/locking state data in the memory.
3. The control device 130 receives the lock-off command, and determines whether to execute the lock-off command according to the magnitude relation between the vehicle speed and the preset safe speed. When the brake disc 202 is in a stopped state, and the control device 130 receives a lock closing instruction, the hall sensor detects that the brake expanding speed is zero, the condition that the brake expanding speed is less than or equal to the preset safe pressing speed is met, the driving part 120 is controlled to be powered on and rotate, the crank 161 rotates in the left-to-right direction shown in fig. 5, after the crank 161 rotates, the contact of the second switch 182 is released, and the second switch 182 is disconnected. The rotation is stopped when the driving member 120 rotates by a predetermined angle. The control device 130 receives the turn-off signal of the second switch 182 and the electrical frequency signal of the driving member 120 stopping rotating, and then determines that the locking action is performed. When the locking action is executed in place, the driving part 120 keeps the power-off state and reports the successful locking state; the latch 141 has the following two states:
in the first state: the first protrusion 142 of the latch tongue 141 faces the groove 204 of the brake disc 202, and the latch tongue 141 rotates under the force of the second elastic element 144, so that the first protrusion 142 moves from the inside of the lock body 100 to the outside of the lock body 100 and falls into the groove 204 of the brake disc 202. Meanwhile, due to the rotation of the latch 141, the second protrusion 146 contacts the first switch 181, so that the first switch 181 is turned on, and at this time, the second switch 182 is turned off.
In the second state: the first protruding part 142 of the latch 141 is not directly opposite to the groove 204 on the brake disc 202, and the latch 141 will make the first protruding part 142 abut on the outer side wall of the brake disc 202 under the action of the first elastic element 162 and the second elastic element 144, at this time, as long as the brake disc 202 rotates and reaches the position where the first protruding part 142 is directly opposite to the groove 204, the latch 141 automatically drops the first protruding part 142 into the groove 204 due to the acting force of the second elastic element 144 and the first elastic element 162; meanwhile, the second protrusion 146 of the latch 141 presses the first switch 181, so that the first switch 181 is turned on.
4. If the brake disc 202 is still in a moving state when receiving a lock closing instruction, the hall sensing element detects the magnetic field state on the brake disc 202, so as to obtain the moving speed of the brake disc 202, and if the control device 130 determines that the speed is greater than the preset safe speed, the operating circuit of the driving part 120 does not supply power to operate, so that the first protruding part 142 of the latch bolt 141 does not fall into the groove 204 of the brake disc 202, i.e. the expanding brake lock is not locked, thereby avoiding the problem of potential safety hazard.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.