A two-wheeled vehicle intelligent lock system and control method

CN118907278BActive Publication Date: 2026-09-22JINCHENG GROUP CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411150520.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2026-09-22
Estimated Expiration
2044-08-21

AI Technical Summary

Technical Problem

[0002]现有的防盗措施多为手动机械式锁车,锁车动作繁琐,防盗性能不佳,是车辆失窃的重要原因

Benefits of technology

[0030]有益效果:与现有技术相比,本发明具有以下显著优点:本发明利用三行程电磁铁和磁铁自锁功能,在智能锁车的同时还能节省电量消耗,有效简化锁车过程,提高了两轮电动车辆的防盗性能;本发明的故障检测功能进一步有效提高了系统的可靠性和可维修性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118907278B_ABST
    Figure CN118907278B_ABST
Patent Text Reader

Abstract

The application discloses a two-wheeled vehicle intelligent lock system and a control method, and belongs to the field of intelligent lock systems. The system comprises a vehicle head, a steering column connected with the vehicle head, a lower connecting plate for connecting the steering column and a front fork, a vehicle head pipe sleeved on the steering column, an electromagnet located on the vehicle head pipe, a motor located on the vehicle head pipe and used for driving the vehicle head to rotate, a controller, and a remote key. A large gear and a locking plate located above the large gear are sleeved on the steering column. The electromagnet comprises an electromagnet shell, an electromagnet cover matched with the electromagnet shell and connected with the vehicle head pipe, a moving iron core linearly movable in the electromagnet shell, a pinion gear sleeved on the moving iron core and meshable with the large gear, a stroke sensing block sleeved on the moving iron core, an unlocking position sensor, an engagement position sensor and a vehicle locking position sensor. The application effectively improves the anti-theft performance of the two-wheeled vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent control of two-wheeled new energy vehicles, and in particular to an intelligent locking system and control method for two-wheeled vehicles. Background Technology

[0002] Existing anti-theft measures are mostly manual mechanical locks, which are cumbersome to operate and have poor anti-theft performance, making them a major cause of vehicle theft.

[0003] Therefore, the above problems urgently need to be solved. Summary of the Invention

[0004] Purpose of the invention: The first purpose of this invention is to provide an intelligent locking system for two-wheeled vehicles that effectively improves the anti-theft performance of two-wheeled vehicles.

[0005] The second objective of this invention is to provide a control method for an intelligent locking system for two-wheeled vehicles.

[0006] Technical Solution: To achieve the above objectives, this invention discloses an intelligent locking system for two-wheeled vehicles, including a handlebar, a steering column connected to the handlebar, a lower connecting plate for connecting the steering column and the front fork, a head tube sleeved on the steering column, an electromagnet located on the head tube, a motor located on the head tube for driving the handlebar to rotate, a controller, and a remote control key. A large gear and a locking plate located above the large gear are sleeved on the steering column. The electromagnet includes an electromagnet housing, an electromagnet cover adapted to the electromagnet housing and connected to the head tube, a moving iron core passing through the electromagnet housing and capable of linearly moving along the electromagnet housing, a small gear passing through the moving iron core and capable of meshing with the large gear, a travel sensing block passing through the moving iron core, and an unlocking position sensor, a meshing position sensor, and a locking position sensor corresponding to the travel position of the travel sensing block.

[0007] Preferably, a left turn limit post and a right turn limit post are symmetrically arranged on the lower connecting plate, and a limit block with a push-button switch is provided on the head tube. When the steering column is rotated to the position of the right turn limit post, the button of the push-button switch is compressed, the push-button switch is turned on, and the controller receives a signal that the steering column has been rotated to the lockable position.

[0008] Furthermore, the controller includes a microcontroller, a motor driver chip, an electromagnet driver chip, and a radio frequency (RF) chip. Unlock position sensors, engagement position sensors, lock position sensors, a push-button switch, a horn, the RF chip, the motor driver chip, and the electromagnet driver chip are all connected to the microcontroller. The motor driver chip is connected to both ends of the motor's coil, and the electromagnet driver chip is connected to both ends of the electromagnet's coil. The RF chip receives the lock signal, unlock signal, and alarm deactivation signal from the remote key and transmits them to the microcontroller. Simultaneously, the RF chip receives the fault alarm signal from the microcontroller and drives the horn and the indicator light on the remote key to emit audible and visual alarm signals.

[0009] Furthermore, the moving iron core of the electromagnet has an unlocking stroke position, an engagement stroke position, and a locking stroke position in sequence. Hall sensors are built into the unlocking position sensor, engagement position sensor, and locking position sensor. When the stroke sensing block reaches the corresponding position of the unlocking position sensor, engagement position sensor, and locking position sensor, the position sensor at the corresponding position outputs the corresponding stroke position successful arrival signal to the controller.

[0010] Furthermore, the controller adjusts the duty cycle of the PWM signal applied to both ends of the electromagnet coil to control the electromagnet's operating current, thereby controlling different stroke positions of the moving iron core; the controller controls the direction of movement of the moving iron core by changing the positive and negative polarities of the signal at both ends of the electromagnet coil.

[0011] After the controller applies a positive PWM signal with a duty cycle equal to D to both ends of the electromagnet's coil, the moving iron core drives the small gear to move together to the position of meshing with the large gear, which in turn drives the stroke sensing block to the meshing position sensor. At the same time, the motor rotates clockwise to ensure that the small gear and the large gear mesh smoothly. The meshing position sensor senses the successful meshing signal and sends it to the controller.

