Control device and fault determination method

By calculating the estimated DC current value using the duty ratio of the AC current sensor and the PWM signal in the inverter circuit, the problem of difficulty in detecting the gain fault of the AC current sensor in the prior art is solved, and the situation where the DC current sensor is not set is realized The accuracy of fault determination.

CN113728545BActive Publication Date: 2024-11-05ASTEMO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080027223.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-04-24
Filing Date
2020-04-03
Publication Date
2024-11-05
Estimated Expiration
2040-04-03

AI Technical Summary

Technical Problem

The prior art is difficult to accurately detect the gain fault of the AC current sensor in an inverter that controls a rotating motor. Especially when reducing the DC current sensor, it causes the AC current sensor value and the estimated DC current value to be outliers at the same time, making it difficult to determine. Fault.

Method used

By providing an AC current sensor for detecting three-phase AC in the inverter circuit, and calculating the estimated DC current value using the duty ratio of the PWM signal, the fault of the AC current sensor is determined based on the changes in these values.

Benefits of technology

Without setting up a DC current sensor, the fault phase and gain fault mode of the AC current sensor can be accurately determined, which improves the accuracy and reliability of fault detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113728545B_ABST
    Figure CN113728545B_ABST
Patent Text Reader

Abstract

The control device of the present invention determines the faulty phase of the AC current sensor without providing a DC current sensor. The control device of the present invention controls the motor by providing an inverter circuit that converts DC into three-phase AC power to the motor, and a current sensor for detecting the AC current of each phase of the three-phase AC is provided at the output of the inverter circuit. The control device calculates each estimated DC current value using the duty cycle value of the PWM signal for controlling the switch of the inverter circuit and the AC current value of two phases out of the three phases detected by the current sensor, and determines the fault of the current sensor based on the change of each calculated estimated DC current value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a motor control device, and in particular to fault determination of a current sensor. Background Art

[0002] As background technology in this technical field, there is the following prior art. Patent document 1 (Japanese Patent Publication No. 2017-208893) describes an inverter control device, which controls an inverter circuit, calculates an estimated DC current value based on a duty cycle value and an AC current sensor value output by an AC current sensor, and diagnoses the DC current sensor based on the estimated DC current value and the DC current sensor value output by the DC current sensor (see abstract).

[0003] Patent Document 2 (Japanese Patent Application Laid-Open No. 2009-303283) describes a motor control device that more appropriately determines an offset generated in a sensor that detects a phase current in a moving state and corrects the offset (see abstract).

[0004] Prior art literature

[0005] Patent Literature

[0006] Patent Document 1: Japanese Patent Application Publication No. 2017-208893

[0007] Patent Document 2: Japanese Patent Application Publication No. 2009-303283 Summary of the invention

[0008] Technical problem to be solved by the invention

[0009] As described in Patent Document 1, an AC current sensor and a DC current sensor are installed in an inverter for controlling a rotating electric machine, but the DC current sensor is only used for diagnostic purposes and is not used for controlling the rotating electric machine, so it is required to reduce costs by reducing the number of DC current sensors. Instead of the DC current value measured by the DC current sensor, the DC current value can be estimated by using the sensor value of the AC current sensor and the gate signal provided to the power module. However, when the AC current sensor fails, there is a problem that both the AC current sensor value and the DC current estimated value are abnormal values.

[0010] In addition, the inverter uses three-phase sum diagnosis and range diagnosis to diagnose AC current sensor failures, but both methods are difficult to accurately detect gain failures. In order to reduce the number of DC current sensors, it is necessary to detect gain failures in AC current sensors.

[0011] Technical solutions adopted to solve technical problems

[0012] A representative example of the invention disclosed in the present application is shown below. That is, a control device controls a motor by supplying an inverter circuit that converts DC into three-phase AC power to the motor, characterized in that a current sensor for detecting AC current of each phase of the three-phase AC is provided at the output of the inverter circuit, the control device calculates each estimated DC current value using the duty cycle value of a PWM signal for controlling the switch of the inverter circuit and the AC current values ​​of two phases out of the three phases detected by the current sensor, and determines a fault of the current sensor based on changes in each of the calculated estimated DC current values.

[0013] Effects of the Invention

[0014] According to one aspect of the present invention, the fault phase of the AC current sensor can be determined without providing a DC current sensor. Other problems, structures and effects than those described above will be further clarified by the following description of the embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a diagram showing a configuration example of a power conversion device and its peripheral devices according to an embodiment of the present invention.

[0016] Figure 2 It is a diagram showing an example of the internal structure of an inverter circuit according to an embodiment of the present invention.

[0017] Figure 3 1 is a flowchart of an AC current sensor gain failure determination process executed by the AC current sensor gain failure determination unit of the first embodiment.

[0018] Figure 4 This is a flowchart of data processing 1 of Example 1.

[0019] Figure 5 This is a flowchart of data processing 2 of Example 1.

[0020] Figure 6 This is a flowchart of data processing 3 of Example 1.

[0021] Figure 7 It is a diagram showing a configuration example of a gain failure determination table 1 according to the first embodiment.

[0022] Figure 8 It is a diagram showing a configuration example of the gain failure determination table 2 of the first embodiment.

[0023] Fig. 9 It is a diagram showing a configuration example of the gain failure determination table 3 of the first embodiment.

[0024] Fig.10 It is a diagram showing a configuration example of the gain failure determination table 4 of the first embodiment.

[0025] Fig.11 This is a diagram showing a current waveform when a U-phase AC current sensor fails.

[0026] Fig.12 It is a diagram showing a configuration example of the gain failure determination table 5 of the second embodiment.

[0027] Fig.13 It is a diagram showing a configuration example of a gain failure determination table 6 according to the third embodiment. DETAILED DESCRIPTION

[0028] In the following, embodiments are described using the drawings. In the following embodiments, a rotating electrical machine control system for determining a faulty phase of an AC current sensor will be described.

[0029] <Example 1>

[0030] Figure 1 It is a diagram showing a configuration example of a power conversion device 1 and its peripheral devices according to an embodiment of the present invention.

