Device and method for controlling an electric motor

By estimating and compensating the corrected gain of the current sensor in the motor-driven power steering system, the phase current imbalance caused by current sensor deviation is solved, torque pulsation and operating noise are eliminated, and the noise, vibration and roughness performance of the system is improved. .

CN111200386BActive Publication Date: 2024-11-05HYUNDAI MOBIS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911111226.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-11-16
Filing Date
2019-11-13
Publication Date
2024-11-05
Estimated Expiration
2039-11-13

AI Technical Summary

Technical Problem

In the motor-driven power steering system of a vehicle, the current detection deviation between the current sensors leads to phase current imbalance, resulting in torque pulsation and operating noise, affecting the noise, vibration and roughness performance of the system.

Method used

By estimating the correction gain of the current sensor in the control unit, compensating the current detection deviation of each current sensor, correcting the phase current, and controlling the inverter unit based on the corrected current to eliminate the imbalance of the three-phase current.

Benefits of technology

Effectively eliminates torque pulsation and operating noise in the motor-driven power steering system, improves noise, vibration and roughness performance, and improves the stability and handling of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111200386B_ABST
    Figure CN111200386B_ABST
Patent Text Reader

Abstract

An apparatus for controlling an electric motor may include: an inverter unit for outputting a three-phase alternating current through a plurality of switches to drive the three-phase motor, the plurality of switches being switched by an input control signal; a current detection unit including a plurality of current sensors for detecting two or more phase currents in the three-phase alternating current flowing through the three-phase motor; and a control unit for controlling the drive of the three-phase motor by receiving corresponding feedback phase currents detected by the plurality of corresponding current sensors, correcting the phase current by applying corresponding correction gains pre-estimated on the plurality of corresponding current sensors to the feedback phase current to compensate for the current detection deviation of each of the plurality of corresponding current sensors, and then controlling the inverter unit based on the corrected phase current.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority from Korean Application No. 10-2018-0141613, filed on November 16, 2018, which is hereby incorporated by reference in its entirety. Technical Field

[0003] The present invention relates to an apparatus and method for controlling a motor, and more particularly, to an apparatus and method for controlling the operation of a motor by eliminating deviations between current sensors applied to a motor driving system. Background Art

[0004] The motor driving power steering (MDPS) system of a vehicle is a device for achieving easy steering by providing a portion of the steering torque, which should be applied by the driver to the handle when the driver manipulates the vehicle using an auxiliary power source. The MDPS system determines the driving state of the vehicle through a column torque sensor for measuring the driver's column torque input to the steering wheel, a steering angle sensor for measuring the steering angle or steering angular velocity of the steering wheel, a vehicle speed sensor for measuring the vehicle speed, etc., and based on the column torque applied to the steering shaft, when the driver rotates the steering wheel, an auxiliary torque is provided by the motor (MDPS motor).

[0005] Generally, the MDPS motor is implemented by a three-phase AC current motor, and the MDPS electronic control unit (ECU) controls the drive of the MDPS motor by receiving each feedback phase current output to the MDPS motor and controlling the inverter to output the three-phase AC current through proportional integral (PI) control. Here, each phase current output to the MDPS motor is detected by a plurality of current sensors applied to the MDPS system and fed back to the MDPS ECU.

[0006] Each current sensor applied to the feedback control of the MDPS system operates to output a voltage corresponding to the detected current. Figure 1A As shown in FIG. 1 , the sensitivity of the current sensor (which can be defined as the ratio of the output voltage to the detected current) is designed identically for each current sensor. However, when the current sensor is installed in a vehicle to control the MDPS motor, it is inevitable that each current sensor has a current detection deviation. In other words, the sensitivity of each current sensor is different, and therefore, as shown in FIG. Figure 1BAs shown in Figure 1, phase current imbalance occurs, and different voltages are output from the current sensor even if the same current is detected. In other words, Figure 1B As shown, current sensor A and current sensor B are designed to have a sensitivity of α, but in the process of installing the current sensors in the vehicle and using them for MDPS motor control, the sensitivities of the current sensors are shown as β and γ, respectively. Therefore, phase current imbalance occurs, and current sensor A and current sensor B output different voltages although the same current is detected.

