Motor hall signal conversion circuit
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- JHETECH
- Filing Date
- 2025-06-14
- Publication Date
- 2026-06-26
AI Technical Summary
In the current process of acquiring motor Hall signals, the signal is easily affected by the Hall signal power supply voltage and external interference sources, resulting in unstable amplitude of the acquired motor Hall signal waveform, slow response speed, and even damage to MCU devices, making it impossible to accurately control motor operation.
A power supply unit provides a stable power supply to the MCU controller and the Hall signal conversion unit. The MCU controller controls the start and stop of the Hall signal conversion unit. The Hall signal is counted in conjunction with the comparison module. A filter network composed of capacitors and resistors is used to suppress noise and ensure the stability and accuracy of the signal.
It significantly improves the stability of Hall signal acquisition and the accuracy of motor control, reduces system standby power consumption, extends the service life of battery-powered equipment, and ensures the smoothness and precision of motor operation.
Smart Images

Figure CN224418790U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of electronic circuits, and in particular to a motor Hall signal conversion circuit. Background Technology
[0002] Car seats are important facilities that affect driving and riding comfort. The position of the driver's seat has a significant impact on driving safety, comfort, visibility, and ease of operation. A seat that is suitable for the driver's operation, as well as its position and shape, can reduce driver fatigue and lower the accident rate. Whether the position of the car driver's seat is appropriate is directly related to driving quality and safety.
[0003] The difference between having and not having Hall effect sensors in electric seat motors mainly lies in the method and accuracy of seat position detection. Hall effect sensors provide high-precision position feedback, ensuring smoothness and accuracy of the adjustment process, fault diagnosis and anti-pinch functions, and memory functions to reduce manual adjustments and improve the driving experience.
[0004] Since the Hall signal from the motor of the electric seat plays a key role in seat adjustment, accurate acquisition of the Hall signal is crucial. Previously, a simple RC filter circuit was used to suppress high-frequency noise in the Hall signal. The waveform edges of the Hall signal acquired by the MCU are easily affected by the Hall signal power supply voltage and external interference sources, resulting in unstable amplitude and slow response of the acquired Hall signal waveform, and even damage to the MCU device and Hall signal chip. Utility Model Content
[0005] To improve the stability of Hall signal acquisition, this application provides a motor Hall signal conversion circuit.
[0006] The motor Hall signal conversion circuit provided in this application adopts the following technical solution:
[0007] A motor Hall signal conversion circuit includes a power supply unit, an MCU controller, and a Hall signal conversion unit. The first output terminal of the power supply unit is electrically connected to the power supply terminals of the MCU controller and a comparison module. The second output terminal of the power supply unit is electrically connected to the input terminal of the comparison module through a control switch module. The control switch module is controlled and connected to the MCU controller, and the output terminal of the comparison module is electrically connected to the input terminal of the MCU controller.
[0008] By adopting the above technical solution, a stable power supply is provided to the MCU controller and the Hall signal conversion unit through the power supply unit. At the same time, the Hall signal conversion unit is controlled by the MCU controller, so that the control of the Hall signal acquisition can be turned on or off by the control switch module. The MCU controller can compare the Hall signal counts output by the module and obtain the motor running position, thereby accurately controlling the motor and improving the stability of Hall signal acquisition.
[0009] Preferably, the control switch module includes a PMOS transistor Q1 and a transistor Q2. The output terminal of the MCU controller is grounded sequentially through resistors R13 and R14, and the connection point between resistors R13 and R14 is electrically connected to the base of transistor Q2. The emitter of transistor Q2 is grounded, and the collector of transistor Q2 is electrically connected sequentially through resistors R9 and R15 to the second output terminal of the power supply unit. The connection point between resistors R9 and R15 is electrically connected to the gate of PMOS transistor Q1. The second output terminal of the power supply unit is electrically connected to the source of PMOS transistor Q1. The drain of PMOS transistor Q1 is set as the output terminal of the control switch module and electrically connected to the input terminal of the comparator module. The output terminal of the comparator module is electrically connected to the input terminal of the MCU controller.
[0010] By adopting the above technical solution, the conduction and cutoff of the PMOS transistor can be controlled by the conduction and cutoff states of the transistor according to the signal output by the MCU controller, thereby controlling the output and cutoff of the switching module voltage and providing a suitable input voltage for the subsequent comparison module.
[0011] Preferably, the control switch module further includes a capacitor C3, and the drain of the PMOS transistor Q1 is grounded through the capacitor C3.
[0012] By adopting the above technical solution, capacitor C3 plays the role of energy storage and filtering, which can suppress switching noise, improve the voltage stability of the control switching module output, and reduce interference to the comparator module.
[0013] Preferably, the comparison module includes an operational amplifier U1, the power supply terminal of which is electrically connected to the first output terminal of the power supply unit, and the ground terminal of the operational amplifier U1 is grounded; the output terminal of the control switch module is grounded in sequence through resistors R7 and R11, and the connection point between resistors R7 and R11 is electrically connected to the non-inverting input terminal of the operational amplifier U1; the output terminal of the control switch module is also grounded in sequence through resistors R2, R3, and R6, and the connection point between resistors R3 and R6 is electrically connected to the inverting input terminal of the operational amplifier U1; the output terminal of the operational amplifier U1 is set as the output terminal of the comparison module and electrically connected to the input terminal of the MCU controller; the Hall signal output terminal is electrically connected to the connection point between resistors R2 and R3.
[0014] By adopting the above technical solution, the voltage division effect of resistors R7 and R11, as well as the voltage division effect of resistors R2, R3, and R6, is used to divide the voltage at the output terminal of the control switch module and input it to the non-inverting and inverting input terminals of the operational amplifier. Depending on the different input voltage conditions, the operational amplifier outputs a high level or a low level, which allows the MCU controller to count Hall signals by acquiring the waveform edges at the output terminal of the operational amplifier, thereby determining the motor's operating position and accurately controlling the motor.
[0015] Preferably, the comparison unit further includes a capacitor C1, and the Hall signal output terminal is also grounded through the capacitor C1.
[0016] By adopting the above technical solution, capacitor C1 can filter out high-frequency noise and provide electrostatic protection, thereby enhancing the reliability of signal input.
[0017] Preferably, the output terminal of the operational amplifier U1 is grounded through capacitor C4, and the output terminal of the operational amplifier U1 is also electrically connected to the input terminal of the MCU controller through resistor R4.
[0018] By adopting the above technical solution, capacitor C4 and resistor R4 form an RC filter network, which can filter out high-frequency noise, provide a stable signal waveform, and reduce misjudgments by the MCU controller.
[0019] Preferably, the power supply unit includes a battery power supply module and a linear voltage regulator module. The battery power supply module includes a battery power source, a diode D1, and a TVS diode D2. The positive terminal BAT+ of the battery power source is electrically connected to the anode of the diode D1, and the negative terminal BAT- of the battery power source is grounded. The cathode of the diode D1 is set as the second output terminal of the power supply unit, and the cathode of the diode D1 is electrically connected to the input terminal of the linear voltage regulator module. The output terminal of the linear voltage regulator module is set as the first output terminal of the power supply unit. One end of the TVS diode D2 is electrically connected to the positive terminal BAT+, and the other end of the TVS diode D2 is grounded.
[0020] By adopting the above technical solution, the battery power supply module uses reverse connection protection diode D1 and TVS diode D2 to prevent reverse connection of power supply and damage to the circuit by transient high voltage. The linear voltage regulator module outputs a stable voltage to ensure the reliable operating voltage of the MCU controller.
[0021] Preferably, the power supply unit further includes a voltage acquisition module, which includes resistors R8 and R12. The cathode of diode D1 is grounded in sequence through resistors R8 and R12, and the connection point between resistors R8 and R12 is electrically connected to the ADC input terminal of the MCU controller.
[0022] By adopting the above technical solution, the battery voltage can be monitored in real time, enabling the MCU controller to determine the power supply status, take protective measures when the voltage is abnormal, and control the Hall signal conversion unit to start when the voltage is normal.
[0023] Preferably, the voltage acquisition module further includes a resistor R10 and a capacitor C7. The connection point between the resistors R8 and R12 is electrically connected to the ADC input terminal of the MCU controller through the resistor R10, and the input terminal of the MCU controller is also grounded through the capacitor C7.
[0024] By adopting the above technical solution, resistor R10 and capacitor C7 form an RC filter network to filter out noise in the battery voltage sampling signal, improve the accuracy of MCU data acquisition, and avoid false triggering.
[0025] In summary, this application includes at least one of the following beneficial technical effects:
[0026] 1. The Hall signal conversion unit is dynamically controlled to start and stop by the MCU controller, and is only activated when the power supply unit is working normally, which significantly reduces the system standby power consumption and extends the service life of battery-powered equipment;
[0027] 2. The MCU controller counts Hall signals by acquiring the waveform edges at the output of the operational amplifier, which can determine the motor's operating position and accurately control the motor, solving the problem that existing methods cannot accurately control motor operation;
[0028] 3. The voltage output from the battery-powered module is converted into a voltage suitable for the comparator module and MCU controller through a linear voltage regulator module to meet the power requirements of the devices. Attached Figure Description
[0029] Figure 1 This is a schematic block diagram of an embodiment of this application;
[0030] Figure 2 This is a circuit diagram of the power supply unit in an embodiment of this application;
[0031] Figure 3 This is a circuit diagram of the control switch module in an embodiment of this application;
[0032] Figure 4 This is a circuit diagram of the comparison module in an embodiment of this application.
[0033] Reference numerals: 1. Power supply unit; 11. Battery power supply module; 12. Linear voltage regulator module; 13. Voltage acquisition module; 2. MCU controller; 3. Hall signal conversion unit; 31. Control switch module; 32. Comparison module. Detailed Implementation
[0034] The following combination Figures 1-4 This application will be described in further detail.
[0035] This application discloses a motor Hall signal conversion circuit.
[0036] Reference Figure 1 A motor Hall signal conversion circuit includes a power supply unit 1, an MCU controller 2, and a Hall signal conversion unit 3. The Hall signal conversion unit 3 includes a control switch module 31 and a comparison module 32. The first output terminal of the power supply unit 1 is electrically connected to the power supply terminals of the MCU controller 2 and the comparison module 32. The second output terminal of the power supply unit 1 is electrically connected to the input terminal of the comparison module 32 through the control switch module 31, and the control switch module 31 is controlled and connected to the MCU controller 2.
[0037] Reference Figure 2 The power supply unit 1 includes a battery power supply module 11, a linear voltage regulator module 12, and a voltage acquisition module 13. The output terminal of the battery power supply module 11 is set as the second output terminal of the power supply unit 1 and electrically connected to the input terminals of the linear voltage regulator module 12 and the voltage acquisition module 13. The output terminal of the linear voltage regulator module 12 is set as the first output terminal of the power supply unit 1 and electrically connected to the power supply terminals of the comparator module 32 and the MCU controller 2. The output terminal of the voltage acquisition module 13 is electrically connected to the ADC input terminal of the MCU controller 2. The linear voltage regulator module 12 can convert the voltage output by the battery power supply module 11 into a voltage suitable for the comparator module 32 and the MCU controller 2. In this embodiment, the output voltage value of the output terminal V1 of the linear voltage regulator module 12 is 5V.
[0038] The battery power supply module 11 includes a battery power source, diode D1, and TVS diode D2. The positive terminal BAT+ of the battery power source is electrically connected to the anode of diode D1, and the negative terminal BAT- is grounded. The cathode of diode D1 is set as the output terminal of the battery power supply module 11, and diode D1 serves to discharge reverse polarity. One end of TVS diode D2 is electrically connected to the positive terminal BAT+, and the other end of TVS diode D2 is grounded. TVS diode D2 suppresses transient high voltage spikes through fast response, thereby protecting sensitive downstream components from damage. Furthermore, the positive terminal BAT+ of the battery power source is also grounded in sequence through capacitor C5 and capacitor C6.
[0039] The voltage acquisition module 13 includes resistors R8, R10, and R12, and capacitor C7. The output terminal of the battery-powered module 11 is grounded sequentially through resistors R8 and R12. The connection point between resistors R8 and R12 is electrically connected to the ADC input terminal of the MCU controller 2 through resistor R10. The ADC input terminal of the MCU controller 2 is also grounded through capacitor C7. The voltage divider effect of resistors R8 and R12 enables the MCU controller 2 to acquire the output voltage of the battery-powered module 11, and the RC filter network composed of resistor R10 and capacitor C7 improves signal stability. When the voltage acquired by the MCU controller 2 is within the specified range, the output terminal of the MCU controller 2 outputs a high-level Hall_Power_Switch signal.
[0040] Reference Figure 3 The control switch module 31 includes a PMOS transistor Q1 and a transistor Q2. The output terminal of the MCU controller 2 is grounded sequentially through resistors R13 and R14, and the connection point between resistors R13 and R14 is electrically connected to the base of transistor Q2. The emitter of transistor Q2 is grounded, and the collector of transistor Q2 is electrically connected to the output terminal of power supply unit 1 sequentially through resistors R9 and R15. The connection point between resistors R9 and R15 is electrically connected to the gate of PMOS transistor Q1, the output terminal of power supply unit 1 is electrically connected to the source of PMOS transistor Q1, and the drain of PMOS transistor Q1 is set as the output terminal of control switch module 31.
[0041] When the MCU controller 2 outputs a low-level Hall_Power_Switch signal, transistor Q2 is turned off, thus turning off PMOS transistor Q1. At this time, the control switch module 31 has no voltage output. When the MCU controller 2 outputs a high-level Hall_Power_Switch signal, transistor Q2 is turned on, and the gate of PMOS transistor Q1 is grounded through resistor R9 and transistor Q2. At this time, PMOS transistor Q1 is turned on, and the control switch module 31 has a voltage output.
[0042] Preferably, the control switch module 31 further includes capacitor C8, capacitor C3, and Zener diode Z1. The connection point between resistors R13 and R14 is grounded through capacitor C8, which acts as a bypass capacitor to maintain the stability of the base voltage of transistor Q2. The drain of PMOS transistor Q1 is grounded through capacitor C3, which serves as an energy storage and filter. The cathode of Zener diode Z1 is electrically connected to the source of PMOS transistor Q1, and the anode of Zener diode Z1 is electrically connected to the gate of PMOS transistor Q1. Zener diode Z1 can clamp the voltage between the gate and source of PMOS transistor Q1, thereby protecting PMOS transistor Q1.
[0043] Reference Figure 4 The comparison module 32 includes an operational amplifier U1. The power supply terminal of the operational amplifier U1 is electrically connected to the output terminal of the linear regulator module 12, and the ground terminal of the operational amplifier U1 is grounded. The output terminal of the control switch module 31 is grounded sequentially through resistors R7 and R11, and the connection point between resistors R7 and R11 is electrically connected to the non-inverting input terminal of the operational amplifier U1. The output terminal of the control switch module 31 is also grounded sequentially through resistors R2, R3, and R6, and the connection point between resistors R3 and R6 is electrically connected to the inverting input terminal of the operational amplifier U1. The output terminal of the operational amplifier U1 is set as the output terminal of the comparison module 32 and electrically connected to the input terminal of the MCU controller 2. The Hall signal output terminal Hall_signal_IN is electrically connected to the connection point between resistors R2 and R3.
[0044] When the Hall signal output is low, the voltage between resistors R2 and R3 decreases, thus reducing the voltage input to the inverting input of op-amp U1. Meanwhile, the voltage input to the non-inverting input remains constant. Therefore, the voltage at the non-inverting input is greater than the voltage at the inverting input, resulting in a high output from op-amp U1. Conversely, when the Hall signal output is high, the voltage at the non-inverting input is less than the voltage at the inverting input, leading to a low output from op-amp U1. The MCU controller 2 counts Hall signals by acquiring the waveform edges (rising and falling edges) at the op-amp output, thereby determining the motor's position and accurately controlling it.
[0045] Preferably, the Hall signal output terminal is also grounded through capacitor C1, which serves as electrostatic protection. The output terminal of the linear regulator module 12 is also grounded through capacitor C2, which serves as energy storage and voltage regulation. The power supply terminal of operational amplifier U1 is also electrically connected to the output terminal of operational amplifier U1 through resistor R1, which is a pull-up resistor and provides an initial voltage level to the power supply terminal of operational amplifier U1. The output terminal of operational amplifier U1 is also grounded through capacitor C4, and is also electrically connected to the input terminal of MCU controller 2 through resistor R4. Capacitor C4 and resistor R4 form an RC filter network, thereby providing a stable acquisition voltage waveform for MCU controller 2.
[0046] The implementation principle of a motor Hall signal conversion circuit according to an embodiment of this application is as follows: A stable and suitable power supply unit 1 provides power; the control switch module 31 determines whether to supply power to the comparison module 32 based on the signal from the MCU controller 2; and the comparison module 32 converts the Hall signal and transmits it to the MCU controller 2. Compared with existing motor Hall signal processing methods, it avoids the problems of simple logic circuits failing to accurately control the motor, poor versatility of specific integrated chips, and weak anti-interference capability of traditional analog circuits. The design of the power supply unit 1 ensures the reliability of the power supply and voltage monitoring; the control switch module 31 achieves flexible power supply control; and the comparison module 32 can stably and accurately convert the Hall signal, enabling the MCU controller 2 to precisely control the motor's operation.
[0047] The above are all preferred embodiments of this application, and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the structure, shape and principle of this application should be covered within the scope of protection of this application.
Claims
1. A motor Hall signal conversion circuit, characterized in that: The system includes a power supply unit (1), an MCU controller (2), and a Hall signal conversion unit (3). The first output terminal of the power supply unit (1) is electrically connected to the power supply terminals of the MCU controller (2) and the comparison module (32). The second output terminal of the power supply unit (1) is electrically connected to the input terminal of the comparison module (32) through a control switch module (31). The control switch MCU controller (2) module is controlled and connected to the MCU controller (2). The output terminal of the comparison module (32) is electrically connected to the input terminal of the MCU controller (2).
2. The motor Hall signal conversion circuit according to claim 1, characterized in that: The Hall signal conversion unit (3) includes a control switch module (31) and a comparison module (32). The control switch module (31) includes a PMOS transistor Q1 and a transistor Q2. The output terminal of the MCU controller (2) is grounded in sequence through resistors R13 and R14, and the connection point between resistors R13 and R14 is electrically connected to the base of transistor Q2. The emitter of transistor Q2 is grounded, and the collector of transistor Q2 is electrically connected to the second output terminal of the power supply unit (1) in sequence through resistors R9 and R15. The connection point between resistors R9 and R15 is electrically connected to the gate of PMOS transistor Q1. The second output terminal of the power supply unit (1) is electrically connected to the source of PMOS transistor Q1. The drain of PMOS transistor Q1 is set as the output terminal of the control switch module (31) and electrically connected to the input terminal of the comparison module (32). The output terminal of the comparison module (32) is electrically connected to the input terminal of the MCU controller (2).
3. The motor Hall signal conversion circuit according to claim 2, characterized in that: The control switch module (31) also includes a capacitor C3, and the drain of the PMOS transistor Q1 is grounded through the capacitor C3.
4. The motor Hall signal conversion circuit according to claim 2, characterized in that: The comparison module (32) includes an operational amplifier U1, the power supply terminal of which is electrically connected to the first output terminal of the power supply unit (1), and the ground terminal of the operational amplifier U1 is grounded; the output terminal of the control switch module (31) is grounded in sequence through resistors R7 and R11, and the connection point between resistors R7 and R11 is electrically connected to the non-inverting input terminal of the operational amplifier U1; the output terminal of the control switch module (31) is also grounded in sequence through resistors R2, R3 and R6, and the connection point between resistors R3 and R6 is electrically connected to the inverting input terminal of the operational amplifier U1; the output terminal of the operational amplifier U1 is set as the output terminal of the comparison module (32) and electrically connected to the input terminal of the MCU controller (2); the Hall signal output terminal is electrically connected to the connection point between resistors R2 and R3.
5. The motor Hall signal conversion circuit according to claim 4, characterized in that: The comparison unit also includes a capacitor C1, and the Hall signal output terminal is grounded through the capacitor C1.
6. The motor Hall signal conversion circuit according to claim 4, characterized in that: The output terminal of the operational amplifier U1 is grounded through capacitor C4, and the output terminal of the operational amplifier U1 is also electrically connected to the input terminal of the MCU controller (2) through resistor R4.
7. The motor Hall signal conversion circuit according to claim 1, characterized in that: The power supply unit (1) includes a battery power supply module (11) and a linear voltage regulator module (12). The battery power supply module (11) includes a battery power supply, a diode D1 and a TVS diode D2. The positive terminal BAT+ of the battery power supply is electrically connected to the anode of the diode D1, and the negative terminal BAT- of the battery power supply is grounded. The cathode of the diode D1 is set as the second output terminal of the power supply unit (1), and the cathode of the diode D1 is electrically connected to the input terminal of the linear voltage regulator module (12). The output terminal of the linear voltage regulator module (12) is set as the first output terminal of the power supply unit (1). One end of the TVS diode D2 is electrically connected to the positive terminal BAT+, and the other end of the TVS diode D2 is grounded.
8. The motor Hall signal conversion circuit according to claim 7, characterized in that: The power supply unit (1) also includes a voltage acquisition module (13), which includes resistor R8 and resistor R12. The cathode of the diode D1 is grounded in sequence through resistor R8 and resistor R12. The connection point between resistor R8 and resistor R12 is electrically connected to the ADC input terminal of the MCU controller (2).
9. A motor Hall signal conversion circuit according to claim 8, characterized in that: The voltage acquisition module (13) also includes a resistor R10 and a capacitor C7. The connection point between the resistor R8 and the resistor R12 is electrically connected to the ADC input terminal of the MCU controller (2) through the resistor R10, and the input terminal of the MCU controller (2) is also grounded through the capacitor C7.