This non-provisional application claims priority under 35 U.S.C. § 119(a) to Patent Application No. 202111519749.3 filed in China, P. R. C. on Dec. 13, 2021, the entire contents of which are hereby incorporated by reference.
The present invention relates to magnetic pole detection of brushless DC motors, and in particular, to a magnetic pole detection circuit and a motor control method.
Traditionally, DC motors may be classified into brushed DC motors and brushless DC motors. The brushless DC motors are more popular with users due to advantages such as no carbon brush wear, no operation sparks, and high efficiency.
Generally, in order to enable a correct commutation of a brushless DC motor, a Hall sensor or a rotary encoder is usually used to detect a magnetic pole position of the motor. However, the configuration of the component such as the Hall sensor or the rotary encoder increases the manufacturing costs and requires additional wiring, making the reliability of the system easily reduced by factors such as disconnection or component failure.
In addition, the magnetic pole position of the motor is also detected by sensing a back electromotive force (EMF). However, the back EMF is susceptible to interference of a pulse wave modulation (switching) voltage. Moreover, when the motor runs at a low speed, the back EMF is small and difficult to detect.
The present invention provides a magnetic pole detection circuit. In an embodiment, the magnetic pole detection circuit includes a multi-phase voltage divider unit, a filter unit, a DC level compensation unit, an amplifying unit, and a hysteresis comparison unit. The multi-phase voltage divider unit is configured to detect a back EMF signal of a multi-phase motor. The filter unit is configured to filter the back EMF signal to generate a filtered signal. The DC level compensation unit is configured to compensate a DC level of the filtered signal to generate a compensation signal. The amplifying unit is configured to amplify the compensation signal to generate an amplified signal. The hysteresis comparison unit is configured to generate a zero-crossing point signal according to the amplified signal and a reference signal. The zero-crossing point signal is adapted to control an excitation mode of the multi-phase motor.
In some embodiments, the magnetic pole detection circuit further includes a motor controller. The motor controller is configured to control the excitation mode of the multi-phase motor according to the zero-crossing point signal.
In some embodiments, the motor controller switches the excitation mode of the multi-phase motor when the zero-crossing point signal is detected, and maintains the excitation mode of the multi-phase motor when the zero-crossing point signal is not detected.
In some embodiments, the DC level compensation unit is a digital-to-analog converter to dynamically compensate the DC level of the back EMF signal.
The present invention further provides a motor control method. In an embodiment, the motor control method includes: detecting a back EMF signal of a multi-phase motor; filtering the back EMF signal to generate a filtered signal; compensating a DC level of the filtered signal to generate a compensation signal; amplifying the compensation signal to generate an amplified signal; and generating a zero-crossing point signal according to the amplified signal and a reference signal. The zero-crossing point signal is adapted to control an excitation mode of the multi-phase motor.
In some embodiments, the motor control method further includes: controlling the excitation mode of the multi-phase motor according to the zero-crossing point signal.
In some embodiments, the step of controlling the excitation mode of the multi-phase motor according to the zero-crossing point signal includes: detecting the zero-crossing point signal; switching the excitation mode of the multi-phase motor when the zero-crossing point signal is detected; and maintaining the excitation mode of the multi-phase motor when the zero-crossing point signal is not detected.
In some embodiments, the step of compensating a DC level of the back EMF signal to generate a compensation signal is dynamically compensating the DC level of the back EMF signal by a digital-to-analog converter.
The present invention further provides a magnetic pole detection circuit. In an embodiment, the magnetic pole detection circuit includes a back EMF amplifying circuit and a hysteresis comparison circuit. The back EMF amplifying circuit is configured to receive a back EMF signal of a multi-phase motor and amplify an amplitude of the back EMF signal. The hysteresis comparison circuit is configured to receive a reference signal and the amplified back EMF signal. The hysteresis comparison circuit is configured to perform a hysteresis comparison on the reference signal and the amplified back EMF signal to avoid signal bounce due to switching noise, and generate a zero-crossing point signal based on a result of the hysteresis comparison. The zero-crossing point signal is adapted to control an excitation mode of the multi-phase motor.
In some embodiments, the magnetic pole detection circuit further includes a digital-to-analog conversion circuit. The digital-to-analog conversion circuit is configured to receive the back EMF signal and dynamically compensate a DC level of the back EMF signal, to avoid phase lag. The back EMF signal received by the back EMF amplifying circuit is the back EMF signal output after the dynamical compensation by the digital-to-analog conversion circuit.
In some embodiments, the magnetic pole detection circuit further includes a low-pass filter circuit. The low-pass filter circuit is configured to receive the back EMF signal, and perform low-pass filtering on the switching noise on the back EMF signal. The back EMF signal received by the digital-to-analog conversion circuit is the back EMF signal output after the low-pass filtering by the low-pass filter circuit.
In some embodiments, the magnetic pole detection circuit further includes a multi-phase voltage divider circuit. The multi-phase voltage divider circuit is coupled to the multi-phase motor. The multi-phase voltage divider circuit is configured to detect the multi-phase motor to generate the back EMF signal, and perform voltage division and filtering on the switching noise on the back EMF signal. The back EMF signal received by the low-pass filter circuit is the back EMF signal output after the voltage division and filtering by the multi-phase voltage divider circuit.
Detailed features and advantages of the present invention are described in detail in the following implementations, and the content of the implementations is sufficient for a person skilled in the art to understand and implement the technical content of the present invention. A person skilled in the art can easily understand the objectives and advantages related to the present invention according to the content disclosed in this specification, the claims and the drawings.
and
To make the objectives, features, and advantages of the embodiments of the present invention more comprehensible, the following provides detailed descriptions with reference to the accompanying drawings.
In some implementations, the multi-phase motor 200 may be, but not limited to, a two-phase or three-phase motor. Hereinafter, the description is made using an example in which the multi-phase motor 200 is a three-phase motor including three-phase coils. The three-phase coils of the multi-phase motor 200 may be configured in a Y-connection manner as shown in block B1 in
In the first embodiment of the magnetic pole detection circuit 100, the magnetic pole detection circuit 100 includes a multi-phase voltage divider unit 110, a filter unit 120, a DC level compensation unit 130, an amplifying unit 140, and a hysteresis comparison unit 150. The multi-phase voltage divider unit 110 is coupled to the multi-phase motor 200, the filter unit 120 is coupled to the multi-phase voltage divider unit 110, the amplifying unit 140 is coupled to the filter unit 120 and the DC level compensation unit 130, and the hysteresis comparison unit 150 is coupled to the amplifying unit 140 and the multi-phase motor 200.
The multi-phase voltage divider unit 110 is configured to detect a back EMF signal V1 of the multi-phase motor 200. A waveform of the back EMF signal V1 may be as shown in
In some implementations, each voltage divider of the multi-phase voltage divider unit 110 may include two resistors connected in series as shown in block B2 in
The filter unit 120 is configured to filter the back EMF signal V1 obtained by the multi-phase voltage divider unit 110, to generate a filtered signal V2. The filtered signal V2 is the back EMF signal V1 obtained after switching noise is filtered by the filter unit 120. For example, when the back EMF signal V1 currently detected by the multi-phase voltage divider unit 110 is the back EMF signal VU, the filter unit 120 may filter the switching noise on the back EMF signal VU to generate the filtered signal V2. A waveform of the filtered signal V2 may be as shown in
In some implementations, the filter unit 120 may be a low-pass filter. In addition, in practice, the filter unit 120 may be further configured together with the multi-phase voltage divider unit 110. For example, a filter capacitor is further configured in each voltage divider of the multi-phase voltage divider unit 110 to form an RC filter as shown in block B2 in
In some embodiments, a transfer function of the filtered signal V2 may be as shown in Formula 1 below.
The DC level compensation unit 130 is configured to compensate a DC level of the filtered signal V2 to generate a compensation signal V3. The compensation signal V3 is the back EMF signal V1 after the filtering and DC level compensation. A waveform of the compensation signal V3 may be as shown in
In some embodiments, when the phase of t=0 is used as an example, a relationship between a compensation value of the DC level compensation unit 130 and a lower limit value of a hysteresis comparison width negative side of the hysteresis comparison unit 150 may be as shown in Formula 2 below. DAC refers to the compensation value of the DC level compensation unit 130, and-VZONE refers to the lower limit value of the hysteresis comparison width negative side.
The amplifying unit 140 is configured to amplify an amplitude of the compensation signal V3 to generate an amplified signal V4. The amplified signal V4 is the back EMF signal V1 after the filtering, DC level compensation, and amplitude amplification, and the recognizable degree of a zero-crossing point thereof has been relatively improved. Herein, the amplifying unit 140 is mainly configured to compensate for the signal amplitude reduction caused by the filter unit 120 and to improve the signal detectability at a low speed.
In some embodiments, the amplifying unit 140 may have a positive input end, a negative input end, and an output end. The positive input end of the amplifying unit 140 is coupled to the filter unit 120 and the DC level compensation unit 130, to receive the compensation signal V3 generated after the filtering and DC level compensation. The negative input end of the amplifying unit 140 may be coupled to its output end through a resistor, and the amplifying unit 140 outputs the amplified signal V4 through its output end.
In some implementations, the amplifying unit 140 may be implemented using an operational amplifier, but the present invention is not limited thereto. In addition, a circuit implementation of the DC level compensation unit 130 and the amplifying unit 140 may be as shown in block B3 in
The hysteresis comparison unit 150 is configured to generate a zero-crossing point signal V5 according to the amplified signal V4 and a reference signal VREF. The generation of the zero-crossing point signal V5 by hysteresis comparison can avoid signal bounce due to slight switching noise. A waveform of the zero-crossing point signal V5 may be as shown in
In some embodiments, as shown in block B4 in
In some implementations, the hysteresis comparison unit 150 may be implemented using an operational amplifier, but the present invention is not limited thereto. In addition, the reference signal VREF may have a fixed voltage, and for example, the voltage value thereof may be, but not limited to, 1 volt or 1.65 volts.
In some embodiments, the magnetic pole detection circuit 100 further includes a motor controller 160. The motor controller 160 is coupled to the output end of the hysteresis comparison unit 150 and the multi-phase motor 200. The motor controller 160 is configured to learn a magnetic pole position of a rotor in the multi-phase motor 200 according to the zero-crossing point signal V5, and may control an excitation mode of the multi-phase motor 200 according to the zero-crossing point signal V5.
When detecting the zero-crossing point signal V5, the motor controller 160 switches the excitation mode of the multi-phase motor 200 (that is, excites the next phase coil). When not detecting the zero-crossing point signal V5, the motor controller 160 maintains the current excitation mode of the multi-phase motor 200. For example, assuming that the current levels of the control signals TA, TA′, TB, TB′, TC, and TC′ are logic ‘1’, logic ‘0’, logic ‘0’, logic ‘1’, logic ‘0’, and logic ‘0’ respectively, when detecting the zero-crossing point signal V5, the motor controller 160 may respectively switch the levels of the control signals TA, TA′, TB, TB′, TC, and TC′ to logic ‘1’, logic ‘0’, logic ‘0’, logic ‘0’, logic ‘0’, and logic ‘1’, to switch the excitation mode of the multi-phase motor 200. Conversely, when not detecting the zero-crossing point signal V5, the motor controller 160 maintains the original values of the levels of the control signals TA, TA′, TB, TB′, TC, and TC′.
The multi-phase voltage divider circuit 105 is configured to detect the multi-phase motor 200 to generate the back EMF signal V1, and perform voltage division and filtering on the switching noise on the back EMF signal caused by a PWM voltage for driving the multi-phase motor 200. Herein, the back EMF signal V1 still includes high-frequency switching noise after the voltage division and filtering.
The low-pass filter circuit 104 is configured to receive the back EMF signal V1 output after the voltage division and filtering by the multi-phase voltage divider circuit 105, and perform low-pass filtering on the switching noise on the back EMF signal V1. Herein, in order to avoid excessive phase delay, the low-pass filter circuit 104 does not completely filter out the switching noise on the back EMF signal V1. In addition, the back EMF signal V1 after the low-pass filtering by the low-pass filter circuit 104 (that is, the above filtered signal V2) has problems of amplitude reduction and phase lag. Moreover, because the filtered back EMF signal V1 still includes the high-frequency switching noise, the zero-crossing point signal V5 is likely to have a transition bounce problem. However, these problems can be resolved by components described later, to generate the zero-crossing point signal V5 that can be used to precisely control the rotation speed of the multi-phase motor 200.
The digital-to-analog conversion circuit 103 is configured to receive the back EMF signal V1 output after the low-pass filtering by the low-pass filter circuit 104 (that is, the above filtered signal V2), and dynamically compensate the DC level of the back EMF signal V1, to compensate for the phase lag caused by the low-pass filter circuit 104 and the hysteresis comparison circuit 102 described later.
The back EMF amplifying circuit 101 is configured to receive the back EMF signal V1 output after the dynamic compensation by the digital-to-analog conversion circuit 103 (that is, the above compensation signal V3), and amplify the amplitude of the back EMF signal V1, to compensate for the signal amplitude reduction caused by the low-pass filter circuit 104 and improve the signal detectability at a low speed.
The hysteresis comparison circuit 102 is configured to receive the reference signal VREF and the back EMF signal V1 after the amplitude amplification by the back EMF amplifying circuit 101 (that is, the above amplified signal V4). The hysteresis comparison circuit 102 may perform hysteresis comparison between the reference signal VREF and the back EMF signal V1 after the amplitude amplification, and generate the zero-crossing point signal V5 to the motor controller 160 according to a result of the hysteresis comparison. In this way, the signal bounce of the zero-crossing point signal V5 due to the slight switching noise on the back EMF signal V1 can be avoided. Although the hysteresis comparison circuit 102 worsens the signal delay, this has been correspondingly compensated by the above digital-to-analog conversion circuit 103.
In some embodiments, the circuit structure of the back EMF amplifying circuit 101 may be substantially the same as that of the above amplifying unit 140, the circuit structure of the hysteresis comparison circuit 102 may be substantially the same as that of the above hysteresis comparison unit 150, the circuit structure of the digital-to-analog conversion circuit 103 may be substantially the same as that of the above DC level compensation unit 130, the circuit structure of the low-pass filter circuit 104 may be substantially the same as that of the above filter unit 120, and the circuit structure of the multi-phase voltage divider circuit 105 may be substantially the same as that of the above multi-phase voltage divider unit 110. Therefore, detailed implementations thereof are not be repeated herein.
In summary, by the zero-crossing point signal V5 with a correct commutation timing, the magnetic pole detection circuit 100 of the present invention can precisely control the rotation speed of the multi-phase motor 200. In addition, because the magnetic pole detection circuit 100 of the present invention can correctly feedback the magnetic pole position at both high and low speeds, the multi-phase motor 200 can have a large torque output at both high and low speeds, which expands the speed control range of the multi-phase motor 200. Furthermore, with the expansion of the speed control range of the multi-phase motor 200, the applicable range of the multi-phase motor 200 is also wider. For example, the multi-phase motor 200 controlled by the magnetic pole detection circuit 100 of the present invention may be applied to a continuous positive pressure respirator that needs to output high torque at a low speed, an electric pruning machine having a wide speed control range to provide different rotation speeds in response to different cutting situations, and other machines.
The magnetic pole detection circuit 100 of any embodiment can perform a motor control method of any embodiment, to precisely control the rotation speed of the multi-phase motor 200. Hereinafter, the description is made using the magnetic pole detection circuit 100 of the first embodiment as an example.
In an embodiment of the motor control method, the magnetic pole detection circuit 100 may further use the motor controller 160 to control the excitation mode of the multi-phase motor 200 according to the zero-crossing point signal V5 (step S06). Then, the magnetic pole detection circuit 100 may return to step S01 to perform the motor control method again.
In summary, in the magnetic pole detection circuit and the motor control method of the embodiments of the present invention, the amplitude of the back EMF signal is amplified by the amplifying unit or the back EMF amplifying circuit, to improve the signal detectability at a low speed and make the magnetic pole detection circuit applicable to occasions where the motor is running at a low speed. Moreover, the zero-crossing point signal is generated by performing the hysteresis comparison according to the back EMF signal and the reference signal by the hysteresis comparison unit or the hysteresis comparison circuit, to avoid the transition bounce of the zero-crossing point signal caused by the slight switching noise. In addition, in the magnetic pole detection circuit and the motor control method of the embodiments of the present invention, the DC level of the back EMF signal is changed by the DC level compensation unit or the digital-to-analog converter, to compensate for the signal phase delay. In this way, the magnetic pole detection circuit and the motor control method of the embodiments of the present invention can precisely control the rotation speed of the multi-phase motor by the zero-crossing point signal with a correct commutation timing. In addition, the magnetic pole detection circuit and the motor control method of the embodiments of the present invention can correctly feedback the magnetic pole position at both high and low speeds, so that the multi-phase motor can have a large torque output at both high and low speeds, thereby expanding the speed control range of the multi-phase motor and the applicable range of the multi-phase motor. Furthermore, the magnetic pole detection circuit and the motor control method of the embodiments of the present invention do not need to use a Hall sensor or a rotary encoder to detect the magnetic pole position of the rotor, so that the costs of the driver can be reduced.
Although the present invention has been described in considerable detail with reference to certain preferred embodiments thereof, the disclosure is not for limiting the scope of the invention. Persons having ordinary skill in the art may make various modifications and changes without departing from the scope and spirit of the invention. Therefore, the scope of the appended claims should not be limited to the description of the preferred embodiments described above.
Number | Date | Country | Kind |
---|---|---|---|
202111519749.3 | Dec 2021 | CN | national |