The present invention relates to a current sensor.
A current sensor includes setting data that associates the magnitude of current with detection signals in a predetermined correspondence relationship. The current sensor outputs a detection signal corresponding to the magnitude of detected current based on the setting data. In some cases, the current sensor cannot continuously output a predetermined detection signal corresponding to the magnitude of detected current due to various causes such as an environmental change. To solve the problem, the current sensor is calibrated to correct the setting data.
The calibration is generally performed by letting the current sensor detect direct current as described in PTL 1.
PTL 1: JP 2001-124802 A
The current sensor may detect alternating current, not direct current. In this case, when the alternating current is detected with use of setting data corrected based on calibration using direct current, there is a problem in which an error is generated between a current value derived from a detection signal and a true value of the alternating current.
A current sensor according to a preferable aspect of the present invention includes: a current detection unit that detects alternating current flowing in a conductor; and a storage unit that stores correction data based on a detection value of predetermined calibration alternating current flowing in the conductor, the detection value being detected by the current detection unit.
According to the present invention, when alternating current is detected with use of a current sensor, an error generated between a current value derived from a detection signal and a true value of the alternating current can be reduced.
A bus bar 7 is made of a conductor such as copper. The bus bar 7 is a part of a main circuit of the inverter. Current output from a power module or the like flows in the bus bar 7. When the current flows in the bus bar 7, magnetic flux is generated, centering on the bus bar 7.
The current sensor 8 detects the magnetic flux generated by the current flowing in the bus bar 7 and outputs a detection signal to an inverter circuit board 9.
The inverter circuit board 9 is a control board of the inverter and performs feedback control with use of the detection signal received from the current sensor 8.
A configuration of the current sensor 8 will be described. The current sensor 8 includes a current sensor circuit 1, a current sensor board 2, a communication terminal 3, a peripheral electronic component 4, a magnetic shield 5, and a structure mold 6.
The communication terminal 3 is a terminal that electrically connects the current sensor circuit 1 to the inverter circuit board 9. The communication terminal 3 transmits a signal of the current sensor circuit 1 to the inverter circuit board 9. The communication terminal 3 also transmits a signal from the inverter circuit board 9 to the current sensor circuit 1. Details of transmission of the signal from the inverter circuit board 9 to the current sensor circuit 1 will be described below. The communication terminal 3 further transmits electric power for use in operation of the current sensor circuit 1.
The current sensor circuit 1 detects the magnetic flux generated by the current flowing in the bus bar 7 and outputs a detection signal to the inverter circuit board 9 via the communication terminal 3. Details of the current sensor circuit 1 will be described below.
The peripheral electronic component 4 is a peripheral RC chip component mounted on the current sensor board 2.
The current sensor board 2 is a board on which the current sensor circuit 1, the communication terminal 3, and the peripheral electronic component 4 are mounted. The current sensor board 2 is fixed to the bus bar 7 via the structure mold 6 so that the current sensor circuit 1 may be located away from the bus bar 7 as much as a predetermined distance.
The magnetic shield 5 is provided to decrease an influence of a magnetic noise. As illustrated in
The structure mold 6 is a structure mold that structurally holds the current sensor board 2, the magnetic shield 5, and a part of the bus bar 7.
The current sensor circuit 1 includes a magnetic flux detection unit 11, a signal adjustment unit 12, a control unit 13, a communication unit 14, and a memory 15.
The control unit 13 controls operations of the respective other components of the current sensor circuit 1.
The memory 15 is a data-rewritable memory such as an EEPROM. The memory 15 stores setting data including offset data and output gain data. The setting data stored in the memory 15 is output to the signal adjustment unit 12 by the control unit 13 as needed. Also, at the time of below-mentioned calibration of the setting data, the setting data stored in the memory 15 is corrected by the control unit 13.
The magnetic flux detection unit 11 detects current flowing in the bus bar 7. Specifically, the magnetic flux detection unit 11 includes a hall element and detects magnetic flux generated by the current flowing in the bus bar 7 by means of the hall element to detect the current flowing in the bus bar 7. The magnetic flux detection unit 11 then outputs a voltage signal corresponding to the magnitude of the detected current to the signal adjustment unit 12.
The signal adjustment unit 12 generates a detection signal based on the resultant current detected by the magnetic flux detection unit 11 and the setting data stored in the memory 15. Specifically, the signal adjustment unit 12 generates the detection signal by doing offset adjustment and gain adjustment of the voltage signal received from the magnetic flux detection unit 11 based on the setting data stored in the memory 15 and output from the control unit 13. The signal adjustment unit 12 is designed to erase stored setting data each time the electric power supply is stopped. Thus, the signal adjustment unit 12 receives setting data from the control unit 13 each time the current sensor circuit 1 is activated.
The communication unit 14 outputs the detection signal obtained from the signal adjustment unit 12 to the inverter circuit board 9 (refer to
Each of
The reference current sensor 29 is a reference current sensor that can detect current flowing in the bus bar 22 with high accuracy.
The bus bar 22 is made of a conductor such as copper. The bus bar 22 is connected to the alternating current generation unit 24 at both ends thereof. The reference current sensor 29 and the current sensor 8 detect alternating current flowing in the bus bar 22 (below-mentioned calibration alternating current) and output detection signals to the current sensor output comparison unit 26.
The alternating current generation unit 24 is a single-phase alternating current generation source and mainly includes a not-illustrated voltage adjustment unit and a not-illustrated transformer. The alternating current generation unit 24 communicates with the current sensor output comparison unit 26 to receive an instruction from the current sensor output comparison unit 26 and output alternating current to the bus bar 22. This alternating current will be referred to as calibration alternating current.
The current sensor output comparison unit 26 instructs the alternating current generation unit 24 to output the calibration alternating current at the time of below-mentioned output gain adjustment. The current sensor output comparison unit 26 compares an output of the reference current sensor 29 with an output of the current sensor 8 and outputs the difference of the output voltage to the current sensor communication unit 27.
The current sensor communication unit 27 generates the correction data for correcting the setting data stored in the memory 15 of the current sensor 8 based on the aforementioned difference of the output voltage and outputs the correction data to the current sensor 8. The current sensor 8 corrects the setting data stored in the memory 15 with use of the correction data.
The switch 21 switches between the current sensor output comparison unit 26 and the current sensor communication unit 27 as a destination of the current sensor 8.
When the calibration flow is started (step S01), the procedure moves to step S02. In step S02, no current flows in the bus bar 22. In this state, the current sensor output comparison unit 26 measures respective offset voltage of the current sensor 8 and the reference current sensor 29. After step S02, the procedure moves to step S03.
In step S03, the current sensor output comparison unit 26 subtracts the offset voltage of the reference current sensor 29 from the offset voltage of the current sensor 8 to calculate an offset voltage error. The current sensor output comparison unit 26 transmits offset correction data including the offset voltage error to the current sensor communication unit 27. After step S03, the procedure moves to step S04.
In step S04, the current sensor communication unit 27 outputs the aforementioned offset correction data to the current sensor 8. In the current sensor 8, the control unit 13 corrects the offset data of the setting data stored in the memory 15 with use of the aforementioned offset correction data. Specifically, the control unit 13 adds the offset voltage error to the offset data of the setting data. After step S04, the procedure moves to step S05.
In step S05, the current sensor output comparison unit 26 measures respective offset voltage of the current sensor 8 and the reference current sensor 29 in a state of no electric conduction to the bus bar 22 in a similar manner to step S02. The current sensor output comparison unit 26 then checks if the voltage value of the offset voltage of the current sensor 8 falls within a targeted output range. That is, the current sensor output comparison unit 26 determines if the difference derived by subtracting the offset voltage of the reference current sensor 29 from the offset voltage of the current sensor 8 is equal to or less than a predetermined value. In a case of affirmative determination, the procedure moves to step S06. In a case of negative determination, the procedure moves to step S02, and the similar procedure follows. In a case in which the negative determination is given a predetermined number of times, such as five times, in step S05, the current sensor 8 is determined to be a defective product.
In step S06, the alternating current generation unit 24 provides the bus bar 22 with the calibration alternating current in response to an instruction of the current sensor output comparison unit 26. The frequency of the calibration alternating current is a frequency for the time when the current sensor 8 is actually used, that is, a frequency of alternating current to be measured. Also, due to a below-mentioned reason (refer to
In step S07, the current sensor output comparison unit 26 calculates an output gain error from the voltage waveforms of the current sensor 8 and the reference current sensor 29. The current sensor output comparison unit 26 transmits output gain correction data including the output gain error to the current sensor communication unit 27. After step S07, the procedure moves to step S08.
In step S08, the current sensor communication unit 27 outputs the aforementioned output gain correction data to the current sensor 8. In the current sensor 8, the control unit 13 corrects the output gain data of the setting data stored in the memory 15 with use of the aforementioned output gain correction data. Specifically, the control unit 13 adds the output gain error to the output gain data of the setting data. After step S08, the procedure moves to step S09.
In step S09, the current sensor output comparison unit 26 measures respective output voltage waveforms of the current sensor 8 and the reference current sensor 29 in a state in which the calibration alternating current flows in the bus bar 22 in a similar manner to step S06. The current sensor output comparison unit 26 then checks if the voltage amplified by the output gain of the current sensor 8 falls within a targeted output range. That is, the current sensor output comparison unit 26 determines if the difference between the amplitude of the output voltage waveform of the current sensor 8 and the amplitude of the output voltage waveform of the reference current sensor 29 is equal to or less than a predetermined value. In a case of affirmative determination, the procedure moves to step S10 to end the flow. In a case of negative determination, the procedure moves to step S06, and the similar procedure follows. In a case in which the negative determination is given a predetermined number of times, such as five times, in step S09, the current sensor 8 is determined to be a defective product.
By calibrating the current sensor 8 based on the flowchart illustrated in
Also, at the time of calibration using direct current, in many cases, calibration is performed at two points consisting of 0 A (first adjustment point) and the aforementioned positive-side current value at which calibration can be performed (second adjustment point) while calibration is not performed on the negative side. As a result, although calibration along a dashed line L3 is supposed to be performed, calibration along a solid line L4 may actually be performed.
As described above, in the case in which calibration is performed using direct current, there is a current area at which calibration is not performed, and an error may be generated in the output voltage due to a reason other than the aforementioned skin effect (refer to
The current sensor according to the present embodiment is configured in the following manner and has the following effects.
(1) The current sensor 8 includes the magnetic flux detection unit 11 that detects magnetic flux generated by alternating current flowing in the bus bars 7 and 22 serving as conductors to detect the alternating current and the memory 15 that stores setting data based on a detection value of predetermined calibration alternating current flowing in the bus bar 22 detected by the magnetic flux detection unit 11.
Accordingly, when the current sensor 8 detects alternating current, no detection error can be generated.
(2) The frequency of the calibration alternating current is determined based on a frequency of alternating current to be measured.
Accordingly, when the current sensor 8 detects alternating current to be measured, no error can be generated.
(3) The current sensor 8 further includes the signal adjustment unit 12 and the communication unit 14 that output a detection signal based on the resultant alternating current detected by the magnetic flux detection unit 11 and the setting data stored in the memory 15.
Accordingly, when the current sensor 8 detects alternating current and outputs a detection signal to an outside, a high-accuracy detection signal can be output.
(4) The current sensor 8 further includes the communication terminal 3 via which the detection signal is output and via which the correction data for the setting data is received.
Accordingly, the number of communication terminals is not required to be increased unnecessarily, which can contribute to space saving.
(5) The current sensor 8 further includes the current sensor board 2 provided with the magnetic flux detection unit 11 and the memory 15, and the communication terminal 3 is provided on the current sensor board 2.
Accordingly, the magnetic flux detection unit 11, the memory 15, and the communication terminal 3 can be provided together on the current sensor board 2.
In such a current detection module 31, in which current of a plurality of phases flows, a problem occurs in which the current sensor of one current detection unit 30 detects magnetic flux generated by current flowing in another current detection unit 30. Details thereof will be described. In
Solid lines 801a, 801b, and 801c illustrated in
In the present embodiment, calibration is performed using three-phase alternating current. This is a main difference from the calibration according to the first embodiment (
A calibration device 120 has a configuration from which the current sensors 8U, 8V, and 8W (product sensors) to be calibrated are at least eliminated. That is, the calibration device 120 includes a current sensor calibration unit 125, an alternating current generation unit 124, a bus bar 122, and reference current sensors 129U, 129V, and 129W. Meanwhile, the current sensor calibration unit 125 includes a current sensor output comparison unit, a current sensor communication unit, and a switch fitted to three-phase alternating current detection although these are not illustrated.
The bus bar 122 includes bus bars 122U, 122V, and 122W. Respective first ends of the bus bars 122U, 122V, and 122W are connected to each other at a point 122P while respective second ends thereof are connected to the alternating current generation unit 124. The bus bars 122U, 122V, and 122W are provided with the reference current sensors 129U, 129V, and 129W and the current sensors 8U, 8V, and 8W to be calibrated, respectively.
The alternating current generation unit 124 outputs three-phase alternating current in response to an instruction of the current sensor calibration unit 125. Thus, at the point 122P, the sum of current of the respective phases is zero. That is, IU+IV+IW=0 A is established.
Description of a flowchart of the calibration according to the present embodiment will be omitted since the flowchart is similar to the calibration flowchart according to the first embodiment (
By performing calibration using the three-phase alternating current in this manner, an error caused by interference with alternating current of the other phases can be corrected, and no error will be included in an output of each of the current sensors 8. Also, in the present embodiment as well as in the first embodiment, no error (refer to
The current sensor according to the present embodiment is configured in the following manner and has the following effects in addition to the effects according to the first embodiment.
The magnetic flux detection unit 11 detects magnetic flux generated by three-phase alternating current flowing in the three bus bars to respectively detect the three-phase alternating current flowing in the three bus bars. Calibration alternating current is also three-phase alternating current corresponding to the targets to be measured, and current of the respective phases flows in the three respective bus bars.
Accordingly, an error caused by interference with alternating current of the other phases can be corrected, and no error will be included in an output of each of the current sensors 8.
The power inversion device 50 includes the current detection module 31, an inverter circuit 51, a smoothing capacitor 52, an inverter circuit board 59, and terminals P1, P2, P3, P4, P5, P6, and P7.
Respective first ends of the bus bars 7U, 7V, and 7W of the current detection module 31 on the right side of the figure are connected to the terminals P5, P6, and P7, respectively. To the terminals P5, P6, and P7, loads such as three-phase motors are normally connected. Also, respective second ends of the bus bars 7U, 7V, and 7W of the current detection module 31 on the left side of the figure are connected to output terminals 51U, 51V, and 51W of the inverter circuit 51, respectively.
The inverter circuit 51 is connected via the smoothing capacitor 52 and the terminal P1 to a not-illustrated high-voltage power source and is supplied from the high-voltage power source with power to be output to an outside via the terminals P5, P6, and P7. The inverter circuit 51 includes high-side U-phase switch UH, V-phase switch VH, and W-phase switch WH and low-side U-phase switch UL, V-phase switch VL, and W-phase switch WL. These switches are controlled by a control circuit 53.
The inverter circuit board 59 includes the control circuit 53 and a switch 54. The control circuit 53 is supplied from a not-illustrated low-voltage power source with low-voltage power via the terminal P3. The control circuit 53 receives a control communication signal from a not-illustrated control device via the terminal P2 and is operated. The control circuit 53 controls the switch 54 as well as the switches UH, VH, WH, UL, VL, and WL included in the inverter circuit 51. The switch 54 is controlled so that the switch 54 may be turned off in a case of below-mentioned calibration and may be turned on in the other cases (normal cases). The control circuit 53 receives detection signals from the current sensors 8U, 8V, and 8W in normal cases. The reason for turning off the switch 54 in the case of calibration is to prevent a signal of the communication terminal 3 from being input in the control circuit 53 to enable the setting data of the current sensor 8 to be corrected (rewritten) normally by a calibration device.
The bus bars 222U, 222V, and 222W of the calibration device 220 are connected to the terminals P5, P6, and P7 of the power inversion device 50, respectively. Three-phase calibration alternating current generated from the alternating current generation unit 224 is input via the bus bars 222U, 222V, and 222W and the terminals P5, P6, and P7 to the power inversion device 50, respectively. Thus, the three-phase calibration alternating current flows in the bus bars 7U, 7V, and 7W. At this time, detection signals output from the current sensors 8U, 8V, and 8W of the power inversion device 50 are input in the current sensor calibration unit 225. Output signals of the reference current sensors 229U, 229V, and 229W are also input in the current sensor calibration unit 225. The current sensor calibration unit 225 calculates differences between the detection signals of the current sensors 8U, 8V, and 8W and the output signals of the reference current sensors 229U, 229V, and 229W in terms of the U phase, V phase, and W phase, respectively. Based on the differences, the current sensor calibration unit 225 generates correction data for correcting the setting data of the respective phases and outputs the correction data to the current sensors 8U, 8V, and 8W, respectively. The switch 54 is controlled so that the switch 54 may be turned off at the time of correcting the setting data stored in the memory 15 of the current sensor circuit 1 of the current sensor 8, that is, at the time of calibration. After the switch 54 is turned off to disconnect the calibration device 220 from the control circuit 53, the calibration device 220 corrects the aforementioned setting data.
Meanwhile, at the time of the calibration according to the present embodiment, power supply from the high-voltage power source is stopped. Also, in the inverter circuit 51, the high-side U-phase switch UH, V-phase switch VH, and W-phase switch WH are turned off. Conversely, the low-side U-phase switch UL, V-phase switch VL, and W-phase switch WL are turned on. In such switch states, a point corresponding to the point 122P illustrated in
The current sensor according to the present embodiment is configured in the following manner and has the following effects.
The current sensor 8 is mounted on the power inversion device 50 including the inverter circuit 51 including the plurality of switching elements UH, UL, VH, VL, WH, and WL, the inverter direct-current terminal P1 electrically connected to the inverter circuit 51, and the inverter alternating-current terminals P5, P6, and P7 electrically connected to the inverter circuit 51.
The plurality of bus bars 7U, 7V, and 7W are connected to the inverter circuit 51 and the inverter alternating-current terminals P5, P6, and P7.
The respective switching elements UH, UL, VH, VL, WH, and WL of the inverter circuit 51 are in predetermined switch states. That is, the high-side U-phase switch UH, V-phase switch VH, and W-phase switch WH are turned off. Conversely, the low-side U-phase switch UL, V-phase switch VL, and W-phase switch WL are turned on.
By connecting the inverter alternating-current terminals P5, P6, and P7 to the alternating current generation unit 224 serving as a calibration current source provided outside the power inversion device 50, calibration alternating current flows in the plurality of bus bars 7U, 7V, and 7W.
Accordingly, the current sensor 8 can be calibrated without disconnecting the current sensor 8 from the power inversion device 50. Also, unlike the second embodiment, since the current sensor 8 is calibrated in the power inversion device 50, on which the current sensor 8 is actually mounted, calibration can be performed under conditions more similar to actual use environment conditions (for example, conditions such as a magnetic flux density distribution).
In the present embodiment, the current sensor 8 is calibrated when the power inversion device 50 outputs alternating current to the motor M serving as a load. The calibration device 320 according to the present embodiment is provided between the power inversion device 50 and the motor M. First ends of winding wires 61, 62, and 63 of the motor M are connected to the calibration device 320 while second ends of the winding wires 61, 62, and 63 are connected to each other. The calibration device 320 includes a current sensor calibration unit 325, bus bars 322U, 322V, and 322W, and reference current sensors 329U, 329V, and 329W. That is, the calibration device 320 includes no alternating current generation unit. In the present embodiment, high-voltage power of the power inversion device 50 from the high-voltage power source is used. The control circuit 53 controls the switches UH, UL, VH, VL, WH, and WL so that the inverter circuit may output three-phase alternating current. The alternating current output from the inverter circuit 51 flows in the bus bars 7U, 7V, and 7W, passes through the terminals P5, P6, and P7, flows in the bus bars 322U, 322V, and 322W of the calibration device 320, and reaches the U-phase winding wire 61, V-phase winding wire 62, and W-phase winding wire 63 of the motor M. At this time, detection signals output from the current sensors 8U, 8V, and 8W of the power inversion device 50 are input in the current sensor calibration unit 325. Output signals of the reference current sensors 329U, 329V, and 329W are also input in the current sensor calibration unit 325. The current sensor calibration unit 325 calculates differences between the detection signals of the current sensors 8U, 8V, and 8W and the output signals of the reference current sensors 329U, 329V, and 329W in terms of the U phase, V phase, and W phase, respectively. Based on the differences, the current sensor calibration unit 325 generates correction data for correcting the setting data of the respective phases and outputs the correction data to the current sensors 8U, 8V, and 8W, respectively. The switch 54 is controlled so that the switch 54 may be turned off at the time of correcting the setting data stored in the memory 15 of the current sensor circuit 1 of the current sensor 8, that is, at the time of calibration. After the switch 54 is turned off to disconnect the calibration device 320 from the control circuit 53, the calibration device 220 corrects the aforementioned setting data.
Description of a flowchart of the calibration according to the present embodiment will be omitted since the flowchart is similar to that according to the second or third embodiment.
The current sensor according to the present embodiment is configured in the following manner and has the following effects.
The current sensor 8 is mounted on the power inversion device 50 including the inverter circuit 51 including the plurality of switching elements UH, UL, VH, VL, WH, and WL for inverting direct current into alternating current and the inverter output terminals P5, P6, and P7 for outputting alternating current.
The plurality of bus bars 7U, 7V, and 7W are connected to the inverter circuit 51 and the inverter output terminals P5, P6, and P7.
By outputting alternating current from the inverter circuit 51 to the motor M connected to the inverter output terminals P5, P6, and P7, calibration alternating current flows in the plurality of bus bars 7U, 7V, and 7W.
In this manner, in the present embodiment, calibration is performed using alternating current that the power inversion device 50 actually outputs. Since a target to be measured by the current sensor 8 is this alternating current, an error can be prevented from being included in a detection signal that the current sensor 8 outputs further than in the third embodiment.
The following modifications are within the scope of the present invention.
Although the structure mold 6 illustrated in
Although the current sensor board illustrated in
Although the magnetic shield 5 illustrated in
The memory 15 of the current sensor 8 may be able to store setting data for a plurality of frequencies. In this case, one or a plurality of frequencies can be used for alternating current for use in calibration. Also, one of the frequencies may be zero, that is, may be applied to direct current.
The magnetic flux detection unit 11 in
Although the configuration in which the three-phase alternating current is targeted for measurement has been described in each of the second to fourth embodiments, the present invention is not limited to this. The present invention can be applied when multiphase alternating current of N (N is an integer of at least two) phases is targeted for measurement. Also, as described in the first embodiment, the present invention can be applied when single-phase alternating current is targeted for measurement.
In the flowchart in
The present invention is not limited to the contents described above. Other aspects conceivable within the scope of the technical idea of the present invention are included in the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2015-022254 | Feb 2015 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2016/052223 | 1/27/2016 | WO | 00 |