[0007] Figure 2A Figure 2 shows the unbalanced state between the three-phase currents flowing through the MDPS motor. When there is an imbalance between the phase currents, such as Figure 2B As shown, torque pulsation of MDPS fluctuation will be generated (second torque pulsation based on electrical angle, sixth or eighth torque pulsation based on mechanical angle). As the current detection deviation between current sensors becomes larger, the generated torque pulsation increases. In addition, when the driver turns, the torque pulsation will cause foreign matter and even increase the operating noise of the MDPS system.

[0008] A related art of the present invention is disclosed in Korean Patent Application Publication No. 10-2014-0086063 (July 8, 2014). Summary of the invention

[0009] Embodiments of the present invention relate to an apparatus and method for controlling an electric motor, which can improve the noise, vibration and harshness (NVH) performance of a motor-driven power steering (MDPS) system and eliminate driver steering foreign matter and operating noise of the MDPS system by eliminating the imbalance of three-phase current flowing through the MDPS motor.

[0010] In one embodiment, a device for controlling an electric motor is provided, which may include: an inverter unit for outputting a three-phase AC current through a plurality of switches to drive the three-phase motor, the plurality of switches being switched by an input control signal; a current detection unit including a plurality of current sensors, the plurality of current sensors being used to detect two or more phase currents in the three-phase AC current flowing through the three-phase motor; and a control unit for controlling the drive of the three-phase motor by: receiving corresponding feedback phase currents detected by the plurality of corresponding current sensors, correcting the phase current by applying a corresponding correction gain pre-estimated on the plurality of corresponding current sensors to the feedback phase current to compensate for the current detection deviation of each of the plurality of corresponding current sensors, and then controlling the inverter unit based on the corrected phase current.

[0011] The control unit can estimate the corresponding correction gains on the multiple corresponding current sensors, thereby eliminating the deviation between the corresponding currents detected by the multiple corresponding current sensors when the DC current is output from the inverter unit to the three-phase motor and the DC current flows equally through the multiple current sensors.

[0012] The control unit can apply the same PWM control signal as the test control signal to the first to Kth (where K is a natural number equal to or less than N) switches among the first to Nth (where N is a natural number) switches provided in the inverter unit, and output a DC current to the three-phase motor.

[0013] After the DC current flowing from the inverter unit to the three-phase motor MT reaches a steady state, the control unit can calculate each average value of the current detected by the multiple current sensors respectively, and estimate the corresponding correction gains on the multiple current sensors so that the corresponding deviations of the calculated average currents are cleared.

[0014] When driving the three-phase motor, the inverter unit may include a first upper switch and a first lower switch connected in series at a first node for outputting a first-phase AC current, a second upper switch and a second lower switch connected in series at a second node for outputting a second-phase AC current, and a third upper switch and a third lower switch connected in series at a third node for outputting a third-phase AC current.

[0015] The current detection unit may include a first current sensor connected between the first node and a first phase of the three-phase motor and a second current sensor connected between the second node and a second phase of the three-phase motor.

[0016] The control unit can estimate the first correction gain and the second correction gain on the corresponding first current sensor and the second current sensor, so as to clear the deviation between the currents respectively detected by the first current sensor and the second current sensor by applying the same PWM control signal to the first upper switch and the second lower switch and by turning off the first lower switch, the second upper switch, the third upper switch and the third lower switch, in a state where the same DC current flows to the first current sensor and the second current sensor.

[0017] The current detection unit may include a first current sensor connected between the second lower switch and a reference node and a second current sensor connected between the third lower switch and the reference node.

[0018] The control unit can estimate the first correction gain and the second correction gain of the corresponding first current sensor and the second current sensor, so as to clear the deviation between the currents respectively detected by the first current sensor and the second current sensor by applying the same PWM control signal to the first upper switch, the second lower switch and the third lower switch and by turning off the first lower switch, the second upper switch and the third upper switch in a state where the same DC current flows to the first current sensor and the second current sensor.

[0019] In another embodiment, a method for controlling a motor using a motor control device is provided, wherein the motor control device includes an inverter unit and a current detection unit having multiple current sensors, wherein the inverter unit is used to output a three-phase AC current through multiple switches to drive a three-phase motor, the multiple switches are switched by input control signals, and the multiple current sensors are used to detect two or more phase currents in the three-phase AC current flowing through the three-phase motor. The method may include: estimating corresponding correction gains of the multiple current sensors based on corresponding currents detected by the multiple current sensors to compensate for current detection deviations of each of the multiple current sensors; receiving corresponding feedback phase currents detected by the multiple current sensors, and correcting the phase currents by applying estimated correction gains to the corresponding feedback phase currents; and controlling the inverter unit based on the corrected phase currents to control the drive of the three-phase motor. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1A and Figure 1B is a graph showing a current detection deviation between current sensors, which is applied to a motor driven power steering (MDPS) system.