[0012] After the controller applies a positive PWM signal with a duty cycle equal to E to both ends of the electromagnet's coil, the moving iron core drives the stroke sensing block to move to the locking position sensor, and the locking position sensor senses a successful locking signal and sends it to the controller.

[0013] After the controller applies a reverse PWM signal with a duty cycle equal to F to both ends of the electromagnet's coil, the moving iron core drives the stroke sensing block to move to the unlocking position sensor. The motor rotates counterclockwise to ensure that the pinion and gear can disengage smoothly. The unlocking position sensor senses a successful locking signal and sends it to the controller.

[0014] Preferably, the motor includes a motor housing, a rotating shaft located on the motor housing and connected to the moving iron core, and an annular magnet located at the end of the motor housing and sleeved around the rotating shaft. The rotating shaft has two semicircular shafts that can be inserted into two corresponding semicircular holes of the moving iron core, and the moving iron core can slide back and forth along the rotating shaft.

[0015] The locking plate has an upward-protruding locking hole, in which a cylindrical magnet for attracting the moving iron core is installed.

[0016] Furthermore, when the vehicle is successfully locked, the controller cuts off the power to the electromagnet, and the cylindrical magnet inside the locking hole holds the moving iron core by magnetic attraction, maintaining the vehicle in the locked state; when the vehicle is successfully unlocked, the controller cuts off the power to the electromagnet, and the ring magnet at the end of the motor holds the moving iron core by magnetic attraction, maintaining the vehicle in the unlocked state.

[0017] Based on the same inventive concept, this invention discloses a control method for a smart locking system for two-wheeled vehicles, comprising the following steps:

[0018] Locking the car:

[0019] When the two-wheeled vehicle is parked, the driver presses the lock button on the remote key to wirelessly send a lock signal to the controller. If the moving iron core is already in the lock travel position and the button switch is on, the controller ignores the lock signal. If the moving iron core is not in the lock travel position and the button switch is on, the controller determines that the steering column is in the lockable position. The microcontroller outputs a PWM signal with a duty cycle of E, the motor rotates clockwise, and the moving iron core is inserted into the locking hole on the locking plate. The steering column and the head tube are locked at a fixed angle, and the vehicle cannot move in a straight line, thus realizing the locking function. After the locking position sensor outputs a locking success signal, the microcontroller controls the electromagnet and motor to have no working current through the motor driver chip and the electromagnet driver chip respectively. The cylindrical magnet in the locking hole attracts the moving iron core.

[0020] If the controller receives a lock signal, the steering column is not in the lockable position, and the push-button switch is not activated, the microcontroller outputs a PWM signal with a duty cycle of D. The motor rotates clockwise, and the moving iron core moves the small gear towards the meshing position of the large gear. After the meshing position sensor sends a meshing success signal and the push-button switch is activated, the moving iron core remains in the meshing stroke position. The motor continues to rotate clockwise, driving the steering column to rotate counterclockwise, rotating the steering column to the lock position. The microcontroller outputs a PWM signal with a duty cycle of E, and the motor rotates clockwise. The moving iron core inserts into the locking hole on the locking plate, locking the steering column and the head tube at a fixed angle, preventing the vehicle from moving in a straight line, thus achieving the locking function. After the locking position sensor outputs a locking success signal, the microcontroller controls the electromagnet and motor to have no operating current through the motor driver chip and the electromagnet driver chip respectively. The cylindrical magnet in the locking hole attracts the moving iron core.

[0021] Unlocking process:

[0022] The driver presses the unlock button on the remote key to wirelessly send an unlock signal to the controller. If the moving iron core is already in the unlock travel position, the controller ignores the unlock signal. If the moving iron core is not in the unlock travel position, the microcontroller outputs a PWM signal with a duty cycle of F, and the moving iron core moves to the unlock travel position. The motor rotates counterclockwise, and the moving iron core returns to the unlock travel position. The unlock position sensor sends an unlock success signal to the controller. The microcontroller controls the electromagnet and motor to have no operating current through the motor driver chip and electromagnet driver chip, respectively. The moving iron core is attracted by the ring magnet located at the end of the motor, and the unlocking action is completed.

[0023] When a fault occurs during motor operation, the motor driver chip outputs a motor fault alarm signal. After receiving the motor fault alarm signal, the microcontroller sends out a motor fault alarm signal through the radio frequency chip. The radio frequency chip drives the speaker to emit an alarm sound, and at the same time drives the green indicator light on the remote control key to stay on.

[0024] When a fault occurs during the operation of the electromagnet, the electromagnet driver chip outputs an electromagnet fault alarm signal. After receiving the electromagnet fault alarm signal, the microcontroller sends an electromagnet fault alarm signal through the radio frequency chip. The radio frequency chip drives the speaker to emit an alarm sound, and the red indicator light on the remote key stays on.

[0025] If the time from when the microcontroller receives the lock signal to when it receives the successful engagement signal is greater than T2, it means that the motor failed to successfully engage the large gear and the small gear within the specified time. The microcontroller sends an engagement failure alarm signal through the radio frequency chip, and the radio frequency chip drives the horn to emit an alarm sound. The red and green indicator lights on the remote key are constantly lit.

[0026] If the time from when the microcontroller receives the successful engagement signal to when it receives the turn-on signal from the button switch is greater than T3, it means that the motor failed to rotate the handlebars to the lockable position within the specified time. The microcontroller sends a rotation failure alarm signal through the radio frequency chip, the radio frequency chip drives the horn to emit an alarm sound, and both the red and green indicator lights on the remote key flash.

