This application claims priority under 35 U.S.C. § 119 to Japanese Patent Application Nos. 2023-112642, filed Jul. 7, 2023, and 2023-137380, filed Aug. 25, 2023, the contents of which are incorporated herein by reference in their entirety.
The present disclosure relates to a motor control circuit, a motor control integrated circuit, and a method for controllably driving a motor.
In order to rotate a brushless direct current (DC) motor with high efficiency, when a rotor equipped with a magnet rotates, a rotation position of the rotor is detected based on an output signal of a Hall element, or by calculating a back electromotive force (BEMF) that is generated through a stator coil, and then a drive current flows in phase with rotation of the rotor (Patent Document 1).
In the above technique, a level of a drive voltage that is applied to the coil in phase with the output signal of the Hall element or the BEMF, and thereby the motor basically rotates in accordance with the drive current through the motor.
In one aspect, a motor control circuit for supplying a drive voltage to a brushless direct current (DC) motor via a motor drive unit is provided. The motor control circuit includes a current-zero point detector configured to detect a voltage corresponding to a drive current that flows through a coil of the brushless DC motor, and detect a timing at which the drive current becomes zero; a position-detecting signal generator configured to output a reference position detecting signal based on a Hall signal that is generated by a Hall element; a phase adjuster configured to adjust a phase of a targeted position detecting signal that is present after a subsequent cycle of the reference position detecting signal based on (i) a timing at which the drive current detected by the current-zero point detector becomes zero and (ii) the reference position detecting signal; and a drive controller configured to control a timing at which the drive voltage varies such that the timing of the drive voltage varying matches a timing at which a phase of the targeted position detecting signal changes, and to output the drive voltage.
The inventors of this application have recognized the following information in related art. Due to characteristics (V=L*dI/dt) of a coil in a brushless DC motor, a drive current varies with a time delay in response to turning on or off a drive voltage. Here, V is a voltage across the coil, L is reactance of the coil, I is a current through the coil, and dI/dt is a time derivative of I. In order to increase a rotational speed of the motor, an increased current is required, and thus the time delay increases in accordance with a larger current.
For this reason, when the motor rotates at a high speed, a phase of the drive current deviates from a phase derived by an actual position of the rotor, and as a result, a driving force is not sufficiently transferred into torque. Even if the current is increased, the rotational speed does not increase proportionally as expected, and ultimately the efficiency decreases.
In view of the situation recognized by the inventor, the present disclosure provides a motor control circuit that can improve the efficiency when a motor rotates at a high speed, rotate the motor at a sufficiently high speed by a predetermined current magnitude, and rotate the motor with a smaller current even at the same rotational speed as described in the motor in the related art.
Various embodiments are described below with reference to the drawings. In each drawing, the same components may be denoted by the same numerals, and duplicate description may be omitted.
Hereinafter, a configuration of a motor drive controller according to one embodiment will be described with reference to
A motor drive controller 4 may be incorporated in a fan motor for cooling a heat generating component such as a processor in an electronic device, which includes a notebook personal computer or the like. The motor that is driven by the motor drive controller 4 may include a brushless direct current (DC) motor (BLDC motor).
The motor drive controller 4 includes a circuit that drives a single-phase motor 5 for rotating a cooling fan, for example. The motor drive controller 4 includes a control circuit 10, an H-bridge circuit 2, and a detection resistor 3. A control integrated circuit (IC) (motor control IC) 1 is a semiconductor integrated circuit for controlling a motor drive unit. The control IC 1 includes the control circuit 10 with terminals. The motor drive controller 4 receives a Hall signal from a hall element 6.
The control circuit 10 includes a PWM signal generator 11, a position-detecting signal generator 12, a current-zero point detector 13, a phase adjuster 14, an output/soft-switching controller 15 (hereinafter may be referred to as a controller 15), and a gate driver 16. The controller 15 and the gate driver 16 function as a drive controller 17.
The H-bridge circuit 2 functions as a motor drive unit. The H-bridge circuit 2 includes P-channel FETs M1 and M2 and N-channel FETs M3 and M4. A P-channel FET M1 functions as a first upper switch, an N-channel FET M4 functions as a first lower switch, a P-channel FET M2 functions as a second upper switch, and an N-channel FET M3 functions as a second lower switch.
The detection resistor 3 is connected to the H-bridge circuit 2 and is used to detect the current flowing through a coil L in the single-phase motor 5.
A rotor (not shown) in the single-phase motor 5 is provided with a magnet, and the Hall element 6 is fixed in place to detect a magnetic field from the magnet in the rotor. The Hall element 6 outputs, to respective terminals of the control IC 1, Hall signals IN1 and IN2 each of which corresponds to a voltage level that varies in accordance with strength of a detected magnetic field. When the magnet rotates in accordance with the rotation of the rotor, the Hall element 6 detects changes in the magnetic field based on the rotation of the magnet, and as a result, a position of the rotor is detected. Each of the Hall signals IN1 and IN2 in the present embodiment is, for example, a sinusoidal signal whose amplitude has a predetermined voltage level. The Hall signals IN1 and IN2 are output to the respective terminals of the control IC 1. The Hall signals IN1 and IN2 are not limited to sinusoidal signals.
The position-detecting signal generator 12 compares levels of the Hall signals IN1 and IN2, and generates a frequency generation (FG) signal that is a signal whose frequency changes according to the rotational speed of the single-phase motor 5.
Specifically, the position-detecting signal generator 12 includes hysteresis comparators 21 and 22, glitch filters 23 and 24, a signal processor 25, and an offset processor 26.
Each of the hysteresis comparators 21 and 22 compares the levels of the Hall signals IN1 and IN2. Here, when an inverted signal is input on a short time interval between a signal and the inverted signal, a whisker-like glitch pulse may be generated as an output due to a delay time of noise signal that is caused during a corresponding time period. Each of the glitch filters 23 and 24 removes an unnecessary glitch pulse, and does not adversely affect the signal processor 25 due to the noise, and the signal processor 25 is a logic circuit of a subsequent stage.
In this arrangement, if a level of the Hall signal IN1 is higher than a level of the Hall signal IN2, the signal processor 25 generates the FG signal at a low level (hereinafter referred to as a L level), and if the level of the Hall signal IN1 is lower than the level of the Hall signal IN2, the signal processor 25 generates the FG signal at a high level (hereinafter referred to as a H level).
A predetermined amount of the offset (a time period that is shorter than a phase adjustment range) is stored in the offset processor 26. During steady rotation, the offset processor 26 outputs a position detecting signal, FG_offset, to cause the phase of the FG signal to be advanced. The FG signal is the position detecting signal.
In this arrangement, when the motor starts, the position-detecting signal generator 12 outputs the position detecting signal FG that matches the Hall signal generated by the Hall element and that is used as a reference. When the motor rotates steadily, the position detecting signal, FG_offset, whose phase is advanced (offset) by a predetermined amount with respect to the Hall signal, is output as a reference. With this approach, during unstable rotation such as at startup, at a position at which an actual Hall signal is switched to cause the motor to operate reliably, the motor is driven. In contract, during steady rotation, the motor is driven at a position suitable for characteristics of the motor. In this example, the phase of the position detecting signal, FG_offset, is advanced with respect to the position detecting signal FG. However, the position detecting signal, FG_offset, may be a signal whose phase is delayed with respect to the position detecting signal FG by a predetermined amount, taking account into a situation.
Based on the position-detecting signal, FG or FG_offset, the pulse width modulation (PWM) signal generator 11 generates a PWM signal that is a switching signal to drive any FETs among the P-channel FETs M1 and M2 and the N-channel FETs M3 and M4, which constitute the H-bridge circuit 2.
A duty ratio for the PWM signal generated by the PWM signal generator 11 is fixed, and an output voltage Vout does not vary. Under such a control, when the drive voltage varies, soft-switching is performed so that a level of the drive voltage changes gradually to high (H) or low (L). The soft-switching is performed under the control of the controller 15 at a subsequent stage.
The current-zero point detector 13 detects a voltage Vsns between the H-bridge circuit 2 and the detection resistor 3 during a current monitoring period, which is an angle period before and after a timing at which the phase of a reference position-detecting signal changes.
The voltage Vsns between the H-bridge circuit 2 and the detection resistor 3 is calculated by an equation “(constant resistance value Rsns of the detection resistor 3)×(current Idr flowing through the coil L). In this case, the detection voltage Vsns is a voltage corresponding to the drive current Idr flowing through the coil L.
A sampling signal, SW_SAMP_A, a standby signal, SW_OFFSET_A, and an adjustment signal, Offset Enable, are input to the current-zero point detector 13. The adjustment signal, Offset Enable, is turned on in order to improve or correct motor characteristics or the like. For example, when an offset is added to an actual Vsns level or a reference GND (ground) level due to wiring impedance, the adjustment signal is used to cancel the offset. In other words, the adjustment signal, Offset Enable, is not turned on or off in accordance with any operations, but instead is used for initial setting as to whether the offset is added to a level in a detected current-zero point.
Specifically, the current-zero point detector 13 includes a switch group 31, a voltage comparison circuit 30, and a latching unit 33, which constitute a permanently installed circuit that is used regardless of whether the adjustment signal, Offset Enable, is turned on or off. Switches 311 and 312 in the switch group 31 switch a voltage of an input terminal of the voltage comparison circuit 30 between the detection voltage Vsns and a ground voltage GND, by taking into account an on-off (or high-low) state of each of two signals, namely the sampling signal, SW_SAMP_A, and the standby signal, SW_OFFSET_A. The voltage comparison circuit 30 includes capacitors 301 and 303, and inverters 302, 304 and 305. The voltage comparison circuit 30 also includes switches 306 and 307 for short-circuiting the respective inverters 302 and 304. The latching unit 33 outputs a state signal, Zero_det_latch, based on a result of a zero point output, Zero detection, which is an output of the voltage comparison circuit 30.
Further, the current zero detector 13 includes an additional offset circuit (adjustment circuit) that is used only when the adjustment signal, Offset Enable, is on. The additional offset circuit includes a switch 32, a constant voltage source 34 connected to a resistor 342, a switch group 35, and a capacitor 308. When the adjustment signal, Offset Enable, is on, the switch 32 becomes on, and thus the adjustment circuit is connected to the current zero detector 13. With this approach, the capacitor 308 is connected to the current zero detector 13 as a portion of the voltage comparison circuit 30a, and the constant voltage source 34 or the ground voltage GND is applied to the capacitor 308 in accordance with the operation by the switch group 35.
More specifically, when the adjustment signal, Offset Enable, is on, the capacitor (offset capacitor) 308 is connected in parallel with the capacitor 301 at a front stage of the invertor 302, as a portion of the voltage comparison circuit 30a. The constant voltage source 34 generates a predetermined constant voltage that serves as an offset voltage. Based on an on-off state of each of the sampling signal, SW_SAMP_A, and the standby signal, SW_OFFSET_A, the switches 351 and 352 in the switch group 35 change a voltage of an input end of the offset capacitor 308 to a voltage Vofs from the constant voltage source 34 or the ground voltage GND. In this case, the voltage comparison circuit 30a compares a value that is an offset from the GND level, with the detection voltage Vsns, and then outputs a comparison result. In this arrangement, the constant voltage source 34 that generates an offset level is selectively used in accordance with a state of the adjustment signal, Offset Enable.
As shown in
During a time period in which the sampling signal, SW_SAMP_A, is input, the current-zero point detector 13 compares a voltage of each of the capacitors 301 and 303 with the ground voltage, by using the inverters 302, 304, and 305 each of which functions as a comparator. If the detection voltage Vsns is less than zero, a zero point output, Zero detection, becomes H at a timing at which the sampling signal, SW_SAMP_A, is input. Details of the behavior of the current-zero point detector 13 will be described with reference to
The latching unit 33 sets the state notification signal, Zero_det_latch, which is a latch output signal and a continuous signal, to be H at a timing at which the sampling signal, SW_SAMP_A, falls to L. In this case, after maintaining the state notification signal at a H level until a subsequent sampling signal, SW_SAMP_A, falls, the latching unit 33 takes a state of the zero point output, Zero detection, again at a timing at which the sampling signal, SW_SAMP_A, falls. If the zero point output, Zero detection, is H, the output state notification signal, Zero_det_latch, is maintained at the H level. If Vsns becomes greater than zero, and Zero detection becomes L, the output state notification signal, Zero_det_latch, changes to L, and the resulting L level is maintained until a subsequent sampling signal, SW_SAMP_Am, falls. Such a process is repeated for each predetermined current monitoring period. Details of the behavior of the current-zero point detector 13 will be described below with reference to
monitoring period, the current-zero point detector 13 sets, as a state of the motor current, a continuous state notification signal, Zero_det_latch, that is different from a discrete signal that is obtained with the PWM. With this approach, a timing at which the detection state exits, corresponding to a timing at which the state notification signal, Zero_det_latch, indicating a state of the drive current, can be recognized as a timing at which the current flows in a positive direction such that a current magnitude increases from zero, without the influence by an on-off operation with the PWM.
Based on both an output result of the current-zero point detector 13 and the reference position-detecting signal, FG or FG_offset, the phase adjuster 14 adjusts the phase of a targeted position-detecting signal that is obtained in a subsequent cycle of the reference position-detecting signal, and outputs the targeted position-detecting signal whose phase is adjusted, as a lead-angle position-detecting signal (Lead_angle FG, hereinafter may be referred to as a LAFG signal).
Specifically, as shown in
The phase change counter 41 counts the number of times (in this example, the number of times a signal changes from H to L) a phase of the position-detecting signal (FG or FG_offset) changes. The position-detecting signal is output from the position-detecting signal generator 12.
In an example, during steady-state rotation, the phase of the drive current is adjusted (lead angle) every sixteen times the phase of the FG signal changes. In this case, the phase change counter 41 counts the number k of times the above phase changes. When the number k reaches fifteen after a previous phase adjustment is performed, the time counter 42 starts the count in order to monitor the current-zero point through the current-zero point detector 13.
The time counter 42 counts a time so as to monitor the current-zero point at a time near a timing at which the phase of a targeted FG signal changes. The time counter 42 counts the time during a half-cycle T of an immediately preceding FG signal (or FG_offset signal). If the time becomes the time that is expressed by T×(180°−θ)/180°), the time counter 42 starts the monitor of the current-zero point (current-zero cross point), and then sets a current monitoring period.
During the current monitoring period, the time counter 42 outputs, to the current-zero point detector 13, (i) the sampling signal, SW_SAMP_A, that is used during detection of the current-zero point, and (ii) the standby signal, SW_OFFSET_A, that is used during a time period other than a time period during which the current is detected. If a time period that is expressed by (the half-cycle T)×(180°+θ)/180°) has elapsed, the monitoring of the current-zero point is terminated. Here, θ is set to any value from 30° to 60°, for example.
The LAFG signal generator 43 outputs the LAFG signal that is the FG signal whose phase is adjusted (advanced or delayed) with respect to the FG signal or the FG_offset signal, and the FG signal is based on a detection result of the current-zero point.
The controller 15 adjusts, based on the LAFG signal, a timing at which the drive voltage varies under the control that is performed by the PWM signal, that is, a timing at which the voltage is turned on or off.
In addition, the controller 15 internally generates a signal to instruct a time period during which the single-phase motor 5 is soft switched based on (i) a voltage generated internally and (ii) the position-detecting signal, FG or FG_offset, output from the position-detecting signal generator.
With this arrangement, the controller 15 gradually changes a duty ratio immediately before a timing at which the FG signal or FG_offset signal is inverted. When the output voltage Vout is increased as in a time period Ti in
Then, the controller 15 generates control signals IN1H, IN2H, IN1L, and IN2L, which are set such that soft-switching in which an interval between H and L changes gradually is performed during switching of the drive voltage for switching any FETs among the FETs M1, M2, M3, and M4 of the H-bridge circuit 2. Then, the controller 15 outputs the control signals to the gate driver 16.
The gate driver 16 controls each MOSFET in the H-bridge circuit 2, and varies the drive current Idr to drive the motor coil L of the single-phase motor 5. Specifically, the gate driver 16 outputs gate control voltages GH1, GH2, GL1, and GL2 to turn on and/or off gates of FETs M1, M2, M3, and M4 in the H-bridge circuit 2, respectively.
Hereinafter, the flow of the drive current will be described with reference to
When generating a positive drive current Iout, for example, the gate driver 16 turns off FETs M2 and M3 that constitute a second switch, and turns on FETs M1 and M4 that constitute a first switch, in accordance with the PWM signal. Then, a positive drive voltage Vout is generated, and as shown in
When the current flows through the motor coil L in the direction Idr1, for example, the gate driver 16 switches driven phases to turn off FETs M1 and M4 and turn on FETs M2 and M3. In this case, a direction in which the current flows through the coil cannot change rapidly due to characteristics of the coil, and thus the current flows in the direction Idr1 through the FETs M2 and M3 that are turned on. At this point, the drive voltage Vout becomes negative, while the drive current Iout is still positive.
The current flowing in the above direction from the GND through the detection resistor 3 flows, as a negative current, from a source to a drain in each of FETs M2 and M3. In other words, the current flows in a direction expressed by an arrow in
When a further time period has elapsed, the direction of the current flowing through the coil L changes, and the current flows as shown in
Hereinafter, the behavior of the current-zero point detector 13 will be described in detail with reference to
First, the behavior of the current-zero point detector 13 in a case where the adjustment signal, Offset Enable, is off will be described with reference to
Specifically, as shown in
Hereinafter, an inverter threshold for the current-zero detector will be described with reference to
In the voltage comparison circuit 30, a level difference (Vsns−GND) for a first-stage input voltage needs to be detected in the range of very small levels. In this case, the level difference (Vsns−GND (0)) is amplified to a value (302_OUT−Vth2) by the first-stage inverter 302. Even if characteristics of the inverters are different from each other, with used of the capacitor 303 of an input side, an intermediate potential Vth4 is added to 302_OUT−Vth2, and the resulting voltage is applied to the second-stage inverter 304. Then, the resulting signal is amplified by the inverter 304, and the signal becomes 304_OUT, which is very close to the H level. When such an amplification is performed, it can be seen that an input 305_IN (=304_OUT) of the inverter 305 of a third stage causes an output of the inverter 305 of the third stage to be at an “L level.”
As described above, an objective of inverters at three stages is to increase a signal level, and each of the capacitors 301 and 303 can add an input voltage level of a corresponding inverter, with reference to a threshold for the inverter, without being affected by the characteristics of the inverter. In this arrangement, a small voltage magnitude of the detection voltage Vsns can be ultimately output with use of two levels, H and L. Specifically, as shown in
In the state shown in
In the capacitor 303 of a subsequent stage, the capacitor 303 is charged (Vc3=Vth4−(302_OUT−Vth2)) at a divided potential of (302_OUT−Vth2), in addition to an originally stored intermediate potential Vth4, in accordance with an output voltage of the inverter 302. In this arrangement, as shown in
On the other hand, when the detection voltage Vsns is lower than the GND level as shown in the state in
The Zero_detection signal that is from the output of the voltage comparison circuit 30 is input to the latching unit 33. Then, the latching unit 33 outputs a continuous state notification signal, Zero_det_latch, which changes to H or L, only when the L or H level of the Zero_detection signal changes for a preceding and subsequent on periods that are discrete on durations during which the detection voltage Vsns is applied to the switch 311 (see
As described above, the current-zero point detector 13 detects a timing at which the magnitude of the voltage Vsns corresponding to the output current Iout changes from either zero or a negative level to a positive level, to thereby detect that the drive current indicates a zero point, and then sends a notification at a timing at which the state notification signal, Zero_det_latch, changes from H to L.
Hereinafter, the behavior of the current-zero point detector 13 in a case where the adjustment signal, Offset Enable, is on will be described with reference to
Specifically, as shown in
After the charge corresponding to the offset voltage is stored at each of the capacitors 303, 304, and 308, the standby signal, SW_OFFSET_A, changes to L, and the sampling signal, SW_SAMP_A, changes to H. As a result, as shown in
If the detection voltage Vsns is higher than the GND level as shown in (a) and (c) of
On the other hand, if the detection voltage Vsns is compared with the voltage that is defined by dividing the offset voltage Vofs by twenty, and the positive detection voltage (Vsns) is higher than the voltage defined by dividing the positive offset voltage Vofs by twenty, the condition of “Vth2−Vofs/20+(Vsns(+))<Vth2” is satisfied. In this case, the input of the inverter 302 becomes L, and the output of the inverter 302 changes to H. Thereafter, the capacitor 303, the switch 307, and the inverter 304 behave in the same manner as described above. As a result, when the input of the inverter 304 becomes H, the output of the inverter 304 becomes L, and when the input of the inverter 305 becomes L, the output of the inverter 305, i.e., the Zero_detection signal, becomes H.
When the magnitude of the detection voltage Vsns is negative as shown in
As described above, by enabling the adjustment circuit with the constant voltage source 34 in accordance with the adjustment signal, Offset Enable, a threshold level for the inverter 302 in the voltage comparison circuit can be offset from the GND level. That is, in the example shown in
the detection voltage Vsns changes from the GND level by the positive magnitude of the voltage defined by Vofs/20, when the standby signal, SW_OFFSET_A, is applied to the switch 351 and the sampling signal, SW_SAMP_A, is applied to the switch 352. However, when the standby signal, SW_OFFSET_A, is applied to the switch 352 and the sampling signal, SW_SAMP_A, is applied to the switch 351 as shown in parentheses in
In generating an offset using the above additional adjustment circuit, in a case where there is a discrepancy between the GND level of the motor obtained by the current-zero point detector 13 and the GND level of a device (the entire motor driving device 4) due to, for example, a difference or the like between wiring impedance, the discrepancy is corrected. Alternatively, in a case where false detection or malfunction occurs due to a small noise that is generated near the GND, an offset is used to avoid the false detection. For such a purpose of correcting the discrepancy or avoiding the false detection or malfunction, an adjustment function is enabled or disabled. The adjustment function is enabled or disabled at a timing other than the current monitoring period, without being linked to the FG period.
In a BLDC motor, in response to turning on or off the drive voltage, the drive current changes with a delay in time, due to characteristics (V=L*dI/dt) of a coil. In an example shown in
Here, in order to increase the rotational speed of the motor, the current is required to increase, and the time delay increases in accordance with an increasing current. In this case, when the motor rotates at a high speed, a phase of the drive current deviates from a phase corresponding to an actual position of the motor that is detected by a Hall element. As a result, a driving force is not sufficiently transferred into torque, and even when the current is increased, the rotational speed does not increase proportionally as expected, and thus the efficiency is decreased.
In this arrangement, in the present disclosure, a timing at which the drive voltage varies is adjusted based on a timing of a detected zero point of the actual current. Thus, the phase change point of the position-detecting signal, FG or FG_offset, and the zero cross point of the drive current are controlled to match with each other.
Hereinafter, a case where an angle lead control is performed every 16 times the phase changes as an example of the control in the present disclosure will be described with reference to an operation shown in
When the lead angle adjustment shown in
When the phase of the FG_offset signal changes in S102, the phase change counter 41 adds one to the number k of times the phase of the FG_offset signal changes (S103).
Until the number k reaches 15 (No in S104), the current-zero point detection and the lead angle adjustment are not performed. After repeating S102 and S103, when the number k reaches 15 (Yes in S104), the process proceeds to a subsequent step, and the time counter 42 measures the time within the half-cycle T of the FG_offset signal (S105).
When the time counter 42 measures the time until a time period that is defined by (the half-cycle T)×(180°−θ))/180° elapses (S106), the current is monitored and the current-zero point detection is performed (S107). Details of the current-zero point detection will be described below with reference to
Then, when the time counter 42 measures the time until the time period defined by (the half-cycle T)×(180°+e))/180° elapses, it is determined that the current monitoring period has elapsed, and the monitoring of the current-zero point is terminated (S108). In the process shown in
Here, simultaneously with a step in which the current-zero point is detected, the drive voltage falls with a gradient according to the change in the phase of the FG_offset signal, and the phase of the drive current also changes accordingly (S109). When the number k of times the phase of the FG_offset signal changes becomes 16, the number k of times the phase of the FG_offset signal changes is reset to zero (S110).
Thereafter, the process proceeds to S111 to S117 in which FG phase adjustment (lead angle adjustment) is performed.
First, in S106 to S108, the LAFG signal generator 43 first determines whether the current-zero point is detected as shown in
If the current-zero point is not detected (No in S111), the phase of the LAFG signal is advanced one step forward (S114) because the phase of the drive current is substantially delayed with respect to the current monitoring period. Note that one step used when the phase of the LAFG signal is advanced or delayed during a subsequent period corresponds to one cycle of the PWM signal, and is substantially shorter than the current monitoring period for the FG_offset signal. The one step is defined, for example, by 0.35 degrees.
If the current-zero point is detected (Yes in S111), it is determined whether a fall (exiting of a detection state) of the state notification signal, Zero_det_latch, is detected.
If the fall of the state notification signal, Zero_det_latch, is not detected (No in S112), it means that an end point of the current monitoring period is within a time period in which the state notification signal, Zero_det_latch, indicates H. Thus, the phase of the LAFG signal is advanced one step forward (S114) because the phase of the drive current is significantly delayed with respect to the current monitoring period.
If the fall of the state notification signal, Zero_det_latch, is detected (Yes in S112), a timing at which the state notification signal falls is compared with a timing at which the phase of the FG_offset signal changes in a case where k=16 is satisfied (S113).
When the timing at which the state notification signal, Zero_det_latch, falls is later than the timing at which the phase of the FG_offset signal changes (Yes in S113), the phase of the LAFG signal is advanced one step forward (S114).
If the timing at which the state notification signal, Zero_det_latch, falls is earlier than the timing at which the phase of the FG_offset signal changes (No in S113), the phase of the LAFG signal is delayed one step backward (S115).
A timing at which the phase of the LAFG signal changes in a subsequent cycle of the FG_offset signal is determined by performing steps S111 to S115, and a timing at which the voltage varies is adjusted by controlling the drive voltage that is generated by the controller 15 and the gate driver 16, in accordance with the timing at which the phase of the LAFG signal changes (S116).
Hereinafter, the detecting of the current-zero point during the current monitoring period will be described in detail with reference to
When the time counter 42 measures the time until a time period defined by (the half-cycle T)×(180°−θ)/180°) (S107 in
First, the state notification signal, Zero_det_latch, is reset to L (S201).
Immediately before the drive PWM signal is turned on, the standby signal, SW_OFFSET_A, is turned off (S202). Then, when the drive PWM signal (1N1H for driving M1) is turned on at a timing at which the PWM period (S203) elapses, the sampling signal, SW_SAMP_A, is turned on at the same timing as described at the timing of the PWM period elapsing (S204).
In soft-switching, an on duration is controlled to be gradually shorten within the PWM period as the on duration approaches zero. However, during the current monitoring period, when an on duration of the driven PWM signal is t (1.0 μs) or less (Yes in S205), the on duration is set to be t (1.0 μs) or longer (S206).
When on durations of the driven PWM signal are all longer than t (1.0 μs) (No in S205), no adjustment is required and the process proceeds to a subsequent step. Thereafter, when the sampling signal,
SW_SAMP_A, is turned on, the detection voltage Vsns is monitored for a predetermined period t (1.0 μs) (S207).
A monitoring result for the detection voltage Vsns is output to the latching unit 33 as the zero point output, Zero_detection (S208).
The sampling signal, SW_SAMP_A, is turned on, and after the predetermined time period t (1.0 μs), the latching unit 33 samples the zero point output, Zero detection (S209).
As a result of the sampling, if the zero point output, Zero detection, that is input to the latching unit 33 indicates H within the on duration of the sampling signal, SW_SAMP_A (Yes in S210), that is, if the detection voltage Vsns is negative at a timing at which sampling is performed by the sampling signal, SW_SAMP_A, the output voltage Vout is defined by Vout<0 and the output current Iout is defined by Iout≥0. As a result, the state notification signal, Zero_det_latch, is set to be H (detection state) (S211).
On the other hand, if the zero point output, Zero detection, that is input to the latching unit 33 indicates L during the on duration of the sampling signal, SW_SAMP_A (Yes in S210), that is, if a time period in which the detection voltage Vsns is negative at a timing at which sampling is performed by SW_SAMP_A is not detected, the state notification signal, Zero_det_latch becomes L. At this time, if the state notification signal, Zero_det_latch, is not raised, a L state is maintained. On the other hand, if the state notification signal, Zero_det_latch, is raised in a preceding PWM period, a condition “the output voltage Vout<0 and the output current Iout <0” is satisfied, and the state notification signal, Zero_det_latch, falls by determining that a current level is below the zero point. As a result, the detection state exits (S212).
A state of the state notification signal, Zero_det_latch, is maintained (S213).
On the other hand, simultaneously with turning on or off the state notification signal in S210 to S213, when an off duration of the PWM period appears in S214, the sampling signal, SW_SAMP_A, is turned off, and the standby signal, SW_OFFSET_A, is turned on (S215).
Then, a subsequent on duration of driven PWM signal waits (S216). If it is within the current monitoring period (No in S217), the process returns to the process before S202 and repeats the detection operation for the current-zero point, for every PWM period.
On the other hand, if the time counter 42 measures the time until the time period defined by (half-cycle T)×(180°+θ)/180°) elapses (Yes in S217), the monitoring of the current is terminated and the current monitoring period expires (END).
In
In the example of
In detail, at startup or restart due to a motor lock, a PWM input that is a speed control input varies, and thus the speed changes. As a result, the phase change (lead angle control) in the output is performed according to the FG signal. In this case, it is preferable that during a time period in which a rotational variation made until the rotating is performed stably, phase adjustment is performed frequently compared to a case where the rotating is performed stably. For example, phase adjustment is performed every two cycles of the FG signal.
Note that at startup and restart, in detecting the current-zero point within the current monitoring period, the sampling signal, SW_SAMP_A, is turned on during a time period in which the driven PWM signal (IN2H for driving M2) is turned on under the control in
(Current after Performing Lead Angle Adjustment)
In
With this arrangement, when the motor rotates at a high speed, the phase of the drive current matches the phase of the Hall signal indicating the actual position of the motor. As a result, a driving force is sufficiently transmitted into torque, and when the current is increased, the rotational speed increases proportionally as expected, thereby improving efficiency. Accordingly, the motor control circuit in the present disclosure improves the efficiency when the single-phase motor rotates at a high speed. In this arrangement, the motor is enabled to rotate at a sufficiently high speed in accordance with a predetermined current magnitude. Also, the motor is enabled to rotate with a smaller current even at the same rotational speed.
In the above example, an example of detecting a phase inversion point at which the signal changes from H to L is described, where a phase inversion point is used as a detection timing at which the phase of the position detecting signal (FG or FG_offset) changes. However, in phase change detection, the phase inversion point at which the signal changes from L to H may be detected. In this case, a timing at which the current changes from a negative level to a positive level is monitored and detected in the current-zero point detection, where the timing corresponds to a timing at which the position detecting signal changes from L to H.
In
Furthermore, the motor control circuit in the present disclosure is applicable not only to a 1-channel H-bridge but also to a BLDC motor of a 1.5 channel H-bridge (3 half-bridges).
Although the preferred embodiments and the like are described in detail above, they are not limited to the above-described embodiments and the like, and various variations and substitutions can be made to the above-described embodiments and the like without departing from the scope described in the present disclosure.
In one aspect, a motor control circuit can improve efficiency of a motor that rotates at a high speed, rotate the motor at a sufficiently high speed by a predetermined current magnitude, and rotate the motor at a lower current even at the same number of revolutions.
Number | Date | Country | Kind |
---|---|---|---|
2023-112642 | Jul 2023 | JP | national |
2023-137380 | Aug 2023 | JP | national |