[0021] Figure 2A and Figure 2B A phase current unbalanced state and a torque ripple generation phenomenon occurring according to a current detection deviation between current sensors applied to an MDPS system are shown.

[0022] Figure 3 is a block diagram for describing an apparatus for controlling a motor according to an embodiment of the present invention.

[0023] Figure 4 is a block diagram for describing the overall operation of the motor control device according to the embodiment of the present invention.

[0024] Figure 5 and Figure 6 is a circuit diagram for describing a method of estimating a correction gain in a motor control device according to an embodiment of the present invention.

[0025] Fig. 7A and Figure 7B : is a graph showing the result of removing the current detection deviation between the current sensors in the motor control device according to the embodiment of the present invention.

[0026] Fig. 8A and Figure 8B A state in which phase current imbalance is eliminated in the motor control device according to the embodiment of the present invention is shown.

[0027] Fig. 9 is a flowchart for describing a motor control method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0028] Hereinafter, embodiments of the apparatus and method for controlling a motor according to the present invention will be described in detail in conjunction with the accompanying drawings. For clarity and ease of description, the thickness and size of the lines of the elements in the accompanying drawings may be exaggerated. In addition, the terms used throughout the specification are defined in consideration of the functions in the present invention, and therefore may differ depending on the intention or practice of the user and operator. Therefore, the terms may be defined based on the description made throughout the example embodiments.

[0029] Figure 3 is a block diagram for describing an apparatus for controlling a motor according to an embodiment of the present invention, Figure 4 is a block diagram for describing the overall operation of the motor control device according to the embodiment of the present invention, Figure 5 and Figure 6 is a circuit diagram for describing a method of estimating a correction gain in a motor control device according to an embodiment of the present invention, Fig. 7A and Figure 7B is a graph showing the result of removing the current detection deviation between the current sensors in the motor control device according to the embodiment of the present invention, and Fig. 8A and Figure 8B A state in which phase current imbalance is eliminated in the motor control device according to the embodiment of the present invention is shown.

[0030] refer to Figure 3 , the motor control device according to the embodiment of the present invention may include an inverter unit 100 , a current detection unit 200 , and a control unit 300 .

[0031] The inverter unit 100 is connected to the three-phase motor MT and drives the three-phase motor MT based on the voltage (DC link voltage) provided from the battery of the vehicle. In detail, the inverter unit 100 can drive the three-phase motor MT by outputting a three-phase AC current via a plurality of switches, each switch being switched by a control signal input from the control unit 300, which will be described later. In the present embodiment, the three-phase motor MT may be an MDPS motor composed of first to third phase inductors to provide auxiliary torque, and therefore, the inverter unit 100 may output the first to third phase AC currents to the first to third inductors, respectively, to drive the three-phase motor MT.

[0032] like Figure 5 and Figure 6 As shown, when driving the three-phase motor MT, the inverter unit 100 may include a first upper switch 110 and a first lower switch 120 connected in series at a first node for outputting a first-phase AC current, a second upper switch 130 and a second lower switch 140 connected in series at a second node for outputting a second-phase AC current, and a third upper switch 150 and a third lower switch 160 connected in series at a third node for outputting a third-phase AC current. Therefore, each switch included in the inverter unit 100 may be turned on or off by a PWM control signal input from the control unit 300, thereby allowing the first to third AC currents to be output through the first to third nodes, respectively.

[0033] The current detection unit 200 can generally detect the AC current flowing through the three-phase motor MT when driving the three-phase motor MT, and to this end, can include a plurality of current sensors configured to detect two or more phase currents in the three-phase AC current flowing through the three-phase motor MT. Hereinafter, the current detection unit 200 described includes a first current sensor 210 and a second current sensor 220 for respectively detecting two-phase currents flowing through the three-phase motor MT.