[0027] If the time from when the microcontroller receives the on signal from the push button switch to when it receives the lock success signal is greater than T1, it means that the electromagnet failed to insert the moving iron core into the locking hole within the specified time. The microcontroller sends a lock failure alarm signal through the radio frequency chip, the radio frequency chip drives the speaker to emit an alarm sound, and the green indicator light on the remote key flashes.

[0028] When the time from when the microcontroller receives the unlock signal to when the unlock is successful exceeds T4, it means that the electromagnet has failed to move the moving iron core to the ring magnet at the end of the motor within the specified time. The microcontroller sends an unlock failure alarm signal through the radio frequency chip, the radio frequency chip drives the speaker to emit an alarm sound, and the red indicator light on the remote key flashes.

[0029] The above-mentioned audible and visual alarm signals will stop only after the microcontroller receives the alarm cancellation signal.

[0030] Beneficial effects: Compared with the prior art, the present invention has the following significant advantages: The present invention utilizes a three-stroke electromagnet and a magnet self-locking function, which can save power consumption while intelligently locking the vehicle, effectively simplifying the locking process and improving the anti-theft performance of two-wheeled electric vehicles; The fault detection function of the present invention further effectively improves the reliability and maintainability of the system. Attached Figure Description

[0031] Figure 1 This is a schematic diagram of the intelligent vehicle locking system of the present invention;

[0032] Figure 2 This is a schematic diagram of the steering system in this invention;

[0033] Figure 3 This is a schematic diagram of the structure of the head tube in this invention;

[0034] Figure 4 This is a schematic diagram of the electromagnet structure in this invention;

[0035] Figure 5 This is a schematic diagram of the structure of the motor in this invention;

[0036] Figure 6 This is a schematic diagram showing the connection between the electromagnet and the motor in this invention;

[0037] Figure 7 This is a schematic diagram of the controller in this invention;

[0038] Figure 8 This is a schematic diagram of the locking plate in this invention; Detailed Implementation

[0039] The technical solution of the present invention will be further described below with reference to the accompanying drawings.

[0040] like Figure 1 As shown, this invention discloses an intelligent locking system for two-wheeled vehicles, comprising a steering system 1, an electromagnet 2, a motor 3, a front tube welded to the vehicle body 4, a controller 5, and a remote control key 6. Figure 2 As shown, the steering system 1 includes a handlebar 1-1, a steering column 1-2, a lower control plate 1-3, a front fork 1-4, and a front wheel 1-5. The handlebar 1-1, steering column 1-2, lower control plate 1-3, front fork 1-4, and front wheel 1-5 are connected as a single unit by welding or bolting. The driver turns the handlebars to complete the vehicle's turning maneuver. Figure 3As shown, the head tube 4 is equipped with a mounting base 4-1, a limiting block 4-2, and a push-button switch 4-3. The mounting base 4-1 is used to mount the electromagnet 2 and the motor 3. The lower connecting plate 1-3 has symmetrically arranged left turn limiting posts 1-3-1 and right turn limiting posts 1-3-2. These posts are designed to prevent the head of the vehicle from turning 360°. Figure 3 As shown, when the steering column 1-2 rotates to the right steering limit column 1-3-2 position, the button of the push-button switch 4-3 on the limit block 4-2 mounted on the front tube 4 is compressed, and the push-button switch 4-3 is turned on. This on signal is input to the controller 5, and the controller determines that the steering column 1-2 has rotated to the lockable position. A large gear 1-2-3 and a locking plate 1-2-1 located above the large gear are fitted on the steering column 1-2. The locking plate 1-2-1 has an upwardly protruding locking hole 1-2-4, and a cylindrical magnet 1-2-2 for attracting the moving iron core is installed inside the locking hole 1-2-4. Figure 8 As shown.

[0041] like Figure 4 As shown, the electromagnet 2 includes a moving iron core 2-1, a travel sensing block 2-2, an electromagnet housing 2-3, a pinion 2-4, an unlocking position sensor 2-5, an engagement position sensor 2-6, a locking position sensor 2-7, and an electromagnet cover 2-8. The moving iron core of the electromagnet sequentially has unlocking travel positions, engagement travel positions, and locking travel positions, which are detected by the unlocking position sensor 2-5, engagement position sensor 2-6, and locking position sensor 2-7, respectively. Each of the unlocking position sensor 2-5, engagement position sensor 2-6, and locking position sensor 2-7 has a built-in magnet. When the travel sensing block 2-2 reaches the corresponding position of the unlocking position sensor 2-5, engagement position sensor 2-6, and locking position sensor 2-7, the protruding part of the travel sensing block 2-2 reduces the magnetic gap between the moving iron core 2-1 and the corresponding position sensor, causing a change in the internal magnetic field of the corresponding position sensor. This results in a signal indicating successful arrival of the corresponding travel position being detected by the Hall sensor inside the relevant position sensor.

[0042] The controller 5 of the present invention controls the working current of the electromagnet 2 by adjusting the duty cycle of the PWM signal applied to both ends of the coil of the electromagnet 2, thereby controlling the different movement strokes of the moving iron core 2-1; and controls the movement direction of the moving iron core 2-1 by changing the positive and negative polarities of the signal at both ends of the coil of the electromagnet 2.

