MAGNETIC POLE DETECTION CIRCUIT AND MOTOR CONTROL METHOD
20230184851 · 2023-06-15
Inventors
Cpc classification
H02P29/00
ELECTRICITY
G01R33/0029
PHYSICS
H02P6/157
ELECTRICITY
International classification
Abstract
A 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 electromotive force (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.
Claims
1. A magnetic pole detection circuit, comprising: a multi-phase voltage divider unit, configured to detect a back electromotive force (EMF) signal of a multi-phase motor; a filter unit, configured to filter the back EMF signal to generate a filtered signal; a DC level compensation unit, configured to compensate a DC level of the filtered signal to generate a compensation signal; an amplifying unit, configured to amplify the compensation signal to generate an amplified signal; and a hysteresis comparison unit, configured to generate a zero-crossing point signal according to the amplified signal and a reference signal, wherein the zero-crossing point signal is adapted to control an excitation mode of the multi-phase motor.
2. The magnetic pole detection circuit according to claim 1, further comprising: a motor controller, configured to control the excitation mode of the multi-phase motor according to the zero-crossing point signal.
3. The magnetic pole detection circuit according to claim 2, wherein 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.
4. The magnetic pole detection circuit according to claim 1, wherein the DC level compensation unit is a digital-to-analog converter to dynamically compensate the DC level of the back EMF signal.
5. A motor control method, comprising: 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, wherein the zero-crossing point signal is adapted to control an excitation mode of the multi-phase motor.
6. The motor control method according to claim 5, further comprising: controlling the excitation mode of the multi-phase motor according to the zero-crossing point signal.
7. The motor control method according to claim 6, wherein the step of controlling the excitation mode of the multi-phase motor according to the zero-crossing point signal comprises: 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.
8. The motor control method according to claim 5, wherein 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.
9. A magnetic pole detection circuit, comprising: a back EMF amplifying circuit, configured to receive a back EMF signal of a multi-phase motor and amplify an amplitude of the back EMF signal; and a hysteresis comparison circuit, configured to receive a reference signal and the amplified back EMF signal, wherein 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, wherein the zero-crossing point signal is adapted to control an excitation mode of the multi-phase motor.
10. The magnetic pole detection circuit according to claim 9, further comprising: a digital-to-analog conversion circuit, configured to receive the back EMF signal and dynamically compensate a DC level of the back EMF signal, to avoid phase lag, wherein 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.
11. The magnetic pole detection circuit according to claim 10, further comprising: a low-pass filter circuit, configured to receive the back EMF signal, and perform low-pass filtering on the switching noise on the back EMF signal, wherein 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.
12. The magnetic pole detection circuit according to claim 11, further comprising: a multi-phase voltage divider circuit, coupled to the multi-phase motor, wherein 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, wherein 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.
13. The magnetic pole detection circuit according to claim 9, further comprising: a motor controller, configured to receive the zero-crossing point signal, and control the excitation mode of the multi-phase motor according to the zero-crossing point signal.
14. The magnetic pole detection circuit according to claim 13, wherein 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.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027] and
[0028]
DETAILED DESCRIPTION
[0029] 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.
[0030]
[0031] 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
[0032] 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.
[0033] 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
[0034] 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
[0035] 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
[0036] 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
[0037] In some embodiments, a transfer function of the filtered signal V2 may be as shown in Formula 1 below.
[0038] 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
[0039] 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.
[0040] 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.
[0041] 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.
[0042] 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
[0043] 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
[0044] In some embodiments, as shown in block B4 in
[0045] 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.
[0046] 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.
[0047]
[0048] 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′.
[0049]
[0050] 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.
[0051] 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.
[0052] 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.
[0053] 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.
[0054] 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.
[0055] 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.
[0056]
[0057] 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.
[0058] 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.
[0059] 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.
[0060]
[0061] 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.
[0062] 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.