[0034] The current detection unit 200 of this embodiment can be Figure 5 The Hall IC type shown or Figure 6The parallel type is shown. When the current detection unit 200 is implemented in a Hall IC type, the first current sensor 210 can be connected between the first node of the inverter unit 100 and the first phase of the three-phase motor MT, and the second current sensor 220 can be connected between the second node of the inverter unit 100 and the second phase of the three-phase motor MT. When the current detection unit 200 is implemented in a parallel type, the first current sensor 210 can be connected between the second lower switch 140 and a reference node (e.g., a ground node), and the second current sensor 220 can be connected between the third lower switch 160 and the reference node. Depending on the type of implementation of the current detection unit 200, the method of estimating the correction gain can change, as described below.

[0035] The control unit 300 can receive each feedback phase current detected by each current sensor, and control the inverter unit 100 in a PI control manner to control the driving of the three-phase motor MT. Here, as described above, since there is inevitably a current detection deviation for each current sensor, phase current imbalance occurs, so different voltages are output from the corresponding current sensors even when the same current is detected. Therefore, torque pulsation of the three-phase motor MT of the MDPS system, steering foreign matter of the driver, and operating noise are generated.

[0036] Therefore, in the present embodiment, the control unit 300 can drive the three-phase motor MT by receiving each feedback phase current detected by each current sensor, applying each calibration gain estimated in advance for each current sensor to each phase current to compensate for the current detection deviation of each current sensor and correcting each current phase, and then controlling the inverter unit 100 based on each corrected phase current. More specifically, as Figure 4 As shown, the control unit 300 can control the drive of the three-phase motor MT by: receiving each feedback phase current ia or ib detected by each current sensor, applying a pre-estimated correction gain thereto, subtracting each corrected phase current from the command current idq* (in detail, idq generated by ABC / DQ conversion of each corrected phase current), and then applying a PWM control signal to the inverter unit 100 via PI control so that the inverter unit 100 outputs a three-phase AC current.

[0037] In other words, since the current detection deviation is reflected on each detected phase current, the deviation needs to be compensated. Therefore, the control unit 300 can improve the feedback control performance of the three-phase motor MT by applying each pre-estimated correction gain to each current sensor to correct each detected phase current.

[0038] In order to clearly define the terms, the current detection deviation of each current sensor is defined as the deviation between the output values ​​(i.e., output voltages) output from the corresponding current sensors when the same current is sensed. Since the current detection deviation is caused by the difference in sensitivity (i.e., the ratio of the output voltage output according to the detection current (output voltage / detection current)), it can be understood that compensation for the current detection deviation between the current sensors is equivalent to matching the sensitivity between the current sensors.

[0039] Hereinafter, a detailed description will be provided on a process of estimating a correction gain for each current sensor included in the current detection unit 200 for a current detection deviation.

[0040] The control unit 300 can estimate the correction gain of the corresponding current sensor, so that when the test control signal is applied to the inverter unit 100, the DC current flows from the inverter unit 100 to the three-phase motor MT and the same DC current flows through each current sensor, the deviation between the currents respectively detected by the current sensors is removed. When the test control signal is applied to the inverter unit 100, the control unit 300 can apply the same PWM control signal as the test control signal to the first to Kth (where K is a natural number equal to or less than N) switches among the first to Nth (where N is a natural number) switches provided in the inverter unit 100. According to the above-mentioned switch configuration of the inverter unit 100, when N is 6 and the current detection unit 200 is implemented in a Hall IC type and a parallel type, K is 2 and 3, respectively. Referring to Figure 5 and Figure 6 Specific embodiments thereof are provided.

[0041] Figure 5 It is a circuit diagram for describing a method of estimating respective first correction gains and second correction gains on the first current sensor 210 and the second current sensor 220 when the current detection unit 200 is implemented as a Hall IC type, in other words, when the current detection unit 200 includes a first current sensor 210 connected between a first node of the inverter unit 100 and a first phase of the three-phase motor MT and a second current sensor 220 connected between a second node of the inverter unit 100 and a second phase of the three-phase motor MT.

[0042] The control unit 300 can respectively estimate the first correction gain and the second correction gain on the first current sensor 210 and the second current sensor 220, so as to remove the deviation between the currents detected by the first current sensor 210 and the second current sensor 220 when the same DC current flows to the first current sensor 210 and the second current sensor 220 by applying the same PWM control signal to the first upper switch 110 and the second lower switch 140 and by disconnecting the first lower switch 120, the second upper switch 130, the third upper switch 150 and the third lower switch 160.

