This application claims priority to and the benefit of Korean Patent Application No. 10-2022-0100035 filed in the Korean Intellectual Property Office on Aug. 10, 2022, the entire contents of which are incorporated herein by reference.
The present disclosure relates to a motor driver and a method of driving a motor.
Recently, brushless direct current (BLDC) motors that do not use commutation brushes and thus have high energy efficiency have been used in various electronic devices including household appliances such as washing machines and refrigerators.
A BLDC motor may perform electronic commutation to change a current direction of a current flowing through a coil of an armature and may generate a continuously rotating magnetic field to rotate a rotor when a position of the rotor matches a commutation time point.
In the BLDC motor, when a rotor starts to rotate, a coil of the rotor becomes one power generator to generate a voltage, and the induced voltage generated in this case is referred to as a back electromotive force voltage. A BLDC motor system may detect the back electromotive force voltage and control the BLDC motor to be driven using the detected back electromotive force voltage.
In conventional BLDC motor systems, a back electromotive force voltage detection circuit for detecting a back electromotive force voltage is complex. The back electromotive force voltage detection circuit included in the conventional BLDC motor system has problems that, as a driving speed of the BLDC motor increases, power consumption increases, and it is difficult to detect the back electromotive force voltage at a high driving speed.
Accordingly, the present disclosure is directed to providing a motor driver in which a circuit for detecting a back electromotive force voltage is simple and a method of driving a motor.
In addition, the present disclosure is directed to providing a motor driver and a method of driving a motor which are capable of accurately detecting a back electromotive force voltage even when a driving speed of a brushless direct current (BLDC) motor increases.
A motor driver according to one aspect of the present disclosure includes an analog-to-digital converter (ADC) which, when a voltage sensing signal detected at a phase voltage of a specific coil in a floating period is input, samples the input voltage sensing signal at each of a plurality of sampling points and converts the voltage sensing signal into digital voltage sampling data and a back electromotive force voltage determination unit which determines a back electromotive force voltage of the specific coil on the basis of a plurality of pieces of the digital voltage sampling data.
A method of driving a motor according to another aspect of the present disclosure includes floating any one specific coil among three phase coils, converting, when a voltage sensing signal detected at a phase voltage of the specific coil in a floating period is input, the input voltage sensing signal into at least two pieces of digital voltage sampling data by sampling the input voltage sensing signal, and determining a back electromotive force voltage of the specific coil on the basis of the at least two pieces of the digital voltage sampling data.
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this application, illustrate embodiments of the disclosure and together with the description serve to explain the principle of the disclosure. In the drawings:
Like reference numerals refer to actually like elements throughout the specification. In the following description, detailed description of components which are not related to core components of the present disclosure and components and functions which are known in the art of the present disclosure may be omitted. Meanings of terms described in this specification should be understood as follows.
Advantages and features of the present disclosure and methods of achieving the same will become apparent with reference to the accompanying drawings and the following detailed embodiments. However, the present disclosure is not limited to the embodiments to be disclosed below but may be implemented in various different forms, the embodiments are provided so that the present disclosure is completely implemented and provided to fully explain the scope of the present disclosure for those skilled in the art, and the scope of the present disclosure is defined by the appended claims.
Like reference numerals refer to like elements throughout the specification. In addition, in the description of the present disclosure, certain detailed descriptions of the related art are omitted when they are deemed to unnecessarily obscure the gist of the disclosure.
When terms “comprise,” “include,” have,” “be formed of,” and the like are used in the present specification, other elements may be added thereto unless “only” is used. A case in which a component is expressed in a singular form includes a case in which the component is provided as a plurality of components unless otherwise explicitly stated.
In the case of time-related description, for example, a case in which temporal parts are described with “after,” “before,” or the like may include a case in which the temporal parts are not sequential unless the term such as “immediately” or “directly” is used.
Although terms such as “first,” “second,” and the like may be used for describing various elements, the elements are not limited by the terms. The terms are only used to distinguish one element from another element. Accordingly, a first element mentioned below may also be a second element in a technical spirit of the present disclosure.
The term “at least one” should be understood to include all possible combinations from one or more related items. For example, “at least one of a first item, a second item, and a third item” may mean not only the first item, the second item, or the third item, but also all possible combinations of two or more items among the first item, second item, and the third item.
Features of various embodiments of the present disclosure may be partially or entirely coupled or combined and driven in cooperation in various technical ways, and the embodiments may also be implemented independently of each other or implemented together in conjunction with each other.
Hereinafter, embodiments of the present specification will be described in detail with reference to the accompanying drawings.
Referring to
The BLDC motor 110 may include a stator including three phase coils UC, VC, and WC having different phases and a rotor using a permanent magnet, but the rotor is omitted in
The stator of the BLDC motor 110 may include a first coil UC having a U-phase (first phase), a second coil VC having a V-phase (second phase), and a third coil WC having a W-phase (third phase).
The BLDC motor 110 may be driven by driving signals supplied to the three phase coils UC, VC, and WC from the inverter 120. In the BLDC motor 110, a current may flow to a desired coil among the first to third coils UC, VC, and WC according to a position of the rotor to generate a magnetic force, and the generated magnetic force can rotate the rotor of the BLDC motor 110. For example, in the BLDC motor 110, according to the driving signals, a current may flow in the first coil UC in a positive (+) direction, a current may not flow in the second coil VC, and a current may flow in the third coil WC in a negative (—) direction. In this case, in the BLDC motor 110, the first coil UC becomes an N-pole to pull an S-pole of the rotor formed of the permanent magnet, and the third coil WC becomes an S-pole to push the S-pole of the rotor to rotate the rotor.
The inverter 120 may be operated by control of the motor driver 140, and may supply a first power voltage VDD or second power voltage VSS to each of the three phase coils UC, VC, and WC of the BLDC motor 110 through first to third nodes U, V, and W. The first power voltage VDD may be a high power voltage, and the second power voltage VSS may be a low power voltage.
Also, the inverter 120 may not supply the first and second power voltages VDD and VSS to any one specific coil among the three phase coils UC, VC, and WC to float the specific coil according to control of the motor driver 140.
The inverter 120 may receive the first power voltage VDD and the second power voltage VSS from the power unit 130. The inverter 120 may receive 1-1 and 1-2 coil control signals UP and UN, 2-1 and 2-2 coil control signals VP and VN, and 3-1 and 3-2 coil control signals WP and WN from the motor driver 140. The coil control signals UP, UN, VP, VN, WP, and WN supplied from the motor driver 140 may be pulse with modulation (PWM) signals.
The inverter 120 may include a first driving unit which drives the first coil UC of the BLDC motor 110, and the first driving unit may include a first pull-up transistor Tup and a first pull-down transistor Tun which are connected in series between a supply line of the first power voltage VDD and a supply line of the second power voltage VSS. A connection node between the first pull-up transistor Tup and the first pull-down transistor Tun may be connected to the first coil UC through the first node U.
The first pull-up transistor Tup may be turned on in a period in which the 1-1 coil control signal UP supplied from the motor driver 140 corresponds to a gate-on voltage to apply the first power voltage VDD to the first coil UC through first node U. The first pull-down transistor Tun may be turned on in a period in which the 1-2 coil control signal UN supplied from the motor driver 140 corresponds to a gate-on voltage to supply the second power voltage VSS to the first coil UC through the first node U.
Meanwhile, when both of the 1-1 and 1-2 coil control signals UP and UN supplied from the motor driver 140 correspond to gate-off voltages, both the first pull-up transistor Tup and the first pull-down transistor Tun may be turned off, and thus the first node U and the first coil UC may be floated.
The inverter 120 may include a second driving unit which drives the second coil VC of the sensorless BLDC motor 110, and the second driving unit may include a second pull-up transistor Tvp and a second pull-down transistor Tvn which are connected in series between a supply line of the first power voltage VDD and a supply line of the second power voltage VSS. A connection node between the second pull-up transistor Tvp and the second pull-down transistor Tvn may be connected to the second coil VC through the second node V.
The second pull-up transistor Tvp may be turned on in a period in which the 2-1 coil control signal VP supplied from the motor driver 140 corresponds to a gate-on voltage to apply the first power voltage VDD to the second coil VC through the second node V. The second pull-down transistor Tvn may be turned on in a period in which the 2-2 coil control signal VN supplied from the motor driver 140 corresponds to a gate-on voltage to apply the second power voltage VSS to the second coil VC through the second node V.
Meanwhile, when both of the 2-1 and 2-2 coil control signals VP and VN supplied from the motor driver 140 correspond to gate-off voltages, both the second pull-up transistor Tvp and the second pull-down transistor Tvn may be turned off, and thus the second node V and the second coil VC may be floated.
The inverter 120 may include a third driving unit which drives the third coil WC of the sensorless BLDC motor 110, and the third driving unit may include a third pull-up transistor Twp and a third pull-down transistor Twn which are connected in series between a supply line of the first power voltage VDD and a supply line of the second power voltage VSS. A connection node between the third pull-up transistor Twp and the third pull-down transistor Twn may be connected to the third coil WC through the third node W.
The third pull-up transistor Twp may be turned on in a period in which the 3-1 coil control signal WP supplied from the motor driver 140 corresponds to a gate-on voltage to apply the first power voltage VDD to the third coil WC through the third node W. The third pull-down transistor Twn may be turned on in a period in which the 3-2 coil control signal WN supplied from the motor driver 140 corresponds to a gate-on voltage to apply the second power voltage VSS to the third coil WC through the third node W.
Meanwhile, when both of the 3-1 and 3-2 coil control signals WP and WN supplied from the motor driver 140 correspond to gate-off voltages, both the third pull-up transistor Twp and the third pull-down transistor Twn may be turned off, and thus both the third node W and the third coil WC may be floated.
The motor driver 140 may control a speed of the BLDC motor 110 by adjusting a PWM duty of each of the coil control signals UP, UN, VP, VN, WP, and WN. Specifically, the motor driver 140 may receive a target PWM duty corresponding to a target speed from the MCU 150. The motor driver 140 may control the speed of the BLDC motor 110 on the basis of the target PWM duty.
The motor driver 140 may generate PWM signals each having the target PWM duty as the coil control signals UP, UN, VP, VN, WP, and WN and output the PWM signals to the inverter 120. The BLDC motor 110 is driven according to the driving signals supplied to the three phase coils UC, VC, and WC from the inverter 120, and a difference between the target speed and the driving speed may occur according to an external load, efficiency of the BLDC motor, and torque performance. In this case, the motor driver 140 may increase or decrease the driving speed of the BLDC motor 110 by increasing or decreasing the PWM duty based on the target PWM duty.
Meanwhile, the motor driver 140 may control the BLDC motor 110 using a relative positional relationship between a back electromotive force voltage and a driving current. As an example, in order to improve driving efficiency of the BLDC motor 110, the motor driver 140 may control a phase of the back electromotive force voltage to match a phase of the driving current. As another example, in order to increase the driving speed of the BLDC motor 110, the motor driver 140 may control the phase of the driving current to be earlier than the phase of the back electromotive force voltage.
In order to control the BLDC motor 110, the motor driver 140 may include a circuit for detecting the back electromotive force voltage and the driving current of the BLDC motor 110. The circuit for detecting the back electromotive force voltage and the driving current will be described in detail with reference to
The MCU 150 may control the driving speed of the BLDC motor 110 by adjusting the target PWM duty of the motor driver 140 or the driving voltage VDD of the power unit 130. The MCU 150 may be defined as a controller.
The MCU 150 may determine a target speed of the BLDC motor 200 and provide the target PWM duty corresponding to the determined target speed to the motor driver 140.
Referring to
The ADC 210 may convert a voltage sensing signal detected at one phase voltage VU of a specific coil among the three phase coils UC, VC, and WC in a floating period into digital voltage sampling data and output the digital voltage sampling data.
Specifically, when any one specific coil is floated among the three phase coils UC, VC, and WC, the ADC 210 may receive the voltage sensing signal detected at the phase voltage VU of the specific coil from the inverter 120 through a specific node among the first to third nodes U, V, and W.
The motor driver 140 may float any one specific coil among the three phase coils UC, VC, and WC by outputting both control signals for the specific coil among coil control signals UP, UN, VP, VN, WP, and WN output to the inverter 120 to correspond to gate-off voltages. For example, the motor driver 140 may float the first node U and the first coil UC by outputting both 1-1 and 1-2 coil control signals UP and UN corresponding to gate-off voltages. The ADC 210 may receive the voltage sensing signal detected at the phase voltage VU of the floated first coil UC through the first node U.
Referring to
In one embodiment, the motor driver 140 may set a preset phase range to the floating period. As an example, the motor driver 140 may set a phase range in which a phase of the phase voltage of the specific coil is 30° to the floating period. Generally, since the phase current is zero when the phase of the phase voltage of the specific coil is 30°, the motor driver 140 may set the phase range in which the phase of the phase voltage of the specific coil is 30° to the floating period and float the specific coil in the floating period.
In another embodiment, the motor driver 140 may detect the phase current zero phase I-P0 at which the phase current of the specific coil is zero and set the phase range in which the detected phase current zero phase I-P0 is present to the floating period.
Specifically, the ADC 210 may receive a current sensing signal detected at a current IU of any one specific coil among the three phase coils UC, VC, and WC from the inverter 120 through any one of the first to third nodes U, V, and W. For example, the ADC 210 may receive the current sensing signal detected at the phase current IU of the first coil UC through the first node U.
The ADC 210 may convert the current sensing signal detected at the phase current IU into digital current sampling data I-sample and output the digital current sampling data I-sample. The ADC 210 may sample the current sensing signal detected at the phase current IU at each of a plurality of sampling points and convert the current sensing signal into the digital current sampling data I-sample. The ADC 210 may output a plurality of pieces of the current sampling data I-sample to the zero current detection unit 220.
The zero current detection unit 220 detects the phase current zero phase I-P0 at which the phase current IU of the specific coil is zero. The zero current detection unit 220 may detect the phase current zero phase I-P0 using the digital current sampling data I-sample of the specific coil input from the ADC 210.
The motor driver 140 may determine the floating period using the phase current zero phase I-P0 detected by the zero current detection unit 220. The motor driver 140 may float the specific coil in the determined floating period. As an example, the zero current detection unit 220 may provide the phase current zero phase I-P0 to the PWM generation unit 250, and the PWM generation unit 250 may generate a PWM signal to float the specific coil in the floating period in which the phase current zero phase I-P0 is present.
Meanwhile, as illustrated in
In addition, the floating period may have a phase range having a preset angle. As an example, the angle of the floating period may be 30° or less.
The ADC 210 may convert a voltage sensing signal input in the floating period into digital voltage sampling data V-sample. Referring to
The ADC 210 may output the plurality of pieces of the digital voltage sampling data V-sample for each period of the phase voltage of the specific coil. In one embodiment, the ADC 210 may output three pieces of the digital voltage sampling data V-sample for each period of the phase voltage of the specific coil. That is, the number of the sampling points may be three or more.
As the number of the sampling points S1, S2, and S3 increases, the motor driver 140 may obtain a value which is insensitive to noise and accurate. However, as the number of sampling times increases, the floating period may increase. In the motor driver 140, as the floating period increases, a discontinuous operation period of the BLDC motor 110 increases, and thus a torque ripple increases.
In the motor driver 140, the number of sampling times may be set in order to achieve optimum performance in relation to detection accuracy and a torque ripple. As an example, in the motor driver 140, the number of sampling times may be set to three. In this case, the ADC 210 may sample voltage sensing signals at three sampling points S1, S2, and S3, convert the voltage sensing signals into three pieces of digital voltage sampling data V-sample, and output the three pieces of the converted digital voltage sampling data V-sample to the back electromotive force voltage determination unit 230.
The back electromotive force voltage determination unit 230 determines a back-electromotive force voltage BEMF of the specific coil on the basis of the plurality of pieces of the digital voltage sampling data V-sample output from the ADC 210. The back electromotive force voltage determination unit 230 may include a back electromotive force voltage calculation unit 232. In one embodiment, the back electromotive force voltage determination unit 230 may further include a phase check unit 234.
The back electromotive force voltage calculation unit 232 calculates the back electromotive force voltage BEMF of the specific coil on the basis of the plurality of pieces of the digital voltage sampling data V-sample input from the ADC 210. In one embodiment, the back electromotive force voltage calculation unit 232 may calculate an average of the plurality of pieces of the digital voltage sampling data V-sample input from the ADC 210 and determine that the calculated average is the back electromotive force voltage BEMF.
The back electromotive force voltage calculation unit 232 may calculate the back electromotive force voltage BEMF of the specific coil and output the calculated back electromotive force voltage BEMF for each period. In one embodiment, the back electromotive force voltage calculation unit 232 may calculate the average of the plurality of pieces of the digital voltage sampling data V-sample input for one period. In addition, the back electromotive force voltage calculation unit 232 may determine and output the calculated average as the back electromotive force voltage BEMF.
The phase check unit 234 checks a phase of the back electromotive force voltage BEMF of the specific coil by comparing the plurality of pieces of the digital voltage sampling data V-sample. Specifically, the phase check unit 234 may compare the digital voltage sampling data at two different sampling points. The phase check unit 234 may compare first digital voltage sampling data at a first sampling point with second digital voltage sampling data at a second sampling point delayed from the first sampling point. In this case, the first sampling point may be an earliest sampling point for one period, and the second sampling point may be a latest sampling point, but the present disclosure is not necessarily limited thereto.
When the first digital voltage sampling data is smaller than the second digital voltage sampling data, the phase check unit 234 may determine that the phase of the back electromotive force voltage BEMF of the specific coil and a phase of the phase current IU of the specific coil are the same. On the other hand, when the first digital voltage sampling data is greater than the second digital voltage sampling data, the phase check unit 234 may determine that the phase of the back electromotive force voltage BEMF of the specific coil and the phase of the phase current IU of the specific coil are opposite to each other.
The motor driver 140 according to one embodiment of the present disclosure is characterized by obtaining the plurality of pieces of the digital voltage sampling data V-sample using the ADC 210 and detecting the back electromotive force voltage BEMF on the basis of the obtained plurality of pieces of the digital voltage sampling data V-sample.
The motor driver 140 according to one embodiment of the present disclosure may detect the back electromotive force voltage BEMF using only the ADC 210 and the circuit which calculates the average of the plurality of pieces of the digital voltage sampling data V-sample and may not use a comparator. Accordingly, in the motor driver 140 according to one embodiment of the present disclosure, the back electromotive force voltage BEMF detection circuit is simple, and power consumption is low compared to the conventional motor driver.
In addition, in the motor driver 140 according to one embodiment of the present disclosure, even when noise is generated, the effect on the back electromotive force voltage BEMF may be minimized by determining that the average of the plurality of pieces of the digital voltage sampling data V sample is the back electromotive force voltage BEMF. That is, in the motor driver 140 according to one embodiment of the present disclosure, even when a separate noise cancelling circuit is not provided, the back electromotive force voltage BEMF which is insensitive to noise and accurate can be obtained.
In addition, in the motor driver 140 according to one embodiment of the present disclosure, since the digital voltage sampling data V sample may be quickly obtained through the ADC 210 unlike a comparator having a limit at a high speed, even when a driving speed of the BLDC motor 110 increases, the back electromotive force voltage BEMF can be quickly and accurately detected.
Meanwhile, the motor driver 140 according to one embodiment of the present disclosure may control the speed of the BLDC motor 110 using the detected back electromotive force voltage BEMF. As an example, the motor driver 140 may control a phase of the back electromotive force voltage BEMF to match a phase of a current in order to improve driving efficiency of the BLDC motor 110. When the phase of the back electromotive force voltage BEMF and the phase of the current do not match, the motor driver 140 may control the phase of the back electromotive force voltage BEMF to match the phase of the current by adjusting the speed of the BLDC motor 110.
In order to control the speed of the BLDC motor 110, the back electromotive force voltage determination unit 230 may provide the determined back electromotive force voltage BEMF to the speed control unit 240.
The speed control unit 240 controls the speed of the BLDC motor 110 to compensate for an error between the back electromotive force voltage BEMF of the specific coil and a reference voltage Vref. Specifically, the speed control unit 240 may control the back electromotive force voltage BEMF of the specific coil to match the reference voltage Vref. In this case, since the back electromotive force voltage BEMF of the specific coil input to the speed control unit 240 corresponds to a value detected at a phase current zero phase I-P0, the motor driver 140 may control the back electromotive force voltage BEMF of the specific coil to match the reference voltage Vref at the phase current zero phase I-P0 of the specific coil through the speed control unit 240.
To this end, the speed control unit 240 may include a subtracter 242, a proportional-integral (PI) control unit 244, and a PWM speed determination unit 246.
The subtracter 242 obtains the error by comparing the reference voltage Vref and the back electromotive force voltage BEMF determined by the back electromotive force voltage determination unit 230. Specifically, the subtracter 242 may calculate the error by subtracting the back electromotive force voltage BEMF of the specific coil input from the back electromotive force voltage determination unit 230 from the reference voltage Vref as in Equation 1 below.
error=Vref−BEMF [Equation 1]
In one embodiment, the reference voltage Vref may be preset and may correspond to half of the first power voltage VDD.
The PI control unit 244 obtains a PI control value PIC by applying PI control using a PI control factor Kpi to the error. In one embodiment, the PI control unit 244 may obtain the PI control value PIC using Equation 2 below.
PIC=Kpi*error [Equation 2]
The PWM speed determination unit 246 may determine a PWM duty compensation value CPWMD for compensating for the error on the basis of the PI control value PIC. The PWM speed determination unit 246 may determine the PWM duty compensation value CPWMD to increase or decrease the driving speed of the BLDC motor 110 according to the error.
Specifically, referring to
When the driving speed of the BLDC motor 110 is decreased to reflect the PWM duty compensation value CPWMD determined by the PWM speed determination unit 246, as illustrated in
In addition, referring to
When the driving speed of the BLDC motor 110 is increased by reflecting the PWM duty compensation value CPWMD determined by the PWM speed determination unit 246, as illustrated in
The PWM speed determination unit 246 may provide the PWM duty compensation value CPWMD to the PWM generation unit 250.
The PWM generation unit 250 may generate a PWM signal on the basis of the PWM duty compensation value CPWMD. The PWM generation unit 250 may determine a final PWM duty by adding the PWM duty compensation value CPWMD to a target PWM duty TPWMD input from the MCU 150. The PWM generation unit 250 may generate the PWM signal having the final PWM duty and output the PWM signal to the inverter 120.
Referring to
Specifically, the motor driver 140 may receive a current sensing signal detected at a current IU of any one specific coil among the three phase coils UC, VC, and WC from the inverter 120 through any one of the first to third nodes U, V, and W. For example, the motor driver 140 may receive the current sensing signal detected at the phase current IU of the first coil UC through the first node U.
The motor driver 140 may sample the current sensing signal detected at the phase current IU at each of a plurality of sampling points and convert the current sensing signal to digital current sampling data I sample. The motor driver 140 may detect the phase current zero phase I-P0 using a plurality of pieces of the current sampling data I sample.
Then, the motor driver 140 floats the specific coil in a floating period in which the phase current zero phase I-P0 is present (S702).
The motor driver 140 may float the specific coil by outputting both control signals for the specific coil among coil control signals UP, UN, VP, VN, WP, and WN output to the inverter 120 as gate-off voltages. For example, the motor driver 140 may float the first node U and the first coil UC by outputting both 1-1 and 1-2 coil control signals UP and UN as gate-off voltages.
Then, when a voltage sensing signal detected at a phase voltage of the specific coil in the floating period is input to the motor driver 140, the motor driver 140 obtains a plurality of pieces of digital voltage sampling data for voltage sensing signals (S703).
Specifically, when any one specific coil is floated among the three phase coils UC, VC, and WC, the motor driver 140 may receive a voltage sensing signal detected at a phase voltage VU of the specific coil from the inverter 120 through a specific node among the first to third nodes U, V, and W.
The motor driver 140 may sample the voltage sensing signals input in an analog form at the plurality of sampling points in the floating period and convert the voltage sensing signals into a plurality of pieces of digital voltage sampling data V-sample. The motor driver 140 may obtain the plurality of pieces of the digital voltage sampling data V-sample for each period of the phase voltage of the specific coil.
Then, the motor driver 140 determines a back electromotive force voltage BEMF of the specific coil on the basis of the plurality of pieces of the digital voltage sampling data V-sample (S704).
In one embodiment, the motor driver 140 may calculate an average of the plurality of pieces of the digital voltage sampling data V-sample and determine that the calculated average is the back electromotive force voltage BEMF.
In one embodiment, the motor driver 140 may calculate an average of the plurality of pieces of the digital voltage sampling data V-sample input for one period and output the calculated average as the back electromotive force voltage BEMF.
Meanwhile, although not illustrated in
Specifically, the motor driver 140 may compare digital voltage sampling data at two different sampling points. The motor driver 140 may compare first digital voltage sampling data at a first sampling point and second digital voltage sampling data at a second sampling point delayed from the first sampling point. In this case, the first sampling point may be an earliest sampling point for one period, and the second sampling point may be a latest sampling point, but the present disclosure is not necessarily limited thereto.
When the first digital voltage sampling data is smaller than the second digital voltage sampling data, the motor driver 140 may determine that the phase of the back electromotive force voltage BEMF of the specific coil and a phase of the phase current IU of the specific coil are the same. On the other hand, when the first digital voltage sampling data is greater than the second digital voltage sampling data, the motor driver 140 may determine that the phase of the back electromotive force voltage BEMF of the specific coil and the phase of the phase current IU of the specific coil are opposite to each other.
Then, the motor driver 140 obtains an error by comparing the back electromotive force voltage BEMF of the specific coil with the reference voltage Vref (S705).
Specifically, the motor driver 140 obtains a difference between the reference voltage Vref and the back electromotive force voltage BEMF of the specific coil as the error. In one embodiment, the motor driver 140 may calculate the error by subtracting the back electromotive force voltage BEMF of the specific coil from the reference voltage Vref.
Then, the motor driver 140 controls a driving speed of the BLDC motor 110 on the basis of the error (S706).
When the back electromotive force voltage BEMF of the specific coil is lower than the reference voltage Vref, that is, the error is greater than zero, the motor driver 140 may decrease the driving speed of the BLDC motor 110. However, when the back electromotive force voltage BEMF of the specific coil is higher than the reference voltage Vref, that is, the error is less than zero, the motor driver 140 may increase the driving speed of the BLDC motor 110.
Specifically, the motor driver 140 may obtain a PI control value PIC by applying PI control using a PI control factor Kpi to the error. The motor driver 140 may determine a PWM duty compensation value CPWMD for compensating for the error on the basis of the PI control value PIC.
When the back electromotive force voltage Phase BEMF is lower than the reference voltage Vref and the error is greater than zero, the motor driver 140 may determine the PWM duty compensation value CPWMD for decreasing the driving speed of the BLDC motor 110. However, when the back electromotive force voltage Phase BEMF is higher than the reference voltage Vref and the error is less than zero, the motor driver 140 may determine the PWM duty compensation value CPWMD for increasing the driving speed of the BLDC motor 110.
The motor driver 140 may determine a final PWM duty by adding the PWM duty compensation value CPWMD to a target PWM duty TPWMD input from the MCU 150. In addition, the motor driver 140 may generate a PWM signal having the final PWM duty and output the PWM signal to the inverter 120.
A comparator is not used according to the present disclosure, and a back electromotive force voltage can be detected using only an ADC and a circuit which calculates an average of a plurality of pieces of digital voltage sampling data. Accordingly, a back electromotive force voltage detection circuit according to the present disclosure is simple, and power consumption and a circuit area can be reduced.
In addition, in the present disclosure, an average of the plurality of pieces of the digital voltage sampling data obtained for N periods is set to the back electromotive force voltage, the effect of noise cannot be large. In the present disclosure, the back electromotive force voltage which is accurate and insensitive to noise can be obtained even without using a separate noise cancelling circuit.
In addition, in the present disclosure, even when a driving speed of the BLDC motor increases, the back electromotive force voltage can be quickly and accurately detected.
It will be understood by those skilled in the art that the disclosure may be performed in other concrete forms without changing the technological scope and essential features.
Therefore, the above-described embodiments should be considered in a descriptive sense only and not for purposes of limitation. It should be interpreted that the scope of the present disclosure is defined not by the detailed description but by the appended claims, and encompasses all modifications and alterations derived from meanings, the scope, and equivalents of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2022-0100035 | Aug 2022 | KR | national |