[0043] After the controller 5 applies a positive PWM signal with a duty cycle equal to D to both ends of the coil of the electromagnet 2, the moving iron core 2-1 of the electromagnet 2 drives the small gear 2-4 to move together to the position of meshing with the large gear 1-2-3. The meshing position sensor 2-6 senses the successful meshing signal and sends it to the controller 5.

[0044] After the controller 5 applies a positive PWM signal with a duty cycle equal to E to both ends of the coil of the electromagnet 2, the moving iron core 2-1 of the electromagnet 2 moves to the locking stroke position, and the locking position sensor 2-7 senses the successful locking signal and sends it to the controller 5.

[0045] After the controller 5 applies a reverse PWM signal with a duty cycle equal to F to both ends of the coil of the electromagnet 2, the moving iron core 2-1 of the electromagnet 2 moves to the unlocking stroke position, and the unlocking position sensor 2-5 senses and sends a successful locking signal to the controller 5.

[0046] like Figure 5 As shown, the motor 3 includes a motor housing 3-1, a ring magnet 3-2, and a rotating shaft 3-3. The ring magnet 3-2 is glued to the end of the housing 3-1. The inner diameter of the ring magnet 3-2 is larger than the outer diameter of the rotating shaft 3-3, ensuring that the ring magnet 3-2 remains stationary when the rotating shaft 3-3 rotates. The ring magnet 3-2 also serves to maintain the motor in place after power is cut off. The combination of the electromagnet 2 and the motor 3 is shown in the figure. Figure 6 As shown; the rotating shaft 3-3 of motor 3 is inserted into the moving iron core 2-1 of electromagnet 2, and the two semicircular shafts of rotating shaft 3-3 are inserted into the two corresponding semicircular holes of moving iron core 2-1. Moving iron core 2-1 slides back and forth along rotating shaft 3-3. To avoid interference between the tip circles of the large gear 1-2-3 and the small gear 2-4, which would prevent the small gear from successfully reaching the meshing position, while moving iron core 2-1 moves linearly in the axial direction, motor 3 drives small gear 2-4 to rotate synchronously and slowly, achieving easy meshing of the two gears. When locking is successful, controller 5 cuts off the power to electromagnet 2, and cylindrical magnet 1-2-2 magnetically attracts moving iron core 2-1, maintaining the locked state; when unlocking is successful, controller 5 cuts off the power to electromagnet 2, and ring magnet 3-2 magnetically attracts moving iron core 2-1, maintaining the unlocked state.

[0047] The remote key 6 includes a lock button, an unlock button, an alarm cancellation button, a red indicator light, and a green indicator light.

[0048] like Figure 7As shown, controller 5 includes a microcontroller 5-1, a motor driver chip 5-2, an electromagnet driver chip 5-3, and an RF chip 5-4. Unlock position sensor 2-5, engagement position sensor 2-6, lock position sensor 2-7, push-button switch 4-3, RF chip 5-4, motor driver chip 5-2, and electromagnet driver chip 5-3 are connected to the microcontroller 5-1. Motor driver chip 5-2 is connected to the two ends of the coil of motor 3, and electromagnet driver chip 5-3 is connected to the two ends of the coil of electromagnet 2. RF chip 5-4 receives the lock signal, unlock signal, and alarm release signal from the remote key and transmits them to the microcontroller 5-1. RF chip 5-4 also receives fault alarm signals from the microcontroller and drives the horn and indicator light on the remote key to emit corresponding audible and visual alarm signals. The circuit diagram of the locking system is shown below. Figure 7 As shown, the microcontroller 5-1 includes IO1 port, IO2 port, interrupt 1 port, IO3 port, IO4 port, interrupt 2 port, IO5 port, IO6 port, IO7 port, IO8 port, IO9 port, IO10 port, IO11 port, IO12 port, IO13 port, and IO14 port. The motor driver chip 5-2 includes ou1-1 port, ou1-2 port, power1 port, in-1 port, in-2 port, and fault1 port. The electromagnet driver chip 5-3 includes ou1-3 port, ou1-4 port, power2 port, in-3 port, in-4 port, and fault2 port.

[0049] RF chip 5-4 receives the lock signal, unlock signal, and alarm cancellation signal from the remote key. The lock signal is connected to IO11 port of microcontroller 5-1, and the unlock signal is connected to IO12 port of microcontroller 5-1. Engagement position sensor 2-6, lock position sensor 2-7, and unlock position sensor 2-5 are connected to IO8, IO9, and IO7 ports of microcontroller 5-1, respectively. Push-button switch 4-3 is connected to IO10 of microcontroller 5-1. The in-1 and in-2 ports of motor driver chip 5-2 are connected to IO1 and IO2 ports of microcontroller 5-1, respectively. The out1-1 and out-2 ports of motor driver chip 5-2 are connected to the two ends of the coil of motor 3, respectively. The fault1 port of motor driver chip 5-2 is connected to interrupt 1 port of microcontroller 5-1.

[0050] When motor 3 experiences issues such as low power supply voltage, excessive current, or overheating of the driver chip during operation, the fault1 port of motor driver chip 5-2 outputs a motor fault alarm signal. Upon receiving this alarm signal, interrupt 1 port of microcontroller 5-1 sends alarm signals to RF chip 5-4 via IO13 and IO14 respectively. RF chip 5-4 then drives speaker 7 on the remote key to emit an alarm sound, and the green indicator light on the remote key 6 remains constantly lit. The control relationship between IO1 and IO2 ports of microcontroller 5-1 and motor 3 is as follows: when IO1 signal is 1 and IO2 signal is 0, the motor operates in clockwise rotation as viewed from the output shaft; when IO1 signal is 0 and IO2 signal is 1, the motor operates in counter-clockwise rotation as viewed from the output shaft; and when both IO1 and IO2 signals are 0, the motor is stopped.