[0043] In detail, when the control unit 300 applies the same PWM control signal (i.e., a PWM control signal having the same amplitude, the same duty cycle, and the same phase) to the first upper switch 110 and the second lower switch 140, a DC current flows along a current path connected to the first node, the first current sensor 210, the first phase inductor, the second phase inductor, the second current sensor 220, and the second lower switch 140 based on the DC-link voltage. Therefore, since a state in which the same DC current flows to the first current sensor 210 and the second current sensor 220 is formed, the magnitudes of the currents detected by the first current sensor 210 and the second current sensor 220 should be the same. Here, when there is a deviation between the currents detected by the first current sensor 210 and the second current sensor 220, the control unit 300 can estimate the first correction gain and the second correction gain on the first current sensor 210 and the second current sensor 220, respectively, so as to remove the deviation.

[0044] When the magnitude of the current detected by the first current sensor 210 is equal to or higher than the magnitude of the current detected by the second current sensor 220 , the first correction gain and the second correction gain may be estimated according to the following equation (1).

[0045]

[0046]

[0047] When the magnitude of the current detected by the first current sensor 210 is smaller than the magnitude of the current detected by the second current sensor 220 , the first correction gain and the second correction gain may be estimated according to the following equation (2).

[0048]

[0049]

[0050] In equations (1) and (2), IA gain and IB gainRespectively represent the first correction gain and the second correction gain, IA sen and IB sen represent the currents detected by the first current sensor 210 and the second current sensor 220 , respectively.

[0051] The control unit 300 applies the same PWM control signal to the first upper switch 110 and the second lower switch 140 in order to prevent current leakage to an uncontrolled phase and to prevent vibration of the rotor of the three-phase motor MT, thereby accurately controlling the formation of the direct current.

[0052] On the other hand, when the current detection unit 200 is implemented as a Hall IC type, considering the hysteresis characteristics of the first current sensor 210 and the second current sensor 220, before estimating the first correction gain and the second correction gain, the control unit 300 can first perform a process of calculating the deviation of the first current sensor 210 and the second current sensor 220.

[0053] Figure 6 1 is a circuit diagram for describing a method of estimating a first correction gain and a second correction gain on a first current sensor 210 and a second current sensor 220 when the current detection unit 200 is implemented in parallel, in other words, when the current detection unit 200 includes a first current sensor 210 connected between a second lower switch 140 and a reference node and a second current sensor 220 connected between a third lower switch 160 and the reference node.

[0054] The control unit 300 can estimate the first correction gain and the second correction gain on the first current sensor 210 and the second current sensor 220, thereby removing the deviation between the currents detected by the first current sensor 210 and the second current sensor 220 when the same DC current flows to the first current sensor 210 and the second current sensor 220 by applying the same PWM control signal to the first upper switch 110, the second lower switch 140 and the third lower switch 160 and by disconnecting the first lower switch 120, the second upper switch 130 and the third upper switch 150.

[0055] In detail, when the control unit 300 applies the same PWM control signal to the first upper switch 110, the second lower switch 140, and the third lower switch 160, the DC current Idc flows through the first node, the first current sensor 210, and the first phase inductor based on the DC link voltage. As the DC current Idc is bifurcated into the second phase inductor and the third phase inductor of the same magnitude, the DC current of Idc / 2 flows along the current path connecting the second phase inductor, the second lower switch 140, and the first current sensor 210, and the DC current of Idc / 2 flows along the current path connecting the third inductor, the third lower switch 160, and the second current sensor 220. Therefore, since a state in which the same DC current of Idc / 2 flows to the first current sensor 210 and the second current sensor 220 is formed, the magnitudes of the currents detected by the first current sensor 210 and the second current sensor 220 should be the same. Here, when there is a deviation between the currents detected by the first current sensor 210 and the second current sensor 220, the control unit 300 can estimate the first correction gain and the second correction gain on the first current sensor 210 and the second current sensor 220, thereby removing the deviation. The method of estimating the first and second correction gains is the same as the method shown in equations (1) and (2).

[0056] The control unit 300 applies the same PWM control signal to the first upper switch 110 , the second lower switch 140 , and the third lower switch 160 to prevent current leakage to an uncontrolled phase and to prevent vibration of the rotor of the three-phase motor MT, thereby accurately controlling the formation of a DC current.

[0057] On the other hand, when the current detection unit 200 is implemented in parallel, considering the temperature characteristics of the first current sensor 210 and the second current sensor 220, before estimating the first correction gain and the second correction gain, the control unit 300 can first calculate the deviation of the first current sensor 210 and the second current sensor 220.

