System and method for determining a sensor fault in an engine control system
The system detects sensor errors in motor control systems using feedforward control, transitioning to feedforward mode to maintain system operation and reliability in the face of sensor failures, addressing the lack of fault-tolerant strategies in existing technologies.
Patent Information
- Application Number
- DE102018127247
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2017-11-06
- Filing Date
- 2018-10-31
- Publication Date
- 2024-12-05
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing motor control systems lack effective fault-tolerant strategies for current measurement in the event of sensor failures, leading to potential safety issues and system instability.
A system and method for detecting sensor errors in motor control systems using feedforward control, which includes a faulty sensor detection module that identifies current offset errors based on amplitude and phase of diagnostic currents, enabling seamless transition to feedforward mode in case of single or multiple sensor faults.
Enables almost instantaneous detection and mitigation of current measurement errors, ensuring system reliability and safety by switching to feedforward mode, thereby maintaining system operation even in the presence of sensor failures.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
BACKGROUND
[0001] The present application generally relates to fault-tolerant current measurements in motor control systems, for example in the case of a current sensor failure.
[0002] Typically, a motor control system, such as in an electric power steering (EPS) system, controls an electric motor by applying a voltage to the electric motor. For example, an EPS system uses the electric motor to provide steering assistance to an operator of a vehicle's steering wheel using a torque control technique. When a synchronous permanent magnet motor (PMSM) is used, field-oriented control (FOC) is used to enable the voltage and current signals of a three-phase alternating current (AC) motor to be transformed into a synchronously rotating reference frame, commonly referred to as the d / q-axis reference frame. In a d / q-axis reference frame, the motor voltages and currents become direct current (DC) quantities.FOC torque control technique is usually implemented using either feedforward control or current feedback control.
[0003] When torque control with FOC is implemented through current control, the implementation uses high-performance current controllers that minimize the error between commanded and measured currents to achieve perfect current tracking. Current control therefore requires that the motor currents be measured, which is typically achieved by measuring the phase currents of the electric machine, which are then transformed into the synchronous frame using the Park transformation to execute control in the synchronous reference frame.
[0004] It is therefore desirable to have motor control systems that incorporate fault-tolerant current sensing strategies in case of a fault / failure of one or more current sensing sensors or other devices used to measure current values.
[0005] DE 198 34 454 A1 discloses an electric power steering device comprising a control unit with a sensor fault detection section, a first drive control signal generation section, a second drive control signal generation section, and a motor drive control mode switching section. When the sensor fault detection section does not detect a faulty sensor, the operation of an electric motor is controlled in such a manner that an offset between a target current, which is set in accordance with a steering torque, and a motor current becomes zero, and the motor provides steering assist torque to the steering system based on a first drive control signal supplied from the first drive control signal generation section.If a faulty sensor is detected by the sensor fault detection section, the motor drive control mode switching section switches the drive control mode of the motor such that the motor is forward-controlled based on a second drive control signal generated by the second drive control signal generation section based on a target current signal and determined in accordance with a steering torque. Further prior art is known from DE 60 2005 005 399 T2 and US 9 806 656 B1. SUMMARY
[0006] The object of the invention is to provide an improved system and method for determining a sensor fault in an engine control system.
[0007] To achieve this object, a system having the features of claim 1 and a method having the features of claim 8 are provided. Advantageous embodiments of the invention can be found in the subclaims, the description, and the drawings.
[0008] One or more embodiments are described for determining a sensor fault in a motor control system having at least three phase current measurements. An example system includes a current controller for generating an input voltage command for a motor using feedforward control. The system further includes a faulty sensor detection module that, in response to the current controller operating using feedforward control, determines that a current offset fault indicates a fault of a current sensor, wherein the current offset fault is determined based on an amplitude and a phase of a diagnostic current. Further, the faulty sensor detection module detects the current sensor having the fault in response to the fault based on a phase value of the diagnostic current.The feedforward sensor detection module is further configured to determine, based on the amplitude of the diagnostic current, that the current offset fault indicates a multi-point fault. The current offset fault indicates the multi-point fault in response to the amplitude of the diagnostic current being above a first predetermined threshold and indicates a single-point fault in response to the amplitude being between a second predetermined threshold and the first predetermined threshold.
[0009] An exemplary method for determining a sensor fault in a motor control system having at least three phase current measurements includes, by a current controller module, generating an input voltage command for a motor using feedforward control based on a measured motor current. The method further includes, by a faulty sensor detection module, detecting a specific current sensor exhibiting a fault while the motor control system is operating using the feedforward control. The detecting includes determining, based on the amplitude of a diagnostic current, that the current offset fault is indicative of the fault. The detecting further includes, in response to the single-point fault, detecting the current sensor exhibiting the fault based on a phase value of the diagnostic current.The faulty sensor detection module determines that the current offset error indicates a multi-point fault based on the amplitude of the diagnostic current, the determination being made while the engine control system is operating using feedforward control. The current offset error indicates the multi-point fault in response to the amplitude of the diagnostic current being above a first predetermined threshold and indicates the single-point fault in response to the amplitude being between a second predetermined threshold and the first predetermined threshold.
[0010] An exemplary motor control system includes a motor and a current controller module that generates an input voltage command for the motor using closed-loop control based on a measured motor current. The motor control system further includes a current measurement and diagnostic calculation module that detects an offset error. The motor control system further includes a faulty sensor detection module that, in response to the offset error, switches the current controller module to operate using feedforward control. The faulty sensor detection module, when operating in feedforward control, further determines a fault based on an amplitude of a diagnostic current being above a first predetermined threshold and, in response, detects a current sensor exhibiting the fault based on a phase value of the diagnostic current.
[0011] These and other advantages and features will become more apparent from the following description when read in conjunction with the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The subject matter regarded as the invention is particularly pointed out and separately 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 when read in conjunction with the accompanying drawings, in which: Fig. 1 is an exemplary embodiment of a steering system; Fig. 2 illustrates a block diagram of a multi-phase synchronous permanent magnet machine (PMSM) torque control module 100 using phase current measurements in a current feedback control loop in accordance with some embodiments; Fig. 3 shows an example of an inline current measurement for motor control systems in accordance with one or more embodiments; Fig. 4 illustrates a block diagram of a current measurement, calculation, and diagnostic module in accordance with one or more embodiments; Fig. 5 illustrates an exemplary block diagram of a current controller selecting between a feedback and feedforward mode of operation in accordance with one or more embodiments; Fig. 6 illustrates a block diagram of a faulty sensor detection module in accordance with one or more embodiments; Fig. 7 illustrates a block diagram for implementing a fault signature extraction module in accordance with one or more embodiments; Fig. 8 illustrates a flowchart for an exemplary method for detecting the particular faulty current sense component in a feedforward mode of operation in accordance with one or more embodiments; and Fig. 9 illustrates a flowchart for an exemplary method for fault-tolerant current measurement in a motor control system in accordance with one or more embodiments. DETAILED DESCRIPTION
[0013] As used herein, the terms module and submodule refer to one or more processing circuits, such as an application-specific integrated circuit (ASIC), an electronic circuit, a processor (shared, dedicated, or group) with memory executing one or more software or firmware programs, a combinational logic circuit, and / or other suitable components that provide the described functionality. As will be appreciated, the submodules described below may be combined and / or further subdivided.
[0014] With reference now to the figures, in which the technical solutions are described with reference to specific embodiments without limiting them, Fig. 1 illustrates an exemplary embodiment of an electric power steering (EPS) system 40 suitable for implementing the disclosed embodiments. The steering mechanism 36 is a rack and pinion system and includes a toothed rod (not shown) within a housing 50 and a pinion gear (also not shown) disposed beneath a gear housing 52. When the operator input, hereinafter referred to as the steering wheel 26 (e.g., a handwheel, etc.), is rotated, the upper steering shaft 29 rotates, and the lower steering shaft 51, which is connected to the upper steering shaft 29 by a universal joint 34, rotates the pinion gear.Rotation of the pinion gear moves the rack, which moves tie rods 38 (only one shown), which in turn move steering knuckles 39 (only one shown), which turn one or more steerable wheels 44 (only one shown).
[0015] Electric power steering assistance is provided by the control device, generally designated by reference numeral 24, which includes the controller 16 and an electric machine 46, which may be a synchronous permanent magnet motor, a DC permanent magnet motor, a switched reluctance motor, or any other type of motor, and is hereinafter referred to as motor 46. The controller 16 is powered by a line 12 from the vehicle power supply 10. The controller 16 receives a vehicle speed signal 14 representing the vehicle speed from a vehicle speed sensor 17. Steering angle is measured by a position sensor 32, which may be an optical encoder sensor, a variable resistance sensor, or any other suitable type of position sensor, and provides a position signal 20 to the controller 16.An engine speed can be measured with a tachometer or other device and transmitted to the controller 16 as an engine speed signal 21. A speed signal 22 is measured as ω. m The motor speed can be measured, calculated, or determined by a combination of these. For example, the motor speed ω m as the change in the motor position θ measured by a position sensor 32 over a given time interval. For example, the motor speed ω m as the derivative of the motor position θ from the equation ω m= Δθ / Δt, where Δt is the sampling time and Δθ is the position change during the sampling interval. Alternatively, the motor speed can be derived from the motor position as the time rate of change of the position. It should be noted that there are numerous well-known methodologies for performing the derivative function.
[0016] When the steering wheel 26 is turned, a torque sensor 28 detects the torque applied to the steering wheel 26 by the vehicle operator. The torque sensor 28 may include a torsion bar (not shown) and a variable resistance sensor (also not shown) which outputs a variable torque signal 18 to the controller 16 in relation to the amount of twist on the torsion bar. While this is one type of torque sensor, any other suitable torque sensing device using known signal processing techniques will suffice. In response to the various inputs, the controller sends a command 22 to the electric motor 46, which provides torque assist to the steering system through a worm 47 and worm gear 48, thereby providing torque assist to the vehicle's steering.
[0017] It should be noted that while the disclosed embodiments are described with reference to a motor control for electric steering applications, it should be understood that these references are for illustrative purposes only and that the disclosed embodiments may be applied to any motor control application utilizing an electric motor, e.g., steering, valve control, and the like. Furthermore, the references and descriptions herein may apply to many forms of parameter sensors, including, without limitation, torque, position, speed / rpm, and the like. It should also be noted that reference to electric machines herein includes, without limitation, motors; for brevity and simplicity, reference will be made hereinafter to motors without limitation.
[0018] As shown, the controller 16 in the control system 24 uses the torque, position, speed, and the like to calculate one or more commands to deliver the required output power. The controller 16 is arranged in communication with the various systems and sensors of the motor control system. The controller 16 receives signals from each of the system sensors, quantifies the received information, and in response provides one or more output command signals, in this case, for example, to the motor 46. The controller 16 is configured to develop the necessary voltages using an inverter (not shown), which may optionally be integrated into the controller 16 and is referred to herein as the controller 16, so that when applied to the motor 46, the desired torque or position is produced.Since these voltages are related to the position and speed of the motor 46 and the desired torque, the position and / or speed of the rotor and the torque applied by an operator are determined. A position encoder is connected to the steering shaft 51 to detect the angular position θ. The encoder can detect the rotational position based on optical detection, magnetic field fluctuations, or other methods. Typical position sensors include potentiometers, resolvers, synchros, encoders, and the like, as well as combinations including at least one of the foregoing. The position encoder outputs a position signal 20 indicative of the angular position of the steering shaft 51 and thus that of the motor 46.
[0019] A desired torque may be determined by one or more torque sensors 28, which transmit torque signals 18 indicative of applied torque. One or more exemplary embodiments include such a torque sensor 28, and the torque signals 18 therefrom, which may be responsive to a compliant torsion bar, T-bar, spring, or similar device (not shown), are configured to provide a response indicative of the applied torque.
[0020] In one or more examples, one or more temperature sensors 23 are disposed on the electric machine 46. The temperature sensor 23 is preferably configured to directly measure the temperature of the sensing portion of the motor 46. The temperature sensor 23 transmits a temperature signal 25 to the controller 16 to enable the processing and compensation described herein. Typical temperature sensors include thermocouples, thermistors, thermostats, and the like, as well as combinations including at least one of the foregoing sensors, which, when appropriately placed, provide a calibratable signal proportional to the specific temperature.
[0021] Among others, the position signal 20, the speed signal 21, and one or more torque signals 18 are applied to the controller 16. The controller 16 processes all input signals to generate values corresponding to each of the signals, resulting in a rotor position value, a motor speed value, and a torque value being available for processing in the algorithms described herein. Measurement signals such as those mentioned above are also typically linearized, compensated, and filtered as desired to improve the properties or eliminate undesirable characteristics of the acquired signal. For example, the signals may be linearized to improve processing speed or to address a wide dynamic range of the signal.In addition, frequency-based or time-based compensation and filtering can be used to eliminate noise or avoid unwanted spectral properties.
[0022] To perform the prescribed functions and the desired processing and computations therefor (e.g., detection of engine parameters, control algorithms, and the like), the controller 16 may include, without limitation, processors, computers, DSPs, memory, mass storage, registers, timers, interrupts, communication interfaces, and input / output signal interfaces, and the like, as well as combinations including at least one of the foregoing. For example, the controller 16 may include processing and filtering of input signals to enable accurate sampling and translation or retrieval of such signals from communication interfaces. Additional features of the controller 16 and certain processes therein will be discussed in detail later herein.
[0023] Fig. 2 illustrates a block diagram of a torque control module 100 of a multi-phase synchronous permanent magnet machine (PMSM) using phase current measurements in a current feedback control loop in accordance with some embodiments. As shown, the torque control module 100 includes a current generator 102 that generates a motor reference current command, a current regulator module 104, and a current measurement calculation and diagnostics module 106. Fig. 2 also illustrates a motor 110 and a current measurement module 108 that measures a feedback current from the motor 110.
[0024] The term "module" or "submodule," as used herein, refers to an application-specific integrated circuit (ASIC), an electronic circuit, a processor (shared, dedicated, or group) with memory executing one or more software or firmware programs, a combinational logic circuit, and / or other suitable components that provide the described functionality. In a software implementation, a module or submodule may be embodied in memory as a non-transitory machine-readable storage medium readable by processing circuitry and storing instructions for execution by the processing circuitry to perform a method. Furthermore, the modules and submodules shown in the figures may be combined and / or further subdivided.
[0025] The motor reference current generator 102 generates a feedforward voltage command 120 and a current command 122 based on the input signals. The input signals may include 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 derived from another torque control module (not shown), such as an EPS, an autonomous steering or semi-autonomous steering control unit, or it may correspond to a torque value generated by an operator. The motor speed 116 is an angular velocity of the motor 110 measured by a speed sensor (not shown).For example, the speed sensor may include an encoder and a speed calculation circuit for calculating the angular velocity of a rotor of motor 110 based on a signal received from the encoder. In some embodiments, the motor speed may be estimated from the motor position. Source voltage signal 118 represents a bridge voltage from a DC power source (not shown).
[0026] The motor parameters 112 are estimated values for the motor 110, which for example include a motor constant K e (Volt / rad / s), a motor circuit resistance R (Ohm), a direct axis inductance L d (Henry) and a quadrature axis inductance L q (Henry) include.
[0027] In some embodiments, the current command 122 generated by the motor reference current generator 102 includes a d-axis reference current command and a q-axis reference current command, which are generated based on the motor torque command 114, the source voltage signal 118, and the angular velocity. The motor reference current generator 102 also calculates the feedforward voltage command 120, which may include a d-axis feedforward voltage command and a q-axis feedforward voltage command. The current command 122 satisfies the motor torque command 114 and the source voltage signal 118.
[0028] The current controller module 104 determines a final voltage command 126 based on the feedforward voltage command 120, the current command 122, and the measured motor currents 124. The measured motor currents 124 include a measured d-axis current and a measured q-axis current, which are transformed from the current measurement signals into the stator reference frame.
[0029] The current regulator module 104 sends the final voltage command 126 to the motor 110 to regulate the motor 110. In some embodiments, a polar conversion controller (not shown) receives the d-axis voltage command and the q-axis voltage command as inputs. Based on the inputs, the polar conversion controller determines a voltage command and a phase advance angle. A pulse width modulation (PWM) generation module (not shown) then receives the voltage command and the phase advance angle from the polar conversion controller as input signals. The PWM generation module also receives a motor position or rotor angle value of the motor 110 measured by a motor position sensor (not shown) and generates multi-phase duty cycle values. In some embodiments, the PWM generation module may include an overmodulation space vector PWM unit that generates three respective duty cycle values.The duty cycle values are used to drive gate driver circuits of an inverter (not shown) to energize phases of motor 110.
[0030] For the purpose of feedback control, the current measurement module 108 measures the actual motor currents 128 and sends values of the measured motor currents 124 to the module 106 for current measurement calculation and diagnostics. In some embodiments, the current measurement module 108 includes current measurement sensors that generate the measured motor currents 124 from the actual currents 128 of the motor 110. The measured motor currents 124 therefore represent the values of phase currents (e.g., two-phase, three-phase) measured by the current measurement module 108.
[0031] In 3-phase current-sensing systems, current sensor faults typically cause either a transition to a loss-of-support mitigation mode or a shutdown. For example, if a large offset error occurs in a phase current measurement, the current control, operating in the synchronous reference frame, adjusts the motor voltage so that the measured motor current matches the command, but because the measurement is incorrect, the actual motor currents are incorrect. This fault mode results in motor position-dependent errors in motor torque and current, which can be perceived as large torque ripple on the motor shaft and are potentially larger than (for hardware design) classified motor currents.If the torque ripple caused by the phase current measurement offset error becomes large enough, it can generate motor torque in the opposite direction to the motor torque command. When used in an EPS system 12, errors that generate torque in a direction opposite to the desired motor torque command may result in a violation of system safety objectives or fault management requirements.
[0032] Because the sum of all three phase currents in a Y-connected or balanced motor must always be zero, most motor control systems typically use only two sense resistors in 3-phase inline current measurement systems. Due to varying system requirements, measurement systems with three sense resistors may also be used. In such systems, if an offset fault occurs on only one phase, it is possible to continue system operation in a feedback control mode using the two remaining functioning measurements, thereby improving the fault tolerance and reliability of the overall drive system.This allows the motor control systems to continue operating in closed-loop control mode (the desired control mode) when a sense resistor fails, and also allows for the detection of multiple simultaneous faults, providing the ability to transition the system into a feedforward control mode to mitigate the loss of assistance. Such current sense fault detection algorithms operate in closed-loop control mode.
[0033] However, in some motor control systems, such as an EPS system 12, when a single-point fault occurs—i.e., a single current-sensing unit fails—the resulting braking torque may be too great for the operator (driver) to handle when the system is operating in feedback control. Therefore, the system is transferred to feedforward mode, which uses condition-observer algorithms. For example, when the first single-point fault occurs, primary diagnostics check for a fault condition, and the control mode is changed to feedforward. This enables system operation (in terms of, for example, steering feel for the driver in an EPS system) with relatively good performance, especially when dynamic feedforward is used. For three-phase current-sensing systems, diagnostics are performed almost instantaneously using the logic that the sum of the currents must be zero.However, the observer algorithms required to detect a specific sensing resistor fault are typically slower and depend to some extent on the operating conditions. It may therefore be desirable for these systems to switch to feedforward mode to detect the fault and then detect the specific sensing resistor or multiple faults in feedforward mode. The technical solutions described here address these technical challenges by enabling the detection of a single-point fault as well as multiple simultaneous faults in a current sensing system. Furthermore, the technical solutions enable almost seamless fault tolerance in the case of current sensing system faults in motor control systems.
[0034] Fig. Figure 3 shows an example of inline current measurements for motor control systems in accordance with one or more embodiments. The motor control system 100 includes an inverter module or power supply 301, switches 302, current measurement modules 108, and a three-phase motor 110. There are typically two ways to measure phase currents of the three-phase motor 110—inline current measurement and low-side current measurement. The technical solutions described here are applicable to inline current measurement systems. In an inline current measurement, the current measurement modules 108 measure the phase currents of the motor 110 directly, as shown in Fig. 3. Note that to measure the three phase currents of a Y-connected or balanced motor, two inline current measurements can be used, and the third phase current can be calculated. In configurations with three inline current measurement systems, the technical solutions described here enable detection of a current sensor fault in feedforward mode and also identify which sensor is faulty. Based on the detection of the faulty sensor, the motor control system 500 can switch back to a feedback control mode with two inline current measurement systems.
[0035] Fig. 4 illustrates a block diagram of a current measurement diagnostic module in accordance with one or more embodiments. During normal operation, the three measured currents are used by a synchronous frame current calculation module 210 along with the motor electrical position to obtain synchronous frame currents (d / q currents), which are then used for current control with the current regulator 104. A primary current measurement diagnostic module 205 detects whether an error exists in the measured currents. For example, in some embodiments, the primary current measurement diagnostic module 205 may detect the error based on the assumption that the sum of the three phase currents in a wye-connected or balanced motor is zero. When a first single-point error occurs, a control mode arbitration module 230 changes the current regulator 104 to operate in feedforward mode.
[0036] In feedforward mode, the faulty sensor detection module 240 detects the faulty unit in the current measurement system. It should be noted that in feedforward mode, current measurements are not used for control, and instead, an inverse machine model (static or dynamic) is used. Once the single-point fault detection is complete—that is, the determination of the fact that a single fault has occurred, along with the identification of the specific current measurement unit (sensor) that is faulty—the motor control system is transferred to closed-loop control mode (preferred control mode) by the control mode arbitration module 230 using the current controller 104.During feedback operation, the good measurement arbitration module 220 uses the information about the faulty sensor to send only data from good sensors for calculation of synchronous frame currents by the synchronous frame current calculation module 210. At the same time, the secondary diagnostic module 250 (of the observer type) is enabled to detect any subsequent faults (and the primary diagnostic module 205 is disabled). If such a subsequent fault occurs, which the secondary diagnostic module 250 detects, the engine control system 200 is permanently transferred to feedforward operation. In the event that the first fault itself is a multi-point fault, i.e.If several sensors fail simultaneously, the faulty sensor detection module 240 detects this, informs the healthy measurement arbitration module 220, and the control mode arbitration module 230 keeps the system permanently in feedforward mode.
[0037] In one or more examples, the current measurement calculation and diagnostics module 106 identifies a particular faulty sensor based on the amplitude and phase values and outputs appropriate notification flags to the control mode arbitration module 230, the secondary (observer) diagnostics module 250, or another suitable module configured to adjust or control how the measured motor current 124 is determined when a faulty sensor is detected. Further, in one or more examples, the current measurement calculation and diagnostics module 106 provides a diagnostic flag 130 and the synchronous frame current measurements 132 to the current regulator module 104. Based on these inputs, the current regulator 104 determines whether to use feedforward or feedback control to generate voltage commands for the motor.
[0038] It should be noted that while the above example describes the primary diagnostic module 205 using the sum of the currents, in other examples the primary diagnostic module 205 may use any other technique to detect a current offset fault, for example, an observer model may be used.
[0039] The current measurement calculation and diagnosis module 106, specifically the faulty sensor detection module 240, detects a specific sensor that is faulty based on the amplitude ΔI o and the phase ϕ of the diagnostic current, which are calculated by the current measurement and diagnostic module 106, as further described herein. The amplitude calculation can be performed as follows ΔIe=32ΔIα2+ΔIβ2
[0040] The phase evaluation can be carried out as follows: ϕ=tan−1(ΔIβΔIα)
[0041] As can be seen, the diagnostic scheme of Fig. 2 first evaluates the amplitude, and if this is greater than a calibratable threshold ΔI th , the phase is calculated (alternatively, the phase could be calculated permanently, but only used when the amplitude exceeds a threshold). The amplitude can be compared with a second (e.g., a critical) threshold ΔI thc whose value is higher than ΔI th to indicate whether multiple simultaneous sensor errors have occurred, in which case the diagnostic scheme could send a shutdown flag (or a flag to mitigate the loss of assistance). However, a resistance value estimation error large enough can also cause ΔI e either lower than ΔI th or higher than ΔI thcwhich leads to no detection or false detection. This can be overcome by adjusting the threshold values ΔI th and ΔI thc to dynamic values that change with a display that shows the "magnitude" of the parameter error. Such a display can, for example, consist of the ΔI dq -values after filtering with a programmable low-pass filter, since any mean content implies the presence of an offset error. It should be noted that such large estimation errors do not typically occur in correctly tuned systems, and therefore a detailed discussion of this scheme is not included here.
[0042] It is noted that a number of values related to the current differences discussed above can be used as the diagnostic current. The diagnostic current can be calculated as a difference or based on a difference between currents. For example, the diagnostic current ΔI0, ΔI e or ΔIα2+ΔIβ2, be.
[0043] The value of the phase can be equal to 0 or -ϕ x or ϕ x depending on whether the offset error lies in phase a, b, or c. However, for improved robustness (necessary due to bandwidth limitations of current controllers), a detection window ϕ waround the nominal phase values for each of the faults, and the calculated phase is checked to determine if it lies within the detection window of a special measuring resistor. If the value does not lie within either window, this implies multiple simultaneous faults, and the diagnostic scheme sends a shutdown flag (or a loss of support mitigation flag).
[0044] The phase calculations can be summarized as follows: Fs={a,−ϕw≤ϕ≤ϕwb,−ϕx−ϕw≤ϕ≤−ϕx+ϕwc,ϕx−ϕw≤ϕ≤ϕx+ϕwm,else
[0045] Fs represents the faulty sensor, and m implies multiple simultaneous sensor failures. Note that the phase detection mechanism can be configured for systems with negative electromechanical polarity by simply swapping the logic for phases b and c.
[0046] The fault phase is evaluated once the amplitude exceeds the threshold to determine which sensor is faulty, and identification and other information regarding the specific faulty sensor(s) may be sent to a current calculation transition module 314 via a faulty sensor information signal. Once the faulty sensor is detected, the current measurement is modified by the control mode arbitration module 230 to utilize the remaining functional sensors, and the system is capable of operating in control feedback mode.It should be noted that once the system has begun operating in feedback mode after the first single-point fault has been activated by the primary diagnostics along with the faulty sensor detection module and the secondary diagnostics, a subsequent current measurement fault would result in the diagnostic flag being permanently latched to operate the system in current feedforward mode. Alternatively, the system could simply be shut down instead of operating in feedforward mode. Feedforward operation can be initiated by providing the diagnostic flag 130 directly to the current controller and / or the reference generation module so that the final voltages are appropriately calculated.
[0047] Fig. 5 illustrates an exemplary block diagram for selecting an operating mode of the engine control system in accordance with one or more embodiments. The control selector 430 receives the diagnostic flag 130 from the current measurement calculation and diagnostics module 106. Based on the diagnostic flag, the control selector 430 selects either the feedforward controller 410 for the feedforward operating mode of the engine control system or the current regulator 104 for operation in the feedback mode of the engine control system. As described herein, after an initial single-point fault, the control selector 430 selects the feedforward controller 410 until the faulty component is identified and then switches back to the feedback mode in the event of a single-point fault. The current regulator 104 continues to operate using the feedback mode based on the components that are functional at that time.In the event of a further component failure, the control selector 430 permanently switches to the feedforward control 410. Alternatively or additionally, in the event of further failures, the engine control system 200 may be disabled in one or more examples. Fig. 6 illustrates a block diagram of a faulty sensor detection module in accordance with one or more embodiments. The faulty sensor detection module 240 includes, among other components, a fault signature extraction module 510 and a special fault detector 520. The faulty sensor detection module 240 determines current measurement offset errors. The current measurements with offset errors in the stationary three-phase abc reference frame can be mathematically expressed as Iam=Ia+ΔIa Ibm=Ib+ΔIb Icm=Ic+ΔIc
[0048] The transformation into the stationary, two-phase αβ-frame yields Iαm=Iα+ΔIα Iβm=Iβ+ΔIβ where ΔIα=2ΔIa−ΔIb−ΔIc3 and ΔIβ=±ΔIb−ΔIc3. The + and - signs of the ΔI β The expressions of the two terms are for systems with positive and negative electromechanical polarity, respectively. It is important to note this difference in sign, as it is crucial for configuring the detection algorithm for the two system configurations. The remainder of the description herein is provided for a system with positive electromechanical polarity, however, it should be obvious how the same scheme will work for negative systems.
[0049] The transformation matrix for converting between the abc and αβ stationary frames is [αβ0]=23[cos 0cos(2π3)cos(−2π3)sin 0sin(2π3)sin(−2π3)121212][abc].
[0050] When transformed into the synchronous reference frame, the measured dq currents become Idm=Id+ΔId=Id+ΔI0cos(θ−ϕ) Iqm=Iq+ΔIq=Iq+ΔI0cos(θ−ϕ) where the amplitude and phase of the error terms are: ΔIo=ΔIα2+ΔIβ2=23ΔIα2+ΔIb2+ΔIc2−ΔIaΔIb−ΔIbΔIc−ΔIcΔIa ϕ=tan−1(ΔIβΔIα)=tan−1(3ΔIb−ΔIc2ΔIa−ΔIb−ΔIc)
[0051] It should be noted that the transformation matrices are [dq]=[cosθsinθsinθ−cosθ][αβ] [αβ]=[cosθsinθsinθ−cosθ][dq]
[0052] From the error equations it can be seen that if there is an offset error in only one phase at a time, we say ΔI e , the amplitude of the error is ΔI0=23ΔIe
[0053] Regardless of the specific measuring resistor, the error is the same. The phase of the error term carries the information about the specific measuring resistor that is faulty, and the value is unique for each measuring resistor. The values of the phase for an error in the three phases are respectively ϕa=0 ϕb=tan−1(−3)=−ϕx ϕc=tan−1(3)=ϕx
[0054] Since positive and negative errors produce the same phase value in each measuring resistor, the signature of the offset error in the phase value is unique for each measuring resistor regardless of the sign of the error.
[0055] The fault signature extraction module 510 determines the signature in feedforward mode (switched after the fault is detected). Therefore, the module 510 directly uses measured currents 124 for signature extraction.
[0056] In feedforward mode, the voltage commands are calculated using the inverse machine model as described below. Vd=L˜dI˙dr+R˜Idr+ωeL˜qIqr Vq=L˜qI˙qr+R˜Iqr−ωeL˜dIdr+K˜eωm where I dqr commanded or reference currents, ω m and ω e the mechanical or electrical speed of the motor, which is transmitted via the machine poles N p through ωe=Np2ωm are related, and R̃, L̃ d , L q and K e are the estimated machine resistance, the d- and q-axis inductance, and a voltage constant, respectively.
[0057] Assuming that the machine parameter estimates are accurate, it can be assumed that the actual phase currents are equal to the commanded currents 122, i.e., I dqr = I dq . Since the measured currents are inaccurate, the current difference ΔI dqcalculated as shown below (other techniques described later may also be used instead). ΔIdq=Idqm−Idq=Idqm−Idqr
[0058] It should be noted that, as mentioned above, the current errors are related to ΔI0 and ϕ, which are used to extract the error signature information. The values of ΔI0 and ϕ are obtained by first performing a demodulation operation. One way to perform demodulation is to apply the inverse Park transform and obtain current differences ΔI'. αβ in the stationary diagnostic reference frame. For example: ΔIα'=ΔIdcos(θ)+ΔIqsin(θ)=ΔI0cos(θ−ϕ)cos(θ)+ΔI0sin(θ−ϕ)sin(θ)=ΔI0cos(ϕ) ΔIβ'=ΔIdsin(θ)−ΔIqcos(θ)=ΔI0cos(θ−ϕ)sin(θ)−ΔI0sin(θ−ϕ)cos(θ)=ΔI0sin(ϕ)
[0059] In the event that the machine parameter estimates are not accurate, the actual currents 128 are not equal to the reference currents 122. The relationship between the actual current 128 and the commanded current 122 in the presence of various parameter errors can be expressed as shown below. [IdIq]=1R2+ωe2LdLq[ωe2LdL˜q−ωe(RL˜q−LqR˜)ωe(RL˜d−LdR˜)ωe2LdL˜q+RR˜][IdrIqr]+ωm(Ke−K˜e)R2+ωe2LdLq[−ωeLqR] where R, L d , L q and K e are the actual machine resistance, the d- and q-axis inductance, and a voltage constant, respectively. Therefore, the current errors can be calculated as shown below. [Idr−IdIqr−Iq]=1R2+ωe2LdLq[ωe2Lq(Ld−L˜d)+R(R−R˜)−ωe(RL˜q−LqR˜)ωe(RL ˜d−LdR˜)ωe2Ld(Lq−L˜q)+R(R−R˜)][IdrIqr]+ωm(Ke−K˜e)R2+ωe2LdLq[−ωeLqR]
[0060] Due to this imperfect current tracking, the current difference ΔI dqIn the synchronous frame, there is an additional DC error term, which can be obtained from the calculations shown above. The discrepancy can be expressed mathematically as shown below. ΔId=ΔI0cos(θ+ϕ)+ΔIde ΔIq=ΔI0sin(θ+ϕ)+ΔIqe
[0061] When the Park transform is applied to these signals, the resulting current diagnostic differential signals in the steady-state frame contain unwanted sinusoidal terms as follows. ΔIα'=ΔI0cos(ϕ)+(ΔIdecos(θ)+ΔIqesin(θ)) ΔIβ'=ΔI0sin(ϕ)+(ΔIdesin(θ)−ΔIqecos(θ))
[0062] The technical solutions described here address the technical challenges of these unwanted sinusoidal terms in several ways to reduce the impact of parameter estimation errors, including the use of adaptive bandpass filters in the synchronous frame before demodulation or adaptive lowpass filters in the stationary diagnostic frame after demodulation. These techniques are described further.
[0063] Fig. 6 illustrates block diagrams for reducing the effects of parameter errors prior to extracting an error signature of current sensor offset errors in accordance with one or more embodiments. Fig. 6 illustrates various example implementations, a first fault signature extraction module 510A, a second fault signature extraction module 510B, and a third fault signature extraction module 510C. The fault signature extraction modules 510A-B use synchronous frame signals from the measured current 124 and the current commands 122 as input.
[0064] The first fault signature extraction module 510A includes a difference calculation module 610 for calculating a current difference 610 between the measured current 124 and the current commands 122, as described above. Furthermore, the first fault signature extraction module 510A includes a programmable bandpass filter module 620 and a transformation module 630.
[0065] The programmable bandpass filter module 620 may comprise a cascaded high-pass and low-pass filter structure (a gain and phase compensation module) with a programmable high-pass filter module and a programmable low-pass filter module. The bandpass filter module 620 receives the current difference 612 between the current command 122 and a measured feedforward current 124. The programmable high-pass filter module results in the removal of constant components from the current difference 612. Consequently, the programmable high-pass filter module may have a cutoff frequency proportional to a synchronous frequency ω e of the engine 110 ( Fig. 1). The programmable high-pass filter module can be programmed based on a calibratable constant value. The calibratable constant value can be tuned to reduce the gain and phase error in the sinusoidal current component. A transfer function of the programmable high-pass filter module can be written as follows: H(s)=ss+kωe where k is the calibratable constant, which can be tuned to reduce the gain and phase error in the sinusoidal component. The programmable high-pass filter module can adjust the synchronous frequency ω euse, and the gain and phase error introduced by the filter is static. Furthermore, in the programmable high-pass filter module, the calibratable constant k can be independently tuned to ensure minimal distortion of the input signal. The programmable high-pass filter module is not limited to the above embodiment. For example, a higher-order filter can be used, provided the programmable filter removes the constant component of the current difference 612.
[0066] The high-pass filter module generates a high-pass filtered current difference, which is sent to the programmable low-pass filter module. The programmable high-pass filter module may introduce amplitude and phase errors into the filtered current difference 622, requiring compensation to be performed by the low-pass filter module (also referred to herein as the gain and phase compensation module). In some embodiments, the gain and phase compensation module includes a unity-gain first-order programmable low-pass filter (PLPF) with the following transfer function: L(s)=k'ωes+k'ωe
[0067] The programmable unity-gain first-order low-pass filter can compensate for the filtered current difference 622 to restore the gain and phase of the final current command 122. The compensation can be performed in accordance with constraint equations written as: ∠H(jωe)−∠L(jωe)=0 |H(jωe)L(jωe)|=1
[0068] In other embodiments, the gain and phase compensation module may use a second order low-pass filter with a transfer function shown below. L(s)=k'2ωe2s2+2ζk'ωes+k'2ωe2
[0069] The second-order low-pass filter shown above can enable more specific transient responses by using two tuning parameters, k' and ζ. The gain and phase compensation may each require different k' and ζ to meet the steady-state specifications, which must be appropriately calculated using the method presented above.
[0070] In the above-mentioned cascaded filter structure, the programmable bandpass filter module 620 has a transfer function of the form B(s)=H(s)L(s), where: ∠H(jωe)−∠(jωe)=0 |H(jωe)L(jωe)|=1
[0071] The programmable bandpass filter module 620 generates a filtered, compensated current difference 622, which is sent to a transformation module 630 for processing. In one or more examples, the transformation module 630 uses an inverse Park transform or a similar mathematical transformation to convert the phase currents measured in the DC frame (rotor reference frame or d / q reference frame) to the AC frame (stator reference frame), thereby simplifying fault determination analysis. The output of the transformation module 630, a filtered current difference in the stationary frame (stator frame) 632, is sent to the fault detection module 520. In one or more examples, an amplitude of the diagnostic current is compared to a threshold, for example, in a stator reference frame, and a determination is made as to whether a current measurement offset error is present, e.g., if the amplitude exceeds the threshold.
[0072] The programmable bandpass filter module 620 may be digitally implemented to attenuate a difference between the amplitude and phase of a continuous-time filter. The digital implementation of the filter module 620 may be based on the synchronous frequency but implemented in a discrete domain, as shown in the following equation, where ω e is a synchronous frequency of the motor 110, for example, of a power steering system 12, or any other application, such as a power tool. Furthermore, Ts is a sampling time of the control loop in which the filter module 620 is implemented. s=ωetan(ωeTs2)1−z−11+z−1
[0073] Although the bandpass filter module 620 in the above example includes a programmable high-pass filter module and a programmable low-pass filter module, it is further contemplated and understood that the filter may be a direct bandpass filter with imaginary poles. Alternatively or additionally, the filter module 620 may be of a higher order, such as a fourth- or fifth-order filter. Further, in one or more examples, the difference calculation module 610 may be eliminated, and instead of processing the current difference 612, the final current command 122 may be used directly as input to the bandpass filter module 620, instead of the current difference 612.
[0074] Referring now to the second fault signature extraction module 510B, the second module 510B also includes the difference calculation module 610 for calculating a current difference 612 between the measured current 124 and the current commands 122, as described above, and the transformation module 630 for performing an inverse Park transformation or the like. In the second fault signature extraction module 510B, the current difference 612 is demodulated before filtering to generate a current difference 634 in the stationary frame (stator frame), as shown in Fig. 6. The current difference 634 in the stationary frame (stator frame) is provided to a programmable low-pass filter 640. The low-pass filter 640 is a PLPF, as described above, with the transfer function L(s) to restore the gain and phase of the final current command 122. The low-pass filter 640 can be a first-order, second-order, or any higher-order filter. The low-pass filter 640 generates the filtered current difference 632 in the stationary frame for further use as described herein.
[0075] As described here and in Fig. 6, the first and second error signature extraction modules 510A-B use a current difference and a commanded current in the synchronous frame as inputs. In yet another example, instead of an indirect technique of using synchronous frame currents and then performing demodulation, the third error signature extraction module 510C may directly use the currents measured in the stationary frame, assuming that the commanded currents I αβr 122 in the stationary frame (transformed from current commands in the synchronous frame) are equal to the actual currents 128, as follows. ΔIαβ'=Iαβm−Iαβ=Iαβm−Iαβr where commanded currents I αβr in a stationary setting as follows. [IαrIβr]=[cosθsinθsinθ−cosθ][IdrIqr]
[0076] The third fault signature extraction module 510C thus includes a difference calculation module 610' that calculates the current difference 612' in the stationary frame as described above using a current 124' measured in the stationary frame and a current command 122' in the stationary frame.
[0077] Due to this imperfect current tracking, which results from parameter estimation errors, the current difference ΔI' αβ In the steady-state setting, an additional sinusoidal error term appears, which can be obtained from the calculations shown above. This discrepancy can be expressed mathematically as described below. ΔIα'=ΔIα−ΔIαe ΔIβ'=ΔIβ−ΔIβe
[0078] Consequently, the filtering techniques mentioned above can be used to reduce the impact of parameter estimation errors in this case as well. The third error signature extraction module 510C includes a programmable low-pass filter 640' that filters the current difference in the stationary frame 612' to generate the filtered current difference in the stationary frame 632 without demodulation.
[0079] In one or more examples, the filtered current difference 632 is received in the steady-state frame by an amplitude calculation and phase extraction module 650. The module 650 determines an amplitude and phase of the received input. The determined amplitude and phase are used together as a signature to identify the fault, i.e., whether the fault is a single-point fault or a multi-point fault, and if it is a single-point fault, which component is faulty, as described hereinabove.
[0080] It should be noted that in one or more examples, the measured currents 124 in the synchronous frame may be used directly (without a difference calculation). The adaptive bandpass filter 620, demodulation 630, and adaptive lowpass filter 640' modules receive the measured currents 124 in the synchronous frame for further processing as described herein (correspondingly, Fig. Figure 7 shows the current difference calculation modules and the commanded input currents using dashed lines. The difference calculation removes low-frequency components (due to fluctuating operating conditions) before transforming the currents to the steady-state frame.
[0081] The fault signature extraction modules described here provide diagnostic robustness for high synchronous frequencies as well as for a full spectrum of synchronous frequencies. Any one of these fault signature extraction modules is used in the faulty sensor detection module 240. Different implementations have different accuracies at different input ranges, and thus, the fault signature extraction module is selected depending on the application for which the engine control system 200 is used.
[0082] Again with reference to Fig. 6, the output of the fault signature extraction module is forwarded to the specific fault detection module 520. The specific fault detection module 520 detects the specific faulty current measurement component using the extracted phase and amplitude input values.
[0083] Fig. 8 illustrates a flowchart for an exemplary method for detecting the particular faulty current sensing component in feedforward mode of operation, in accordance with one or more embodiments. The method includes operating the engine control system 200 using the closed-loop mode, as shown at 701. Operation of the engine control system 200 continues until the current sensing calculation and diagnostics module 106 detects a current sensing error, as shown at 702. The current sensing error is detected by the primary diagnostic module 205 based on the measured current values 124 and the current values estimated based on the current commands 122. When a current sensing error is detected, the engine control system 200 is transitioned to the feedforward mode of operation, as shown at 705.The primary diagnostic module 205 may diagnose a current offset error in the current measurement based on a sum of current measurements in multiple phases not equal to a predetermined value, such as zero. Alternatively or additionally, the primary diagnostic module 205 detects the current offset error using an observer or any other technique. The method further includes determining the faulty component that caused the current measurement error during feedforward mode operation using the secondary diagnostic module 250, as described herein.
[0084] The special fault detection module 520 determines the value of the amplitude (ΔI0) of the final current differences 632 in the stationary diagnostic frame ΔI' αβ , as shown at 710. For example, the calculation can be expressed as: ΔI0=ΔIα'2+ΔIβ'2
[0085] In one or more examples, the amplitude of the current difference is evaluated by comparing it with a calibratable threshold ΔI th as shown at 715. If the amplitude is greater than the threshold, the amplitude is compared with a second, “critical” threshold ΔI thc V whose value is higher than ΔI th to indicate whether multiple simultaneous sensor errors have occurred, in which case the diagnostic scheme sends a shutdown flag (or a loss of assistance mitigation flag) as shown at 720 and 725.
[0086] If the amplitude is greater than the first threshold but less than the second threshold, a single-point fault has occurred, and a phase (ϕ) of the filtered current difference in the stationary frame 632 is calculated, as shown at 730. For example: ϕ=tan−1(ΔIβ'ΔIα')
[0087] The value of the phase of the current difference will ideally be, as mentioned above, 0, -ϕ x or ϕ x depending on whether the offset error is in phase a, b or c. However, for improved robustness, a small detection window of ϕ w around the phase ratings of each of the faults, and the calculated phase is checked to determine if it lies within the detection window of a particular measuring resistor, as shown at 740. The phase calculations for each of the phases can be expressed as follows: Fs={a,−ϕw≤ϕ≤ϕwb,−ϕx−ϕw≤ϕ≤−ϕx+ϕwc,ϕx−ϕw≤ϕ≤ϕx+ϕwm,else where F s represents the sensor that is faulty, and m represents multiple simultaneous sensor faults.
[0088] In one or more examples, the phase detection mechanism can be configured for systems with negative electromechanical polarity by swapping the logic for phases b and c. As described above, if the phase of the current difference is within any of the detection windows, the sensor associated with the specific phase (a, b, or c) is identified as the faulty component. Consequently, detection of the fault and / or faulty sensor occurs in feedforward mode. Upon detection, the motor control system 200 is switched back to feedback mode for operation using the available working current readings, as shown at 750. If the value is not within either window, this implies multiple simultaneous faults, and the diagnostic scheme sends a shutdown flag (or a loss of support mitigation flag), as shown at 725.
[0089] Consequently, a detection window value is calculated from the nominal phase values, and a first sensor error is determined when the phase value falls between a negative detection window value and a positive detection window value. Furthermore, a second sensor error is determined by subtracting the phase value falling within the detection window from a non-zero phase error value (ϕ x ) is subtracted and the detection window is added to the non-zero phase error value.
[0090] Fig.9 illustrates a flowchart for an exemplary method for fault-tolerant current sensing in a motor control system, in accordance with one or more embodiments. The method includes operating the motor control system 200 using the closed-loop mode, as shown at 801. Operation of the motor control system 200 continues until the current sensing calculation and diagnostics module 106 detects a current sensing error, as shown at 805. The current sensing error is detected based on the measured current values 124 and the current values estimated based on the current commands 122. When a current sensing error is detected, the motor control system 200 is switched to the feedforward mode of operation, as shown at 810.For example, the current measurement calculation and diagnostic module 106 indicates the switching using the diagnostic flag 130 for the current controller 104 to perform the switching of the operating mode.
[0091] The method further includes determining whether the motor control system 200 is using an in-line current measurement to measure the actual motor currents 128, as shown at 820. In one or more examples, a flag is set in the controller 26 to indicate whether an in-line current measurement is being used. If an in-line current measurement is not being used, the motor control system 200 continues to operate in feedforward mode, as shown at 810. If an in-line measurement is being used, the method includes extracting an error signature for the detected current measurement error in the feedback mode, as shown at 830. The error signature extraction includes calculating the phase and amplitude of the error (differences) in the measured current values 124 and the estimated current values based on the current commands 122.
[0092] The method further includes determining the faulty component during operation in feedforward mode, as further described. The method continues with the control diagnostic module determining whether the fault is a single-point fault or a multi-point fault, as shown at 840. The determination is made in feedforward mode. For example, in the steering system, the determination is made using an input current command in the feedforward command generated by the current controller 104 based on a torque command, and the final current command is configured to be sent to the motor 110 and is based on the measurement of the motor current. A single-point fault includes a fault in a single current measurement component, and a multi-point fault includes multiple faulty components. In one or more examples, the determination is based on a phase of the current difference 632.
[0093] If the fault is a multi-point fault, the method continues by indicating that multiple components are faulty, as shown at 850. In this case, the method includes permanently setting the feedforward operating mode, as shown at 852. Further, in one or more examples, the method includes sending a signal to shut down the system, as shown at 854. Alternatively, for example, in applications such as the steering system 12, the method includes sending a signal indicating a mitigation of the loss of assist to indicate to the operator that torque assist is no longer available.
[0094] If the fault is a single point fault, the method continues by indicating that a single component has a fault, as shown at 860. The method further continues by detecting the faulty component when operating in feedforward mode, as described herein and shown at 862. After detecting the faulty component, the method further includes switching back to the feedback mode of operation, as shown at 864. For example, the switch is performed by sending the value of diagnostic flag 130 to cause current regulator 104 to select feedback control. Additionally, the method includes setting up arbitration so that only good signals are used and no current measurements from the faulty component are used for feedback control, as shown at 866.It should be noted that if this is a second (or later) single point fault, the process continues according to the multi-point fault (850) described here.
[0095] The technical solutions described here enable the detection of the presence of an offset error from the amplitude of a current difference and also the detection of the specific faulty sensor from the phase of the current difference. The technical solutions described here enable the determination of the faulty component in a feedforward operating mode of the engine control system, whereby the engine control system is switched from the feedback mode in which the error is detected to the feedforward mode. It should be noted that the specific value of the faulty sensor identifier indicates a fault in a specific phase of the engine control system, for example, phase a, phase b, or any other phase. The technical solutions enable the detection of whether the current measurement hardware has a single-point fault or a multi-point fault.In the event of a single-point fault, the technical solutions enable the use of functioning components to continue operation in closed-loop control mode. In the event of a multi-point fault, the technical solutions continue operation in feedforward control mode, which has a slower dynamic response than closed-loop control mode. In the event of a multi-point fault, the technical solutions can also cause a motor control system to shut down. In the event that the motor control system is used to provide assist torque or any other such application, the technical solutions enable the provision of a signal indicating that this assist torque is no longer available from the motor, which can be used to provide a visual / audible indication to an operator.
[0096] The technical solutions described here enable the detection of current measurement errors in a feedforward mode using current values and the detection of specific faulty sensors, including the ability to detect multiple simultaneous faults. The technical solutions also enable the use of functioning sensors (depending on the nature of the current measurement subsystem) after a fault is detected. Furthermore, the technical solutions enable a motor control system to enter feedback control mode after the detection of faulty sensors in systems with inline phase current measurements. Furthermore, the technical solutions use algorithms such as machine parameter learning to improve system behavior in systems with low-side current measurement.
[0097] The present technical solutions may be a system, a method, and / or a computer program product at any possible level of technical detail of integration. The computer program product may include one or more computer-readable storage media having computer-readable program instructions embodied thereon for causing a processor to execute aspects of the present technical solutions.
[0098] Aspects of the present technical solutions are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products in accordance with embodiments of the technical solutions. It is understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, may be implemented by computer-readable program instructions.
[0099] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products in accordance with various embodiments of the present technical solutions. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or section of instructions comprising one or more executable instructions for implementing the described logical functions. In some alternative implementations, the functions described in the blocks may occur out of the order described in the figures. For example, two consecutively shown blocks may actually execute substantially concurrently, or the blocks may sometimes be executed in the reverse order depending on the functionality involved.It is also to be understood that each block of the block diagrams and / or flowchart illustration, and combinations of blocks in the block diagrams and / or flowchart illustration, may be implemented by specialized hardware-based systems that perform the described functions or acts, or that execute combinations of specialized hardware and computer instructions.
[0100] Furthermore, it should be understood that any modules, units, components, servers, computers, terminals, or devices illustrated herein by way of example that execute instructions may include or otherwise have access to computer-readable media, such as memory media, computer storage media, or data storage devices (removable and / or non-removable), such as magnetic disks, optical disks, or tapes. Computer storage media may include volatile and non-volatile, removable and non-removable media, implemented with any method or technology for storing information, such as computer-readable instructions, data structures, program modules, or other data. These computer storage media may be part of, accessible to, or connectable to the device.Any applications or modules described herein may be implemented using computer-readable / executable instructions stored or otherwise maintained by such computer-readable media.
[0101] Although the technical solutions have been described in detail in connection with only a limited number of embodiments, it should be readily understood that the technical solutions are not limited to these disclosed embodiments. Rather, the technical solutions may be modified to incorporate any number of variations, alterations, substitutions, or equivalent arrangements not described hereinabove, but which are consistent with the spirit and scope of the technical solutions. Furthermore, although various embodiments of the technical solutions have been described, it should be understood that aspects of the technical solutions may include only some of the described embodiments. Consequently, the technical solutions should not be construed as being limited to the above description.
Claims
[1] A system for determining a sensor fault in a motor control system (100) having at least three phase current measurements, the system comprising: a current controller configured to generate an input voltage command for a motor (110) using feedforward control; a faulty sensor detection module (240) configured to, in response to the current controller being operated using the feedforward control: determine that a current offset error indicates a current sensor fault, wherein the current offset error is determined based on an amplitude and a phase of a diagnostic current; and identify the current sensor having the fault based on a phase value of the diagnostic current in response to the fault; wherein the faulty sensor detection module (240) in the feedforward control is further configured to determine, based on the amplitude of the diagnostic current, that the current offset error indicates a multi-point error; and wherein the current offset error indicates the multi-point error in response to the amplitude of the diagnostic current being above a first predetermined threshold and indicates a single-point error in response to the amplitude being between a second predetermined threshold and the first predetermined threshold. [2] The system of claim 1, further comprising: a control mode arbitration module (230) configured to switch the current controller to operation using feedback control in response to detecting the current sensor having the fault. [3] The system of claim 2, further comprising a current calculation transition module that modifies a calculation scheme for determining a measured motor current based on the detection of the current sensor having the fault. [4] The system of claim 2, wherein the control mode arbitration module (230) is further configured to switch the current controller to operate in the feedforward mode in response to the detection of the current offset error. [5] The system of claim 1, wherein a power diagnostic module is configured to send a signal to shut down the system in response to the multipoint fault. [6] The system of claim 1, wherein a power diagnostic module, in response to the multi-point fault, configures the power controller to operate permanently in feedforward mode. [7] The system of claim 1, wherein the faulty sensor detection module (240) is further configured to: to calculate detection windows for each phase in the engine control system (100); and to identify the current sensor that has the fault based on the phase value of the diagnostic current being within one of the detection windows. [8] A method for determining a sensor fault in an engine control system (100) having at least three phase current measurements, the method comprising: an input voltage command for a motor (110) is generated by a current controller module using feedforward control based on a measured motor current; and a faulty sensor detection module (240) detects a specific current sensor having a fault while the engine control system (100) is operating using the feedforward control, the detecting comprising: based on the amplitude of a diagnostic current, it is determined that the current offset error indicates the fault; and the current sensor exhibiting the fault is detected based on a phase value of the diagnostic current in response to the single-point fault; and the faulty sensor detection module (240) determines that the current offset error indicates a multi-point error based on the amplitude of the diagnostic current, the determination being made while the engine control system (100) is operating using the feedforward control; wherein the current offset error indicates the multi-point error in response to the amplitude of the diagnostic current being above a first predetermined threshold, and indicates the single-point error in response to the amplitude being between a second predetermined threshold and the first predetermined threshold. [9] The method of claim 8, further comprising switching, by a control mode arbitration module (230), the current controller to operate in a closed-loop control in response to detecting that the current sensor has the fault. [10] The method of claim 8, further comprising modifying, by a current calculation transition module, a calculation scheme for determining a measured value of the measured motor current based on the current sensor having the fault, wherein the modified calculation scheme does not use measured values from the current sensor having the fault for feedback control. [11] The method of claim 8, further comprising sending a signal to shut down the system in response to the multipoint fault.
Citation Information
Patent Citations
Electric servo steering system
DE19834454A1
electric power steering
DE602005005399T2
Fault tolerant phase current measurement for motor control systems
US9806656B1