[0031] The power conversion device 1 converts the DC power obtained from the DC power supply 3 into AC power and drives the motor 2. The power conversion device 1 also has the function of converting the power of the motor 2 into DC power and charging the DC power supply 3. The DC power supply 3 is a power source such as a battery for driving the motor 2. Among the DC currents supplied from the DC power supply 3, the direction in which the DC current flows from the positive electrode of the DC power supply 3 to the power conversion device 1 is positive, and the opposite direction is negative.

[0032] The motor 2 is a three-phase motor having three windings therein. An angle sensor (not shown) for measuring the rotation angle is mounted on the motor 2, and the angle sensor outputs the measured rotation angle of the motor 2 to the power conversion device 1 as an angle sensor value.

[0033] The power conversion device 1 includes a control device 15 , a drive circuit 22 , an inverter circuit 9 , AC current sensors 14 a to 14 c , a voltage sensor 10 , and an AC current sensor gain failure determination unit 25 .

[0034] The voltage sensor 10 is a sensor for measuring the output voltage of the DC power supply 3 , and outputs the measured voltage value to the control device 15 as a voltage sensor value.

[0035] The AC current sensors 14a to 14c are sensors for measuring the AC current flowing through each phase (U phase, V phase, W phase) of the motor 2. The AC current sensor 14a measures the AC current value Iu flowing through the U phase, and outputs the AC current sensor value Ius to the control device 15. Similarly, the AC current sensor 14b measures the AC current value Iv flowing through the V phase, and outputs the AC current sensor value Ivs to the control device 15. The AC current sensor 14c measures the AC current value Iw flowing through the W phase, and outputs the AC current sensor value Iws to the control device 15. Among the AC currents, the direction in which the AC current flows from the power conversion device 1 to the motor 2 is positive, and the opposite direction is negative.

[0036] In the present embodiment, the AC current sensors 14 a - 14 c are disposed in the power conversion device 1 , but may be disposed outside the power conversion device 1 (eg, between the power conversion device 1 and the motor 2 or inside the motor 2 ).

[0037] The control device 15 communicates with an electronic control device (not shown) outside the power conversion device 1, and receives the target torque of the motor 2 from the other electronic control device. The control device 15 controls the inverter circuit 9 through the drive circuit 22 based on the target torque, and drives the motor 2. In addition, when it is determined that a fault has occurred inside the power conversion device 1, the control device 15 outputs an abnormality notification signal to the external abnormality notification device 4.

[0038] The control device 15 internally includes a communication circuit (not shown), a motor speed calculation unit 23 , a target current calculation unit 17 , a duty ratio calculation unit 19 , a PWM signal generation unit 21 , and an AC current sensor gain failure determination unit 25 .

[0039] The motor speed calculation unit 23 calculates the motor speed based on the change in the angle sensor value in the motor, and outputs the calculated motor speed value to the target current calculation unit 17 .

[0040] The target current calculation unit 17 calculates the current value that should flow to the motor 2 using the target torque, the voltage sensor value, and the motor speed value output by the motor speed calculation unit 23, and outputs the current value as a target current value to the duty ratio calculation unit 19. The target current value includes information on the d-axis target current value and the q-axis target current value.

[0041] The duty ratio calculation unit 19 calculates the U-phase duty ratio value Du, the V-phase duty ratio value Dv, and the W-phase duty ratio value Dw based on the target current value output by the target current calculation unit 17 and the AC current sensor values ​​Ius, Ivs, and Iws, and outputs them to the PWM signal generation unit 21 and the AC current sensor gain failure determination unit 25. The U-phase duty ratio value Du represents the conduction time ratio of the U-phase upper arm power semiconductor 90a, and the conduction time ratio of the U-phase lower arm power semiconductor 90b paired with the U-phase upper arm power semiconductor is represented by 1-Du. Similarly, the V-phase duty ratio value Dv represents the conduction time ratio of the V-phase upper arm power semiconductor 90c, and the conduction time ratio of the V-phase lower arm power semiconductor 90d is represented by 1-Dv. The W-phase duty ratio value Dw represents the conduction time ratio of the W-phase upper arm power semiconductor 90e, and the conduction time ratio of the W-phase lower arm power semiconductor 90f is represented by 1-Dw.

[0042] exist Figure 2 The division of the upper arm and the lower arm is explained in FIG.

[0043] The PWM signal generating unit 21 has a timer (not shown) inside, and generates a PWM (Pulse Width Modulation) signal based on the timer value, U-phase duty value Du, V-phase duty value Dv, and W-phase duty value Dw, and outputs it to the driving circuit 22 .

[0044] In addition, the PWM signal generating unit 21 controls the PWM signal so that when the abnormality notification signal is output from the AC current sensor gain fault determination unit 25, the motor 2 is not driven. The state in which the motor 2 is not driven is, for example, a state in which all six power semiconductors in the inverter circuit 9 are turned off (referred to as a freewheeling state in this embodiment). As another example, there is a state in which three power semiconductors of the upper arm are turned on and three power semiconductors of the lower arm are turned off among the six power semiconductors (referred to as an upper arm active short-circuit state in this embodiment), or conversely, a state in which three power semiconductors of the upper arm are turned off and three power semiconductors of the lower arm are turned on (referred to as a lower arm active short-circuit state in this embodiment).

[0045] The AC current sensor gain failure determination unit 25 determines failure of the AC current sensors 14a to 14c and internally includes an estimated DC current calculation unit 26 and a determination unit 28. The AC current sensor gain failure determination unit 25 is composed of a computer (microcomputer) including a calculation device, a memory, and an input / output device.

[0046] The computing device includes a processor and executes a program stored in the memory. Part of the processing performed by the computing device executing the program may also be performed by other computing devices (for example, hardware such as FPGA (Field Programmable Gate Array) or ASIC (Application Specific Integrated Circuit)).

[0047] The memory includes ROM and RAM, which are non-volatile storage elements. ROM stores unchanging programs (such as BIOS), etc. RAM is a high-speed and volatile storage element such as DRAM (dynamic random access memory) and a non-volatile storage element such as SRAM (static random access memory), and stores programs executed by the computing device and data used when executing the programs.

[0048] The input / output device is an interface for transmitting the processing contents of the AC current sensor gain failure determination unit 25 to the outside or receiving data from the outside according to a predetermined protocol.