[0058] On the other hand, after the DC current flowing from the inverter unit 100 to the three-phase motor MT reaches a steady state, the control unit 300 may calculate each average value of the currents detected by the current sensors, respectively, and estimate the corresponding correction gain on the current sensors, thereby removing the deviation of the calculated average current. In other words, after the DC current flowing from the inverter unit 100 to the three-phase motor MT reaches a steady state, the control unit 300 may calculate the average current (first average current) of the current detected by the first current sensor 210, and calculate the average current (second average current) of the current detected by the second current sensor 220, and then estimate the first correction gain and the second correction gain, thereby removing the deviation between the first average current and the second average current. As an example of calculating the first average current, the control unit 300 may determine whether the DC current has reached a steady state by determining whether n*T (where T is a time constant and n is a natural number (e.g., 5)) has passed since the time point when the DC current is output. When it is determined that the DC current has reached a steady state, the control unit 300 may calculate the first average current I according to the following equation (3): sen [avg].

[0059] I sen [sum] = i1 + i2… + i n

[0060] I sen [avg]=I sen [sum] / n

[0061] The second average current can also be calculated in the same manner as equation (3).

[0062] The reliability of the current detection result may be improved by a scheme using the average value of the currents detected by the first current sensor 210 and the second current sensor 220 , and thus the first correction gain and the second correction gain may be estimated more accurately.

[0063] Fig. 7A and Figure 7B 2 is a graph showing the result of removing the current detection deviation between the first current sensor 210 and the second current sensor 220. Fig. 7A , before applying the first correction gain and the second correction gain, even when the same current is detected, the output value (i.e., the output voltage) is different due to the sensitivity difference between the first current sensor 210 and the second current sensor 220. In other words, for the first current sensor 210 before applying the first correction gain thereto, when the sensitivity appears to be β, the detection current becomes IA sen =β*I abcFor the second current sensor 220 before the first correction gain is applied thereto, since the sensitivity is expressed as γ, the detection current becomes IB sen =γ*I abc Therefore, even when the same current flows, the detection current is different.

[0064] refer to Figure 7B After applying the first correction gain and the second correction gain, when the same current is detected, the sensitivity of the first current sensor 210 becomes IA after applying the first correction gain. gain *β, and after applying the second correction gain, the sensitivity of the second current sensor 220 becomes IB gain *γ. Due to IA gain *β and IB gain * The values ​​of γ are the same, so the sensitivities of the first current sensor 210 and the second current sensor 220 are equally compensated. Therefore, when the same current flows, the detection current becomes the same (ie, IA′ sen =IB′ sen ).

[0065] Fig. 8A and Figure 8B The state where the phase current unbalance is removed is shown, and reference is made to Fig. 8A , it can be checked that an imbalance between phase currents occurs before applying the first correction gain and the second correction gain. Figure 8B , after applying the first correction gain and the second correction gain, it can be checked that the imbalance between the phase currents is removed, and accordingly, the torque pulsation of the three-phase motor MT of the MDPS system, the driver's steering foreign matter, and the operating noise can be removed.

[0066] Fig. 9 is a flowchart for describing a motor control method according to an embodiment of the present invention.

[0067] Will refer to Fig. 9 A motor control method according to an embodiment of the present invention is described. First, in order to compensate for the current detection deviation of each current sensor, the control unit 300 estimates corresponding correction gains of the current sensors based on the currents respectively detected by the current sensors at step S100.

[0068] In step S100, when the control unit 300 applies the test control signal to the inverter unit 100, in a state where a direct current is output from the inverter unit 100 to the three-phase motor MT and the same direct current flows to each current sensor, correction gains are estimated respectively on the current sensors, thereby removing deviations between the currents respectively detected by the current sensors. In order to output a direct current from the inverter unit 100 to the three-phase motor MT, the control unit 300 may apply the same PWM signal as the test control signal to the first to Kth switches among the first to Nth switches included in the inverter unit 100.

[0069] In addition, in step S100, after the DC current flowing from the inverter unit 100 to the three-phase motor MT reaches a steady state, the control unit 300 can calculate each average value of the currents detected respectively by the current sensors, and estimate the corresponding correction gain on the current sensors, thereby removing the deviation of the calculated average current.

