Signal processing device and program
By setting multiple AD converters at the connection points of the closed circuit and using Kirchhoff's law to calculate the sum of the currents, the problem of too many channels in the existing technology is solved, and AD conversion can be effectively determined with a smaller number of channels. abnormality, reducing parts and wiring man-hours.
Patent Information
- Application Number
- CN202380022249.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-02-22
- Filing Date
- 2023-02-16
- Publication Date
- 2024-09-27
AI Technical Summary
When detecting AD converter faults, existing signal processing devices need to aggregate multiple channels, resulting in an increase in the number of components and wiring man-hours, and it is difficult to effectively reduce the number of channels to determine abnormalities.
By setting up multiple AD converters at the connection points of the closed circuit, and using Kirchhoff's law to calculate the total current value, if the absolute value is greater than the determination threshold, it is determined that the AD converter is abnormal, and the total number of channels is reduced to determine the abnormality.
It is possible to determine AD converter abnormalities with a smaller number of channels, reduce the number of components and wiring hours, and at the same time improve the reliability of the signal processing device.
Smart Images

Figure CN118715718A
Abstract
Description
[0001] Cross-references of related applications
[0002] This application is based on Japanese application No. 2022-025609 filed on February 22, 2022, and the contents described therein are incorporated herein by reference. Technical Field
[0003] The present disclosure relates to a signal processing device and a program. Background Art
[0004] At present, there is a known technology for detecting faults of AD converters in a signal processing device that performs AD conversion on an input signal. For example, Patent Document 1 discloses a fault detection method in which the same analog signal is redundantly input into two independent AD converters, and if the digital data output by each AD converter is equal to each other, it is judged to be normal, and if they are not equal, it is judged to be abnormal.
[0005] Prior art literature
[0006] Patent Literature
[0007] Patent Document 1: Japanese Patent Application Publication No. 2000-151405 Summary of the invention
[0008] For example, when the prior art of Patent Document 1 is applied to a signal processing device for inputting signals of current sensors provided in current paths of respective phases of a three-phase motor, since the three-phase sensor signals are input to two AD converters respectively, a total of six channels are required. Generally, for N types of input signals, the prior art of Patent Document 1 requires a total number of channels of 2N, which increases the number of components and wiring man-hours.
[0009] An object of the present disclosure is to provide a signal processing device and a program for determining abnormality of an AD converter while reducing the total number of channels in a signal processing device that AD-converts a sensor signal of a current flowing into or out of a connection point of a closed circuit.
[0010] The signal processing device of the present disclosure performs analog-to-digital conversion on a plurality of sensor signals input from current sensors respectively disposed in N (N is an integer greater than or equal to 3) current paths connected to the connection points of the closed circuit, and outputs the signals as conversion signals. For example, sensor signals of phase currents are input to the signal processing device from current sensors disposed in the current paths of the U-phase, V-phase, and W-phase connected to the neutral point of a star-connected three-phase motor.
[0011] The signal processing device includes two or more and N or less AD converters and an abnormality determination unit that are independently arranged. From the perspective of ensuring reliability equal to or higher than that of the prior art of Patent Document 1, the minimum necessary prerequisite is to have two or more independent AD converters. Each AD converter has at least one channel to which a sensor signal is input.
[0012] The abnormality judgment unit calculates the sum of N conversion signals corresponding to the current flowing into and out of the connection point, i.e., the current sum value, for the conversion signals output by each AD converter. When the absolute value of the current sum value is greater than the judgment threshold, it is judged that a channel of a certain AD converter is abnormal.
[0013] In the two or more and N or less AD converters, the total number of channels to which sensor signals are input is greater than N and less than 2N-1. At least one sensor signal among the N sensor signals output from each current sensor is input to each AD converter. That is, assuming that even if there are input signals for other purposes, they are excluded, there is no AD converter to which the sensor signal input from the current sensor set as the object of the present disclosure is not input.
[0014] According to Kirchhoff's law, the sum of the currents flowing into and out of the connection points of a closed circuit is 0. Therefore, when the sum of the N conversion signals, i.e., the current sum value, is greater than the judgment threshold, it can be judged that the conversion signal of a certain channel of a certain AD converter is abnormal. Considering the deviation of current detection and conversion, the judgment threshold is set to the upper limit of the absolute value of the range that is substantially regarded as 0.
[0015] In the present disclosure, it is possible to determine the abnormality of the AD converter with a total number of channels greater than N and less than 2N-1, which is less than 2N in the prior art. Therefore, the number of components and wiring man-hours can be reduced. In addition, by comparing the current sum values calculated by using multiple combinations of conversion signals of channels greater than N+1 and less than 2N-1, it is possible to infer the channel of the abnormal AD converter.
[0016] In addition, the present disclosure is also provided as a program that causes a signal processing device to determine that a certain channel of a certain AD converter is abnormal. Thus, the same operation and effect as that of the signal processing device is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above-mentioned and other objects, features and advantages of the present disclosure will become more apparent through the following detailed description with reference to the accompanying drawings. The accompanying drawings are as follows:
[0018] Figure 1 is a structural diagram of a motor drive system to which the signal processing device of the first embodiment is applied;
[0019] Figure 2is a block diagram of a signal processing device according to a first embodiment;
[0020] Figure 3 It is a time diagram showing the sum value of phase current in normal state;
[0021] Figure 4 is a time chart showing the phase current sum value when the Iw channel of the second AD converter is abnormal (1);
[0022] Figure 5 is a time chart (2) showing the phase current sum value when the Iw channel of the second AD converter is abnormal;
[0023] Figure 6 is a flowchart of the AD converter abnormality determination process according to the first embodiment;
[0024] Figure 7 is a block diagram of a signal processing device according to a second embodiment;
[0025] Figure 8 is a flowchart of the AD converter abnormality determination process according to the second embodiment;
[0026] Fig. 9 is a block diagram of a signal processing device according to a third embodiment;
[0027] Fig.10 is a flowchart of an AD converter abnormality determination process according to a third embodiment;
[0028] Fig.11 yes Fig.10 The sub-process of discrimination processing Figure 1 ;
[0029] Fig.12 yes Fig.10 The sub-process of discrimination processing Figure 2 ;
[0030] Fig.13 is a block diagram of a signal processing device according to a fourth embodiment;
[0031] Fig.14 is a block diagram of a signal processing device according to a fifth embodiment;
[0032] Fig.15 is a block diagram of a signal processing device according to a sixth embodiment;
[0033] Fig.16 is a block diagram of a signal processing device according to a comparative example. DETAILED DESCRIPTION
[0034] A signal processing device and a program of multiple embodiments are described based on the accompanying drawings. The first to sixth embodiments below are collectively referred to as "this embodiment". The signal processing device of this embodiment is applied to a drive system of a three-phase motor. The signal processing device performs analog-to-digital conversion (hereinafter referred to as "AD conversion") on three sensor signals input from three current sensors provided in the current path of each phase, and outputs them as conversion signals.
[0035] [System Structure]
[0036] First, refer to Figure 1 The overall structure of the motor drive system 90 to which the signal processing device of each embodiment is applied will be described. Figure 1 , the structure of the signal processing device 301 of the first embodiment is shown as a representative. For example, the motor drive system 90 is a system for driving a permanent magnet synchronous three-phase AC motor 80 used as a main motor of a hybrid vehicle. The motor drive system 90 converts the DC power of the high-voltage battery 16 into three-phase AC power by using the inverter 60, and passes the three-phase AC current from the inverter 60 to the motor 80 to drive the motor 80.
[0037] The inverter 60 connects six switch elements 61 to 66 of the upper and lower bridge arms in a bridge shape. Specifically, the switch elements 61, 62, and 63 are switch elements of the upper bridge arms of the U phase, the V phase, and the W phase, respectively, and the switch elements 64, 65, and 66 are switch elements of the lower bridge arms of the U phase, the V phase, and the W phase, respectively. The switch elements 61 to 66 are, for example, composed of IGBTs, and the switch elements 61 to 66 are connected in parallel with freewheeling diodes that allow current to flow from the low potential side to the high potential side.
[0038] The inverter 60 operates the switching elements 61 to 66 according to the switching signal ("SW signal" in the figure) generated by the inverter control device 50 of the ECU 200, thereby converting the DC power into three-phase AC power and passing the three-phase AC current to each phase winding 81, 82, 83. A capacitor 16 for smoothing the input voltage is provided on the battery 16 side of the inverter 60.
[0039] The current sensors 71, 72, 73 are respectively provided in the current paths 81, 82, 83 connected to the respective phase windings of the motor 80, and detect the phase currents flowing into the windings 81, 82, 83. The current sensor 71 detects the U-phase current Iu, the current sensor 72 detects the V-phase current Iv, and the current sensor 73 detects the W-phase current Iw. Each current sensor 71, 72, 73 outputs the detected current as a sensor signal Iu, Iv, Iw to the signal processing device 301 of the ECU 200. In the present embodiment, it is assumed that the current sensors 71, 72, 73 are normal.
[0040] For example, in a three-phase motor 80 connected in star connection, the current paths 81, 82, 83 of each phase are connected to the connection point of the closed circuit, that is, the neutral point P. According to Kirchhoff's law, the sum of the currents flowing into and out of the connection point P of the closed circuit is 0. That is, for the sensor signals Iu, Iv, Iw of the three current sensors 71, 72, 73 respectively provided in the three current paths 81, 82, 83 connected to the connection point P of the closed circuit, the relationship "Iu+Iv+Iw=0" holds.
[0041] ECU200 includes a signal processing device 301 and an inverter control device 50, and operates with power supplied from an ECU power supply 12 of about 12V. For example, the signal processing device 301 of the first embodiment includes two AD converters 31 and 32 and an abnormality determination unit 40. The abnormality determination unit 40 and the inverter control device 50 of the signal processing device 301 are composed of a microcomputer, etc., and are internally equipped with a CPU, ROM, RAM, I / O, and bus lines connecting these structures, etc., which are not shown in the figure. The microcomputer performs software processing by executing a pre-stored program by the CPU, and controls hardware processing by a dedicated electronic circuit.
[0042] In the first embodiment, two AD converters 31 and 32 are provided independently of each other and have at least one channel into which sensor signals Iu, Iv, and Iw are input. In the figure, the first AD converter 31 is recorded as "ADC1" and the second AD converter 32 is recorded as "ADC2". The AD converters 31 and 32 perform AD conversion on the sensor signals Iu, Iv, and Iw input from the current sensors 71, 72, and 73, and output them as conversion signals CIu1, CIv1, and CIw2.
[0043] In the fourth to sixth embodiments, the number of mutually independent AD converters is 3. In each AD converter, the number of channels into which sensor signals Iu, Iv, Iw are input, that is, the number of conversion signals output from each channel, differs according to each embodiment.
[0044] The abnormality determination unit 40 determines the abnormality of the AD converters 31 and 32 . The determination method will be described in detail later. If the abnormality determination unit 40 determines that any one of the AD converters 31 and 32 is abnormal, it transmits an abnormality signal to the inverter control device 50 .
[0045] The inverter control device 50 obtains the phase current conversion signals CIu1, CIv1, and CIw2 from the signal processing device 301. In addition, the inverter control device 50 receives the rotation angle θ of the motor 80 from a rotation angle sensor (not shown) and the torque command Trq from the upper vehicle control circuit. *The inverter control device 50 controls the operation of the inverter 60 by, for example, current feedback control based on the information. In addition, if an abnormality signal is transmitted from the abnormality determination unit 40, the inverter control device 50 performs abnormality processing according to the situation.
[0046] Regarding abnormality determination of AD converters, for example, Patent Document 1 (Japanese Patent Publication No. 2000-151405) discloses a method of redundantly inputting the same analog signal to two independent AD converters and comparing the digital data output by each AD converter to determine abnormality. Fig.16 10A and 10B show, as a comparative example, a structure of a signal processing device to which the conventional technology is applied to sensor signals Iu, Iv, and Iw of three-phase current are input.
[0047] In the comparative example signal processing device 309, three-phase sensor signals Iu, Iv, Iw are respectively input to two three-channel AD converters 31 and 32. The first AD converter 31 outputs conversion signals CIu1, CIv1, CIw1, and the second AD converter 32 outputs conversion signals CIu2, CIv2, CIw2.
[0048] The abnormality determination unit 49 of the comparative example compares the conversion signals of the two AD converters 31 and 32 for each sensor signal, and determines that an abnormality occurs if the difference is greater than the determination threshold value Dth. That is, when |CIu1-CIu2|>Dth, or |CIv1-CIv2|>Dth, or |CIw1-CIw2|>Dth, it is determined that one of the two AD converters 31 and 32 is abnormal. In addition, considering the deviation of current detection and conversion, the determination threshold value Dth is set to a value that is substantially regarded as 0.
[0049] In the comparative example signal processing device 309, the total number of channels of the two AD converters 31 and 32 is six. Generally, for N types of input signals, the total number of channels in the comparative example signal processing device 309 is 2N, which increases the number of components and wiring man-hours.
[0050] Therefore, the purpose of the signal processing device of this embodiment is to determine the abnormality of the AD converter while reducing the total number of channels of two or three AD converters. In this embodiment, as the main failure mode of the AD converter, it is assumed that during normal operation, a fixed failure occurs in the conversion signal of a certain channel of a certain AD converter. For example, in the initial inspection stage, it is detected that the power supply of the AD converter is not turned on and the conversion signal of all channels becomes 0. Each embodiment is described below.
[0051] <First Embodiment>
[0052] Figure 2 1 and 2 only briefly show the structure related to the abnormality determination of the AD converters 31 and 32 in the signal processing device 301 of the first embodiment. Figure 1 , the output of the conversion signals CIu1, CIv1, and CIw2 from the AD converters 31 and 32 to the inverter control device 50 is omitted. Figure 2 Illustration for standard purposes.
[0053] Generally speaking, the signal processing device inputs N sensor signals from N current sensors (N is an integer greater than 3) into a total of channels greater than N and less than 2N-1 of two or more and less than N AD converters. At least one sensor signal among the N sensor signals output from each current sensor is input to each AD converter. That is, there is no AD converter to which no sensor signal is input.
[0054] In the first embodiment, sensor signals from N current sensors are input to a total of N channels of two AD converters. When N=3, sensor signals from three current sensors 71 , 72 , 73 are input to a total of three channels of two AD converters 31 , 32 .
[0055] exist Figure 2 In the example of , the first AD converter 31 has two channels to which sensor signals are input, and the second AD converter 32 has one channel to which sensor signals are input. The total number of channels to which sensor signals are input in the two AD converters 31 and 32 is 3, that is, N.
[0056] The first AD converter 31 receives the U-phase sensor signal Iu and the V-phase sensor signal Iv and outputs conversion signals CIu1 and CIv1. The second AD converter 32 receives the W-phase sensor signal Iw and outputs conversion signal CIw2. The three sensor signals Iu, Iv, and Iw are input to the two AD converters 31 and 32 separately without duplication.
[0057] The abnormality determination unit 40 calculates the sum of the three conversion signals CIu1, CIv1, and CIw2 corresponding to the current flowing into and out of the connection point P, i.e., the "current sum value", for the conversion signals output by each AD converter 31, 32. In particular, in the present embodiment, the current detected by the current sensors 71, 72, and 73 is the phase current of the three-phase motor, and is therefore referred to as the "phase current sum value". The abnormality determination unit 40 performs abnormality determination of the AD converters 31, 32 based on the phase current sum value according to the logic described later. In addition, the phase current sum value itself is a voltage signal.
[0058] exist Figure 3 to Figure 5The time diagram shows the changes of the conversion signals CIu1, CIv1, CIw2 and the phase current sum S over time. Figure 3 In the normal state shown, after the AD conversion is completed, the output is the sinusoidal conversion signals CIu1, CIv1, CIw2 with phases shifted by 120 degrees. Strictly speaking, the conversion signal is a discrete value, but it is assumed that its conversion cycle is sufficiently short relative to one electrical cycle, so it is illustrated as a continuous sinusoidal waveform.
[0059] A determination threshold value Sth close to 0 is set for the phase current sum value S. Considering the detection deviation of the current sensors 71, 72, 73 and the conversion deviation of the AD converters 31, 32, the range of ±Sth corresponds to a range that can be regarded as substantially 0. According to Kirchhoff's law, the absolute value |CIu1+CIv1+CIw2| of the phase current sum value S in a normal state is less than the determination threshold value Sth, that is, substantially 0. When the absolute value |CIu1+CIv1+CIw2| of the phase current sum value S is greater than the determination threshold value Sth, the abnormality determination unit 40 determines that one of the two AD converters 31, 32 is abnormal.
[0060] exist Figure 4 In the figure, it is shown that the conversion signal CIw2 has an abnormality due to a failure of the second AD converter 32. The thin dotted line is the conversion signal CIw2 in normal state. After the abnormality occurs, as shown by the thick dotted line, the conversion signal CIw2 is constant at the value C(α) of α when the abnormality occurs. The phase current sum S becomes the value obtained by adding C(α) to the sum of the two normal conversion signals CIu1 and CIv1. Since the sum of the two normal conversion signals CIu1 and CIv1 is equal to "-CIw2" after the positive and negative inversion of the normal conversion signal CIw2, the phase current sum S after the abnormality occurs becomes a sine wave obtained by offsetting the sine wave with the opposite phase to the normal conversion signal CIw2. In the case where the abnormality occurs at a moment α near the peak of the conversion signal CIv2, the absolute value of the phase current sum S after the abnormality occurs |CIu1+CIv1+CIw2| is always greater than the judgment threshold Sth, and it can be clearly judged as an abnormality.
[0061] exist Figure 5 In the figure, it is shown that Figure 4At different moments, the conversion signal CIw2 may be abnormal due to a failure of the second AD converter 32. When an abnormality occurs at a moment β near the zero-crossing point of the conversion signal CIv2, that is, when the value C(β) of the conversion signal CIv2 of β is close to 0 when the abnormality occurs, the phase current sum value S after the abnormality occurs fluctuates across 0. Therefore, after the abnormality occurs, a period ε in which the absolute value |CIu1+CIv1+CIw2| of the phase current sum value S is below the determination threshold Sth will also occur in one electrical cycle. Therefore, the abnormality determination unit 40 calculates the phase current sum value S multiple times during one electrical cycle, for example, after the absolute value |CIu1+CIv1+CIw2| of the phase current sum value S exceeds the determination threshold Sth. Then, the abnormality determination unit 40 determines the abnormality determination based on the determination logic described later.
[0062] exist Figure 6 The flowchart of shows the abnormality determination process of the AD converter of the first embodiment. The acquisition period, number of times and determination logic of the conversion signal are shown as an example, and other determination logics can also be used. The symbol "S" in the flowchart refers to a step. In addition, Figure 6 The flowchart of exemplifies a procedure for operating the abnormality determination unit 40 so as to execute predetermined steps in the signal processing device 301. The flowcharts of the second and third embodiments are also interpreted in the same manner.
[0063] In S11, the abnormality determination unit 40 obtains the conversion signals CIu1 and CIv1 from the first AD converter 31 and obtains the conversion signal CIw2 from the second AD converter 32. During a period of one electrical cycle or more, each conversion signal is obtained a predetermined number of times or more in one electrical cycle. In S12, the abnormality determination unit 40 calculates the phase current sum S each time the conversion signals CIu1, CIv1, and CIw2 are obtained.
[0064] In S13, it is determined whether the absolute value |CIu1+CIv1+CIw2| of the phase current sum S is equal to or less than the determination threshold Sth. As described above, the determination threshold Sth is set to the upper limit of the absolute value of the range that is substantially regarded as zero in consideration of variations in current detection and conversion.
[0065] like Figure 5 As shown, even if the conversion signal CIw2 is abnormal, a period in which the absolute value |CIu1+CIv1+CIw2| of the phase current sum value S is less than the determination threshold value Sth may occur depending on the time when the abnormality occurs. Therefore, a determination logic for preventing erroneous determination is required. For example, the abnormality determination unit 40 determines whether the number of times the absolute value |CIu1+CIv1+CIw2| of the phase current sum value S is less than the determination threshold value Sth is greater than a predetermined ratio in one electrical cycle.
[0066] Alternatively, after filtering the sensor signals Iu, Iv, and Iw to remove noise, the absolute value of the phase current sum S may be evaluated after confirming that the maximum and minimum values in one electrical cycle of each conversion signal exceed the threshold, that is, a sinusoidal change occurs. In addition, it is also possible to confirm that a sinusoidal change occurs based on the time change rate of each conversion signal. According to the determination logic, an abnormality determination can be made from the time when the abnormality occurs to before one electrical cycle passes. The comparison step between the absolute value of the phase current sum S and the determination threshold Sth in the flowcharts of the second and third embodiments is performed based on this determination logic.
[0067] If "yes" is determined in S13, in S14, it is determined that the Iu channel and Iv channel of the first AD converter 31 and the Iw channel of the second AD converter 32 are normal. In S14, "ADC1_UV: normal" means that both the Iu channel and the Iv channel of the first AD converter 31 are normal. That is, when multiple channels are normal, "and" of "U and V" is omitted to indicate it.
[0068] In the case of "No" in S13, in S15, it is determined that one of the Iu channel and Iv channel of the first AD converter 31 or the Iw channel of the second AD converter 32 is abnormal. In S15, "ADC1_U or V: abnormal" means that one of the Iu channel and Iv channel of the first AD converter 31 is abnormal. That is, when one of the multiple channels is abnormal, it is marked as "or". The normal / abnormal marking method of S14 and S15 is applicable to each flowchart of the second and third embodiments.
[0069] As described above, the signal processing device 301 of the first embodiment can use Kirchhoff's law to satisfy this requirement for the conversion signals CIu1, CIv1, and CIv2 of the three-phase current, and can determine the abnormality of the AD converters 31 and 32 with a total of three channels. That is, the abnormality of the AD converters 31 and 32 can be determined with a total number of channels less than that of the signal processing device 309 of the comparative example, and the number of components and wiring man-hours can be reduced.
[0070] In addition, Japanese Patent Application Laid-Open No. 6-253585 (hereinafter referred to as "reference") discloses an abnormality detection device that detects abnormality based on the sum of the output values of the three-phase current sensors for detecting the current of the three-phase motor winding. However, the abnormality detection device of the reference is a device for detecting abnormality of the current sensor, and does not mention anything about the AD converter.
[0071] In contrast, the signal processing device of this embodiment is provided with two or three AD converters independently provided from the viewpoint of ensuring the reliability of the AD converter, and the abnormality of the AD converter is determined on the premise that the current sensor is normal. If the technology of the reference is simply transferred to the abnormality determination of the AD converter, only one AD converter is sufficient, and there is no need to provide two or three AD converters independently provided. The signal processing device of this embodiment is characterized in that the abnormality of the AD converter is determined by reducing the total number of channels in a structure having multiple AD converters.
[0072] <Second Embodiment>
[0073] Next, refer to Figure 7 , Figure 8 The signal processing device 302 of the second embodiment is described. In the second embodiment, the sensor signals from the N current sensors are input to the total N+1 channels of the two AD converters. When N=3, the sensor signals from the three current sensors 71, 72, 73 are input to the total four channels of the two AD converters 31, 32.
[0074] exist Figure 7 In the example of FIG. 1 , the first AD converter 31 has three channels to which sensor signals are input, and the second AD converter 32 has one channel to which sensor signals are input. In the two AD converters 31 and 32, the total number of channels to which sensor signals are input is 4, that is, N+1.
[0075] The first AD converter 31 receives the U-phase sensor signal Iu, the V-phase sensor signal Iv, and the W-phase sensor signal Iw, and outputs conversion signals CIu1, CIv1, and CIw1. The second AD converter 32 receives the W-phase sensor signal Iw, and outputs a conversion signal CIw2. That is, the W-phase sensor signal Iw is input to both AD converters as a sensor signal.
[0076] exist Figure 8 The flowchart of FIG. 2 shows the AD converter abnormality determination processing of the second embodiment. In S21, the abnormality determination unit 40 obtains the conversion signals CIu1, CIv1, CIw1 from the first AD converter 31, and obtains the conversion signal CIw2 from the second AD converter 32. In S22, the abnormality determination unit 40 uses the conversion signals CIu1 and CIv1 of the U-phase and V-phase sensor signals Iu and Iv together, and only exchanges the conversion signals CIw1 and CIw2 of the W-phase sensor signal Iw to calculate the two phase current sum values S.
[0077] In S23, it is determined whether the absolute value |CIu1+CIv1+CIw1| of the phase current sum value S is less than or equal to the determination threshold value Sth. If the answer is "yes" in S23, it is determined in S24 whether the absolute value |CIu1+CIv1+CIw2| of the phase current sum value S is less than or equal to the determination threshold value Sth. If the answer is "no" in S23, it is determined in S25 whether the absolute value |CIu1+CIv1+CIw2| of the phase current sum value S is less than or equal to the determination threshold value Sth.
[0078] If "yes" is determined in S24, it is determined in S26 that all channels of the first AD converter 31 and the second AD converter 32 are normal. If "no" is determined in S24, it is determined in S27 that all channels of the first AD converter 31 are normal and the Iw channel of the second AD converter 32 is abnormal. If "yes" is determined in S25, it is determined in S28 that the Iw channel of the first AD converter 31 is abnormal and the Iw channel of the second AD converter 32 is normal. In addition, in the first AD converter 31, the description that the Iu channel and the Iv channel other than the abnormal Iw channel are normal is omitted.
[0079] In the case of "No" in S25, the following is considered. If it is assumed that the two AD converters 31 and 32 may fail at the same time, it is also possible to imagine that the conversion signals CIu1 and CIv1 commonly included in the phase current sum value S are normal and the conversion signals CIw1 and CIw2 added respectively are abnormal. However, in reality, the probability of the two AD converters 31 and 32 failing at the same time is extremely low and is considered to be zero. Therefore, in this abnormality determination process, "abnormality occurs in only one channel" is set as a premise. Therefore, it is concluded that one of the conversion signals CIu1 and CIv1 commonly included in the phase current sum value S is abnormal.
[0080] Therefore, if S25 is "No", S29 determines that either the Iu channel or the Iv channel of the first AD converter 31 is abnormal and the Iw channel of the second AD converter 32 is normal. The extent of the abnormality of either the Iu channel or the Iv channel of the first AD converter 31 cannot be determined.
[0081] That is, when the channel of the W-phase sensor signal Iw commonly input to the two AD converters is abnormal, it is possible to determine that the Iw channel of the first AD converter 31 or the second AD converter 32 is abnormal. When the channel of the non-common sensor signals Iu and Iv is abnormal, at least the abnormality of the first AD converter 31 can be determined.
[0082] The abnormality determination unit 40 more or less narrows the range of abnormal channels as "estimated abnormal AD converter channel". In the AD converter abnormality determination process of the second embodiment, the abnormal AD converter channel can be estimated by comparing a plurality of phase current sum values S calculated by a plurality of combinations of conversion signals.
[0083] <Third Embodiment>
[0084] Next, refer to Figures 9 to 12 The signal processing device 303 of the third embodiment is described. In the third embodiment, the sensor signals from N current sensors are input to a total of 2N-1 channels of two AD converters. When N=3, the sensor signals from the three current sensors 71, 72, 73 are input to a total of five channels of the two AD converters 31, 32.
[0085] exist Fig. 9 In the example of , the first AD converter 31 has three channels to which sensor signals are input, and the second AD converter 32 has two channels to which sensor signals are input. In the two AD converters 31 and 32, the total number of channels to which sensor signals are input is 5, that is, 2N-1.
[0086] The first AD converter 31 receives the U-phase sensor signal Iu, the V-phase sensor signal Iv, and the W-phase sensor signal Iw, and outputs conversion signals CIu1, CIv1, and CIw1. The second AD converter 32 receives the V-phase sensor signal Iv and the W-phase sensor signal Iw, and outputs conversion signals CIv2 and CIw2. That is, the two sensor signals, the V-phase sensor signal Iv and the W-phase sensor signal Iw, are input to the two AD converters.
[0087] exist Fig.10 The flowchart of FIG. 3 shows the AD converter abnormality determination processing of the third embodiment. In S31, the abnormality determination unit 40 obtains the conversion signals CIu1, CIv1, and CIw1 from the first AD converter 31, and obtains the conversion signals CIu2 and CIw2 from the second AD converter 32. In S32, the abnormality determination unit 40 uses the conversion signal CIu1 of the U-phase sensor signal Iu in common, and exchanges the conversion signals CIv1 and CIv2 of the V-phase sensor signal Iv and the conversion signals CIw1 and CIw2 of the W-phase sensor signal Iw to calculate the two phase current sum values S.
[0088] In S33, it is determined whether the absolute value |CIu1+CIv1+CIw1| of the phase current sum value S is less than or equal to the determination threshold value Sth. If the answer is "yes" in S33, it is determined in S34 whether the absolute value |CIu1+CIv2+CIw2| of the phase current sum value S is less than or equal to the determination threshold value Sth. In addition, if the answer is "no" in S33, it is determined in S35 whether the absolute value |CIu1+CIv2+CIw2| of the phase current sum value S is less than or equal to the determination threshold value Sth.
[0089] If "yes" is determined in S34, all channels of the first AD converter 31 and the second AD converter 32 are determined to be normal in S36. If "no" is determined in S34, all channels of the first AD converter 31 are determined to be normal and the Iv channel or Iw channel of the second AD converter 32 is abnormal in S37. Then, the process proceeds to the determination process of S37A.
[0090] In the case of "Yes" in S35, it is determined in S38 that the Iv channel or Iw channel of the first AD converter 31 is abnormal and the Iv channel and Iw channel of the second AD converter 32 are normal. Then, the determination process of S38A is entered. In the case of "No" in S35, the abnormality determination is performed on the premise that "the abnormality occurs only in one channel". Therefore, in the case of "No" in S35, it is determined in S39 that the Iu channel of the first AD converter 31 is abnormal and the Iv channel and Iw channel of the AD converter 31 and the second AD converter 32 are normal.
[0091] Fig.11 The sub-flowchart of S37A is shown in FIG. In S371, the results of "yes" in S33 and "no" in S34 are recorded for confirmation. In S372, the conversion signals Cw1 and Cw2 in the two phase current sum values S of S371 are exchanged, and the two phase current sum values S are further calculated.
[0092] In S373, it is determined whether the absolute value |CIu1+CIv1+CIw2| of the phase current sum value S is less than the determination threshold value Sth, and whether |CIu1+CIv2+CIw1| is greater than the determination threshold value Sth. In the case of "No" in S373, in S374, it is determined whether the absolute value |CIu1+CIv1+CIw2| of the phase current sum value S is greater than the determination threshold value Sth, and whether |CIu1+CIv2+CIw1| is less than the determination threshold value Sth. In theory, one of S373 or S374 should be "Yes" and the other should be "No".
[0093] In the case of "yes" in S373, the conversion signal CIv2 surrounded by the double-dashed line is considered to be abnormal. That is, it is determined that the Iv channel of the second AD converter 32 is abnormal and the Iw channel is normal. In the case of "yes" in S374, the conversion signal CIw2 surrounded by the double-dashed line is considered to be abnormal. That is, it is determined that the Iv channel of the second AD converter 32 is normal and the Iw channel is abnormal. In this way, in the determination process of S37A, the abnormal channel of the second AD converter 32 is determined. In addition, it is also possible not to perform the determination process in two stages. Fig.10 The main process and Fig.11 Instead of the judgment processing, the logic is set to calculate the total value S of the four phase currents from the beginning and make a judgment.
[0094] exist Fig.12 The sub-flow chart of the determination process of S38A is shown in FIG. Fig.11 In the determination process of S38A, an abnormal channel among the Iv channel or the Iw channel of the first AD converter 31 is identified.
[0095] In the AD converter abnormality determination process of the third embodiment, by comparing a plurality of phase current total values S calculated from a plurality of combinations of conversion signals, it is possible to estimate the abnormal AD converter channel and identify abnormalities in all five channels.
[0096] <Fourth, Fifth, and Sixth Implementation Methods>
[0097] Next, refer to Figure 13 to Figure 15 The fourth to sixth embodiments in which the signal processing device has three AD converters 31, 32, 33 equal to the number of current sensors 71, 72, 73 are described. In the figure, the third AD converter 33 is recorded as "ADC3". In the fourth to sixth embodiments, the sensor signals from the N current sensors are input to the channels of the N AD converters, which are greater than N and less than 2N-1 in total. When N=3, the sensor signals from the three current sensors 71, 72, 73 are input to the channels of the three AD converters 31, 32, 33, which are greater than three and less than five in total.
[0098] In the fourth to sixth embodiments, for each of the N types, a total of N sensor signals composed of one are divided and input into N AD converters. In the case of N=3, for each of the three types, a total of three sensor signals Iu, Iv, Iw composed of one are divided and input into three AD converters 31, 32, 33.
[0099] exist Fig.13In the signal processing device 304 of the fourth embodiment shown, the first AD converter 31, the second AD converter 32, and the third AD converter 33 each have one channel to which the sensor signal is input. The total number of channels to which the sensor signal is input in the three AD converters 31, 32, and 33 is 3, that is, N.
[0100] The first AD converter 31 receives the U-phase sensor signal Iu as input and outputs a conversion signal CIu1. The second AD converter 32 receives the V-phase sensor signal Iv as input and outputs a conversion signal CIv2. The third AD converter 33 receives the W-phase sensor signal Iw as input and outputs a conversion signal CIw3. The three sensor signals Iu, Iv, and Iw are input separately to the three AD converters 31, 32, and 33 without duplication.
[0101] When the absolute value |CIu1+CIv2+CIw3| of the phase current sum S is larger than the determination threshold value Sth, the abnormality determination unit 40 determines that any one of the three AD converters 31, 32, and 33 is abnormal. It is not possible to determine which AD converter is abnormal.
[0102] In the signal processing device 301 of the first embodiment, the first AD converter 31 performs AD conversion on the input U-phase sensor signal Iu and the V-phase sensor signal Iv in sequence. Since AD conversion cannot be performed simultaneously, a sampling and holding circuit and a multiplexer circuit are required in the AD converter. In contrast, in the signal processing device 304 of the fourth embodiment, three AD converters 31, 32, and 33 can be used to perform AD conversion on the three-phase sensor signals Iu, Iv, and Iw simultaneously, so the structure in the AD converter is simple, and the abnormality detection time can be shortened.
[0103] Fig.14 The signal processing device 305 of the fifth embodiment shown is a device obtained by combining the fourth embodiment and the second embodiment. The first AD converter 31 has two channels to which sensor signals are input, and the second AD converter 32 and the third AD converter 33 each have one channel to which sensor signals are input. In the three AD converters 31, 32, and 33, the total number of channels to which sensor signals are input is 4, that is, N+1.
[0104] The first AD converter 31 receives the U-phase sensor signal Iu and the W-phase sensor signal Iw, and outputs conversion signals CIu1 and CIw1. The second AD converter 32 receives the V-phase sensor signal Iv, and outputs a conversion signal CIv2. The third AD converter 33 receives the W-phase sensor signal Iw, and outputs a conversion signal CIw3. That is, the W-phase sensor signal Iw is input to both AD converters. Since the same type of sensor signal is not input to the same AD converter, the second W-phase sensor signal Iw is input to one of the two AD converters other than the AD converter to which the first W-phase sensor signal Iw is input.
[0105] The abnormality determination unit 40 determines the presence or absence of an abnormality based on the absolute values of the two phase current sum values S |CIu1+CIv2+CIw3| and |CIu1+CIv2+CIw1|. When the absolute value of one or both phase current sum values S is greater than the determination threshold value Sth, the abnormality determination unit 40 determines the presence or absence of an abnormality by comparing with Figure 8 The same process distinguishes the normality / abnormality of the channels of each AD converter. Therefore, in the fifth embodiment, in addition to shortening the abnormality detection time, it is also possible to estimate the abnormal channel of the AD converter.
[0106] Fig.15 The signal processing device 306 of the sixth embodiment shown is a device obtained by combining the fourth embodiment and the third embodiment. The first AD converter 31 and the second AD converter 32 each have two channels to which sensor signals are input, and the third AD converter 33 has one channel to which sensor signals are input. In the three AD converters 31, 32, and 33, the total number of channels to which sensor signals are input is 5, that is, 2N-1.
[0107] The first AD converter 31 receives the U-phase sensor signal Iu and the V-phase sensor signal Iv as inputs, and outputs conversion signals CIu1 and CIv1. The second AD converter 32 receives the V-phase sensor signal Iv and the W-phase sensor signal Iw as inputs, and outputs conversion signals CIv2 and CIw2. The third AD converter 33 receives the W-phase sensor signal Iw as inputs, and outputs conversion signal CIw3. That is, the V-phase sensor signal Iv and the W-phase sensor signal Iw are respectively input to two AD converters in common.
[0108] The abnormality determination unit 40 determines the presence or absence of an abnormality based on the absolute values of the two phase current sum values S, |CIu1+CIv2+CIw3| and |CIu1+CIv1+CIw2|, for example. When the absolute value of one or both phase current sum values S is greater than the determination threshold value Sth, the abnormality determination unit 40 determines the presence or absence of an abnormality by comparing the absolute values of the two phase current sum values S to the determination threshold value Sth. Figure 10 to Figure 12The same process distinguishes the normality / abnormality of the channels of each AD converter. Therefore, in the sixth embodiment, in addition to shortening the abnormality detection time, the channel of the abnormal AD converter can be identified.
[0109] <Other Embodiments>
[0110] (a) When the current sensor is set in the phase current path of a multi-phase motor, it is not limited to a three-phase motor, and can also be set in the phase current path of a motor with four or more phases. In the case of an N-phase motor (N is an integer greater than 3), N current paths are connected to the connection point of the closed circuit. For example, when N=4, the total number of channels into which the sensor signal is input is one of 4, 5, 6, and 7. In addition, the signal processing device disclosed in the present invention can be applied to all systems with connection points of closed circuits to which Kirchhoff's laws can be applied, and is not limited to motor drive systems.
[0111] (b) For the structures illustrated in the figures of each embodiment, multiple equivalent structures can be obtained by simply changing the three phases of the sensor signal and the order of two or three AD converters. For example, in the first embodiment, since one of the two AD converters 31 and 32 is a channel, one of the three-phase sensor signals Iu, Iv, and Iw is input to the one channel, so there are six structures. The second and third embodiments also have six structures.
[0112] In the fourth embodiment, according to the order of the three phases, 3P3=6 kinds. In the fifth embodiment, a sensor signal of one phase is repeatedly input for each mode of the fourth embodiment. Since the case where the same type of sensor signal is input to the same AD converter is excluded, the repeated second sensor signal is input to one of the two AD converters other than the AD converter to which the first sensor signal is input. Therefore, it is 6×3×2=36 kinds. In the sixth embodiment, two kinds of sensor signals are input to two AD converters among the three AD converters 31, 32, and 33, and one kind of sensor signal is input to one AD converter. It is 72 kinds, but the calculation method is omitted.
[0113] As mentioned above, the present disclosure is not limited to the above-mentioned embodiment at all, and can be implemented in various forms within the scope not departing from the gist of the present disclosure.
[0114] The abnormality determination unit and method thereof described in the present disclosure may also be implemented by a special-purpose computer as follows: the special-purpose computer is provided by constituting a processor and a memory programmed to execute one or more functions embodied by a computer program. Alternatively, the abnormality determination unit and method thereof described in the present disclosure may also be implemented by a special-purpose computer as follows: the special-purpose computer is provided by constituting a processor composed of one or more special-purpose hardware logic circuits. Alternatively, the abnormality determination unit and method thereof described in the present disclosure may also be implemented by one or more special-purpose computers as follows: the one or more special-purpose computers are constituted by a combination of a processor and a memory programmed to execute one or more functions and a processor constituted by one or more hardware logic circuits. In addition, the computer program may also be stored as instructions executed by a computer in a computer-readable non-transient tangible recording medium.
[0115] The present disclosure is described in accordance with the embodiments. However, the present disclosure is not limited to the embodiments and configurations. The present disclosure also includes various modifications and modifications within the equivalent range. In addition, various combinations and methods, and further other combinations and methods including only one element, more or less elements, also fall within the scope and scope of the present disclosure.
Claims
1. A signal processing device for performing analog-to-digital conversion on a plurality of sensor signals input from current sensors (71, 72, 73) respectively arranged in N current paths (81, 82, 83) connected to a connection point (P) of a closed circuit, and outputting the signals as conversion signals, wherein N is an integer greater than or equal to 3, the signal processing device comprising: Two or more and N or less AD converters (31, 32, 33), which are independently arranged and have at least one channel into which the sensor signal is input; and an abnormality determination unit (40) which calculates, for the conversion signals output by each of the AD converters, a sum of N conversion signals corresponding to the current flowing into and out of the connection point, i.e., a current sum value, and determines that a certain channel of a certain AD converter is abnormal when an absolute value of the current sum value is greater than a determination threshold; In the two or more and N or less AD converters, the total number of channels to which the sensor signal is input is N or more and 2N-1 or less, At least one sensor signal among the N types of sensor signals output from the current sensors is input to each of the AD converters.
2. The signal processing device according to claim 1, characterized in that In the two or more and N or less AD converters, the total number of channels to which the sensor signal is input is N, The N types of sensor signals are divided and input into two or more AD converters without duplication.
3. The signal processing device according to claim 1, characterized in that In the two or more and N or less AD converters, the total number of channels to which the sensor signals are input is N+1 or more and 2N-1 or less, and at least one of the sensor signals is commonly input to the two or more AD converters. The abnormality determination unit compares the plurality of current sum values calculated from the plurality of combinations of the conversion signals to estimate a channel of the AD converter that is abnormal.
4. The signal processing device according to claim 2 or 3, characterized in that: The signal processing device includes N AD converters. For each of the N types, a total of N sensor signals consisting of one of the sensor signals are divided and input into the N AD converters.
5. The signal processing device according to any one of claims 1 to 4, characterized in that: The signal processing device is applied to a motor drive system (90) that drives a motor (80) by passing a multi-phase alternating current from an inverter (60). The current sensor detects a phase current flowing through a current path connected to each phase winding of the motor.
6. A program for a signal processing device that performs analog-to-digital conversion on a plurality of sensor signals input from current sensors (71, 72, 73) respectively arranged in N current paths (81, 82, 83) connected to a connection point (P) in a closed circuit, and outputs the signals as conversion signals, wherein N is an integer greater than or equal to 3, wherein the program is characterized in that: The signal processing device includes two or more and N or less AD converters (31, 32, 33), which are independently arranged and each have at least one channel to which the sensor signal is input. In the two or more and N or less AD converters, the total number of channels to which the sensor signal is input is N or more and 2N-1 or less, The signal processing device inputs at least one sensor signal among the N types of sensor signals output from each current sensor to each AD converter, The program causes the signal processing device to calculate the sum of the N conversion signals corresponding to the current flowing into and out of the connection point, that is, the current sum value, for the conversion signals output by each AD converter. When the absolute value of the current sum value is greater than a judgment threshold, the signal processing device determines that a channel of a certain AD converter is abnormal.
