Detection of offset errors in phase current measurements for motor control systems
By using a programmable high-pass filter and gain phase compensation module in the electric power steering system to remove the current measurement offset error, the problem of torque fluctuation caused by the current measurement offset is solved and the control accuracy and stability are improved.
Patent Information
- Application Number
- CN202111122443.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2016-12-15
- Filing Date
- 2017-02-16
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2037-02-16
AI Technical Summary
In electric power steering systems, the current measurement offset error of the permanent magnet synchronous motor causes torque fluctuations, affecting the accuracy of motor control and driving experience.
Using a programmable high-pass filter and gain phase compensation module, the final voltage command is filtered and compensated to remove the constant component, generate a filtered voltage command including a sinusoidal component, and determine the current measurement offset in the stator reference coordinate system to achieve current measurement. Detection and correction of offset errors.
It effectively reduces the current measurement offset error, improves the accuracy and stability of motor control, reduces torque fluctuations, and improves the driving experience and system robustness.
Smart Images

Figure CN113866480B_ABST
Abstract
Description
Background Art
[0001] The Electric Power Steering (EPS) system requires a torque control method to operate the electric motor used to provide steering assistance. When a permanent magnet synchronous machine (PMSM) is used, field oriented control (FOC) can be utilized. FOC converts the AC phase motor voltage and current signals in a stationary reference frame to a synchronously rotating reference frame, commonly referred to as the d / q axis reference frame, where the motor voltage and current become direct current (DC) quantities. FOC torque control is usually achieved through a closed-loop current control method, in which a current regulator is used to minimize the error between the command current and the measured current to achieve perfect current tracking. Therefore, current control requires measurement of the motor current, which can be achieved by measuring the phase current of the motor, which is then transformed into a synchronous reference frame via a Park Transform to perform control in the synchronous reference frame.
[0002] When an offset error of a given magnitude occurs in the phase current measurement, the closed-loop current control operating in a synchronous reference frame adjusts the motor voltage so that the measurement of the motor current matches the command. Since the measurement is incorrect, the actual motor current is also incorrect. The failure mode results in motor torque and current errors that depend on the motor position, which can be perceived as large torque fluctuations at the motor shaft and are potentially larger than the rated motor current (for hardware design). When the torque fluctuation caused by the phase current measurement offset error exceeds a certain threshold, the offset error can produce a motor torque in a direction opposite to the motor torque command. When used in an EPS system, the failure to produce torque in a direction opposite to the desired motor torque command results in exceeding the manual effort from the driver. Summary of the invention
[0003] In an embodiment, a system for detecting a current measurement offset error in a motor control system is provided. The system includes a programmable high-pass filter module configured to filter a final voltage command and generate a filtered final voltage command including a sinusoidal component; a gain and phase compensation module configured to perform gain compensation and phase compensation on the filtered final voltage command to generate a compensated final voltage command. The error detection module is configured to determine an offset of the compensated final voltage command in a stator reference coordinate system.
[0004] In another embodiment of the present invention, a method for detecting a current measurement offset error in a power steering system is provided. The method includes determining a voltage difference between a reference voltage command and a final voltage command in a rotor reference coordinate system, the voltage difference including a constant component and a sinusoidal component. The method also includes filtering the voltage difference to generate a filtered voltage difference including the sinusoidal component. The method also includes performing gain compensation and phase compensation on the filtered voltage difference to generate a compensated voltage difference. The method also includes determining an offset of the compensated voltage difference in a stator reference coordinate system.
[0005] In another embodiment of the present invention, a system for detecting a current measurement offset error in a power steering system is provided. The system includes a voltage difference calculation module configured to determine a voltage difference between a reference voltage command and a final voltage command in a rotor reference coordinate system, the voltage difference including a constant component and a sinusoidal component. The system also includes a programmable high-pass filter module configured to filter the voltage difference and generate a filtered voltage difference including the sinusoidal component. The system also includes a gain and phase compensation module configured to perform gain compensation and phase compensation on the filtered voltage difference to generate a compensated voltage difference. The system also includes an error detection module configured to determine an offset of the compensated voltage difference in a stator reference coordinate system.
[0006] These and other advantages and features will become more apparent from the following description taken in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] The subject matter that is regarded as the invention is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other features and advantages of the invention will become apparent from the following detailed description taken in conjunction with the accompanying drawings, in which:
[0008] Figure 1 is an exemplary schematic diagram of a motor control system according to one embodiment;
[0009] Figure 2 illustrates a schematic diagram of a phase current measurement diagnostic module according to some embodiments;
[0010] Figure 3 A schematic diagram illustrating a phase current measurement diagnostic module according to another embodiment;
[0011] Figure 4 depicts a graph illustrating processing results according to some embodiments;
[0012] Figure 5 illustrates a method of determining an offset error according to one embodiment;
[0013] Figure 6A schematic diagram illustrating a phase current measurement diagnostic module according to another embodiment;
[0014] Figure 7 depicts graphs illustrating continuous-time and discrete-time implementations of an adaptive low-pass filter according to some embodiments;
[0015] Figure 8 A schematic diagram illustrating a phase current measurement diagnostic module according to another embodiment;
[0016] Fig. 9 A schematic diagram illustrating a phase current measurement diagnostic module according to another embodiment;
[0017] Fig.10 A schematic diagram illustrating a phase current measurement diagnostic module according to another embodiment;
[0018] Fig.11 A schematic diagram illustrating a phase current measurement diagnostic module according to another embodiment; and
[0019] Fig.12 A schematic diagram of a phase current measurement diagnostic module according to another embodiment is shown. DETAILED DESCRIPTION
[0020] Referring now to the accompanying drawings, the invention will be described with reference to specific embodiments without limiting the invention. Figure 1 A block diagram depicts a torque control module 100 for a multi-phase permanent magnet synchronous motor (PMSM) utilizing phase current measurements in a current control feedback loop according to some embodiments of the present invention. As shown, the torque control module 100 includes a motor reference current generator 102, a current regulator module 104, and a current measurement diagnostic module 106. Figure 1 Also depicted are a current measurement module 108 and a motor 110 .
[0021] As used herein, the term "module" or "sub-module" refers to an application specific integrated circuit (ASIC), an electronic circuit, a processor (shared, dedicated, or grouped) and memory that executes one or more software or firmware programs, a combinational logic circuit, and / or other suitable components that provide the described functionality. When implemented in software, a module or sub-module can be embodied in a memory as a non-transitory machine-readable storage medium that can be read by a processing circuit and stores instructions for execution by the processing circuit to implement the method. In addition, the modules and sub-modules shown in the figure can be combined and / or further divided.
[0022] The motor reference current generator 102 generates a feed-forward voltage command 120 and a current command 122 based on input signals including a motor torque command 114, a motor speed 116, a source voltage signal 118, and motor parameters 112. The motor torque command 114 represents a commanded torque value and may be obtained from another torque control module (not shown), or may correspond to a torque value generated by an operator. The motor speed 116 is the angular velocity of the motor 110 measured by a speed sensor (not shown). The speed sensor may include, for example, an encoder and a speed calculation circuit for calculating the angular velocity of the rotor of the motor 110 based on the signal received by the encoder. The source voltage signal 118 represents a bridge voltage from a DC power supply (not shown).
[0023] Motor parameters 112 are estimates of motor 110, including, for example, motor constants K e (Volt / rad / s), motor circuit resistance R (Ohm), direct axis inductance L d (Henry) and quadrature-axis inductance L q (Henry).
[0024] In some embodiments, the current command 122 generated by the motor reference current generator 102 includes a reference d-axis current command and a reference q-axis current command based on the motor torque command 114, the source voltage signal 118, and the angular velocity. The motor reference current generator 102 also calculates a feed-forward voltage command 120, which may include a feed-forward d-axis voltage command and a feed-forward q-axis voltage command. The feed-forward voltage command 120 and the current command 122 satisfy the motor torque command 114.
[0025] The current regulator module 104 determines a final voltage command 126 based on the feedforward voltage command 120, the current command 122, and the measured motor current 124. The measured motor current 124 includes a measured d-axis current and a measured q-axis current transformed from the current measurement signal in a stator reference frame.
[0026] The feed-forward voltage command is typically different for different types of current regulator designs. It should be understood that the feed-forward voltage term for the current measurement offset diagnostic implementation may be similar or identical to the feed-forward voltage term for motor control using pure static feed-forward control. In addition, the final voltage command may be the output of the current regulator. However, the actual voltage applied to the motor by the inverter, or any other suitable voltage, may also be used in place of the final voltage command if measurements of these voltages are available.
[0027] The current regulator module 104 sends a final voltage command 126 to the motor 110 to control the motor. Specifically, in some embodiments, a polarity switching controller (not shown) receives a d-axis voltage command and a q-axis voltage command as input. Based on the input, the polarity switching controller determines the voltage command and the phase advance angle. The PWM inverter controller (not shown) then receives the voltage command and the phase advance angle from the polarity switching controller as input signals. The PWM inverter controller also receives a rotor angle value of the motor 110 measured by a motor position sensor (not shown). In some embodiments, the PWM inverter controller may include an overmodulation space vector PWM unit that generates three corresponding duty cycle values. The duty cycle value is used to drive a gate drive circuit of an inverter (not shown) that excites the phases of the motor 110.
[0028] For feedback control purposes, the current measurement module 108 generates a measured motor current 124 based on an actual current 128 from the motor 110. In some embodiments, the current measurement module 108 includes a current measurement sensor that generates the measured motor current 124 based on the actual current 128 delivered to the motor 110. Therefore, the measured motor current 124 represents the value of the phase current (e.g., two-phase, three-phase) measured by the current measurement module 108. In some embodiments, the current measurement module 108 converts the measured value of the AC phase current into an equivalent measured DC current component, which is a measured d-axis current and a measured q-axis current in a d / q reference frame (rotor reference frame).
[0029] In operation, the actual current 128 may have an offset error in the stationary reference frame. The measured actual current, included in αβ The offset error in the coordinate system is αβ The coordinate system is also a stationary coordinate system and represents the phase current. The stationary reference coordinate system can be expressed according to the following equation:
[0030]
[0031] in and is the corresponding measured current in the stationary reference frame, and is the actual current in the stationary reference frame, and is the current measurement offset error expressed in a stationary reference coordinate system. A stationary reference coordinate system can be used to simplify the mathematical derivations shown here.
[0032] When transformed into the synchronous reference frame, the measured motor current is in the rotating reference frame and can be expressed as:
[0033]
[0034]
[0035]
[0036]
[0037] in and .
[0038] In operation, the measured motor current 124 may become equal to the current command 122, resulting in a distortion of the actual current 128. This distortion propagates through the torque control module 100, causing a d / q offset error between the feedforward voltage command 120 and the final voltage command 126 in the synchronous rotating reference frame. The d / q offset error (rotating reference frame offset error) under the assumption of accurate parameter estimation can be expressed as:
[0039]
[0040] in , , , are the synchronous frequency (electric motor speed), motor resistance, d-axis inductance, and q-axis inductance. When these voltages are transformed back to the stationary reference frame, the offset of the voltage signal in the stationary reference frame is preserved.
[0041] In the stationary reference frame, the voltage offset signal can be expressed as , The voltage offset in the stationary reference frame is , The corresponding constant component and the corresponding sinusoidal component may be equal to twice the synchronous frequency of the motor and is usually offset from the stationary reference frame by , Has a small impact.
[0042] The d / q voltage offsets contain constant terms in addition to the sinusoidal terms due to parameter errors, which transform into sinusoidal components when transformed into the stationary coordinate system. Furthermore, depending on the specific parameters, these terms can be a function of the synchronization frequency and become larger in magnitude as speed increases.
[0043] The current measurement diagnostic module 106 removes the constant component of the d / q voltage offset to improve the accuracy of error state detection after transformation into a stationary reference frame.
[0044] Specifically, the current measurement diagnostic module 106 determines whether the measured motor current 124 generated by the current measurement module 108 represents a correct measurement value. That is, the current measurement diagnostic module 106 determines whether the measured motor current 124 generated by the current measurement module 108 represents a correct measurement value. and To determine whether one or more phase current measurement sensors of the current measurement module 108 have an acceptable level of current measurement offset error.
[0045] The current measurement diagnostic module 106 compares the final voltage command 126 to the feed-forward voltage command 120 to determine whether the phase current measurement has a stationary reference frame offset error that is large enough to indicate a sensor fault or failure. In some embodiments, the current measurement diagnostic module 106 determines that the received voltage command indicates that there is no offset error in the current measurement. For example, when the stationary reference frame offset error in the current measurement exceeds a threshold, the current measurement diagnostic module 106 generates a diagnostic flag 130. Diagnostic defects can introduce offset errors in the phase current measurements. The systems and methods described below increase the robustness of the diagnostics.
[0046] Figure 2 The current measurement diagnostic module 106 of some embodiments is illustrated in greater detail. As shown, the current measurement diagnostic module 106 includes a programmable high pass filter module 204, a gain and phase compensation module 206, a transformation module 208, and an error detection module 210.
[0047] The programmable high pass filter module 204 receives the final voltage command 126. The programmable high pass filter module 204 is configured to filter the final voltage command 126, thereby removing the constant component from the final voltage command 126. Therefore, the programmable high pass filter module 204 is configured to generate a filtered final voltage command 214 that includes the sinusoidal component of the final voltage command 126 without the constant component. Therefore, the programmable high pass filter module 204 can have a similar configuration to the motor 110 ( Figure 1 ) synchronization frequency ω e The programmable high pass filter module 204 can be programmed based on a calibrable constant value. The calibrable constant value can be tuned to reduce the gain and phase errors in the sinusoidal voltage component. The transfer function of the programmable high pass filter module 204 can be written as follows:
[0048]
[0049] in, k is a calibrable constant that can be tuned to reduce gain and phase errors in the sinusoidal component. The programmable high-pass filter module 204 can utilize the synchronous frequency ω e, and the gain and phase errors introduced by the filter are static. Moreover, with the programmable high-pass filter module 204, the calibrable constants can be independently tuned k To ensure minimum distortion of the input signal. The programmable high pass filter module 204 is not limited to the above embodiment. For example, as long as the programmable filter removes the constant component of the final voltage command 126, a higher order filter can be used.
[0050] The filtered final voltage command 214 is sent to the gain and phase compensation module 206. The programmable high pass filter module 204 may introduce magnitude and phase errors into the filtered final voltage command 214, requiring compensation to be performed by the gain and phase compensation module 206. In some embodiments, the gain and phase compensation module 206 includes a first order unity gain programmable low pass filter (PLPF) with the following transfer function:
[0051]
[0052] A first order unity gain programmable low pass filter can compensate the filtered final voltage command 214 to restore the gain and phase of the final voltage command 126. The compensation can be performed according to the constraint equation written as follows:
[0053]
[0054] In other embodiments, the gain and phase compensation module 206 may utilize a second order low pass filter with a transfer function as shown below.
[0055]
[0056] The second-order low-pass filter shown above can be tuned by using two tuning parameters and ζ to allow for a more specific transient response. Gain and phase compensation will require different and ζ To achieve the steady state specification, it must be properly calculated using the method presented above.
[0057] The gain and phase compensation module 206 generates a compensated final voltage command 216, which is sent to the transformation module 208 for processing. Specifically, the transformation module 208 typically utilizes an inverse Pike transform or a similar mathematical transform to convert the measured phase current in the DC coordinate system (rotor reference coordinate system or d / q reference coordinate system) to the AC coordinate system (stator reference coordinate system) to simplify the analysis of error determination. The output of the transformation module 208 is sent to the error detection module 210 as a transformed voltage offset (expressed in the stator coordinate system). The error detection module 210 determines the magnitude of the transformed voltage offset compared to a threshold value, for example, in the stator reference coordinate system, and determines whether there is a current measurement offset error.
[0058] The current measurement diagnostic module 106 provides diagnostic robustness for high synchronization frequencies as well as a full spectrum of synchronization frequencies.
[0059] The programmable high pass filter module 204 and the gain and phase compensation module 206 can be implemented digitally to mitigate the size and phase differences of the continuous time filter. The digital implementation of the programmable high pass filter module 204 and the gain and phase compensation module 206 can be based on synchronous frequency and implemented in the discrete domain, as shown in the following equation, where is the synchronous frequency of the power steering system's motor and is the sampling time:
[0060]
[0061] Although the programmable high pass filter module 204 Figure 2 It is a first order filter, but it is further expected and understood that the programmable high pass filter module 204 can be a higher order, such as a second order filter.
[0062] Figure 3 Another embodiment of the phase current measurement diagnostic module is illustrated in more detail. As shown, the phase current measurement diagnostic module 106A includes a voltage difference calculation module 302 , a programmable high pass filter module 304 , a gain and phase compensation module 306 , a transformation module 308 , and an error detection module 310 .
[0063] The voltage difference calculation module 302 calculates the voltage difference 312 based on the feed-forward voltage command 120 and the final voltage command 126. In some embodiments, the voltage difference 312 is represented as a d / q offset in the d / q domain by determining the feed-forward voltage command 120 and the final voltage command 126. The voltage difference 312 may have a constant component and a sinusoidal component, both of which are represented in the d / q reference coordinate system.
[0064] The programmable high pass filter module 304 receives the voltage difference 312. The programmable high pass filter module 304 is configured to filter the voltage difference 312, thereby resulting in the removal of the constant component. Therefore, the programmable high pass filter module 304 is configured to generate a filtered voltage difference 314 that includes the sinusoidal component of the voltage difference 312 without the constant component. Therefore, the programmable high pass filter module 304 can have a similar configuration to the motor 110 ( Figure 1 ) synchronization frequency The programmable high pass filter module 304 can be programmed based on a calibrable constant value. The calibrable constant value can be tuned to reduce the gain and phase errors in the sinusoidal voltage component. The transfer function of the programmable high pass filter module 304 can be written as follows:
[0065]
[0066] in, k is a calibrable constant that can be tuned to reduce gain and phase errors in the sinusoidal component. The programmable high-pass filter module 304 can utilize the synchronous frequency , and the gain and phase errors introduced by the filter are static. Moreover, with the programmable high-pass filter module 304, the calibrable constants can be independently tuned k To ensure minimum distortion of the input signal. The programmable high pass filter module 304 is not limited to the above embodiment. For example, as long as the programmable filter removes the constant component of the voltage difference 312, a higher order filter can be used.
[0067] The filtered voltage difference 314 is sent to the gain and phase compensation module 306. The programmable high pass filter module 304 may introduce magnitude and phase errors into the filtered voltage difference 314, thereby requiring compensation to be performed by the gain and phase compensation module 306. In some embodiments, the gain and phase compensation module 306 includes a first order unity gain programmable low pass filter (PLPF) with the following transfer function:
[0068]
[0069] A first order unity gain programmable low pass filter may compensate the filtered voltage difference 314 to restore the gain and phase of the voltage difference 312. The compensation may be performed according to the constraint equation written as:
[0070]
[0071] In other embodiments, the gain and phase compensation module 306 may utilize a second order low pass filter with the transfer function shown below.
[0072]
[0073] The second-order low-pass filter shown above can be tuned by using two tuning parameters and ζ to allow for a more specific transient response. Gain and phase compensation will require different ζ and To achieve the steady-state index, it must be properly calculated using the method presented above.
[0074] The gain and phase compensation module 306 generates a compensated voltage difference 316 that is sent to the transformation module 308 for processing. Specifically, the transformation module 308 typically converts the phase current measured in the DC coordinate system (rotor reference coordinate system, or d / q reference coordinate system) to the AC coordinate system (stator reference coordinate system) using an inverse Pike transform or a similar mathematical transform to simplify the analysis of error determination. The output of the transformation module 308 is sent to the error determination module 310 as a transformed voltage offset expressed in the stator coordinate system. The error detection module 310 determines the magnitude of the transformed voltage offset compared to a certain threshold in the stator reference coordinate system, for example. The error detection module 310 can determine whether there is a current measurement offset error based on the transformed voltage offset.
[0075] The phase current measurement diagnostic module 106A provides diagnostic robustness for high synchronization frequencies as well as a full spectrum of synchronization frequencies.
[0076] The programmable high pass filter module 304 and the gain and phase compensation module 306 can be implemented digitally to mitigate the size and phase differences of the continuous time filter. The digital implementation of the programmable high pass filter module 304 and the gain and phase compensation module 306 can be based on synchronous frequency and implemented in the discrete domain, as shown in the following equations:
[0077]
[0078] Figure 4 Two graphs are shown, a first graph 402 illustrating the current measurement offset error in the presence of and The second graph 404 shows the current measured by the current diagnostic module 106 (eg, Figure 3 ) is the result of the processing performed. As can be appreciated, the phase current offset is and A voltage offset occurs in the
[0079] Figure 5 According to some embodiments of the present invention, the torque control module 100 ( Figure 1 ) is a flow chart of the control method executed.
[0080] As can be appreciated from this disclosure, the order of operations within the method is not limited to Figure 5 The steps are performed in the order shown in the figure, and may be performed in one or more variations of the order as applicable and in accordance with the present disclosure.
[0081] At box 510, the torque control module 100 determines a voltage difference between a reference voltage command and a final voltage command in a rotor reference coordinate system. The final voltage difference includes a constant component and a sinusoidal component. At box 520, the torque control module 100 filters the final voltage difference to generate a filtered final voltage difference including a sinusoidal component.
[0082] At block 530 , the torque control module 100 performs gain compensation and phase compensation on the filtered final voltage difference to generate a compensated final voltage difference. The phase compensation may, for example, restore the gain and phase of the voltage difference using a first-order filter or a second-order filter.
[0083] At block 540, the torque control module 100 determines the offset of the compensated final voltage difference in the stator reference coordinate system. The torque control module 100 may also send the direct-axis voltage signal and the quadrature-axis voltage signal to the motor to control the motor. In some embodiments, the torque control module 100 causes a status indicating the correctness or incorrectness of the current measurement to be displayed. For example, the torque control module 100 outputs the status to an operator or technician to diagnose the function of the motor current sensor.
[0084] A technical solution is also described for further improving the robustness of the diagnostic scheme to machine parameter errors by implementing an adaptive low-pass filter in a stationary coordinate system. The previously described technical solution facilitates performing adaptive bandpass filtering in a synchronous coordinate system to extract only the first-order terms caused by the current measurement offset error, and thereafter performing a transformation to a stationary coordinate system. While such a technical solution removes the error terms caused by parameter estimation errors at high speeds due to the adaptive implementation, the technical solution also removes the diagnostic information at zero speed (speed below a predetermined threshold), where the parameter estimation error and the diagnostic terms are constant. Such a technical solution therefore facilitates diagnosing current offset errors for speed control applications, where the speed is mainly non-zero (above a predetermined threshold). However, for torque control applications, such as in EPS operations that are substantially close to zero speed, the diagnostic capability close to zero speed may be reduced, resulting in non-compliance with safety requirements, and in addition, safety issues for vehicles equipped with EPS. It should also be noted that the technical solution currently described can use a hybrid technique to disable the filter close to zero speed, so that the diagnosis for the current measurement offset error can also be used at zero motor speed. The further described technical solution addresses the detection and handling of current measurement offset errors near zero speed without using additional logic dedicated to the near zero speed situation.
[0085] The described technical solution further solves the technical problem by facilitating diagnosis at zero speed in addition to non-zero speeds. The technical solution operates the EPS in a similar manner as using an adaptive bandpass filter in a synchronous reference frame in the high-speed range, and also maintains the ability to detect offset errors at the expense of reduced robustness to parameter errors at zero speed. Due to the adaptive filtering technique, the diagnostic solution has a variable detection time, which facilitates the EPS to meet more stringent safety compliance requirements. In addition, error detection is improved, making detection more consistent and facilitating faster diagnostic calibration.
[0086] use Figure 1 The components shown in the figure implement the technical scheme described further to utilize phase current measurement in the current control feedback loop in conjunction with the current measurement diagnostic block 106 for torque control of a multi-phase PMSM, wherein the current measurement diagnostic block 106 utilizes the feedforward and final motor voltage command signals to detect specific phase current measurement shunts that contain offset errors.
[0087] In the three-phase abc stationary reference frame, the current measurement with offset error can be mathematically expressed as,
[0088]
[0089] Transforming (using the Clarke transform) to the two-phase αβ stationary coordinate system gives,
[0090]
[0091] in and . The + and - signs in the term symbols are for positive and negative electromechanical polarity systems, respectively. It should be noted that this sign difference facilitates configuring the detection algorithm for the two system configurations. The examples described herein use a positive electromechanical polarity system for the purpose of description and explanation, however, based on the description herein, it will be apparent to those skilled in the art that the technical solutions herein are also similarly applicable to negative electromechanical polarity systems. In addition, for a system with two measurements, such as for phases b and c, it can be achieved by setting To correct the above calculation.
[0092] Used in abc and αβ The transformation matrix for conversion between stationary coordinate systems is,
[0093]
[0094] αβThe transformation is the projection of a phase quantity from a three-axis coordinate system to a stationary two-axis reference coordinate system by preserving the magnitude of the electrical parameter to which the transformation is applied. For example, in the above, αβ The magnitude of the current in the reference coordinate system is the same as the magnitude of the current in the abc reference coordinate system.
[0095] According to one or more examples, the Figure 6 The components shown in are used to implement the current measurement diagnosis module 106. As shown in the figure, the current measurement diagnosis module 106 according to the present embodiment includes a programmable low-pass filter module 604, a transformation module 608 and an error detection module 610.
[0096] Additionally, in this case, the transformation module 608 receives the final voltage command 126. In one or more examples, the gain and phase compensation module (such as Figure 2 The final voltage command 126 is generated by the transformation module 608 and precedes the transformation module 608. The transformation module 608 can convert the measured phase voltage in the DC coordinate system (rotor reference coordinate system or d / q reference coordinate system) into the AC coordinate system (stator reference coordinate system) using an inverse Parker transform or a similar mathematical transformation.
[0097] The transformed final voltage command 614 output by the transformation module 608 is sent to the programmable low-pass filter module 604. The programmable low-pass filter module 604 filters the transformed final voltage command 614, resulting in the removal of the constant component from the transformed final voltage command 614. Therefore, the programmable low-pass filter module 604 generates a filtered transformed final voltage command 616, which includes the sinusoidal component of the final voltage command 126 without the constant component. It should be noted that after the transformation, the sinusoidal component of the final voltage command 126 becomes a constant in the stationary coordinate system, and the constant component introduced by the parameter estimation in the synchronous coordinate system becomes a sinusoidal component, which is filtered out by the adaptive low-pass filter.
[0098] Therefore, after performing the transformation to the stationary coordinate system, the scheme performs adaptive low-pass filtering in the stator coordinate system to extract only the first-order terms caused by the current measurement offset error. Therefore, due to the adaptive implementation, the scheme removes all error terms caused by parameter estimation errors at high speeds, and also facilitates maintaining diagnostic information at zero (or low) speeds, where both the parameter estimation errors and the diagnostic terms are constants. Therefore, even when the EPS motor is operating at almost zero speed or at zero speed, such as operating at a speed below a predetermined threshold (e.g., 10 rad / s, 5 rad / s, 2 rad / s, etc.), the technical solution also facilitates the application of torque control for EPS.
[0099] In one or more examples, the low-pass filter module 604 uses a first-order filter having a certain structure.
[0100]
[0101] in k is an adjustable parameter that may be based on the synchronous frequency or electrical speed of the motor 110 .
[0102] Alternatively, the low pass filter module 604 uses a second order filter, which provides additional tuning flexibility, such as,
[0103]
[0104] The tuning variable may be tuned to remove the synchronous frequency of the motor 110 ω e and its frequency components above and below, which promotes the DC component to pass. This is because in the stationary frame, the current measurement offset error is DC, and the error component is impulsive in nature. For example, in a first-order filter, the parameter k It can be between 0 and 1, such as 0.5.
[0105] Alternatively or additionally to a discrete implementation of the low pass filter module 604, a transform such as the Tustin transform may be used.
[0106] The low pass filter used in low pass filter module 604 can be implemented digitally to mitigate the size and phase differences of the continuous time filter. For example, the s-to-z domain expression of the Tustin transform is given by,
[0107]
[0108] in T s is the sampling time of the control loop in which the diagnostics are implemented.
[0109] Figure 7 Graphs illustrating the frequency and step response of a continuous-time and discrete-time first order low pass filter for two different speeds. It will be appreciated that the step response clearly shows the variable detection time at a varying synchronous frequency of the motor 110 .
[0110] The output of the low pass filter module 604 is sent to the error detection module 610 as a filtered transformed voltage offset expressed in the stator coordinate system. The error detection module 610 determines the magnitude of the filtered transformed voltage offset compared to a predetermined threshold in the stator reference coordinate system and determines whether a current measurement offset error exists. The error detection module 610 is similar to the error detection module 210 (and / or 310) previously described and may include error comparison logic along with one or more PN counters.
[0111] In yet another embodiment, Figure 8 As illustrated, the phase current measurement diagnostic module 106 includes a voltage difference calculation module 802 along with a programmable low pass filter 604 , a transformation module 608 , and an error diagnostic module 610 .
[0112] The voltage difference calculation module 802 calculates a voltage difference 812 based on the feed-forward voltage command 120 and the final voltage command 126. In some embodiments, the voltage difference 812 is expressed as a d / q offset in the d / q domain by determining the feed-forward voltage command 120 and the final voltage command 126. The voltage difference 812 may have a constant component and a sinusoidal component, both of which are expressed in the d / q reference coordinate system.
[0113] The difference calculation removes low frequency components (due to changing operating conditions) before the voltage is transformed to a stationary reference frame by the transformation module 608. The resulting voltage difference 812 is passed to the transformation module 608, which transforms the difference to a stationary reference frame. The transformed voltage difference is then passed to the low pass filter module 604.
[0114] In this scheme, there are two adaptive low-pass filters, one for each voltage V d and V q The low pass filter module 604 may use a first order low pass filter and / or a higher order low pass filter (such as a second order low pass filter) as previously described, with a tunable factor adapted according to the frequency of the motor 110 .
[0115] The output of the low pass filter module 604 is sent to the error determination module 610 as a transformed and filtered voltage offset 616 in the stator coordinate system. The error detection module 610 determines the magnitude of the transformed voltage offset compared to a threshold, for example, in the stator reference coordinate system. The error detection module 310 can determine whether there is a current measurement offset error based on the transformed and filtered voltage offset 616.
[0116] Fig. 9The diagram shows another embodiment for implementing the current phase diagnostic module 106. For example, the current phase diagnostic module 106 includes a voltage difference calculation module 802, a transformation module 608, a low-pass filter module 604, an error detection module 610, and a voltage magnitude calculation module 920. The voltage magnitude calculation module 920 calculates the magnitude of the stationary frame voltage vector before performing adaptive low-pass filtering.
[0117] The voltage size block calculates the size of the voltage vector in the stationary coordinate system |ΔV αβ ∣. This calculation can be expressed as,
[0118]
[0119]
[0120]
[0121]
[0122] In addition, parameter errors can be introduced as additional pulse terms at the synchronization frequency, which are filtered out by the low-pass filter. The minimum frequency of the low-pass filter used by the low-pass filter module 604 is limited based on the required minimum detection time. The detection time of this embodiment can be expressed as,
[0123]
[0124] in is the current offset error detection threshold (equal to for three-measurement and two-measurement systems, respectively and ), and Δ I e is the actual offset error in the system.
[0125] In yet another embodiment, the phase current diagnostic module 106 may be implemented by first performing a magnitude square calculation, then filtering, and then taking a square root. Fig.10 The components and data flow of such an implementation are illustrated.
[0126] In one or more examples, the current phase diagnostic module 106 can use the magnitude calculation without the voltage difference calculation. Fig.11 and Fig.12 Figure 1 shows the components and data flow for determining the current offset error using a magnitude calculation. Fig.11, the voltage magnitude calculation module 920 calculates the magnitude of the transformed voltage command 614 and passes the result for low pass filtering to the low pass filter module 604. The transformed and filtered voltage command magnitude output by the low pass filter module 604 is then passed to the error detection module 610, which configures the diagnostic flag 130 based on a comparison with a predetermined threshold in the stator coordinate system.
[0127] Alternatively, if Fig.12 As shown in , the voltage magnitude square calculation module 1020 calculates the square of the magnitude of the transformed voltage command 614 and passes the output to the programmable low pass filter module 604. The square of the magnitude of the filtered voltage command is then passed to the voltage magnitude square root calculation module 1030 to determine the transformed and filtered voltage command 616. The result is then passed to the error detection module 610, which configures the diagnostic flag 130 based on a comparison with a predetermined threshold in the stator coordinate system.
[0128] In yet another embodiment, by converting the output of the voltage magnitude square calculation module 1020 to the square of the current value, the effect of the speed of the motor on changing the threshold used for the offset diagnosis is reduced. For example, the following expression may be used for the conversion.
[0129]
[0130] The squared current magnitude is then low-pass filtered by the low-pass filter module 604 and compared to a current threshold by the error detection module 610 .
[0131] The technical solution described herein facilitates diagnosis of current offset errors associated with closed-loop systems that control motors (such as in EPS applications). For example, due to resistance estimation errors, there is a DC component in the synchronous coordinate system, which is a pulse component in the stationary coordinate system. In the case of an offset error, the stationary coordinate system voltage has a large DC component, and the pulse component is successfully removed by an adaptive low-pass filter. Speed changes in the motor do not affect the error voltage, and therefore, the technical solution facilitates detection of offset errors in the current based on the motor frequency using a low-pass filter and reduces detection time. Typically, the additional residual pulse component in synchronization is due to the salient pole terms of salient pole machines. Using the technical solution described herein, a low-pass filter applied to the stationary coordinate system voltage magnitude removes the pulse component and generates a DC component containing current measurement offset error information.
[0132] According to one or more embodiments, a system for detecting a current measurement offset error in a motor control system includes a transformation module that transforms a final voltage command from a synchronous reference frame to a stator reference frame. The system also includes a programmable low-pass filter module that filters the transformed final voltage command and generates a filtered final voltage command including a constant component corresponding to the current measurement offset error. The system also includes an error detection module that determines the current measurement offset error based on the filtered final voltage command in the stator reference frame.
[0133] According to one or more embodiments, a method for detecting a current measurement offset error in a motor control system includes determining a voltage difference between a reference voltage command and a final voltage command in a rotor reference coordinate system, the voltage difference including a constant component and a sinusoidal component. The method also includes transforming the voltage difference from the rotor reference coordinate system into a transformed voltage difference in a stator reference coordinate system. The method also includes filtering the transformed voltage difference to generate a filtered voltage difference including a constant component. The method also includes determining a current measurement offset error based on the filtered voltage difference in the stator reference coordinate system.
[0134] According to one or more embodiments, a system for detecting a current measurement offset error in a motor control system includes a voltage difference calculation module that determines a voltage difference between a reference voltage command and a final voltage command in a rotor reference coordinate system. The voltage difference includes a constant component and a sinusoidal component, wherein the constant component is caused by a parameter error and the sinusoidal component is caused by a current measurement offset error. The system also includes a transformation module that transforms the voltage difference into a stator reference coordinate system, and a programmable low-pass filter module that filters the transformed voltage difference and generates a filtered voltage difference including a sinusoidal component. The system also includes an error detection module that determines a current measurement offset error based on the filtered voltage difference in the stator reference coordinate system.
[0135] Although the present invention has been described in detail in conjunction with only a limited number of embodiments, it should be readily understood that the present invention is not limited to these disclosed embodiments. Moreover, the present invention can be modified to incorporate any number of previously undescribed variations, changes, substitutions, or equivalent arrangements that are comparable to the spirit and scope of the present invention. In addition, although various embodiments of the present invention have been described, it should be understood that aspects of the present invention may include only some of the described embodiments. Therefore, the present invention is not considered to be limited by the foregoing description.
Claims
1. A system for detecting current measurement offset errors in a motor control system, comprising: a transformation module configured to transform the final voltage command from the synchronous reference frame to the stator reference frame; a reference current generator configured to calculate a feed-forward voltage command to satisfy a motor torque command; a programmable low pass filter module configured to filter the transformed final voltage command and generate a filtered final voltage command, the filtered final voltage command including a constant component corresponding to the current measurement offset error; as well as an error detection module configured to determine the current measurement offset error based on the filtered final voltage command in the stator reference coordinate system; The transformation module transforms the final voltage command using an inverse Parker transform to transform the final voltage command to the stator reference coordinate system, wherein the transformation module transforms the sinusoidal component corresponding to the current measurement offset error in the final voltage command into a constant component, and the constant component introduced by the parameter estimation in the synchronous reference coordinate system becomes a sinusoidal component, which is filtered out by the adaptive low-pass filter of the programmable low-pass filter module.
2. The system according to claim 1, characterized in that The programmable low pass filter module includes a transfer function based on the synchronous motor frequency and a constant that can be calibrated.
3. The system according to claim 1, characterized in that The programmable low-pass filter module uses a first-order filter with the following transfer function where k is a constant value and ω e is the synchronous frequency of the motor associated with the motor control.
4. The system according to claim 1, characterized in that The low-pass filter module performs low-pass filtering in the discrete domain.
5. The system according to claim 4, characterized in that The discrete domain used is based on: Where T s is the sampling time.
6. The system according to claim 1, characterized in that The current measurement offset error is also determined based on the final voltage command in a rotor reference coordinate system.
7. A method for detecting current measurement offset error in a motor control system, comprising: receiving an input command to generate torque using a motor controlled by a motor control system; Determine a voltage difference between a reference voltage command and a final voltage command in a rotor reference coordinate system, wherein the voltage difference includes a constant component and a sinusoidal component; transforming the voltage difference from the rotor reference frame into a transformed voltage difference in the stator reference frame using an inverse Parker transform; filtering the transformed voltage difference to generate a filtered voltage difference including the constant component; and A current measurement offset error is determined based on the filtered voltage difference in the stator reference coordinate system, and the final voltage command causes the motor to generate the torque, wherein the transformation of the voltage difference from the rotor reference coordinate system to the stator reference coordinate system transforms the sinusoidal component corresponding to the current measurement offset error in the final voltage command into a constant component in the transformed voltage difference, and the constant component introduced by the parameter estimation in the rotor reference coordinate system becomes a sinusoidal component, which is filtered out by the adaptive low-pass filter of the programmable low-pass filter module.
8. The method according to claim 7, characterized in that Therein the filtering is based on a transfer function which is based on the synchronous motor frequency of the motor of the motor control and a calibrable constant.
9. The method according to claim 7, characterized in that: The filtering comprises a first order low pass filter using the following transfer function where k is a constant value and ω e is the synchronous frequency of the motor associated with the motor control.
10. The method according to claim 7, characterized in that The filtering is low-pass filtering performed in the discrete domain.
11. The method according to claim 7, characterized in that The transformed voltage offset is based on a difference between a reference voltage command and a final voltage command in a rotor reference coordinate system, and the current measurement offset is determined based at least in part on the transformed voltage offset.
12. The method according to claim 11, characterized in that An error flag signal is generated according to the magnitude of the current measurement offset error.
13. A system for detecting current measurement offset errors in a motor control system, comprising: a voltage difference calculation module that determines a voltage difference between a reference voltage command and a final voltage command in a rotor reference frame, the voltage difference including a first constant component and a first sinusoidal component, the final voltage command being generated in response to an input command for generating torque using a motor controlled by a motor control system; a transformation module that transforms the voltage difference into a stator reference coordinate system, the transformed voltage difference comprising a second constant component and a second sinusoidal component, wherein the transformation module transforms the voltage difference using an inverse Parker transform; a programmable low pass filter module that filters the transformed voltage difference and generates a filtered voltage difference including the second constant component; and an error detection module that determines the current measurement offset error based on the filtered voltage difference in the stator reference coordinate system, wherein the transformation module transforms the first sinusoidal component in the final voltage command corresponding to the current measurement offset error into the second constant component in the transformed voltage difference, and the constant component introduced by the parameter estimation in the rotor reference coordinate system becomes a sinusoidal component, which is filtered out by the adaptive low-pass filter of the programmable low-pass filter module.
14. The system according to claim 13, characterized in that The programmable low pass filter module includes a transfer function based on the synchronous motor frequency and a calibrable constant.
15. The system according to claim 13, characterized in that The transformed voltage offset is based on a difference between a reference voltage command and a final voltage command in a rotor reference coordinate system, and the current measurement offset is determined based at least in part on the transformed voltage offset.
16. The system according to claim 15, characterized in that An error flag signal is generated according to the magnitude of the current measurement offset error.