[0070] Step S100 can be divided into a case where the current detection unit 200 is implemented as a Hall IC type and a case where the current detection unit 200 is implemented as a parallel type. When the current detection 200 is implemented as a Hall IC type and includes a first current sensor 210 connected between a first node of the inverter unit 100 and a first phase of the three-phase motor MT and a second current sensor 220 connected between a second node of the inverter unit 100 and a second phase of the three-phase motor MT, at step S100, the control unit 300 can estimate a first correction gain and a second correction gain on the respective first current sensor 210 and second current sensor 220, thereby removing a deviation between currents detected by the first current sensor 210 and the second current sensor 220 in a state where the same DC current flows to the first current sensor 210 and the second current sensor 220 by applying the same PWM control signal to the first upper switch 110 and the second lower switch 140 and by disconnecting the first lower switch 120, the second upper switch 130, the third upper switch 150, and the third lower switch 160.

[0071] In addition, when the current detection 200 is implemented in parallel and includes a first current sensor 210 connected between the second lower switch 140 and the reference node and a second current sensor 220 connected between the third lower switch 160 and the reference node, at step S100, the control unit 300 can estimate the first correction gain and the second correction gain on the first current sensor 210 and the second current sensor 220, thereby removing the deviation between the currents detected by the first current sensor 210 and the second current sensor 220 by applying the same PWM control signal to the first upper switch 110, the second lower switch 140 and the third lower switch 160 and by disconnecting the first lower switch 120, the second upper switch 130 and the third upper switch 150 while the same DC current flows to the first current sensor 210 and the second current sensor 220.

[0072] When the corresponding correction gain is estimated on the current sensor through step S100 , the control unit 300 receives the corresponding feedback phase current detected by the current sensor, and corrects the feedback phase current by applying the correction gain estimated at step S100 to the feedback phase current at step S200 .

[0073] In addition, the control unit 300 controls the inverter unit 100 based on each phase current corrected at step S200 to control driving of the three-phase motor MT at step S300 .

[0074] In this way, when performing feedback control on the MDPS system, this embodiment applies a pre-estimated correction gain to the phase currents respectively detected by the current sensor to eliminate the current detection deviation of the current sensor, and then controls the inverter through PI control to remove the imbalance of the three-phase current flowing through the MDPS motor, thereby eliminating the torque pulsation, steering foreign matter and operating noise of the MDPS system to improve the NVH performance.

[0075] In this way, when performing feedback control on the MDPS system, the present invention applies a pre-estimated correction gain to the phase current detected by each current sensor to eliminate the current detection deviation of each current sensor, and then controls the inverter through proportional integral (PI) control. This can eliminate the imbalance of the three-phase current flowing through the motor-driven power steering (MDPS) motor, thereby eliminating the torque pulsation, steering foreign matter and operating noise of the MDPS system, thereby improving the noise, vibration and harshness (NVH) performance.

[0076] It should be understood that since the configurations of the embodiments and drawings described herein are merely exemplary embodiments of the present invention and do not include all of the technical spirit of the present invention, various equivalent forms and modified forms that can replace the above configurations may be provided.

Claims

1. A device for controlling a motor, comprising: An inverter unit, configured to output a three-phase AC current through a plurality of switches to drive a three-phase motor, wherein the plurality of switches are switched respectively by input control signals; a current detection unit, comprising a plurality of current sensors, the plurality of current sensors being used to detect currents of two or more phases of the three-phase alternating current flowing through the three-phase motor; as well as a control unit that receives the currents of each phase detected and fed back by each current sensor, applies correction gains estimated in advance by each current sensor to compensate for the current detection deviation of each current sensor to the fed back currents of each phase, and then controls the inverter unit based on the corrected currents of each phase to control the drive of the three-phase motor, The control unit applies a test control signal to the inverter unit so that a direct current is output from the inverter unit to the three-phase motor, and the control unit estimates the correction gain of each current sensor so that the deviation between the currents detected by each current sensor is eliminated in a state where the same direct current flows through each current sensor. The inverter unit includes a first upper switch and a first lower switch connected in series at a first node for outputting a first-phase AC current, a second upper switch and a second lower switch connected in series at a second node for outputting a second-phase AC current, and a third upper switch and a third lower switch connected in series at a third node for outputting a third-phase AC current when driving the three-phase motor; The current detection unit includes a first current sensor connected between the first node and the first phase of the three-phase motor and a second current sensor connected between the second node and the second phase of the three-phase motor; When the magnitude of the current detected by the first current sensor is greater than the magnitude of the current detected by the second current sensor, the control unit estimates a first correction gain and a second correction gain for the first current sensor and the second current sensor, respectively, according to the following mathematical formula 1: When the magnitude of the current detected by the first current sensor is smaller than the magnitude of the current detected by the second current sensor, the control unit estimates a first correction gain and a second correction gain for the first current sensor and the second current sensor, respectively, according to the following mathematical formula 2: 【Mathematical formula 1】 【Mathematical formula 2】 Among them, IA gain and IB gain are the first calibration gain and the second calibration gain respectively, I A sen and IB sen They are respectively the current detected by the first current sensor and the current detected by the second current sensor.

