Electronic lock control circuit and vehicle
By using the control drive module and execution feedback module of the electronic lock control circuit, motor drive and bolt position detection are achieved through three wiring harnesses, which solves the problem of excessive wiring harnesses and pins in the existing technology, simplifies system design and reduces costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- NINE INTELLIGENT CHANGZHOU TECH CO LTD
- Filing Date
- 2025-04-23
- Publication Date
- 2026-04-21
AI Technical Summary
In existing electric bicycles and electric motorcycles, a large number of wiring harnesses and connector pins are required between the vehicle control system and the electronic lock control system, which increases system complexity and cost, and makes wiring harness layout difficult.
An electronic lock control circuit is adopted, including a control drive module and an execution feedback module. The motor drive control and lock tongue position detection are realized through three wiring harnesses, reducing the number of wiring harnesses and pins. The motor drive is optimized using a microcontroller and H-bridge circuit. The result feedback unit feeds back the execution result through an analog-to-digital converter.
It significantly reduces the number of wiring harnesses and pins, simplifies system design, reduces the complexity and cost of vehicle layout, and improves system integration and reliability.
Smart Images

Figure CN224152987U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic lock technology, and more particularly to an electronic lock control circuit and a vehicle. Background Technology
[0002] With the widespread use of electric bicycles and electric motorcycles, vehicle safety and intelligence have become a focus for users. Electronic locks, as an important anti-theft and management device for modern vehicles, are gradually replacing traditional mechanical locks. Electronic locks not only improve vehicle security but also can be integrated with the vehicle's electronic control system to achieve more convenient and intelligent operation.
[0003] In existing technologies, a large number of wiring harnesses are required between the vehicle control system and the electronic lock control system in electric bicycles and electric motorcycles. This requirement not only increases the complexity of the system but also raises the overall cost. Furthermore, the large number of connector pins required to connect the numerous wiring harnesses results in larger connector sizes, posing a challenge to the overall wiring harness layout and structural development of the vehicle.
[0004] Therefore, how to reduce the number of wiring harnesses and connector pins to simplify system design, optimize vehicle layout, and reduce manufacturing costs has become an urgent technical problem to be solved. Utility Model Content
[0005] This application provides an electronic lock control circuit and a vehicle to solve the technical problem that the excessive number of wiring harnesses and connector pins in existing vehicles leads to increased complexity and cost of the entire vehicle system.
[0006] On the one hand, this application provides an electronic lock control circuit, which is installed in a vehicle;
[0007] The electronic lock control circuit includes a control drive module disposed in the controller and an execution feedback module disposed in the electronic lock; wherein...
[0008] The execution feedback module includes a motor and a result feedback unit; the result feedback unit is used to provide feedback on the execution result of the electronic lock's execution components.
[0009] The first drive end of the control drive module is connected to the first end of the motor, the second drive end of the control drive module is connected to the second end of the motor, and the result feedback end of the control drive module is connected to the result feedback unit.
[0010] In one optional embodiment, the control drive module includes: a control unit and a motor drive unit;
[0011] The control unit is connected to the control terminal of the motor drive unit, and the first and second output terminals of the motor drive unit serve as the first and second drive terminals of the control drive module.
[0012] The control unit is also connected to the result feedback unit.
[0013] In one alternative implementation, the control unit includes a microcontroller whose analog-to-digital converter pin is connected to the result feedback unit.
[0014] In one optional embodiment, the motor drive unit includes a drive chip and an H-bridge circuit;
[0015] The control unit is connected to the input terminal of the driver chip, and the control electrodes of the first transistor, second transistor, third transistor and fourth transistor of the H-bridge circuit are respectively connected to different output terminals of the driver chip;
[0016] The first terminal of the first transistor and the first terminal of the third transistor are connected and connected to the first power supply terminal; the second terminal of the first transistor and the first terminal of the second transistor are connected and serve as the first driving terminal of the control driving module; the second terminal of the second transistor and the second terminal of the fourth transistor are connected and grounded; the first terminal of the fourth transistor and the second terminal of the third transistor are connected and serve as the second driving terminal of the control driving module.
[0017] In one optional embodiment, the result feedback unit includes a first result feedback unit and a second result feedback unit, which are used to feed back the locking execution result and the unlocking execution result of the execution component, respectively.
[0018] The first end of the first result feedback unit and the first end of the second result feedback unit are both connected to the result feedback end of the control drive module;
[0019] The second end of the first result feedback unit is connected to the first end of the motor;
[0020] The second end of the second result feedback unit is connected to the second end of the motor.
[0021] In one optional embodiment, the first result feedback unit includes a first switch and a first resistor; the first switch and the first resistor are connected in series between a first end of the motor and a first end of the first result feedback unit; the first switch is set at a first preset position of the execution component, and when the execution component reaches the first preset position, the locking execution result indicates that the locking execution of the execution component is successful;
[0022] The second result feedback unit includes a second switch and a second resistor; the second switch and the second resistor are connected in series between the second end of the motor and the first end of the second result feedback unit; the second switch is set at the second preset position of the execution component, and when the execution component reaches the second preset position, the locking execution result indicates that the execution component has successfully unlocked;
[0023] The control drive module further includes a third resistor; the first end of the third resistor is connected to the second power supply terminal, and the second end of the third resistor is connected to the first end of the result feedback unit.
[0024] In one optional embodiment, the first result feedback unit further includes a first diode; the first switch, the first diode, and the first resistor are connected in series between the first terminal of the motor and the first terminal of the first result feedback unit.
[0025] The second result feedback unit further includes a second diode; the second switch, the second diode, and the second resistor are connected in series between the second terminal of the motor and the first terminal of the second result feedback unit.
[0026] In one optional embodiment, the control drive module includes a first connector, wherein a first drive end, a second drive end, and a result feedback end of the control drive module are respectively connected to the first connector; the execution feedback module includes a second connector, wherein a first end of the motor, a second end of the motor, and a first end of the result feedback unit in the execution feedback module are respectively connected to the second connector; the first connector is also connected to the second connector via a ribbon cable;
[0027] Both the first connector and the second connector are either 3-pin or 4-pin connectors.
[0028] In one alternative implementation, the electronic lock includes any one of a steering lock, a saddle lock, a tire lock, a frame lock, and a battery lock.
[0029] On the other hand, this application provides a vehicle including: the electronic lock control circuit described in any one of the first aspects.
[0030] The electronic lock control circuit and vehicle provided in this application include a control drive module disposed in the controller and an execution feedback module disposed in the electronic lock. The execution feedback module includes a motor for performing unlocking and locking actions and a result feedback unit that can provide feedback on the execution results of the electronic lock's execution components. Optionally, the first drive end of the control drive module is connected to the first end of the motor, and the second drive end is connected to the second end of the motor. These two wiring harnesses are used to transmit the current and control signals required for motor drive, enabling the control drive module to control the motor's forward or reverse rotation. Furthermore, in order to obtain the execution result (i.e., the latch position) of the electronic lock's execution components, the control drive module also needs to connect to the result feedback unit. Specifically, it can receive the execution result information of the electronic lock's execution components fed back by the result feedback unit through the wiring harness connected to the result feedback unit at its result feedback end. In summary, in the vehicle provided in this application, a total of three wiring harnesses between the controller and the electronic lock achieve both motor drive control and latch position detection. Compared to existing technologies that require a large number of wire harnesses and connector pins to achieve similar functions, this significantly reduces the number of wire harnesses and pins, thereby effectively reducing system complexity and avoiding the cost increase caused by excessive wire harnesses and pins. Attached Figure Description
[0031] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0032] Figure 1 A schematic diagram of the structure of a vehicle provided in an embodiment of this application;
[0033] Figure 2 This is a schematic diagram of the structure of an electronic lock control circuit provided in an embodiment of this application;
[0034] Figure 3 This is a schematic diagram of another electronic lock control circuit provided in an embodiment of this application;
[0035] Figure 4 This is a schematic diagram of another electronic lock control circuit provided in an embodiment of this application;
[0036] Figure 5 This is a schematic diagram of another electronic lock control circuit provided in an embodiment of this application.
[0037] Explanation of reference numerals in the attached figures:
[0038] 100 - Vehicle; 1 - Controller; 2 - Electronic lock; 3 - Electronic lock control circuit; 10 - Control drive module; 20 - Execution feedback module; 21 - Motor; 22 - Result feedback unit; 11 - Control unit; 12 - Motor drive unit; 110 - Microcontroller; 121 - Driver chip; 122 - H-bridge circuit; POWER - First power supply terminal; Q1 - First transistor; Q2 - Second transistor; Q3 - Third transistor; Q4 - Fourth transistor; 221 - First result feedback unit; 222 - Second result feedback unit; R1 - First resistor; K1 - First switch; R2 - Second resistor; K2 - Second switch; R3 - Third resistor; VCC - Second power supply terminal; D1 - First diode; D2 - Second diode; 13 - First connector; 23 - Second connector.
[0039] The accompanying drawings have illustrated specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to specific embodiments. Detailed Implementation
[0040] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0041] As described in the background section, electronic locks typically rely on an external controller to control and drive them. The specific control and driving process can be as follows: when a user issues an unlock or lock command via a key, remote control, or other control device, the controller generates corresponding drive signals based on the command. These signals are usually based on specific encoding protocols and electrical signal formats, such as Pulse Width Modulation (PWM) signals, which control the motor's speed and direction of rotation by changing the pulse duty cycle.
[0042] Since the drive signal generated by the controller based on instructions is usually too weak to directly drive the motor inside the electronic lock, it is amplified to enhance its driving capability, providing sufficient current and voltage to drive the motor. The amplified drive signal is then transmitted to the electronic lock via external leads, acting on the motor within the lock body to rotate it in a predetermined direction. For example, during locking, the motor rotates forward and drives the lock cylinder through the transmission device, extending the bolt and locking the lock. During unlocking, the motor rotates in reverse, causing the lock cylinder to rotate in the opposite direction, retracting the bolt and unlocking the lock.
[0043] After the electronic lock completes the unlocking or locking action, a position sensor pre-installed inside the lock body detects the position of the bolt and converts the detected bolt position signal into an electrical signal, which is then fed back to the controller via an external lead. These feedback signals can be simple switching signals (high or low level) or more complex digital signals, depending on the type of sensor and the design of the controller.
[0044] After receiving a feedback signal indicating the lock tongue's status, the controller determines, according to preset logic, whether the lock tongue has reached the preset position corresponding to unlocking or locking, i.e., whether the unlocking or locking has been successful. If the lock tongue position does not match the expectation, the controller may take corresponding measures, such as issuing an alarm sound or displaying fault information on the controller, to alert the user that there may be a problem with the lock.
[0045] It should be understood that to achieve the detection of the execution results of the aforementioned motor drive and actuator components, multiple wiring harnesses are required to connect the electronic lock and the controller. For example, at least five wiring harnesses are needed between the electronic lock and the controller, including: motor positive wire, motor negative wire, feedback signal A wire, feedback signal B wire, and ground wire. The motor positive and negative wires are mainly used to drive the motor to rotate forward and backward to achieve the corresponding actions of the lock, while the ground wire provides a ground plane for the entire circuit. The feedback signal A wire, through the on / off state of a limit switch, is specifically responsible for detecting whether the electronic lock unlocking was successful, i.e., whether it was fully unlocked. The feedback signal B wire, similarly through the on / off state of a limit switch, detects whether the electronic lock was fully locked. Furthermore, to achieve the connection of these five wiring harnesses, a 6-pin connector is required to connect the electronic lock and the controller.
[0046] However, in practical applications, the above connection design has obvious drawbacks. The large number of connecting wires not only increases the complexity of wiring but also makes the overall vehicle wiring harness layout more difficult. At the same time, the large number of connector pins results in a larger connector size, posing a challenge to the overall vehicle wiring harness layout and structural development.
[0047] Therefore, how to reduce the number of wiring harnesses and connector pins to simplify system design, optimize vehicle layout, and reduce manufacturing costs has become an urgent technical problem to be solved.
[0048] This application provides an electronic lock control circuit and a vehicle to solve the aforementioned technical problems. The vehicle includes an electronic lock and a controller. The electronic lock control circuit includes a control drive module disposed in the controller and an execution feedback module disposed in the electronic lock. The execution feedback module includes a motor for performing unlocking and locking actions and a result feedback unit that can provide feedback on the execution results of the electronic lock's execution components. Optionally, a first drive end of the control drive module is connected to a first end of the motor, and a second drive end is connected to a second end of the motor. These two wiring harnesses are used to transmit the current and control signals required for motor driving, enabling the control drive module to control the motor's forward or reverse rotation. Furthermore, in order to obtain the execution result (i.e., the latch position) of the electronic lock's execution components, the control drive module also needs to connect to the result feedback unit. Specifically, it can receive the execution result information of the electronic lock's execution components fed back by the result feedback unit through the wiring harness connected to the result feedback unit at its result feedback end. In summary, in the vehicle provided in this application, a total of three wiring harnesses between the controller and the electronic lock achieve both motor drive control and latch position detection. Compared to existing technologies that require a large number of wire harnesses and connector pins to achieve similar functions, this significantly reduces the number of wire harnesses and pins, thereby effectively reducing system complexity and avoiding the cost increase caused by excessive wire harnesses and pins.
[0049] The technical solutions of this application and how they solve the aforementioned technical problems are described in detail below with reference to optional embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0050] To better explain the electronic lock control circuit provided in the embodiments of this application, the vehicle equipped with the electronic lock control circuit will be described in detail below.
[0051] The vehicles provided in this application embodiment may include, but are not limited to, electric two-wheeled vehicles, electric tricycles, or electric four-wheeled vehicles. In this application embodiment, an electric two-wheeled vehicle is used as an example for illustrative purposes. The electric two-wheeled vehicle may include electric motorcycles and electric bicycles, etc., and the type of electric two-wheeled vehicle is not further limited.
[0052] Figure 1 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application. See also... Figure 1 The vehicle 100 includes a controller 1 and an electronic lock 2 that is communicatively connected to the controller 1.
[0053] In this application, controller 1 can be understood as the core control unit of the entire vehicle, used to coordinate and control various systems of the vehicle. Depending on different vehicle models and design requirements, the location of controller 1 in vehicle 100 may vary. For example, it may be installed in the front of vehicle 100, under the pedals, or under the seat bucket, to adapt to the overall layout and functional requirements of vehicle 100.
[0054] In some vehicles 100, to achieve better heat dissipation or for specific structural layouts, the controller 1 may be installed in other locations, such as the side or rear of the chassis. This application embodiment does not specifically limit the location of the controller 1 within the vehicle 100.
[0055] It is important to understand that the electronic lock 2, as a security device in vehicle 100, can enhance the vehicle's anti-theft performance and user convenience through electronic control technology. Optionally, the electronic lock 2 uses electronic control technology to control the unlocking and locking operations of key vehicle components, thereby achieving anti-theft protection for vehicle 100. Optionally, depending on the different locations of the key components in vehicle 100, the type of electronic lock may vary, including but not limited to steering wheel locks, saddle locks, tire locks, frame locks, and battery locks.
[0056] In this application, controller 1 receives unlock or lock commands from the user and generates control signals for electronic lock 2 to control electronic lock 2 to perform unlock or lock actions. Furthermore, after electronic lock 2 performs an action, controller 1 receives an execution feedback signal from electronic lock 2 to determine the corresponding execution result, i.e., whether unlocking or locking was successful, and then issues corresponding control commands based on the execution result.
[0057] In one optional implementation, controller 1 can communicate with electronic lock 2 via a preset drive terminal. Optionally, a drive signal can be transmitted to electronic lock 2 via a first drive terminal or a second drive terminal of controller 1 to drive the motor to perform locking or unlocking operations; subsequently, after performing the corresponding operation, electronic lock 2 will transmit an execution feedback signal back to the result feedback terminal of controller 1 via a dedicated wiring harness for feedback of the execution result. In this way, communication via three wiring harnesses simplifies the number of wiring harnesses and pins connecting the electronic lock and controller in the vehicle, effectively reducing system complexity and improving the integration and reliability of the entire vehicle system.
[0058] Based on the above embodiments, the electronic lock control circuit in the vehicle provided in this application will be described in further detail below.
[0059] Figure 2 This is a schematic diagram of an electronic lock control circuit provided in an embodiment of this application. See also... Figure 2Based on the above implementation method, the electronic lock control circuit 3 is installed in the vehicle 100; wherein, the electronic lock control circuit 3 includes: a control drive module 10 and an execution feedback module 20; the control drive module 10 is installed in the controller 1, and the execution feedback module 20 is installed in the electronic lock 2; the execution feedback module 20 includes a motor 21 and a result feedback unit 22; the result feedback unit 22 is used to provide feedback on the execution result of the execution component in the electronic lock 2.
[0060] Optionally, the first drive end of the control drive module 10 is connected to the first end of the motor 21, the second drive end of the control drive module 10 is connected to the second end of the motor 21, and the result feedback end of the control drive module 10 is connected to the result feedback unit 22.
[0061] In this application, the electronic lock control circuit 3 can control the operation of the motor 21 inside the electronic lock 2 through electronic control technology, thereby driving the actuator inside the lock body to perform locking and unlocking operations.
[0062] Optionally, the control drive module 10 includes a control component and a drive component. The control component generates a corresponding drive signal based on the user-triggered unlock or lock command. Since the signal power output by the control component is typically low and cannot directly drive the motor inside the electronic lock, the generated drive signal can be transmitted to the drive component. The drive component amplifies the low-power drive signal to enhance its driving capability, providing sufficient current and voltage to drive the motor 21. Then, the amplified drive signal is transmitted to the motor 21 in the execution feedback module 20 through either the first drive output terminal or the second drive output terminal, enabling the motor 21 to rotate forward or reverse, thereby realizing the unlocking and locking actions of the electronic lock.
[0063] The actuators within the electronic lock 2 can include, but are not limited to, structures such as a bolt and a latch. When the motor 21 in the electronic lock control circuit 3 receives a drive signal corresponding to a locking command, it can control the motor 21 to rotate in the forward direction, causing the actuators to be in the extended position, thereby preventing the movement of certain components of the vehicle 100 (such as the steering wheel, saddle, etc.), thus completing the locking operation and serving as an anti-theft measure. When the motor 21 receives a drive signal corresponding to an unlocking command, it can control the motor 21 to rotate in the reverse direction. Accordingly, the actuators can be moved to the retracted position under the drive of the motor 21, allowing the relevant components of the vehicle 100 to operate normally.
[0064] For example, in the handlebar lock of an electric bicycle, when the motor 21 drives the lock tongue to be in the extended state, the handlebars of the electric bicycle cannot be turned, causing the electric bicycle to be in a locked state; when the motor 21 drives the lock tongue to be in the retracted state, the handlebars can move normally, realizing the unlocking of the electric bicycle.
[0065] After the electronic lock 2 completes the unlocking or locking action, the execution feedback module 20 located inside the electronic lock 2 can detect the execution result of the execution component, i.e., whether the unlocking or locking was successful, and transmit the signal representing the execution result to the control drive module 10 inside the controller 1 through the result feedback terminal. These feedback signals can be simple switching signals (high level or low level) or more complex digital signals, and this application embodiment does not specifically limit them.
[0066] Optionally, after receiving the feedback signal representing the execution result, the control drive module 10 will determine whether the execution result matches the control command according to preset logic. If the execution result does not match the expectation, the controller 1 may take corresponding measures, such as issuing an alarm sound or displaying fault information on the instrument panel, to alert the user that there may be a problem with the lock.
[0067] The electronic lock circuit provided in this application includes a control drive module disposed in the controller and an execution feedback module disposed in the electronic lock. The execution feedback module includes a motor for performing unlocking and locking actions and a result feedback unit that can provide feedback on the execution results of the electronic lock's execution components. Optionally, the first drive end of the control drive module is connected to the first end of the motor, and the second drive end is connected to the second end of the motor. These two wiring harnesses are used to transmit the current and control signals required for motor driving, enabling the control drive module to control the motor's forward or reverse rotation. Furthermore, in order to obtain the execution result (i.e., the latch position) of the electronic lock's execution components, the control drive module also needs to connect to the result feedback unit. Specifically, it can receive the execution result information of the electronic lock's execution components fed back by the result feedback unit through the wiring harness connected to the result feedback unit at its result feedback end. In summary, in the vehicle provided in this application, a total of three wiring harnesses between the controller and the electronic lock achieve both motor drive control and latch position detection. Compared to existing technologies that require a large number of wire harnesses and connector pins to achieve similar functions, this significantly reduces the number of wire harnesses and pins, thereby effectively reducing system complexity and avoiding the cost increase caused by excessive wire harnesses and pins.
[0068] The following description provides an example of the specific structures that each functional module in the electronic lock control circuit 3 may have, but it is not intended to limit this application.
[0069] Figure 3 A schematic diagram of another electronic lock control circuit provided in an embodiment of this application. See also... Figure 3Based on the above embodiments, optionally, the control drive module 10 includes: a control unit 11 and a motor drive unit 12; the control unit 11 is connected to the control terminal of the motor drive unit 12, and the first output terminal and the second output terminal of the motor drive unit 12 serve as the first drive terminal and the second drive terminal of the control drive module 10; the control unit 11 is also connected to the result feedback terminal of the control drive module 10.
[0070] In this application, the control unit 11 can be implemented using any controller with data analysis and processing functions, such as a microcontroller or a single-chip microcomputer. The motor drive unit 12 can be implemented using any device or circuit that can amplify the low-power control signal output by the control unit 11, such as a power amplifier or a motor drive chip, to provide sufficient current and voltage to drive the motor 21 to operate normally.
[0071] The control unit 11 includes a control terminal, which is connected to the control terminal of the motor drive unit 12. This allows the generated low-power drive signal to be transmitted to the motor drive unit for amplification. The amplified signal can then be transmitted to the motor via either the first or second output terminal of the motor drive unit 12, driving the actuator to move. The first and second output terminals are respectively connected to different ports of the motor 21, enabling the motor 21 to rotate forward or reverse, thereby achieving the unlocking or locking action of the electronic lock 2.
[0072] For example, when the control unit 11 generates a drive signal corresponding to the lock command, the drive signal can be transmitted to the motor 21 through the first output terminal and the first terminal of the motor 21 to control the motor 21 to drive the actuator to rotate forward, i.e., to perform the lock operation; when the control unit 11 generates a drive signal corresponding to the unlock command, the drive signal can be transmitted to the motor 21 through the second output terminal and the second terminal of the motor 21 to control the motor 21 to drive the actuator to rotate in reverse, i.e., to perform the unlock operation.
[0073] Based on the above, the control unit 11 also includes a result feedback terminal, which is connected to the result feedback unit 22. In this way, after the execution component performs its action, the result feedback unit 22 can transmit the execution feedback signal representing the execution result to the control unit 11 through the result feedback terminal, so that the control unit 11 can give the corresponding control signal in the subsequent control process.
[0074] Figure 4 A schematic diagram of another electronic lock control circuit provided in an embodiment of this application. See also... Figure 4 Optionally, the control unit 11 includes a microcontroller 110. Based on the advantages of the microcontroller 110, such as small size, light weight, high integration and modularity, the circuit size and weight can be significantly reduced, the system complexity and cost can be reduced, and it is easy to upgrade and maintain.
[0075] Based on this, the control terminal of the control unit 11 can be understood as the preset control pins in the microcontroller 110, such as the direction control pin. Specifically, the direction control pin typically has two pins (e.g., IN1 and IN2) used to control the rotation direction of the motor 21. By setting the level states of these two pins, the forward, reverse, or stop rotation of the motor 21 can be determined. For example: IN1 high level, IN2 low level: motor 21 rotates forward; IN1 low level, IN2 high level: motor 21 reverses; both IN1 and IN2 are low level: motor 21 brakes or stops.
[0076] Based on the above, the result feedback terminal of the control unit 11 can be understood as a pin in the microcontroller 110 used to preset the reception of feedback signals, such as an analog-to-digital converter (ADC) pin. Since the signal transmitted by the result feedback unit 22, which characterizes the execution result of the actuator in the electronic lock, is usually output in the form of an analog signal, the microcontroller 110 can convert the analog signal output by the result feedback unit 22 into a digital signal by connecting its analog-to-digital converter pin to the result feedback unit 22.
[0077] In this way, the microcontroller 110 can analyze and process the converted digital signal, thereby accurately understanding the execution result of the execution component in the electronic lock 2, and then making corresponding decisions, such as whether to continue driving the motor 21, or whether to adjust the driving direction and speed of the motor 21, so as to ensure that the electronic lock 2 can accurately and reliably complete the unlocking and locking operations.
[0078] Furthermore, when providing feedback on the execution results of unlocking and locking, the ADC pin of the microcontroller 110 is used to connect to the result feedback unit 22, instead of using two wire harnesses to connect the result feedback unit 22 and the controller 1. This not only reduces costs but also reduces fault points and interference, effectively improving the integration of the entire vehicle system.
[0079] See also Figure 4Optionally, the motor drive unit includes a drive chip 121 and an H-bridge circuit 122; the control unit 11 is connected to the input terminal of the drive chip 121, and the control electrodes of the first transistor Q1, the second transistor Q2, the third transistor Q3, and the fourth transistor Q4 of the H-bridge circuit 122 are respectively connected to different output terminals of the drive chip 121; the first electrode of the first transistor Q1 and the first electrode of the third transistor Q3 are connected and connected to the first power supply terminal POWER; the second electrode of the first transistor Q1 and the first electrode of the second transistor Q2 are connected and serve as the first drive terminal of the control drive module 10; the second electrode of the second transistor Q2 and the second electrode of the fourth transistor Q4 are connected and grounded; the first electrode of the fourth transistor Q4 and the second electrode of the third transistor Q3 are connected and serve as the second drive terminal of the control drive module 10.
[0080] Specifically, the control terminal of the control unit 11, i.e. the direction control pin of the microcontroller 110, is connected to the input terminal of the driver chip 121 to input the generated unlock or lock control signal to the driver chip 121. The driver chip 121 processes and amplifies these signals to meet the driving requirements of the subsequent H-bridge circuit 122.
[0081] In this application, the H-bridge circuit 122 consists of four transistors (transistors one, two, three, and four). These four transistors can be MOSFETs. Furthermore, depending on the actual design requirements, these MOSFETs can be either PMOS or NMOS types. This flexible configuration allows the H-bridge circuit to better adapt to different application scenarios and performance requirements, enabling more precise and efficient motor drive control in the electronic lock control circuit 3. For example, under different power requirements, voltage requirements, or response speed requirements, the circuit performance can be optimized by appropriately selecting PMOS or NMOS.
[0082] Optionally, the control terminals of the four transistors are respectively connected to different output terminals of the driver chip 121. The driver chip 121 controls the voltage polarity across the motor 21 by controlling the on and off states of these transistors, thereby realizing the forward and reverse rotation of the motor.
[0083] For example, the first terminal of the first transistor Q1 and the first terminal of the third transistor Q3 are connected and connected to the first power supply terminal POWER, enabling the power supply POWER to provide power to the H-bridge circuit 122. The second terminal of the first transistor Q1 and the first terminal of the second transistor Q2 are connected and serve as the first drive terminal of the control drive module 10, connected to one end of the motor 21. The first terminal of the fourth transistor Q4 and the second terminal of the third transistor Q3 are connected and serve as the second drive terminal of the control drive module 10, connected to the other end of the motor 21. Thus, when the first transistor Q1 and the fourth transistor Q4 are turned on, and the second transistor Q2 and the third transistor Q3 are turned off, current can flow from the power supply through the first transistor Q1 to this end of the motor 21. When the second transistor Q2 and the third transistor Q3 are turned on, and the first transistor Q1 and the fourth transistor Q4 are turned off, current can flow from the power supply through the third transistor Q3 to this end of the motor 21. The second terminal of the second transistor Q2 and the second terminal of the fourth transistor Q4 are connected and grounded, providing a return path for the current.
[0084] The specific working process of the H-bridge circuit 122 in transmitting drive signals to drive the motor 21 can include:
[0085] Optionally, if the motor 21 is controlled to rotate forward, the driver chip 121 will control the first transistor Q1 and the fourth transistor Q4 to conduct, while the second transistor Q2 and the third transistor Q3 will be turned off. At this time, current flows from the first power supply terminal POWER through the first transistor Q1 into the motor 21, and then flows out of the motor 21 and grounded through the fourth transistor Q4, forming a current loop. That is, the current flows from MOTO_H through the motor 21 to MOTO_L, and the motor 21 rotates in the forward direction. Conversely, if the motor 21 is controlled to rotate in reverse, the driver chip 121 will control the second transistor Q2 and the third transistor Q3 to conduct, while the first transistor Q1 and the fourth transistor Q4 will be turned off. At this time, current flows from the first power supply terminal POWER through the third transistor Q3 into the motor 21, and then flows out of the motor 21 and grounded through the second transistor Q2. That is, the current flows from MOTO_L through the motor 21 to MOTO_H, and the motor 21 rotates in the reverse direction.
[0086] Thus, through the above control logic and connection method, the motor drive unit 12 can accurately control the forward and reverse rotation of the motor 21 according to the instructions of the control unit 11, thereby realizing the unlocking and locking functions of the electronic lock 2.
[0087] Based on the above implementation methods, Figure 5 A schematic diagram of another electronic lock control circuit provided in an embodiment of this application. See also... Figure 5Optionally, the result feedback unit 22 includes a first result feedback unit 221 and a second result feedback unit 222, which are used to provide feedback on the locking and unlocking execution results of the execution component, respectively; the first end of the first result feedback unit 221 and the first end of the second result feedback unit 222 are both connected to the result feedback end of the control drive module 10; the second end of the first result feedback unit 221 is connected to the first end of the motor 21; and the second end of the second result feedback unit 222 is connected to the second end of the motor 21.
[0088] In this application, the first result feedback unit 221 and the second result feedback unit 222 provide feedback on the execution results of the execution components under different circumstances. For example, the first result feedback unit 221 is responsible for providing feedback on the locking execution result of the execution components; in other words, it can be understood as providing feedback to the control drive module 10 on whether the electronic lock has successfully completed the locking action. The second result feedback unit 222 is used to provide feedback on the unlocking execution result, that is, whether the electronic lock has successfully unlocked. These two result feedback units work together to provide feedback information to the control drive module 10 to ensure that the locking and unlocking operations of the electronic lock 2 are accurate.
[0089] Optionally, the first ends of the first result feedback unit 221 and the second result feedback unit 222 are both connected to the result feedback end of the control drive module 10. This allows the two result feedback units to transmit the collected execution results to the control drive module 10 in a unified manner, so that the control drive module 10 can determine whether the unlocking or locking operation of the electronic lock 2 has been successfully executed based on the received results.
[0090] Furthermore, the second end of the first result feedback unit 221 is connected to the first end of the motor 21, and the second end of the second result feedback unit 222 is connected to the second end of the motor 21. During the locking process of the electronic lock 2, if the locking is successful, the first result feedback unit 221 will detect a specific electrical signal and transmit the signal through the connection line with the control drive module 10. Similarly, the second result feedback unit 222 will detect the electrical signal corresponding to the unlocking execution result and feed the unlocking execution result back to the control drive module 10 through the same connection line.
[0091] This connection method enables the result feedback unit 22 to provide real-time and accurate feedback on the locking and unlocking results of the execution components in the electronic lock 2, providing important decision-making basis for the control drive module 10, thereby ensuring the stable operation of the electronic lock system.
[0092] The specific structures of the first result feedback unit 221 and the second result feedback unit 22 will be described below, but this is not intended to limit the scope of this application.
[0093] See also Figure 5Optionally, the first result feedback unit 221 includes a first switch K1 and a first resistor R1; the first switch K1 and the first resistor R1 are connected in series between the first end of the motor 21 and the first end of the first result feedback unit 221; the first switch K1 is set at the first preset position of the execution component, and when the execution component reaches the first preset position, the locking execution result indicates that the locking execution of the execution component is successful;
[0094] The second result feedback unit 222 includes a second switch K2 and a second resistor R2; the second switch K2 and the second resistor R2 are connected in series between the second end of the motor 21 and the first end of the second result feedback unit 222; the second switch K2 is set at the second preset position of the execution component, and when the execution component reaches the second preset position, the locking execution result indicates that the execution component has successfully unlocked;
[0095] The control drive module 10 also includes a third resistor R3; the first end of the third resistor R3 is connected to the second power supply terminal VCC, and the second end of the third resistor R3 is connected to the first end of the result feedback unit 222.
[0096] In this application, the first switch K1 and the first resistor R1 located in the first result feedback unit 221 are connected in series between the first end of the motor 21 and the first end of the first result feedback unit 221; the second switch K2 and the second resistor R2 located in the second result feedback unit 222 are connected in series between the second end of the motor 21 and the first end of the second result feedback unit 222; the third resistor R3 located in the control drive module 10 has its first end connected to the second power supply terminal VCC and its second end connected to the first end of the result feedback unit 22.
[0097] In the current electronic lock control circuit 3, the third resistor R3 acts as a voltage divider, and together with the first resistor R1 and the second resistor R2, it affects the voltage value detected by the microcontroller 110 through the ADC pin. Optionally, R1 and R2 can be configured with different resistance values. Furthermore, considering factors such as temperature, resistance, and diode accuracy, the voltage detected by the microcontroller 110 will be within different ranges when the actuator successfully locks and unlocks.
[0098] In this way, by reasonably setting the resistance values and voltage ranges of these resistors, the control drive module 10 can accurately determine the execution result of the electronic lock 2 based on the voltage detected by the microcontroller 110.
[0099] In the electronic lock control circuit 3 of this application, the first switch K1 in the first result feedback unit 221 is connected in series with the first resistor R1, and is connected between the first end of the motor 21 and the first end of the first result feedback unit 221; the second switch K2 in the second result feedback unit 222 is connected in series with the second resistor R2, and is connected between the second end of the motor 21 and the first end of the second result feedback unit 222. The third resistor R3 in the control drive module 10 has one end connected to the second power supply terminal VCC, and the other end connected to the first end of the result feedback unit 22.
[0100] Optionally, the feedback process of the first result feedback unit 221 is as follows: When the user initiates the locking operation, the control drive module 10 regulates its internal H-bridge circuit 122 to drive the motor 21 to rotate forward, so that the current flows from MOTO_H through the motor 21 to MOTO_L. After the motor 21 completes the forward rotation and drives the electronic lock 2 to complete the locking, the motor 21 has reached the corresponding position and does not need to be driven by a large current continuously. Therefore, the fourth transistor Q4 and the second transistor Q2 can be turned on, and the first transistor Q1 and the third transistor Q3 can be turned off. This allows the circuit to enter a low-power state, reducing unnecessary power loss and extending battery life. At the same time, it can also reduce circuit heat generation and improve system stability.
[0101] When the electronic lock 2 successfully completes the locking operation, it will touch the first switch K1, causing it to close. At this time, the second power supply terminal VCC, the third resistor R3, the first resistor R1, the first switch K1, and the second transistor Q2 form a complete circuit. The microcontroller 110 detects the voltage of this circuit through its ADC pin. If the detected value is V1 and is within the preset voltage range Va-Vb when closed, it can be determined that the actuator has successfully completed the locking action.
[0102] Conversely, if the electronic lock 2 fails to lock, the first switch K1 cannot close, and the circuit cannot be formed. In this case, the voltage detected by the microcontroller 110 through its ADC pin is VCC. Under these circumstances, the microcontroller 110 can control the motor 21 to re-execute the locking operation until the electronic lock 2 successfully completes the locking.
[0103] Optionally, the feedback process of the second result feedback unit 222 can be as follows: When the user initiates the unlocking operation, the control drive module 10 controls its internal H-bridge circuit 122 to drive the motor 21 in reverse, so that the current flows from MOTO_L through the motor 21 to MOTO_H. After the motor 21 completes forward rotation and drives the electronic lock 2 to complete unlocking, the fourth transistor Q4 and the second transistor Q2 are turned on, while the first transistor Q1 and the third transistor Q3 are turned off, so that the circuit enters a low-power state, reducing unnecessary power loss, extending battery life, reducing circuit heat generation, and improving system stability.
[0104] When the electronic lock 2 successfully completes the unlocking operation, it will touch the second switch K2, causing it to close. At this time, the second power supply terminal VCC, the third resistor R3, the second resistor R2, the second switch K2, and the fourth transistor Q4 form a complete circuit. The microcontroller 110 detects the voltage of this circuit through its ADC pin. If the detected value is V2 and is within the preset voltage range Vm-Vn when open, it can be determined that the actuator has successfully completed the unlocking action.
[0105] Conversely, if the unlocking operation of electronic lock 2 fails, the second switch K2 cannot be closed, and the circuit cannot be formed. At this time, the voltage detected by the microcontroller 110 through its ADC pin is VCC. In this case, the microcontroller 110 can control the motor 21 to re-execute the unlocking operation until electronic lock 2 successfully unlocks.
[0106] In some implementations, the electronic lock 2 is typically unlocked based on an unlocking command issued by the user via a key, remote control, or other control device. However, in other implementations, the user can also force unlocking by operating the external pull cord corresponding to the electronic lock 2. In this case, when the unlocking operation via the external pull cord is successful, the second switch K2 will also close, forming the same circuit as when it is normally open. At this time, the voltage value V3 detected by the microcontroller 110 via the ADC pin is determined to be within the preset voltage range Vm-Vn when it is open. If V3 is also within the preset voltage range Vm-Vn when it is open, then it can be determined that the electronic lock 2 has been successfully unlocked.
[0107] In summary, the first result feedback unit 221, the second result feedback unit 222, and the third resistor R3 in the control drive module 10 cooperate with each other to change the circuit state by closing and opening the limit switch. The circuit is connected to the microcontroller 110 through the ADC pin to detect different voltage values and achieve accurate feedback and control of the opening and closing state of the electronic lock 2.
[0108] See also Figure 5 Based on the above embodiments, the first result feedback unit 221 further includes a first diode D1; the first switch K1, the first diode D1 and the first resistor R1 are connected in series between the first end of the motor 21 and the first end of the first result feedback unit 221; the second result feedback unit 222 further includes a second diode D2; the second switch K2, the second diode D2 and the second resistor R2 are connected in series between the second end of the motor 21 and the first end of the second result feedback unit 222.
[0109] In this application, based on the architecture of the electronic lock control circuit 3 described above, the first result feedback unit 221 and the second result feedback unit 222 are respectively supplemented with a first diode D1 and a second diode D2. Optionally, in the first result feedback unit 221, the first switch K1, the first diode D1, and the first resistor R1 are connected in series sequentially between the first terminal of the motor 21 and the first terminal of the first result feedback unit 221, thus forming a specific current path, which can provide support for circuit state feedback when the electronic lock 2 performs the locking action; similarly, in the second result feedback unit 222, the second switch K2, the second diode D2, and the second resistor R2 are connected in series sequentially between the second terminal of the motor 21 and the first terminal of the second result feedback unit 222, thus constructing a corresponding current path to achieve state feedback when the electronic lock 2 performs the unlocking action.
[0110] Because diodes have unidirectional conductivity, in the first result feedback unit 221, the first diode D1 ensures that current flows only in a specific direction, preventing backflow from damaging or interfering with the circuit. For example, during the forward rotation of the motor 21 driving the electronic lock 2 to lock, the first diode D1 ensures that current flows from the first end of the motor 21, through the first switch K1, the first diode D1, and the first resistor R1, to the first end of the first result feedback unit 221, avoiding the influence of abnormal current on the feedback signal. Furthermore, in the second result feedback unit 222, the second diode D2 plays the same role. When the motor 21 reverses to drive the electronic lock 2 to unlock, it ensures that current flows from the second end of the motor 21, through the second switch K2, the second diode D2, and the second resistor R2, to the first end of the second result feedback unit 222, maintaining stable circuit operation.
[0111] Based on the above implementation methods, please continue to refer to Figure 5 Optionally, the control drive module 10 includes a first connector 13, and the first drive end, the second drive end, and the result feedback end of the control drive module 10 are respectively connected to the first connector 13; the execution feedback module 20 includes a second connector, and the first end of the motor 21, the second end of the motor 21, and the first end of the result feedback unit 22 in the execution feedback module 20 are respectively connected to the second connector 23; the first connector 13 is also connected to the second connector 23 via a ribbon cable; wherein, both the first connector 13 and the second connector 23 are 3-pin connectors or 4-pin connectors.
[0112] In this application, the control drive module 10 of the controller 1 is provided with three transmission ports, namely the first drive end, the second drive end, and the result feedback end; the execution feedback module 20 of the electronic lock 2 is also provided with three transmission ports, namely the first end of the motor 21, the second end of the motor 21, and the first end of the result feedback unit 22; in order to realize the effective connection between the three ports of the control drive module 10 and the execution feedback module 20, this application provides a first connector 13 in the control drive module 10 and a second connector 23 in the execution feedback module 20.
[0113] Optionally, the first drive end, the second drive end, and the result feedback end of the control drive module 10 are all connected to the first connector 13; at the same time, the first motor end, the second motor end, and the first end of the result feedback unit 22 of the execution feedback module 20 are all connected to the second connector 23.
[0114] Based on this, the first connector 13 and the second connector 23 are connected via a wiring harness. In this way, the control drive module 10 and the execution feedback module 20 can communicate and cooperate smoothly, ensuring that the electronic lock control circuit 3 in the entire vehicle 100 can operate stably and efficiently.
[0115] In some implementations, both the first connector 13 and the second connector 23 can be 3-pin connectors or 4-pin connectors.
[0116] Optionally, if a 3-pin connector is used, the three pins of the first connector 13 will be precisely connected to the first drive end, the second drive end, and the result feedback end of the control drive module 10, respectively; the three pins of the second connector 23 will be accurately connected to the first motor end, the second motor end, and the first end of the result feedback unit 22 of the execution feedback module 20, respectively, thereby realizing basic signal transmission functions and ensuring stable communication between the control drive module 10 and the execution feedback module 20.
[0117] Optionally, when using a 4-pin connector, the first connector 13 can randomly select three of its four pins to connect to the aforementioned three ports of the control drive module 10, and the second connector 23 can similarly randomly select three of its four pins to connect to the corresponding ports of the execution feedback module 20. This not only meets basic signal transmission requirements but also reserves one pin for other special functions, such as transmitting backup control signals to provide additional control options for the circuit; or for power supply to provide stable power support for specific components, thus better adapting to different application scenarios and diverse circuit design needs.
[0118] By using 3-pin or 4-pin connectors to connect the controller and electronic lock, the number of connector pins can be significantly reduced, effectively shrinking the connector size. This reduces the burden on the wiring harness layout and structural development of the entire vehicle, thereby simplifying system design, optimizing the overall vehicle layout, and reducing manufacturing costs, thus comprehensively enhancing the design and manufacturing advantages of the entire vehicle system.
[0119] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the utility models disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0120] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. An electronic lock control circuit, characterized in that, The electronic lock control circuit is located in the vehicle; The electronic lock control circuit includes a control drive module disposed in the controller and an execution feedback module disposed in the electronic lock; wherein... The execution feedback module includes a motor and a result feedback unit; the result feedback unit is used to provide feedback on the execution result of the electronic lock's execution components. The first drive end of the control drive module is connected to the first end of the motor, the second drive end of the control drive module is connected to the second end of the motor, and the result feedback end of the control drive module is connected to the result feedback unit.
2. The electronic lock control circuit of claim 1, wherein, The control drive module includes: a control unit and a motor drive unit; The control unit is connected to the control terminal of the motor drive unit, and the first and second output terminals of the motor drive unit serve as the first and second drive terminals of the control drive module. The control unit is also connected to the result feedback unit.
3. The electronic lock control circuit of claim 2, wherein, The control unit includes a microcontroller, and the analog-to-digital converter pin of the microcontroller is connected to the result feedback unit.
4. The electronic lock control circuit of claim 2, wherein, The motor drive unit includes a drive chip and an H-bridge circuit; The control unit is connected to the input terminal of the driver chip, and the control electrodes of the first transistor, second transistor, third transistor and fourth transistor of the H-bridge circuit are respectively connected to different output terminals of the driver chip; The first terminal of the first transistor and the first terminal of the third transistor are connected and connected to the first power supply terminal; the second terminal of the first transistor and the first terminal of the second transistor are connected and serve as the first driving terminal of the control driving module; the second terminal of the second transistor and the second terminal of the fourth transistor are connected and grounded; the first terminal of the fourth transistor and the second terminal of the third transistor are connected and serve as the second driving terminal of the control driving module.
5. The electronic lock control circuit according to any one of claims 1-4, wherein, The result feedback unit includes a first result feedback unit and a second result feedback unit, which are used to feed back the locking execution result and the unlocking execution result of the execution component, respectively. The first end of the first result feedback unit and the first end of the second result feedback unit are both connected to the result feedback end of the control drive module; The second end of the first result feedback unit is connected to the first end of the motor; The second end of the second result feedback unit is connected to the second end of the motor.
6. The electronic lock control circuit of claim 5, wherein, The first result feedback unit includes a first switch and a first resistor; the first switch and the first resistor are connected in series between the first end of the motor and the first end of the first result feedback unit; the first switch is set at a first preset position of the execution component, and when the execution component reaches the first preset position, the locking execution result indicates that the locking execution of the execution component is successful; The second result feedback unit includes a second switch and a second resistor; the second switch and the second resistor are connected in series between the second end of the motor and the first end of the second result feedback unit; the second switch is set at the second preset position of the execution component, and when the execution component reaches the second preset position, the locking execution result indicates that the execution component has successfully unlocked; The control drive module further includes a third resistor; the first end of the third resistor is connected to the second power supply terminal, and the second end of the third resistor is connected to the first end of the result feedback unit.
7. The electronic lock control circuit of claim 6, wherein, The first result feedback unit further includes a first diode; the first switch, the first diode, and the first resistor are connected in series between the first terminal of the motor and the first terminal of the first result feedback unit. The second result feedback unit further includes a second diode; the second switch, the second diode, and the second resistor are connected in series between the second terminal of the motor and the first terminal of the second result feedback unit.
8. The electronic lock control circuit of any one of claims 1-4, wherein, The control drive module includes a first connector, and the first drive end, the second drive end, and the result feedback end of the control drive module are respectively connected to the first connector; the execution feedback module includes a second connector, and the first end of the motor, the second end of the motor, and the first end of the result feedback unit in the execution feedback module are respectively connected to the second connector; the first connector is also connected to the second connector via a ribbon cable; Both the first connector and the second connector are either 3-pin or 4-pin connectors.
9. The electronic lock control circuit of any one of claims 1-4, wherein, The electronic lock includes any one of the following: steering wheel lock, saddle lock, tire lock, frame lock, and battery lock.
10. A vehicle characterized by comprising: include: The electronic lock control circuit according to any one of claims 1-9.