[0049] The program executed by the arithmetic device is stored in a nonvolatile memory serving as a non-temporary storage medium of the AC current sensor gain failure determination unit 25 .

[0050] The estimated DC current calculation unit 26 calculates four estimated DC current values ​​and three-phase sum current values ​​based on the duty cycle values ​​Du, Dv, Dw of each phase and the AC current sensor values ​​Ius, Ivs, Iws, and outputs them to the determination unit 28. The determination unit 28 uses the four estimated DC current values ​​and the three-phase sum current values ​​to determine the large / small gain failure and the faulty phase of the AC current sensors 14a to 14c, and outputs a fault notification signal to the fault notification device and the PWM signal generation unit 21. Specifically, the determination unit 28 determines the gain failure of the AC current sensors 14a to 14c by Figures 3 to 6 The processing shown calculates four estimated DC current values ​​Idce1, Idce2, Idce3, Idce4 and three-phase and current values ​​Isum, uses them to perform data processing 1, 2, 3, counts the judgment parameters Njudg1, Njudg2, Njudg3, and uses the counted judgment parameters Njudg1, Njudg2, Njudg3 to determine the fault phase of the AC current sensor 14a~14c and whether it is a large gain fault or a small gain fault.

[0051] The drive circuit 22 receives the PWM signal output from the PWM signal generation unit 21 , and outputs a drive signal for switching the power semiconductor of the inverter circuit 9 on and off.

[0052] Figure 2 1 is a diagram showing an example of the internal configuration of the inverter circuit 9 according to the embodiment of the present invention.

[0053] The inverter circuit 9 includes a filter capacitor 92 and six power semiconductors 90 a to 90 f.

[0054] The power semiconductors 90a to 90f are switched on and off according to the drive signal input from the drive circuit 22, thereby converting DC power and AC power. The power semiconductors 90a to 90f are composed of, for example, power MOSFETs (metal oxide semiconductor field effect transistors), IGBTs (insulated gate bipolar transistors), etc. In this embodiment, the three power semiconductors on the upper side of the figure are collectively referred to as upper arms, and the three power semiconductors on the lower side are collectively referred to as lower arms.

[0055] The filter capacitor 92 is used to filter the current generated by turning on / off the power semiconductors 90a to 90f and suppress the ripple of the DC current supplied from the DC power supply 3 to the power conversion device 1. The filter capacitor 92 is formed of, for example, an electrolytic capacitor or a film capacitor.

[0056] Figure 3 2 is a flowchart of the AC current sensor gain failure determination process executed by the AC current sensor gain failure determination unit 25 of the first embodiment. Figure 3 The AC current sensor gain fault determination process is shown.

[0057] First, the AC current sensor gain failure determination unit 25 acquires the AC current sensor values ​​Ius, Ivs, and Iws ( S101 ).

[0058] Then, the estimated DC current calculation unit 26 calculates the estimated DC current values ​​Idce1, Idce2, Idce3, Idce4 based on the duty cycle values ​​Du, Dv, Dw of the PWM signals of each phase and the AC current sensor values ​​Ius, Ivs, Iws using the following formula, and calculates the three-phase and current value Isum, and outputs it to the determination unit 28 (S102).

[0059] Idce1=(-Ivs-Iws)×Du+Ivs×Dv+Iws×Dw

[0060] Idce2=Ius×Du+(-Ius-Iws)×Dv+Iws×Dw

[0061] Idce3=Ius×Du+Ivs×Dv+(-Ius-Ivs)×Dw

[0062] Idce4=(-Ivs-Iws)×Du+(-Ius-Iws)×Dv+(-Ius-Ivs)×Dw

[0063] Isum=Ius+Ivs+Iws

[0064] The determination unit 28 performs data processing 1 using the estimated DC current values ​​Idce1 and Idce4 and the three-phase sum current value Isum, and calculates the determination parameter 1Njudg1 (S103). Figure 4 The details of data processing 1 are described.

[0065] The determination unit 28 performs data processing 2 using the estimated DC current values ​​Idce2 and Idce4 and the three-phase sum current value Isum, and calculates the determination parameter 2Njudg2 (S104). Figure 5 The details of data processing 2 are described.

[0066] The determination unit 28 performs data processing 3 using the estimated DC current values ​​Idce3 and Idce4 and the three-phase sum current value Isum, and calculates the determination parameter 3Njudg3 (S105). Figure 6 The details of data processing 3 are described.

[0067] The determination unit 28 counts the determination parameters Njudg1, Njudg2, and Njudg3 for a certain period of time (S106), and determines the fault phase and the gain fault mode (S107). Various methods can be used to determine the fault phase and the gain fault mode, but by using, for example, a gain fault determination table (see Figure 7 , Figure 8 , Fig. 9 , Fig.10 ), the fault phase and gain fault mode can be determined according to the increase / decrease trend of the determination parameters Njudg1, Njudg2, and Njudg3. In addition, the fault phase and gain fault mode can be determined by using a function that takes the determination parameters Njudg1, Njudg2, and Njudg3 as inputs and outputs the fault phase and gain fault mode, or the fault phase and gain fault mode can be determined by using a fault determination model based on artificial intelligence.

[0068] Figure 4 This is a flowchart of data processing 1 of Example 1.

[0069] The determination unit 28 uses the estimated DC current values ​​Idce1 and Idce4 and the three-phase sum current value Isum to perform data processing 1. The determination unit 28 first determines whether the three-phase sum current value Isum is positive or negative (S111). When the three-phase sum current value Isum is "positive", it is determined whether it meets the determination formula 1-1 (S112). When it meets the determination formula 1-1, the determination parameter Njudge1 is increased by 1 (S113). When it does not meet the determination formula 1-1, nothing is processed.

[0070] Decision formula 1-1: Idce1-Idce4>Isum+Ihys

[0071] On the other hand, when the three-phase and current value Isum is "negative", determine whether it meets the judgment formula 1-2 (S114). When it meets the judgment formula 1-2, reduce the judgment parameter Njudge1 by 1 (S115). When it does not meet the judgment formula 1-2, nothing is processed.

[0072] Decision expression 1-2: Idce1-Idce4 <Isum-Ihys

