Locking device driven by brushless motor
Through the combination of signal reception, status detection and drive modules, combined with Hall elements and photoelectric switch data, the status of the brushless motor is monitored and controlled in real time, which solves the problem of frequent failures of DC coreless brush motors and realizes brushless motor driving. High reliability and precise locking of the locking device.
Patent Information
- Application Number
- CN202410813002.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-23
- Publication Date
- 2024-10-01
AI Technical Summary
Existing brushless DC coreless motors are prone to malfunctions after long-term use, affecting product care and maintenance, and the application of brushless DC motors in locking devices has insufficient motion status monitoring and fault handling capabilities.
Using a combination of signal receiving module, status detection module, driver module and controller module, the motor status is detected in real time through Hall elements and photoelectric switch data, PWM instructions are generated to drive the brushless motor to rotate, and the gear plate is driven to mesh through the mechanical transmission module , ensuring locking accuracy.
It improves the reliability and maintainability of the brushless motor-driven locking device, enhances noise resistance and fault handling capabilities, and ensures locking accuracy and stability under complex working conditions.
Smart Images

Figure CN118739919A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of motor control, and in particular to a locking device driven by a brushless motor. Background Art
[0002] The motors used in the locking devices on the current market are all DC hollow cup brush motors. The brush materials of brush motors are divided into graphite carbon brushes and metal brush wires. After long-term use, these two brush wires have their own shortcomings, which are easy to cause motor failures, resulting in product losses, and are not conducive to product maintenance. The brushless DC motor overcomes the inherent defects of the brushed DC motor and replaces the mechanical commutator with an electronic commutator. Therefore, the brushless DC motor has the characteristics of good speed regulation performance of the DC motor, and has the advantages of simple structure, no commutation sparks, reliable operation and easy maintenance of the AC motor. The essence of the brushless DC motor is the DC power input, and the electronic inverter is used to convert DC power into AC power. The stator of the brushless DC motor is a coil winding armature, and the rotor is a permanent magnet. If only a fixed DC current is passed through the motor, the motor can only generate a constant magnetic field and the motor cannot rotate. Only by detecting the position of the motor rotor in real time and then passing the corresponding current to different phases of the motor according to the position of the rotor, the stator can generate a rotating magnetic field with a uniformly changing direction, and the motor can rotate with the magnetic field. Summary of the invention
[0003] In view of the above technical problems, the present invention provides a method which is implemented by combining software and hardware to improve the reliability and maintainability of the locking device when working for a long time.
[0004] A locking device driven by a brushless motor comprises a signal receiving module, a state detection module, a driver module and a controller module. The signal receiving module is used to receive signal data of a sensor, and the signal data comprises level data of a Hall element and operating current data.
[0005] The state detection module is used to detect and record the running state; the driving module is used to drive the brushless motor to rotate and adjust the position of the brushless motor.
[0006] The controller module is used to initialize the system state, determine the signal value and the operating state, and generate execution instructions.
[0007] Furthermore, the signal receiving module receives the level data value of the Hall element installed at the tail end of the motor, and sends the level value to the controller module. The controller module determines the motor rotor phase through the level data value, and the controller module generates a PWM command signal to the driver module. The driver module energizes the three phases of the motor in turn to drive the brushless motor to rotate; the state detection module detects the trigger state of the photoelectric switch, and the controller module determines whether the gear disc is locked according to the state of the photoelectric switch and the current size.
[0008] Furthermore, the status detection module records the overheating, overcurrent and timeout status of the motor. When overheating, overcurrent and timeout occur, the corresponding status flag is set. The controller module detects whether the recorded status flag is set and determines whether to turn off the motor.
[0009] Furthermore, by recording the triggering status of the photoelectric switch during the rotation of the motor, the phase of the current brushless motor rotor is judged, and the position information of the motor gear is confirmed by combining the current size judgment; the temperature compensation coefficient is set, and the numerical change before the execution instruction is generated according to the current temperature compensation controller module.
[0010] Furthermore, it also includes a fixed toothed disc, which is meshed with a movable toothed disc and rotates by a motor to drive the movable toothed disc to spirally rotate, thereby driving the movable toothed disc to rise and fall, and the locking accuracy is ensured by the meshing of the toothed discs.
[0011] Compared with the prior art, the present invention has the following beneficial effects: (1) The present invention is easy to implement through PWM pulse width modulation control mode, and the anti-noise ability is significantly improved; (2) The present invention can monitor the motion state of the brushless motor locking device in real time, and can quickly handle the fault of the locking device through the timing interrupt module, which has a good protective effect on the brushless motor locking device. (3) The movable gear disc is driven up and down by the spiral, and the mechanical structure is simple. The positioning accuracy of the movable gear disc and the fixed gear disc after the teeth are snapped is high, and the locking accuracy and stability can be guaranteed even under complex working conditions and harsh conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 This is an example block diagram of the overall module structure of the present invention.
[0013] Figure 2 The figure is an exemplary block diagram of the power-on operation process of the present invention.
[0014] Figure 3 This is an exemplary block diagram of the serial port receiving of the present invention.
[0015] Figure 4 This is an exemplary block diagram of the interrupt processing flow chart of the present invention.
[0016] Figure 5 This is a flowchart of the interruption process of the software timer of the present invention. DETAILED DESCRIPTION
[0017] Example: Figure 1 The locking device driven by a brushless motor shown in the figure includes a signal receiving module, a state detection module, a driver module, a controller module, and a mechanical transmission module. The signal receiving module is used to receive signal data of the sensor, and the signal data includes level data of the Hall element and operating current data; The status detection module is used to detect and record the operating status; the drive module is used to drive the brushless motor to rotate and adjust the position of the brushless motor; The controller module is used to initialize the system status, determine the signal value and operating status, and generate execution instructions.
[0018] The signal receiving module receives the level data value of the Hall element installed at the tail end of the motor, and sends the level value to the controller module. The controller module determines the motor rotor phase through the level data value, and generates a PWM command signal to the driver module. The driver module energizes the three phases of the motor in turn to drive the brushless motor to rotate; the state detection module detects the trigger state of the photoelectric switch, and the controller module determines whether the gear disc is locked according to the state of the photoelectric switch and the current size.
[0019] The status detection module records the overheating, overcurrent and timeout status of the motor. When overheating, overcurrent and timeout occur, the corresponding status flag is set. The controller module detects whether the recorded status flag is set and determines whether to shut down the motor.
[0020] By recording the triggering status of the photoelectric switch during the rotation of the motor, the phase of the current brushless motor rotor is determined, and the position information of the motor gear is confirmed by combining the current size judgment; the temperature compensation coefficient is set, and the value change before the execution instruction is generated according to the current temperature compensation controller module.
[0021] It also includes a mechanical transmission module, which is installed by meshing the fixed gear plate with the movable gear plate, and the movable gear plate is driven to rotate spirally by the rotation of the motor, thereby driving the movable gear plate to rise and fall.
[0022] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example.
[0023] The above contents are merely examples and explanations of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the invention or exceed the scope defined by the claims, they shall all fall within the protection scope of the present invention.
Claims
1. A locking device driven by a brushless motor, characterized in that: It includes a signal receiving module, a state detection module, a driver module, and a controller module. The signal receiving module is used to receive signal data of the sensor, and the signal data includes level data and operating current data of the Hall element; The state detection module is used to detect and record the operating state; the driving module is used to drive the brushless motor to rotate and adjust the position of the brushless motor; The controller module is used to initialize the system state, determine the signal value and the operating state, and generate execution instructions.
2. A brushless motor driven locking device according to claim 1, characterized in that: The signal receiving module receives the level data value of the Hall element installed at the tail end of the motor, and sends the level value to the controller module. The controller module determines the motor rotor phase through the level data value, and the controller module generates a PWM command signal to the driver module. The three phases of the motor are energized in turn through the driver module to drive the brushless motor to rotate; the trigger state of the photoelectric switch is detected by the state detection module, and the controller module determines whether the gear disc is locked according to the state of the photoelectric switch and the current size.
3. A brushless motor driven locking device according to claim 1, characterized in that: The state detection module records the overheating, overcurrent and timeout states of the motor. When overheating, overcurrent and timeout occur, the corresponding state flag is set. The controller module detects whether the recorded state flag is set and determines whether to shut down the motor.
4. A brushless motor driven locking device according to claim 1, characterized in that: By recording the triggering status of the photoelectric switch during the rotation of the motor, the phase of the current brushless motor rotor is determined, and the position information of the motor gear is confirmed by combining the current size judgment; the temperature compensation coefficient is set, and the value change before the execution instruction is generated according to the current temperature compensation controller module.
5. The locking device driven by a brushless motor according to claim 1, characterized in that: It also includes a fixed gear plate, which is meshed with a movable gear plate and driven by the rotation of a motor to drive the movable gear plate to spirally rotate, thereby driving the movable gear plate to rise and fall.