2. The device for controlling an electric motor according to claim 1, characterized in that: The control unit applies the same PWM control signal as the test control signal to the first to Kth switches among the first to Nth switches included in the inverter unit to output the DC current to the three-phase motor, wherein N is a natural number and K is a natural number equal to or less than N.

3. The device for controlling a motor according to claim 1, characterized in that: The control unit estimates a first correction gain and a second correction gain of the first current sensor and the second current sensor so that deviations between the currents respectively detected by the first current sensor and the second current sensor are eliminated, while applying the same PWM control signal to the first upper switch and the second lower switch and closing the first lower switch, the second upper switch, the third upper switch, and the third lower switch so that the same DC current flows to the first current sensor and the second current sensor.

4. A method for controlling a motor using a motor control device, the motor control device comprising an inverter unit, a current detection unit having a plurality of current sensors, and a control unit, the inverter unit being used to output a three-phase alternating current through a plurality of switches to drive a three-phase motor, the plurality of switches being switched by input control signals respectively, the plurality of current sensors being used to detect currents of two or more phases of the three-phase alternating current flowing through the three-phase motor, the method comprising: The control unit estimates the correction gain of each current sensor according to each current detected by each current sensor in order to compensate for the current detection deviation of each current sensor; The control unit receives the current of each phase detected and fed back by each current sensor, and performs correction by applying the estimated correction gain to the fed back current of each phase; as well as the control unit controls the inverter unit based on the corrected current of each phase to control the driving of the three-phase motor, In the estimation step, the control unit applies a test control signal to the inverter unit so that a direct current is output from the inverter unit to the three-phase motor, and the same direct current flows through each current sensor, and estimates each correction gain of each current sensor so that the deviation between the currents detected by each current sensor is eliminated. The inverter unit includes a first upper switch and a first lower switch connected in series at a first node for outputting a first-phase AC current, a second upper switch and a second lower switch connected in series at a second node for outputting a second-phase AC current, and a third upper switch and a third lower switch connected in series at a third node for outputting a third-phase AC current when driving the three-phase motor; The current detection unit includes a first current sensor connected between the first node and the first phase of the three-phase motor and a second current sensor connected between the second node and the second phase of the three-phase motor; In the estimation step, When the magnitude of the current detected by the first current sensor is greater than the magnitude of the current detected by the second current sensor, the control unit estimates a first correction gain and a second correction gain for the first current sensor and the second current sensor, respectively, according to the following mathematical formula 1: When the magnitude of the current detected by the first current sensor is smaller than the magnitude of the current detected by the second current sensor, the control unit estimates a first correction gain and a second correction gain for the first current sensor and the second current sensor respectively according to the following mathematical formula 2: 【Mathematical formula 1】 【Mathematical formula 2】 Among them, IA gain and IB gain are the first calibration gain and the second calibration gain respectively, I A sen and IB sen They are respectively the current detected by the first current sensor and the current detected by the second current sensor.

5. The method for controlling a motor using a motor control device according to claim 4, characterized in that: In the estimating step, the control unit applies the same PWM control signal as the test control signal to the first to Kth switches among the first to Nth switches included in the inverter unit to output the DC current to the three-phase motor, wherein N is a natural number and K is a natural number equal to or less than N.

6. The method for controlling a motor using a motor control device according to claim 4, characterized in that: In the estimating step, the control unit estimates the first correction gain and the second correction gain of the first current sensor and the second current sensor so that the deviation between the currents respectively detected by the first current sensor and the second current sensor is eliminated, while applying the same PWM control signal to the first upper switch and the second lower switch and closing the first lower switch, the second upper switch, the third upper switch and the third lower switch so that the same DC current flows to the first current sensor and the second current sensor.