[0073] In addition, the determination threshold value Ihys may be a fixed value, or the torque command value change ΔTcmd, the motor speed ω, the DC voltage value Vdc, and the power conversion efficiency η may be used as variables, and the change amount of the target DC current may be calculated using the following formula, and the value corrected by the calculated value may be used as the determination threshold value Ihys. By correcting the determination threshold value using the change amount of the target DC current, it is possible to follow the rapid change of the current caused by the command.

[0074] Judgment threshold = Ihys + ((ΔTcmd×ω) / (η×Vdc))

[0075] Figure 5 This is a flowchart of data processing 2 of Example 1.

[0076] The determination unit 28 uses the estimated DC current values ​​Idce2 and Idce4 and the three-phase sum current value Isum to perform data processing 2. The determination unit 28 first determines whether the three-phase sum current value Isum is positive or negative (S121). When the three-phase sum current value Isum is "positive", it is determined whether it meets the determination formula 2-1 (S122). When it meets the determination formula 2-1, the determination parameter Njudge2 is increased by 1 (S123). When it does not meet the determination formula 2-1, nothing is processed.

[0077] Decision 2-1: Idce2-Idce4>Isum+Ihys

[0078] On the other hand, when the three-phase and current value Isum is "negative", determine whether it meets the judgment formula 2-2 (S114). When it meets the judgment formula 2-2, reduce the judgment parameter Njudge2 by 1 (S115). When it does not meet the judgment formula 2-2, nothing is processed.

[0079] Decision 2-2: Idce2-Idce4 <Isum-Ihys

[0080] In addition, similar to the above, the determination threshold Ihys may be a fixed value, or the target DC current change amount may be calculated using the following formula with the torque command value change amount ΔTcmd, the motor speed ω, the DC voltage value Vdc, and the power conversion efficiency η as variables, and the value corrected by the calculated value may be used as the determination threshold Ihys. By correcting the determination threshold using the target DC current change amount, it is possible to follow the rapid change in current caused by the command.

[0081] Judgment threshold = Ihys + ((ΔTcmd×ω) / (η×Vdc))

[0082] Figure 6 This is a flowchart of data processing 3 of Example 1.

[0083] The determination unit 28 uses the estimated DC current values ​​Idce3 and Idce4 and the three-phase sum current value Isum to perform data processing 3. The determination unit 28 first determines whether the three-phase sum current value Isum is positive or negative (S131). When the three-phase sum current value Isum is "positive", it is determined whether it meets the determination formula 3-1 (S132). When it meets the determination formula 3-1, the determination parameter Njudge3 is increased by 1 (S133). When it does not meet the determination formula 3-1, nothing is processed.

[0084] Decision 3-1: Idce3-Idce4>Isum+Ihys

[0085] When the three-phase and current value Isum is "negative", determine whether it meets the judgment formula 3-2 (S134). When it meets the judgment formula 3-2, reduce the judgment parameter Njudge3 by 1 (S135). When it does not meet the judgment formula 3-2, do nothing.

[0086] Determination formula 3-2: Idce3-Idce4 <Isum-Ihys

[0087] In addition, similar to the above, the determination threshold Ihys may be a fixed value, or the target DC current change amount may be calculated using the following formula with the torque command value change amount ΔTcmd, the motor speed ω, the DC voltage value Vdc, and the power conversion efficiency η as variables, and the value corrected by the calculated value may be used as the determination threshold Ihys. By correcting the determination threshold using the target DC current change amount, it is possible to follow the rapid change in current caused by the command.

[0088] Judgment threshold = Ihys + ((ΔTcmd×ω) / (η×Vdc))

[0089] Figure 7 It is a diagram showing a configuration example of a gain failure determination table 1 according to the first embodiment.

[0090] The gain fault determination table 1 is used during power operation. In the gain fault determination table 1, the fault phase and gain fault mode of the AC current sensors 14a to 14c are recorded corresponding to the increase / decrease trend of the determination parameters Njudg1, Njudg2 and Njudg3. The gain fault mode shows whether the AC current sensors 14a to 14c have a fault of outputting a value greater than the true value or a fault of outputting a value less than the true value, and in a normal state, the gain of the AC current sensors 14a to 14c is 1.0. During power operation, the determination unit 28 determines the fault phase and gain fault mode of the AC current sensors 14a to 14c during power operation by using the gain fault determination table 1 according to the increase / decrease trend of the determination parameters Njudg1, Njudg2 and Njudg3 counted within the prescribed time T1. The determination unit 28 determines whether it is in power operation or in regeneration according to the target torque. For example, if the target torque is positive, it is in power operation, and if the target torque is negative, it is in regeneration. The determination unit 28 can determine whether the system is in power running or regeneration by estimating the DC current. For example, if one or more estimated DC currents are positive, the system is in power running, and if one or more estimated DC currents are negative, the system is in regeneration.

[0091] Figure 8 It is a diagram showing a configuration example of the gain failure determination table 2 of the first embodiment.

[0092] Gain fault determination table 2 and gain fault determination table 1 ( Figure 7 ) is also used for power operation. In the gain fault judgment table 2, the fault phase and gain fault mode of the AC current sensors 14a to 14c are recorded corresponding to the increase / decrease trend of the judgment parameters Njudg1, Njudg2 and Njudg3. Figure 7 ) When determining the fault phase and gain fault mode, the determination unit 28 determines the fault phase and gain fault mode of the AC current sensors 14a~14c during power operation by using the gain fault determination table 2, based on the increase / decrease trend of the determination parameters Njudg1, Njudg2, and Njudg3 counted within the specified time T2.

[0093] That is, under the ideal increasing and decreasing trend of the judgment parameter, the gain fault judgment table 1 ( Figure 7 ) is used for judgment, but depending on the thresholds and processing timing of data processing 1 to 3, sometimes the conditions specified in gain failure judgment table 1 are not met, and gain failure judgment table 2 ( Figure 8 ) to make a judgment, it is possible to get a judgment result.

[0094] In addition, the determination conditions of the gain failure determination table 1 and the determination conditions of the gain failure determination table 2 may be integrated to form a gain failure determination table.