[0051] The in-3 and in-4 ports of the electromagnet driver chip 5-3 are connected to the IO3 and IO4 ports of the microcontroller 5-1, respectively. The out-3 and out-4 ports of the electromagnet driver chip 5-3 are connected to the two ends of the coil of the electromagnet 2, respectively. The fault2 port of the electromagnet driver chip 5-3 is connected to the interrupt2 port of the microcontroller 5-1. When the electromagnet 2 experiences phenomena such as low power supply voltage, excessive current, or overheating of the driver chip during operation, the fault2 port of the electromagnet driver chip 5-3 outputs an electromagnet fault alarm signal. After receiving the electromagnet fault alarm signal, the interrupt2 of the microcontroller 5-1 sends an alarm signal to the RF chip 5-4 through the IO13 and IO5 ports. The RF chip 5-4 drives the speaker on the remote control key to emit an alarm sound, and the red indicator light on the remote control key 6 remains constantly lit. The control relationship between the microcontroller 5-1 and the electromagnet 2 is as follows: When the IO3 port signal is 0 and the IO4 port signal is a PWM with a duty cycle of D, the electromagnet current direction is positive, and the moving iron core moves from the unlocked position to the engaged position; when the IO3 port signal is 0 and the IO4 port signal is a PWM with a duty cycle of E, the electromagnet current direction is positive, and the moving iron core moves from the engaged position to the locked position; when the IO3 port signal is a PWM with a duty cycle of F and the IO4 port signal is 0, the electromagnet current direction is reverse, and the moving iron core moves from the locked position to the unlocked position; when the IO3 port signal is 0 and the IO4 port signal is 0, the electromagnet has no operating current, and the moving iron core is stationary.

[0052] This invention presets the action times of the electromagnet and motor. If the action time exceeds the preset time, the system is judged to be in a fault state, and the rider is notified of the failure of the smart locking system through an audible and visual alarm device.

[0053] This invention discloses a control method for a smart locking system for two-wheeled vehicles, comprising the following steps:

[0054] Locking the car:

[0055] When the two-wheeled vehicle is parked, the driver presses the lock button on the remote key 6 to wirelessly send a lock signal to the controller 5. If the moving iron core 2-1 is already in the lock travel position and the push button switch 4-3 is on, the IO9 port signal of the microcontroller 5-1 is 1 and the IO10 port signal is also 1, then the controller 5 ignores the lock signal. If the moving iron core 2-1 is not in the lock travel position, the IO9 port signal of the microcontroller 5-1 is 0, and the push button switch 4-3 is on, the IO10 port signal of the microcontroller 5-1 is 1, then it is determined that the steering column 1-2 is in the lockable position, the IO1 port signal of the microcontroller 5-1 is 1, the IO2 port signal is 0, the IO3 port signal is 0, and the IO4 port outputs a PWM signal with a duty cycle equal to E, and the motor 3 rotates clockwise. As the needle rotates, the moving iron core 2-1 is inserted into the locking hole 1-2-4 on the locking plate 1-2-1. The steering system 1 and the head tube 4 are locked at a fixed angle, preventing the vehicle from moving in a straight line, thus achieving the function of locking the vehicle. After the locking position sensor 2-5 outputs a successful locking signal, the IO9 port signal of the microcontroller 5-1 is 1, and the IO1, IO2, IO3, and IO4 ports are 0. The motor driver chip and the electromagnet driver chip control the electromagnet and motor to have no working current, respectively. The cylindrical magnet 1-2-2 in the locking hole 1-2-4 attracts the moving iron core 2-1, ensuring that the vehicle remains locked when the power supply to the whole vehicle is turned off, and also avoiding power loss in the locked state.

[0056] If the controller 5 receives a lock signal, and the steering column 1-2 is not in the lockable position, and the push-button switch 4-3 is not conducting, then the IO1 port signal of the microcontroller 5-1 is 1, the IO2 port signal is 0, the IO3 port signal is 0, and the IO4 port outputs a PWM signal with a duty cycle equal to D. The motor 3 rotates clockwise, and the moving iron core 2-1 moves the small gear 2-4 towards the meshing position of the large gear 1-2-3. After the meshing position sensor 2-5 sends a successful meshing signal, the IO8 port signal of the microcontroller 5-1 is 1, and the moving iron core 2-1 remains in the gear meshing stroke position. The motor 3 continues to rotate clockwise, driving the steering column 1-2 to rotate counterclockwise. After rotating the steering system 1 to the lockable position, the IO1 port signal of the microcontroller 5-1 is 1, and the IO2 port signal is 0. When the signal is 0, the IO3 port signal is 0, and the IO4 port outputs a PWM signal with a duty cycle equal to E. The motor 3 rotates clockwise, and the moving iron core 2-1 is inserted into the locking hole 1-2-4 on the locking plate 1-2-1. The steering system 1 and the head tube 4 are locked at a fixed angle, and the vehicle cannot move in a straight line, thus realizing the function of locking the vehicle. After the locking position sensor 2-5 outputs a locking success signal, the IO9 port signal of the microcontroller 5-1 is 1, the IO1 port signal of the microcontroller is 0, the IO2 port signal is 0, the IO3 port signal is 0, and the IO4 port signal is 0. The motor driver chip and the electromagnet driver chip control the electromagnet and the motor to have no working current, and the cylindrical magnet 1-2-2 in the locking hole 1-2-4 attracts the moving iron core 2-1.

[0057] Unlocking process:

[0058] The driver presses the unlock button on the remote key 6, wirelessly sending an unlock signal to the controller 5. If the moving iron core 2-1 is already in the unlocking position, the IO7 port signal of the microcontroller 5-1 is 1, and the controller 5 ignores the unlock signal. If the moving iron core 2-1 is not in the unlocking position, the IO7 port signal of the microcontroller 5-1 is 0, then the IO1 port signal of the microcontroller is 0, the IO2 port signal is 1, the IO3 port outputs a PWM signal with a duty cycle equal to F, the IO4 port signal is 0, and the moving iron core 2-1 moves towards the unlocking position. Motor 3 rotates counterclockwise, and the moving iron core 2-1 returns to the unlocking stroke position. The unlocking position sensor 2-5 sends an unlocking success signal to the controller 5. The IO7 port signal of the microcontroller 5-1 is 1, the IO1 port signal is 0, the IO2 port signal is 0, the IO3 port signal is 0, and the IO4 port signal is 0. The microcontroller controls the electromagnet and motor to have no working current through the motor driver chip and the electromagnet driver chip respectively. The moving iron core 2-1 is attracted by the ring magnet 3-2 located at the end of the motor, and the unlocking action is completed.

[0059] When a fault occurs during motor operation, the motor driver chip outputs a motor fault alarm signal. After receiving the motor fault alarm signal, the microcontroller sends out a motor fault alarm signal through the radio frequency chip. The radio frequency chip drives the speaker to emit an alarm sound, the green indicator light on the remote key stays on, and the signals of IO13 port and IO14 port are both 1.

[0060] When a fault occurs during the operation of the electromagnet, the electromagnet driver chip outputs an electromagnet fault alarm signal. After receiving the electromagnet fault alarm signal, the microcontroller sends an electromagnet fault alarm signal through the radio frequency chip. The radio frequency chip drives the speaker to emit an alarm sound, the red indicator light on the remote key stays on, and the IO13 port signal is 1 and the IO5 port signal is 1.

[0061] When engaged, the moving iron core 2-1 moves from the unlocked position to the engaged position; when the time from when the microcontroller receives the lock signal to when it receives the successful engagement signal is greater than T2, the microcontroller sends an engagement failure alarm signal through the RF chip, the RF chip drives the speaker to emit an alarm sound, the red and green indicator lights on the remote key are constantly lit, the IO13 port signal is 1, the IO14 port signal is 1, and the IO5 port signal is 1;

[0062] When the steering wheel rotates, the moving iron core 2-1 remains in the engaged position, the motor 3 rotates clockwise, the steering system rotates counterclockwise, and the limit block 1-3-2 moves closer to the push button switch 4-3. When the time from when the microcontroller receives the successful engagement signal to when it receives the conduction signal from the push button switch is greater than T3, the microcontroller sends a rotation failure alarm signal through the radio frequency chip. The radio frequency chip drives the horn to emit an alarm sound, and the red and green indicator lights on the remote key flash. The signal at port IO13 is 1, and the signals at ports IO14 and IO5 are square waves.

[0063] When the lock is engaged, the moving iron core 2-1 moves from the engaged position to the locked position and inserts into the locking hole 1-2-4. When the time from when the microcontroller receives the on signal from the button switch to when it receives the lock success signal is greater than T1, the microcontroller sends a lock failure alarm signal through the radio frequency chip. The radio frequency chip drives the speaker to emit an alarm sound, the green indicator light on the remote key flashes, the signal on the IO13 port is 1, and the signal on the IO14 port is a square wave.

[0064] When unlocking, the moving iron core 2-1 moves from the locked position to the unlocking position. When the time from when the microcontroller receives the unlocking signal to when the unlocking success signal is greater than T4, the microcontroller sends an unlocking failure alarm signal through the radio frequency chip. The radio frequency chip drives the speaker to emit an alarm sound, the red indicator light on the remote key flashes, the IO13 port signal is 1, and the IO5 port signal is a square wave.

[0065] After receiving the alarm cancellation signal from the remote control key, the microcontroller cancels the relevant audible and visual alarm signals.

Claims