[0095] Fig. 9 It is a diagram showing a configuration example of the gain failure determination table 3 of the first embodiment.

[0096] In the first embodiment, the same algorithm can be used to perform the determination process in both power running and regeneration. However, since the change trend of the estimated DC current value is different, it is necessary to use different determination tables in power running and regeneration.

[0097] The gain fault determination table 3 is used for regeneration. In the gain fault determination table 3, the fault phase and gain fault mode of the AC current sensors 14a to 14c are recorded corresponding to the increase / decrease trend of the determination parameters Njudg1, Njudg2, and Njudg3. The determination unit 28 determines the fault phase and gain fault mode of the AC current sensors 14a to 14c during regeneration based on the increase / decrease trend of the determination parameters Njudg1, Njudg2, and Njudg3 counted within the prescribed time T3 by using the gain fault determination table 3.

[0098] Fig.10 It is a diagram showing a configuration example of the gain failure determination table 4 of the first embodiment.

[0099] Gain fault determination table 4 and gain fault determination table 3 ( Fig. 9 ) is also used for regeneration. In the gain fault judgment table 4, the fault phase and gain fault mode of the AC current sensors 14a to 14c are recorded corresponding to the increase / decrease trend of the judgment parameters Njudg1, Njudg2 and Njudg3. Fig. 9 ) When determining the fault phase and gain fault mode, the determination unit 28 determines the fault phase and gain fault mode of the AC current sensors 14a~14c during power operation by using the gain fault determination table 4, based on the increase / decrease trend of the determination parameters Njudg1, Njudg2, and Njudg3 counted within the specified time T4.

[0100] That is, under the ideal increasing and decreasing trend of the judgment parameter, the gain fault judgment table 3 ( Fig. 9 ) is used for determination, but depending on the thresholds and processing timings of data processing 1 to 3, the conditions specified in gain failure determination table 3 are sometimes not met, and gain failure determination table 4 ( Fig.10 ) to make a judgment, it is possible to get a judgment result.

[0101] In addition, the determination conditions of the gain failure determination table 3 and the determination conditions of the gain failure determination table 4 may be integrated to form a gain failure determination table.

[0102] In the determination process described above, the prescribed times T1 to T4 for counting the determination parameters Njudg1, Njudg2 and Njudg3 may be different times or the same time, as long as T2 is longer than T1 and T4 is longer than T3.

[0103] Fig.11 1 is a diagram showing a current waveform when a failure occurs in the U-phase AC current sensor 14a.

[0104] When the U-phase electrical angle is 360°, a fault occurs, and the three-phase sum current value Isum, which is ideally 0 under normal conditions, changes. Although not shown in the figure, Idce1, Idce2, Idce3, and Idce4 also change asynchronously, so Idce1-Idce4 represented by the dotted line, Idce2-Idce4 represented by the dotted line, and Idce3-Idce4 represented by the dotted line also start to change.

[0105] When the U-phase electrical angle is between 360° and 540°, Isum is positive, so Isum+Ihys is the upper limit judgment threshold, and Idce1-Idce4 does not exceed the judgment threshold (the area within the judgment threshold is represented by the dot graph), but Idce2-Idce4 exceeds the judgment threshold at point A, and Idce3-Idce4 exceeds the judgment threshold at point B. In addition, when the U-phase electrical angle is between 540° and 720°, Isum is negative, so Isum-Ihys becomes the lower limit judgment threshold, and Idce1-Idce4 is less than the judgment threshold at point C. Therefore, at point A (U-phase electrical angle 380°, 740°, 1100°), the parameter Njudg2 is increased by 1; at point B (U-phase electrical angle 460°, 820°, 1180°), the parameter Njudg3 is increased by 1; and at point C (U-phase electrical angle 580°, 940°, 1300°), the parameter Njudg1 is decreased by 1.

[0106] If the specified time for fault judgment is set to 3 cycles, the judgment parameter Njudg1 is reduced by 3, the judgment parameter Njudg2 is increased by 3, and the judgment parameter Njudg3 is increased by 3. Therefore, if we refer to the gain fault judgment table 1 ( Figure 7 ), it can be seen that the U phase has a large gain fault.

[0107] When a gain failure occurs in the AC current sensors 14a to 14c, the estimated DC current value and the three-phase sum current value change. In the first embodiment, based on the principle that the three-phase sum current value is zero, the increase / decrease trend of the estimated DC current value is determined by using four estimated DC currents (Idce1 to Idce4) calculated using one phase or all three phases as the estimated AC current value and the three-phase sum current value Isum, thereby determining the magnitude of the gain failure and the fault phase.

[0108] That is, when the U-phase AC current sensor 14a fails, Idce1 calculated without using Ius becomes a true value. Idce2, Idce3, and Idce4 change with waveforms different from the true values. Therefore, the difference (Idce2-Idce4, Idce3-Idce4) between Idce1-Idec4 and other estimated DC current values ​​changes with different trends. By determining this change with the deviation amount from the three-phase sum current value Isum, the failure of the AC current sensor 14a can be determined.

[0109] As described above, in the first embodiment of the present invention, the failure of the AC current sensors 14a to 14c is determined based on the change of each estimated DC current value. Specifically, the difference of the estimated DC current value (e.g., Idce1-Idec4) and the deviation amount between the three phases and the current value Isum are compared with the predetermined threshold value Ihys. Moreover, when the change trend of one of the three estimated DC currents (e.g., Idce1) is different from that of the other estimated DC current values ​​(e.g., Idce2, Idce3), the U-phase AC current sensor 14a that detects the AC current sensor value Ius that is not used in the calculation of the estimated DC current value Idce1 with different change trend is determined to be faulty, so the failure of the AC current sensors 14a to 14c can be accurately determined. Even if the degree of failure (gain difference) of the AC current sensors 14a to 14c is small, the failure of the AC current sensors can be detected. Furthermore, even if the degree of gain failure of the AC current sensors 14a to 14c changes, the relative relationship between each estimated DC current value and the three-phase current value does not change, and thus determination can be made using the same algorithm.

[0110] <Example 2>

[0111] Next, Example 2 of the present invention is described. In Example 2, Figure 3 In step S107, the variation frequency of the estimated DC current is compared to determine the fault phase of the AC current sensors 14a to 14c. In the second embodiment, the fault phase is determined, but the gain fault mode is not determined. In the following description of the second embodiment, the differences from the first embodiment are mainly described, and the same reference numerals are given to the structures having the same functions as the first embodiment, and their descriptions are omitted.

[0112] For example, when a U-phase gain failure occurs, the estimated DC current value Idce1 calculated without using the AC current sensor value Ius of the U-phase AC current sensor 14a is not affected by the frequency fluctuation of the AC current, but the amplitudes of the estimated DC current values ​​Idce2 and Idce3 calculated using the AC current sensor value Ius of the U-phase AC current sensor 14a fluctuate in proportion to the frequency of the AC current. That is, the fluctuation frequency of the estimated DC current value Idce1 is different from that of the estimated DC current values ​​Idce2 and Idce3. Therefore, the change of the estimated DC current values ​​Idce1, Idce2, and Idce3 is determined based on the frequency, thereby determining the fault phase of the AC current sensors 14a to 14c.

[0113] The determination unit 28 measures the estimated DC current values ​​Idce1, Idce2, and Idce3 within a predetermined time T5, calculates the estimated DC current fluctuation frequencies F1, F2, and F3, compares the estimated DC current fluctuation frequencies F1, F2, and F3, and uses the gain failure determination table 5 (see Fig.12 ) Determine the fault phase of the AC current sensors 14a~14c.

[0114] When the measurement result of the predetermined time T5 is Fig.12 ) also does not meet the conditions, the determination unit 28 can further measure the estimated DC current values ​​Idce1, Idce2, Idce3 within the specified time T6, recalculate the estimated DC current variation frequencies F1, F2, F3, and use the results to make a new determination.

[0115] Fig.12 It is a diagram showing a configuration example of the gain failure determination table 5 of the second embodiment.

[0116] The fault phases of the AC current sensors 14a to 14c are recorded in correspondence with the magnitude relationship of the estimated DC current fluctuation frequencies F1, F2, and F3 in the gain failure determination table 5. The determination unit 28 uses the gain failure determination table 5 to compare the magnitudes of the fluctuation frequencies F1, F2, and F3 of the estimated DC current values ​​Idce1, Idce2, and Idce3 within the predetermined time T5, and determines that the AC current sensors 14a to 14c with the lowest fluctuation frequency have a fault.

[0117] As described above, according to the second embodiment of the present invention, the faulty phase of the AC current sensors 14a to 14c can be determined by simple calculation.

[0118] <Example 3>

[0119] Next, Example 3 of the present invention is described. In Example 3, Figure 3 In step S107, the difference (peak-to-peak value) between the maximum and minimum values ​​of the calculated estimated DC current values ​​Idce1, Idce2, and Idce3 is compared, thereby determining the fault phase of the AC current sensors 14a to 14c. In the third embodiment, the fault phase is determined, but the gain fault mode is not determined. In the following description of the second embodiment, the differences from the first embodiment are mainly described, and the same reference numerals are given to the structures having the same functions as the first embodiment, and their descriptions are omitted.

[0120] For example, when a U-phase gain failure occurs, the peak-to-peak value of the estimated DC current value Idce1 calculated without using the AC current sensor value Ius of the U-phase AC current sensor 14a is not affected by the gain failure, but the peak-to-peak values ​​of the estimated DC current values ​​Idce1, Idce2, and Idce3 calculated using the AC current sensor value Ius of the U-phase AC current sensor 14a increase in proportion to the degree of the gain failure. That is, when the AC current sensors 14a to 14c fail, the peak-to-peak values ​​of the calculated estimated DC current values ​​are different. Therefore, the change in the estimated DC current values ​​Idce1, Idce2, and Idce3 is determined based on the peak-to-peak value, thereby determining the fault phase of the AC current sensors 14a to 14c.

[0121] The determination unit 28 measures the estimated DC current values ​​Idce1, Idce2, and Idce3 within the predetermined time T7, calculates the peak-peak values ​​Idce1p-p, Idce2p-p, and Idce3p-p of the estimated DC current, compares the peak-peak values ​​Idce1p-p, Idce2p-p, and Idce3p-p of the estimated DC current, and uses the gain failure determination table 6 (refer to Fig.13 ) Determine the fault phase of the AC current sensors 14a~14c.

[0122] When the measurement result of the predetermined time T7 is Fig.13 ) also does not meet the conditions, the determination unit 28 can further measure the estimated DC current values ​​Idce1, Idce2, Idce3 within the specified time T8, recalculate the peak-to-peak values ​​Idce1p-p, Idce2p-p, Idce3p-p of the estimated DC current, and use the result to make a new determination.

[0123] Fig.13 It is a diagram showing a configuration example of a gain failure determination table 6 according to the third embodiment.

[0124] The fault phases of the AC current sensors 14a to 14c are recorded in correspondence with the magnitude relationship between the peak-peak values ​​Idce1p-p, Idce2p-p, and Idce3p-p of the estimated DC current in the gain fault determination table 6. The determination unit 28 uses the gain fault determination table 6 to compare the peak-peak values ​​Idce1p-p, Idce2p-p, and Idce3p-p of the estimated DC current values ​​Idce1, Idce2, and Idce3 at the predetermined time T7, and determines that the AC current sensor 14a to 14c with the smallest peak-peak value has a fault.

[0125] As described above, according to the third embodiment of the present invention, the faulty phase of the AC current sensors 14a to 14c can be determined by simple calculation.

[0126] As described above, the control device 15 of the power conversion device 1 of the embodiment of the present invention is a control device for controlling the motor 2 by supplying the inverter circuit 9 for converting the power from the direct current to the three-phase alternating current to the motor 2, and the output of the inverter circuit 9 is provided with the alternating current sensors 14a to 14c for detecting the alternating current of each phase of the three-phase alternating current, and the control device 15 (the alternating current sensor gain failure determination unit 25) calculates three estimated direct current values ​​Idce1 to Idce3 using the duty ratio value of the PWM signal for controlling the switch of the inverter circuit and the alternating current values ​​of two phases of the three phases detected by the current sensor (any two of Ius, Ivs, and Iws), and determines the failure of the alternating current sensors 14a to 14c based on the change of each calculated estimated direct current value, so that the fault phase and gain failure mode of the alternating current sensor can be determined without providing the direct current sensor. Even if the degree of failure (gain difference) of the alternating current sensor is small, the failure of the alternating current sensor can be detected.