1. A smart locking system for two-wheeled vehicles, characterized in that, The system includes a handlebar (1-1), a steering column (1-2) connected to the handlebar, a lower connecting plate (1-3) for connecting the steering column and the front fork, a head tube (4) fitted onto the steering column, an electromagnet (2) located on the head tube, a motor (3) located on the head tube for driving the handlebar (1-1) to rotate, a controller (5), and a remote control key (6). The steering column (1-2) is fitted with a large gear (1-2-3) and a locking plate (1-2-1) located above the large gear. The electromagnet (2) includes an electromagnet housing (2-3), an electromagnet that is adapted to the electromagnet housing and connected to the head tube. The system includes an iron cover (2-8), a movable iron core (2-1) that moves linearly along the electromagnet housing, a small gear (2-4) that meshes with the large gear and is mounted on the movable iron core, a travel sensing block (2-2) that is mounted on the movable iron core, and an unlocking position sensor (2-5), a meshing position sensor (2-6), and a locking position sensor (2-7) that correspond to the travel positions of the travel sensing block. A left turn limit post (1-3-1) and a right turn limit post (1-3-2) are symmetrically arranged on the lower connecting plate (1-3). A push-button switch (4-3) is mounted on the head tube (4). The limit block (4-2) is used to compress the button of the push button switch (4-3) when the steering column (1-2) rotates to the right steering limit column (1-3-2) position. The push button switch (4-3) is turned on, and the controller (5) receives the signal that the steering column (1-2) has rotated to the lockable position. The motor (3) includes a motor housing (3-1), a rotating shaft (3-3), and an annular magnet (3-2) fixed to the end of the motor housing and sleeved around the rotating shaft. The two semi-cylinders on the rotating shaft (3-3) are inserted into the two corresponding semi-circular holes of the moving iron core to complete the connection between the motor rotating shaft and the moving iron core of the electromagnet. The core (2-1) can slide back and forth along the rotating shaft (3-3); the locking plate (1-2-1) has an upwardly protruding locking hole (1-2-4), and a cylindrical magnet (1-2-2) for attracting the moving iron core is provided in the locking hole (1-2-4); when the car is successfully locked, the controller (5) cuts off the power supply of the electromagnet (2), and the cylindrical magnet (1-2-2) attracts the moving iron core (2-1) by magnetic attraction and remains in the locked state; when the car is successfully unlocked, the controller (5) cuts off the power supply of the electromagnet (2), and the ring magnet (3-2) attracts the moving iron core (2-1) by magnetic attraction and remains in the unlocked state.

2. The intelligent locking system for two-wheeled vehicles according to claim 1, characterized in that: The controller (5) includes a microcontroller (5-1), a motor drive chip (5-2), an electromagnet drive chip (5-3), and a radio frequency chip (5-4). The unlock position sensor (2-5), engagement position sensor (2-6), lock position sensor (2-7), push button switch (4-3), horn (7), radio frequency chip (5-4), motor drive chip (5-2), and electromagnet drive chip (5-3) are respectively connected to the microcontroller (5-1). The motor drive chip (5-2) is connected to the two ends of the coil of the motor (3). The electromagnet drive chip (5-3) is connected to the two ends of the coil of the electromagnet (2). The radio frequency chip (5-4) receives the lock signal, unlock signal, and alarm release signal sent by the remote key and transmits them to the microcontroller (5-1). The radio frequency chip (5-4) also receives the fault alarm signal sent by the microcontroller (5-1) and drives the horn and the indicator light on the remote key to emit sound and light alarm signals.

3. The intelligent locking system for two-wheeled vehicles according to claim 1, characterized in that: The moving iron core (2-1) of the electromagnet (2) has an unlocking stroke position, an engagement stroke position and a locking stroke position in sequence. The unlocking position sensor (2-5), engagement position sensor (2-6) and locking position sensor (2-7) are all equipped with Hall sensors. When the stroke sensing block (2-2) reaches the corresponding position of the unlocking position sensor (2-5), engagement position sensor (2-6) and locking position sensor (2-7), the Hall sensor at the corresponding position outputs the corresponding stroke position successful arrival signal to the controller (5).

4. The intelligent locking system for two-wheeled vehicles according to claim 3, characterized in that: The controller (5) adjusts the duty cycle of the PWM signal applied to both ends of the electromagnet (2) coil to control the working current of the electromagnet, thereby controlling the different stroke positions of the moving iron core (2-1); the controller (5) controls the movement direction of the moving iron core (2-1) by changing the positive and negative polarities of the signal at both ends of the electromagnet coil; after the controller (5) applies a positive PWM signal with a duty cycle equal to D to both ends of the electromagnet (2) coil, the moving iron core (2-1) drives the small gear (2-4) to move together to the position of meshing with the large gear (1-2-3), driving the stroke sensing block (2-2) to move to the meshing position sensor (2-6), and the meshing position sensor (2-6) The controller (5) senses a successful engagement signal and sends it to the controller (5). After the controller (5) applies a positive PWM signal with a duty cycle equal to E to the two ends of the coil of the electromagnet (2), the moving iron core (2-1) drives the stroke sensing block (2-2) to move to the lock position sensor (2-7). The lock position sensor (2-7) senses a successful lock signal and sends it to the controller (5). After the controller (5) applies a reverse PWM signal with a duty cycle equal to F to the two ends of the coil of the electromagnet (2), the moving iron core (2-1) drives the stroke sensing block (2-2) to move to the unlock position sensor (2-5). The unlock position sensor (2-5) senses a successful lock signal and sends it to the controller (5).