[0127] In addition, the AC current sensor gain fault judgment unit 25 uses the value obtained by adding the change in the target DC current to a predetermined value as a specified threshold value, and judges the phase and fault type of the AC current sensors 14a~14c that have failed based on the comparison result between the value obtained by subtracting the estimated DC current value Idce4 from the estimated DC current values ​​Idce1, Idce2 and Idce3 respectively and the difference between the three-phase and current value Isum and the specified threshold value after correction. Therefore, by correcting the judgment threshold using the change in the target DC current, it can follow the sudden change in current caused by the instruction.

[0128] In addition, the AC current sensor gain fault determination unit 25 compares the calculated changes in each estimated DC current value with the first determination table (gain fault determination table 1, gain fault determination table 3) to determine the phase of the AC current sensors 14a~14c that have failed and the type of fault, that is, performs a first determination. When the fault of the AC current sensors 14a~14c cannot be determined by the first determination, the calculated changes in each estimated DC current value are compared with the second determination table (gain fault determination table 2, gain fault determination table 4) to determine the phase of the AC current sensors 14a~14c that have failed and the type of fault, that is, performs a second determination. Therefore, the fault of the AC current sensor can be accurately determined regardless of the influence of noise and the degree of gain fault (gain difference).

[0129] In addition, the AC current sensor gain fault determination unit 25 determines the fault of the AC current sensors 14a~14c based on the change of each estimated DC current value calculated within the first time, that is, performs a third determination. When the fault of the AC current sensors 14a~14c cannot be determined by the third determination, the fault of the AC current sensors 14a~14c is determined based on the change of each estimated DC current value calculated within the second time longer than the first time, that is, performs a fourth determination. Therefore, the fault of the AC current sensor can be accurately determined in a short time regardless of the influence of noise and the degree of gain failure (gain difference).

[0130] Furthermore, the AC current sensor gain failure determination unit 25 determines that the AC current sensors 14a to 14c have failed for the phase in which the frequency of the calculated estimated DC current value is the smallest. Therefore, the failed phase of the AC current sensors 14a to 14c can be determined by simple calculation.

[0131] Furthermore, the AC current sensor gain failure determination unit 25 determines that the current sensor has failed in the phase where the difference between the maximum and minimum values ​​of the calculated estimated DC current values ​​is the smallest. Therefore, the failed phase of the AC current sensors 14a to 14c can be determined by simple calculation.

[0132] In addition, the AC current sensor gain fault determination unit 25 determines the fault of the AC current sensors 14a~14c based on the frequencies of the estimated DC current values ​​calculated within the third time, that is, performs the fifth determination. When the fault of the AC current sensors 14a~14c cannot be determined by the fifth determination, the fault of the AC current sensors 14a~14c is determined based on the frequencies of the estimated DC current values ​​calculated within the fourth time that is longer than the third time, that is, performs the sixth determination. Therefore, the fault of the AC current sensor can be accurately determined in a short time regardless of the influence of noise and the degree of gain failure (gain difference).

[0133] In addition, the present invention is not limited to the above-mentioned embodiments, and includes various modifications and equivalent structures within the subject matter of the attached claims. For example, the embodiments are detailed descriptions for the purpose of facilitating the understanding of the present invention, and are not limited to having all the structures described. In addition, a part of the structure of a certain embodiment can be replaced with the structure of another embodiment. In addition, the structure of another embodiment can also be added to the structure of a certain embodiment.

[0134] Furthermore, with respect to a part of the structure of each embodiment, other structures may be added, deleted, or replaced.

[0135] In addition, the above-mentioned structures, functions, processing parts, processing units, etc. can also be implemented in part or in whole by hardware, for example through integrated circuit design, or can be implemented in software by having a processor interpret and execute programs used to implement each function.

[0136] Information such as programs, tables, and files that realize various functions may be stored in a storage device such as a memory, a hard disk, or an SSD (Solid State Drive), or a recording medium such as an IC card, an SD card, or a DVD.

[0137] Furthermore, although control lines and information lines necessary for explanation are shown, this does not limit the display to all control lines and information lines necessary for installation. In fact, it can be considered that almost all structures are connected to each other.

[0138] Description of symbols

[0139] 1 power conversion device, 2 motor, 3 DC power supply, 4 abnormality notification device, 7 angle sensor value, 9 inverter circuit, 10 voltage sensor, 14a~14c AC current sensor, 15 control device, 17 target current calculation unit, 19 duty ratio calculation unit, 21 PWM signal generation unit, 22 drive circuit, 23 motor speed calculation unit, 25 AC current sensor gain failure determination unit, 26 estimated DC current calculation unit, 28 determination unit, 90a~90f power semiconductor, 92 filter capacitor.

Claims

1. A control device for controlling a motor by supplying power to the motor by an inverter circuit that converts direct current into three-phase alternating current, characterized in that: A current sensor for detecting the AC current of each phase of the three-phase AC is provided at the output of the inverter circuit. The control device calculates three estimated DC current values ​​using a duty ratio value of a PWM signal for controlling a switch of the inverter circuit and AC current values ​​of two phases out of three phases detected by the current sensor. and determining a failure of the current sensor based on the calculated changes in the estimated DC current values, Assume that the duty cycle value of the PWM signal of the U phase is Du, the duty cycle value of the PWM signal of the V phase is Dv, the duty cycle value of the PWM signal of the W phase is Dw, the AC current value of the U phase is Ius, the AC current value of the V phase is Ivs, and the AC current value of the W phase is Iws. The first estimated DC current value Idce1, the second estimated DC current value Idce2, and the third estimated DC current value Idce3 are calculated using the following formula: Idce1=(-Ivs-Iws)×Du+Ivs×Dv+Iws×Dw Idce2=Ius×Du+(-Ius-Iws)×Dv+Iws×Dw Idce3=Ius×Du+Ivs×Dv+(-Ius-Ivs)×Dw.

2. The control device according to claim 1, characterized in that When a change trend of one of the three estimated DC current values ​​is different from that of the other estimated DC current values, a current sensor that detects an AC current value not used in calculating the estimated DC current value having a different change trend is determined to be faulty.

3. The control device according to claim 1, characterized in that: The control device calculates a first estimated DC current value Idce1 using Du, Dv, Dw, Ivs, and Iws, The second estimated DC current value Idce2 is calculated using Du, Dv, Dw, Iws and Ius, The third estimated DC current value Idce3 is calculated using Du, Dv, Dw, Ius and Ivs, A fourth estimated DC current value Idce4 is calculated using Du, Dv, Dw, Ius, Ivs, and Iws, The phase in which the current sensor fails and the type of failure are determined based on a comparison result between a value obtained by subtracting the fourth estimated DC current value Idce4 from the first estimated DC current value Idce1, the second estimated DC current value Idce2, and the third estimated DC current value Idce3, and a difference between the three-phase sum current value Isum and a prescribed threshold value Ihys.

4. The control device according to claim 3, characterized in that: The fourth estimated DC current value Idce4 is calculated using the following formula: When the three-phase sum current value Isum is positive and meets the judgment formula 1-1, the judgment parameter Njudge1 is increased by 1. When the three-phase sum current value Isum is negative and meets the judgment formula 1-2, the judgment parameter Njudge1 is reduced by 1. When the three-phase sum current value Isum is positive and meets the judgment formula 2-1, the judgment parameter Njudge2 is increased by 1. When the three-phase sum current value Isum is negative and meets the judgment formula 2-2, the judgment parameter Njudge2 is reduced by 1. When the three-phase sum current value Isum is positive and meets the judgment formula 3-1, the judgment parameter Njudge3 is increased by 1. When the three-phase sum current value Isum is negative and meets the judgment formula 3-2, the judgment parameter Njudge3 is reduced by 1. The phase and type of the fault of the current sensor are determined based on the changes in the judgment parameters Njudge1, Njudge2, and Njudge3 within a specified time. Idce4=(-Ivs-Iws)×Du+(-Ius-Iws)×Dv+(-Ius-Ivs)×Dw Decision formula 1-1: Idce1-Idce4>Isum+Ihys Decision expression 1-2: Idce1-Idce4 <Isum-Ihys Decision 2-1: Idce2-Idce4>Isum+Ihys Decision 2-2: Idce2-Idce4 <Isum-Ihys Decision 3-1: Idce3-Idce4>Isum+Ihys Determination formula 3-2: Idce3-Idce4 <Isum-Ihys。 5. The control device according to claim 3 or 4, characterized in that: The control device corrects the prescribed threshold value by adding the amount of change in the target DC current to a predetermined value, The phase in which the current sensor fails and the type of failure are determined based on a comparison result between a value obtained by subtracting the fourth estimated DC current value Idce4 from the first estimated DC current value Idce1, the second estimated DC current value Idce2, and the third estimated DC current value Idce3, respectively, and the difference between the three-phase sum current value Isum and the corrected prescribed threshold value.

6. The control device according to claim 1, characterized in that: The calculated changes of each of the estimated DC current values ​​are compared with the first determination table to determine the phase and type of failure of the current sensor, that is, to perform a first determination, When the first determination fails to determine the failure of the current sensor, the second determination is performed by comparing the calculated changes in the estimated DC current values ​​with a second determination table to determine the phase and type of failure of the current sensor.

7. The control device according to claim 1, characterized in that: a third determination is made based on the change in each of the estimated DC current values ​​calculated within the first time period to determine that the current sensor is faulty; When the third determination cannot determine that the current sensor has failed, a fourth determination is performed to determine that the current sensor has failed based on changes in the estimated DC current values ​​calculated within a second time period longer than the first time period.

8. The control device according to claim 1, characterized in that: For the phase in which the calculated frequency of the estimated DC current value is the smallest, it is determined that the current sensor has failed.

9. The control device according to claim 8, characterized in that a fifth determination is made by determining that the current sensor is faulty based on the frequency of each of the estimated DC current values ​​calculated within the third time; When the fifth determination fails to determine whether the current sensor is faulty, a sixth determination is performed to determine whether the current sensor is faulty based on the frequency of each of the estimated DC current values ​​calculated within a fourth time that is longer than the third time.

10. The control device according to claim 1, characterized in that: For the phase in which the difference between the calculated maximum value and the calculated minimum value of the estimated DC current value is the smallest, it is determined that the current sensor has failed.

11. The control device according to claim 10, characterized in that The seventh determination is performed by determining whether the current sensor is faulty based on the difference between the maximum value and the minimum value of each of the estimated DC current values ​​calculated within the fifth time period. When the seventh determination fails to determine the failure of the current sensor, an eighth determination is performed to determine the failure of the current sensor based on the difference between the maximum value and the minimum value of each of the estimated DC current values ​​calculated within a sixth time longer than the fifth time.

12. A method for determining a fault of a current sensor executed by a control device for controlling a motor by providing an inverter circuit for converting a direct current into a three-phase alternating current to the motor, characterized in that: A current sensor for detecting the AC current of each phase of the three-phase AC is provided at the output of the inverter circuit. In the method, The control device calculates each estimated DC current value using a duty value of a PWM signal for controlling a switch of the inverter circuit and AC current values ​​of two phases out of three phases detected by the current sensor. The control device determines a failure of the current sensor based on changes in the calculated estimated DC current values, Assume that the duty cycle value of the PWM signal of the U phase is Du, the duty cycle value of the PWM signal of the V phase is Dv, the duty cycle value of the PWM signal of the W phase is Dw, the AC current value of the U phase is Ius, the AC current value of the V phase is Ivs, and the AC current value of the W phase is Iws. The first estimated DC current value Idce1, the second estimated DC current value Idce2, and the third estimated DC current value Idce3 are calculated using the following formula: Idce1=(-Ivs-Iws)×Du+Ivs×Dv+Iws×Dw Idce2=Ius×Du+(-Ius-Iws)×Dv+Iws×Dw Idce3=Ius×Du+Ivs×Dv+(-Ius-Ivs)×Dw.