5. A control method for a two-wheeled vehicle intelligent locking system according to any one of claims 1 to 4, characterized in that, The steps include the following: Locking the car: When the two-wheeled vehicle is parked, the driver presses the lock button on the remote key (6) to wirelessly send a lock signal to the controller (5). If the moving iron core (2-1) is already in the lock travel position and the button switch (4-3) is on, the controller (5) ignores the lock signal. If the moving iron core (2-1) is not in the lock travel position and the button switch (4-3) is on, it is determined that the steering column (1-2) is in the lockable position. The microcontroller (5-1) outputs a PWM signal with a duty cycle equal to E, and the motor (3) rotates clockwise. The moving iron core (2-1) Inserted into the locking hole (1-2-4) on the locking plate (1-2-1), the steering column (1-2) and the head tube (4) are locked at a fixed angle, and the vehicle cannot move in a straight line, thus realizing the function of locking the vehicle. After the locking position sensor (2-7) outputs a successful locking signal, the microcontroller (5-1) controls the electromagnet (2) and the motor (3) to have no working current through the motor drive chip (5-2) and the electromagnet drive chip (5-3) respectively. The cylindrical magnet (1-2-2) in the locking hole (1-2-4) attracts the moving iron core (2-1). If the controller (5) receives a lock signal, the steering column (1-2) is not in the lockable position, and the push-button switch (4-3) is not conducting, then the microcontroller (5-1) outputs a PWM signal with a duty cycle equal to D. The motor (3) rotates clockwise, and at the same time, the moving iron core (2-1) moves the small gear (2-4) towards the meshing position of the large gear (1-2-3). After the meshing position sensor (2-6) sends a successful meshing signal, the moving iron core (2-1) remains in the meshing stroke position, and the motor (3) continues to rotate clockwise and drives the steering column (1-2) to rotate counterclockwise through the large gear (1-2-3) meshing with the small gear (2-4), rotating the steering column (1-2) to the lock position. After the vehicle is positioned, the microcontroller (5-1) outputs a PWM signal with a duty cycle equal to E, the motor (3) rotates clockwise, and the moving iron core (2-1) is inserted into the locking hole (1-2-4) on the locking plate (1-2-1). The steering column (1-2) and the head tube are locked at a fixed angle, and the vehicle cannot move in a straight line, thus realizing the function of locking the vehicle. After the locking position sensor (2-7) outputs a successful locking signal, the microcontroller (5-1) controls the electromagnet (2) and the motor (3) to have no working current through the motor drive chip (5-2) and the electromagnet drive chip (5-3) respectively. The cylindrical magnet (1-2-2) in the locking hole (1-2-4) attracts the moving iron core (2-1). Unlocking process: The driver presses the unlock button on the remote key (6) to wirelessly send an unlock signal to the controller (5). If the moving iron core (2-1) is already in the unlock stroke position, the controller (5) ignores the unlock signal. If the moving iron core (2-1) is not in the unlock stroke position, the microcontroller (5-1) outputs a PWM signal with a duty cycle equal to F. The moving iron core (2-1) moves to the unlock stroke position, the motor (3) rotates counterclockwise, the moving iron core (2-1) returns to the unlock stroke position, and the unlock position sensor (2-5) sends an unlock success signal to the controller (5). The microcontroller (5-1) controls the electromagnet (2) and the motor (3) to have no working current through the motor drive chip (5-2) and the electromagnet drive chip (5-3), respectively. The moving iron core (2-1) is attracted by the ring magnet (3-2) located at the end of the motor, and the unlocking action is completed.

6. The control method for a two-wheeled vehicle intelligent locking system according to claim 5, characterized in that, The steps include the following: When the motor (3) malfunctions during operation, the motor drive chip (5-2) outputs a motor malfunction alarm signal. After receiving the motor malfunction alarm signal, the microcontroller (5-1) sends out a motor malfunction alarm signal through the radio frequency chip (5-4). The radio frequency chip (5-4) drives the speaker (7) to emit an alarm sound, and at the same time drives the green indicator light (8) on the remote control key (6) to stay on. When the electromagnet (2) malfunctions during operation, the electromagnet drive chip (5-3) outputs an electromagnet malfunction alarm signal. After receiving the electromagnet malfunction alarm signal, the microcontroller (5-1) sends an electromagnet (2) malfunction alarm signal through the radio frequency chip (5-4). The radio frequency chip (5-4) drives the speaker (7) to emit an alarm sound, and at the same time drives the red indicator light (9) on the remote control key (6) to stay on. When the time from when the microcontroller (5-1) receives the lock signal to when it receives the successful engagement signal is greater than T2, the microcontroller (5-1) sends an engagement failure alarm signal through the radio frequency chip (5-4). The radio frequency chip (5-4) drives the speaker (7) to emit an alarm sound, and at the same time drives the red indicator (9) and green indicator (8) on the remote control key (6) to be constantly lit. When the time from when the microcontroller (5-1) receives the successful engagement signal to when it receives the conduction signal from the button switch (4-3) is greater than T3, the microcontroller (5-1) sends a rotation failure alarm signal through the radio frequency chip (5-4). The radio frequency chip (5-4) drives the speaker (7) to emit an alarm sound, and at the same time drives the red indicator (9) and green indicator (8) of the remote control key (6) to flash. When the time from when the microcontroller (5-1) receives the turn-on signal from the button switch (4-3) to when it receives the lock success signal is greater than T1, the microcontroller (5-1) sends a lock failure alarm signal through the radio frequency chip (5-4). The radio frequency chip (5-4) drives the horn (7) to emit an alarm sound, and at the same time drives the green indicator light (8) on the remote control key (6) to flash. When the time from the unlock signal received by the microcontroller (5-1) to the unlock success signal is greater than T4, the microcontroller (5-1) sends an unlock failure alarm signal through the radio frequency chip (5-4). The radio frequency chip (5-4) drives the speaker (7) to emit an alarm sound, and at the same time drives the red indicator light (9) on the remote control key (6) to flash. Press the alarm release button on the remote key (6), and the microcontroller (5-1) will receive the alarm release signal and then release the audible and visual alarm signal.

Citation Information

Patent Citations

  • Electric antitheft lock

    CN103241308A

  • Structure of cylinder lock by electronic control and its control system

    JP2003161065A