WO2010045965A1 - A method and a device for compensating gain errors of current sensors in a three-phase inverter - Google Patents
A method and a device for compensating gain errors of current sensors in a three-phase inverter Download PDFInfo
- Publication number
- WO2010045965A1 WO2010045965A1 PCT/EP2008/064176 EP2008064176W WO2010045965A1 WO 2010045965 A1 WO2010045965 A1 WO 2010045965A1 EP 2008064176 W EP2008064176 W EP 2008064176W WO 2010045965 A1 WO2010045965 A1 WO 2010045965A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- current
- gain
- sensors
- sensor
- sensor values
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R35/00—Testing or calibrating of apparatus covered by the other groups of this subclass
- G01R35/005—Calibrating; Standards or reference devices, e.g. voltage or resistance standards, "golden" references
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/0092—Measuring current only
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M1/00—Details of apparatus for conversion
- H02M1/0003—Details of control, feedback or regulation circuits
- H02M1/0009—Devices or circuits for detecting current in a converter
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M7/00—Conversion of AC power input into DC power output; Conversion of DC power input into AC power output
- H02M7/42—Conversion of DC power input into AC power output without possibility of reversal
- H02M7/44—Conversion of DC power input into AC power output without possibility of reversal by static converters
- H02M7/48—Conversion of DC power input into AC power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
- H02M7/53—Conversion of DC power input into AC power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
- H02M7/537—Conversion of DC power input into AC power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters
- H02M7/5387—Conversion of DC power input into AC power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters in a bridge configuration
Definitions
- the present invention relates to a method and a device for compensating for gain errors of current sensors used in a three- phase inverter.
- the invention also relates to the use of such a method and device for compensation of gain errors in a drive unit of an industrial robot including a three-phase inverter and two current sensors arranged to measure the current in two of the phases.
- the invention is useful for compensation of gain errors between current sensors in any type of three phase inverter which implements drive control on a three-phase AC motor, for example robots, CNC-machines, and tool equipment.
- a three-phase inverter converts DC current into a variable alternating current, which is fed to a motor.
- the inverter comprises a plurality of switches configured to switch the current in the three phases in response to control signals.
- the switches are for ex- ample transistors.
- the current in the different phases has to be known.
- the currents in the phases are measured by current sensors.
- Three current sensors can be used for measuring the current in the three phases. However, since the sum of the currents in the three phases is zero, according to Kirchhoff's first law, it is enough to measure the current in two of the phases.
- the current in the third phase can be calculated based on the two measured currents.
- One area in which such inverters with current sensors are used is industrial robots.
- the present invention relates to calibration of the gain errors.
- the gain error is the difference in gain between two current sensors. Ideally, the two current sensors measuring the two phases have the same gain, but in real- ity the gain often differs between the two current sensors. If the two current sensors have a difference in gain between each other, the result will be a current ripple in the current feed to the motor. This current ripple may cause vibrations, extra forces on components driven by the motors, a small temperature rise in the system and give poor path performance for a robot.
- the absolute gain error for a current sensor does not affect the current ripple, only the difference in gain between the sensors.
- the object of the present invention is to provide a method and a device to measure and compensate differences in gain between two current sensors measuring a three-phase current in an inverter.
- Such a method comprises: running during a calibration period the same current through the first and second phase and at the same time reading sensor values from the first and second current sensors, calculating at least one gain compensating parameter based on the read sensor values, and using said gain compensating parameter for compensating for differences in gain between the first and second sensors during normal opera- tion of the inverter.
- the basic idea of the invention is to run exactly the same amount of current through both the current sensors. Preferably, no current is going through the phase which is not measured. This can, for example, be done by operating the switches in a special way. For example, all switches are set in a steady on/off state except for one which is controlling the current.
- the sensor values are read and used to calculate at least one gain compensating parameter.
- the sensor val- ues from the first and the second sensor are divided by each other to form a gain quota. This is done during a calibration period, suitably before start of normal operation of the inverter.
- the measurement values read from the sensors during normal operation of the inverter are then compensated for the differ- ence in gain between the sensors by performing a mathematical operation between the sensor values and the gain compensating parameter. For example, the measurement values read from one of the sensors are multiplied by the gain quota to compensate for difference in gain between the sensors.
- the method further comprises: running during the calibration period the same current, but in an opposite direction, through both phases and reading the sensor values from the first and second current sensors, and calculating said gain compensating parameter (P G ) based on the sensor values read when running the current in both directions.
- P G gain compensating parameter
- Such a device comprises: a control unit configured, during a calibration period, to generate control signals to control the switches so that the same current is running through the first and second phases, a data storage configured to store sensor values from the first and second current sensors during the cali- bration period, a computing unit configured to calculate at least one gain compensating parameter based on said stored sensor values, and a compensating unit configured, during normal operation of the inverter, to compensate for differences in gain be- tween the first and second sensors based on said gain compensating parameter.
- An advantage with the invention is that no extra hardware is needed to do the gain compensation and the compensation can be done automatically in the control system. Only some modification of the software of the control system is needed. With improved current measurement a reduction of current ripple in the current fed to the motor can be achieved, or cheaper current sensors or motors can be used.
- the method and device according to the invention are suitable for compensation of gain error in a drive unit of an industrial robot including a three-phase inverter and two current sensors arranged to measure the current in two of the phases.
- An advan- tage is that a better path performance of the robot can be achieved.
- Fig. 1 shows a device for compensating gain errors of current sensors according to an embodiment of the invention.
- FIG. 1 shows a device 1 for compensating gain errors of current sensors 2a-b used in a three-phase inverter 3 according to an embodiment of the invention.
- the inverter 3 controls a motor 4 including three phases 6a-c.
- the inverter is configured to convert DC current to a variable alternating current (AC) in dependence on control signals S1 ,S2,S3,S4,S5,and S6 from a control unit 8.
- the current sensors 2a-b are arranged to measure the current in the inverter 3, which current is fed to the motor 4.
- the current sensors are, for example, LEM current sensors.
- the control unit 8 comprises a processor and software for generating the control signals to the switches.
- the inverter 3 comprises a plurality of switches 10a-b, 1 1 a-b, 12a-b configured to switch the current in the three phases in response to the control signals S1 -S6.
- the switches are, for example, transistors.
- an inverter for an industrial robot is made up of six switches, such as IGBTs, which are switched on and off in response to the control signals.
- the cur- rent in each phase of the motor is controlled by two switches; for example, the current in phase 6a is controlled by the switches 10a-b, the current in phase 6b is controlled by the switches 1 1 a- b, and the current in phase 6c is controlled by the switches 12a- b.
- the current in phase 6a is measured by the current sensor 2a and the current in phase 6c is measured by the current sensor 2b.
- the current in the phase 6b is calculated based on the measurement values from the current sensors 2a-b.
- the inverter further includes diodes arranged in parallel with the switches for free wheeling of the current.
- the device 1 comprises a control unit 8 configured to generate control signals to the switches during a calibration period, so that the switches are controlled so that the same current is running through the phase 6a and the phase 6c, which currents are measured by the current sensors 2a-b, and no current is going through the phase 6c which is not measured.
- a control unit 8 configured to generate control signals to the switches during a calibration period, so that the switches are controlled so that the same current is running through the phase 6a and the phase 6c, which currents are measured by the current sensors 2a-b, and no current is going through the phase 6c which is not measured.
- sensor values are read from both sensors 6a-b.
- the length of the calibration period can be rather short, but must be long enough to enable the device 1 to read at least one sensor value from each current sensor 2a-b.
- the calibra- tion period is selected to be at a point in time before the inverter 3 is put into normal operation.
- the calibration can also be done during power down of a DC-link including the inverter, i.e. when the DC link is discharging and has a lower power.
- the calibration can be repeated during the life time of the sensors, for ex- ample the calibration can be done automatically at power up or power down of the DC-link including the inverter.
- the calibration can be done once before delivery of the inverter and the gain compensating parameter or parameters can be stored in a non volatile memory.
- control unit 8 which is used for generating control signals to the switches during normal operation of the inverter, is used for generating control signals to the switches during the calibration period.
- two separate control units may be used.
- the switches are in a state in which the same current is running through the phase 6a and the phase 6c, and no current is going through the phase 6b, for example, when the switches 10b and 12a are closed and all the other switches 10a, 1 1 a-b, 12b are open, or the switches 10a and 12b are closed and all the other switches 10b, 1 1 a-b, 12a are open.
- the amount of current running through the two phases 6a-b is the same, but the directions of the currents are opposite in the two phases.
- the switches With a high DC voltage, the switches will run a special PWM (Pulse Width Modulation) pattern during the calibration period, which means that the switches will quickly change between open and closed during the calibration period. Also in this mode the switches 1 1 a-b are always open. With a low DC voltage, the PWM pattern will saturate and give constant open or closed switches. Measuring without PWM switching can result in a better accuracy. Measuring a multiple of times during DC-voltage discharge gives a number of measurements with decreasing currents. By statistical calculations, such as mean value calculations, on a number of measurements a better calibration can be achieved.
- PWM Pulse Width Modulation
- the device 1 is configured to receive sensor values X 1 Y from the current sensors 2a-b during the calibration period and during normal operation of the inverter 3.
- the device 1 includes a data storage 14 configured to store the sensor values from the current sensors during the calibration period. Preferably, the same data storage 14 is also used for storing sensor values during normal operation of the inverter 3. At least one value from each current sensor 2a-b is stored.
- the device 1 further includes a computing unit 16 configured to calculate at least one gain compensating parameter P G based on the stored sensor values X t , Y t from the calibration period, and a compensating unit 18 configured to compensate, during normal operation of the inverter, for differences in gain between the first and second sensors 2a- b based on the gain compensating parameter.
- the gain compensating parameter can be calculated in different ways.
- the gain compensating parameter is calculated as the absolute value of the quota between the sensor values during the calibration period:
- X t is a sensor value read from sensor 2a during the calibration period.
- Y t is a sensor value read from sensor 2b during the calibration period.
- the gain com- pensating parameter is calculated as the absolute value of the quota between the sensor values.
- the gain compensating parameter is a measure of the difference in gain between the two sensors 2a-b. If the gain is approximately the same for both sensors, the gain compensating pa- rameter will become equal to or close to 1 . If the gain of sensor 2a is larger than the gain of sensor 2b, the gain compensating parameter will be larger than 1 . If the gain of the sensor 2a is less than the gain of sensor 2b, the gain compensating parameter will be smaller than 1 .
- the sensor values are compensated for the differences in gain between the sensors by multiplying the sensor values from sensor 2b with the gain compensating parameter P G .
- X m is a sensor value read from sensor 2a during normal opera- tion of the inverter.
- one gain compensating parameter is calculated for each of the sensors based on the sensor values measured during the calibration period. For example, it the gain difference is to be equally distributed the gain compensating parameter can be calculated according to the following:
- This embodiment distributes the gain error equally between the sensors, and can be advantageous since the absolute gain error it is not known for any of the sensors.
- a number of different sensor values are read for different current levels.
- a plurality of gain compensation parameters are then calculated and for the different current levels.
- the gain compensation parameters are stored, for example, in a table or as parameters in a more advanced mathematical function.
- the compensation for the gain is then done in dependence on the level of the current. Which one of the gain compensation parameters to be used depends on the level of the measured current. This embodiment is particularly advantageous if the sensors are non-linear.
- the invention is, for example, useful for compensation of gain error in a drive unit of an industrial robot including a three- phase inverter and two current sensors arranged to measure the current in two of the phases.
- An industrial robot is programmed to carry out work along an operating path. In order to program or teach the robot the work, the robot is manipulated to positions along the desired operating path. These positions are stored as instructions in a control program in a memory in a robot control- ler. During operation of the robot, the control program is executed, thereby making the robot operate as desired.
- An industrial robot includes a mechanical structure, also de- noted a manipulator, and a control system for controlling the movements of the manipulator.
- the manipulator has a plurality of arms that are movable relative to each other about a plurality of axes. The movements of the axes are driven by motors mounted on each axis.
- a robot consists of six axes. However, robots with other numbers of axes also exist.
- the speeds and accelerations of the axes are controlled by the control system of the robot, which comprises a robot controller generating control signals to drive units based on the instructions in the control program.
- the control signals to the drive units de- termine motor torque, motor speed, and drive currents for the axis.
- the drive units control the motors by converting DC current to a variable alternating current in dependence on the control signals from the robot controller.
- the drive units are supplied with AC power.
- Each drive unit includes a rectifier converting the supplied AC power into DC power, and one or more inverters converting the DC power to AC power in response to the control signal from the robot controller.
- the robot controller also com- prises a servo controller for controlling the position of the motor.
- the servo controller includes a current controller for controlling the current to the motors.
- the motors are equipped with current sensors for measuring the current to the motors. The current sensor values are transferred to the current controller.
- the arrangement shown in figure 1 is suitable for controlling a motor for one axis of an industrial robot.
- the device 1 is a part of the robot controller.
- the robot controller comprises necessary hardware for carrying out normal robot control- ler functions, such as a process or and data storage.
- the computing unit 16 and the compensating unit 18 are, for example, implanted as software modules running on the processor of the robot controller, and the data storage 14 is a part of the data storage of the robot controller.
- the control unit 8 is a part of the servo controller of the robot controller.
- a standard offset compensation is done before the gain compensation calibration.
- the offset of the sensors are read when the voltage of the DC-link is zero.
- a current of a first direction is run through both phases and the sensor values from the first and second current sensors are read, and then the same current, but in an opposite direction, is run through both phases, and the sensor values from the first and second current sensors are read.
- the gain compensating parameter is then calculated based on the read sensor values from both measurements.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Inverter Devices (AREA)
Abstract
The present invention relates to a device for compensating gain errors of current sensors used in a three-phase inverter (3). The inverter comprises a plurality of switches (10a-b,11a-b,12a-b) configured to switch the current in the three phases in response to control signals (S1-S6). The current ina first phase (6a) is measured by a first current sensor (2a) and the current in a second phase (6c) is measured by a second current sensor (2b). The device comprises: a control unit (8) configured, during a calibration period, to generate control signals to control the switches so that the same current is running through the first and second phases, a data storage (14) configured to store sensor values (X,Y) from the first and second current sensors during the calibration period, a computing unit (16) configured to calculate at least one gain compensating parameter (PG) based on said stored sensor values, and a compensating unit (18) configured, during normal operation of the inverter, to compensate for differences in gain between the first and second sensors based on said gain compensating parameter.
Description
A METHOD AND A DEVICE FOR COMPENSATING GAIN ERRORS OF CURRENT SENSORS IN A THREE-PHASE INVERTER
FIELD OF THE INVENTION
The present invention relates to a method and a device for compensating for gain errors of current sensors used in a three- phase inverter. In addition to those above, the invention also relates to the use of such a method and device for compensation of gain errors in a drive unit of an industrial robot including a three-phase inverter and two current sensors arranged to measure the current in two of the phases.
The invention is useful for compensation of gain errors between current sensors in any type of three phase inverter which implements drive control on a three-phase AC motor, for example robots, CNC-machines, and tool equipment.
PRIOR ART
A three-phase inverter converts DC current into a variable alternating current, which is fed to a motor. The inverter comprises a plurality of switches configured to switch the current in the three phases in response to control signals. The switches are for ex- ample transistors. In order to control the current, the current in the different phases has to be known. Thus, the currents in the phases are measured by current sensors. Three current sensors can be used for measuring the current in the three phases. However, since the sum of the currents in the three phases is zero, according to Kirchhoff's first law, it is enough to measure the current in two of the phases. The current in the third phase can be calculated based on the two measured currents. One
area in which such inverters with current sensors are used is industrial robots.
Current sensors are important components for good three-phase motor control. In normal current sensors there are two major errors: gain and offset errors. The present invention relates to calibration of the gain errors. The gain error is the difference in gain between two current sensors. Ideally, the two current sensors measuring the two phases have the same gain, but in real- ity the gain often differs between the two current sensors. If the two current sensors have a difference in gain between each other, the result will be a current ripple in the current feed to the motor. This current ripple may cause vibrations, extra forces on components driven by the motors, a small temperature rise in the system and give poor path performance for a robot. The absolute gain error for a current sensor does not affect the current ripple, only the difference in gain between the sensors.
OBJECTS AND SUMMARY OF THE INVENTION
The object of the present invention is to provide a method and a device to measure and compensate differences in gain between two current sensors measuring a three-phase current in an inverter.
This object is achieved by a method as defined in claim 1 .
Such a method comprises: running during a calibration period the same current through the first and second phase and at the same time reading sensor values from the first and second current sensors, calculating at least one gain compensating parameter based on the read sensor values, and using said gain compensating parameter for compensating for differences in gain between the first and second sensors during normal opera- tion of the inverter.
The basic idea of the invention is to run exactly the same amount of current through both the current sensors. Preferably, no current is going through the phase which is not measured. This can, for example, be done by operating the switches in a special way. For example, all switches are set in a steady on/off state except for one which is controlling the current. With the same current (but opposite directions) going through the sensors, the sensor values are read and used to calculate at least one gain compensating parameter. For example, the sensor val- ues from the first and the second sensor are divided by each other to form a gain quota. This is done during a calibration period, suitably before start of normal operation of the inverter. The measurement values read from the sensors during normal operation of the inverter are then compensated for the differ- ence in gain between the sensors by performing a mathematical operation between the sensor values and the gain compensating parameter. For example, the measurement values read from one of the sensors are multiplied by the gain quota to compensate for difference in gain between the sensors.
According to an embodiment of the invention, the method further comprises: running during the calibration period the same current, but in an opposite direction, through both phases and reading the sensor values from the first and second current sensors, and calculating said gain compensating parameter (PG) based on the sensor values read when running the current in both directions. This embodiment improves the accuracy of the calibration.
This object is also achieved by a device as defined in claim 8.
Such a device comprises: a control unit configured, during a calibration period, to generate control signals to control the switches so that the same current is running through the first and second phases, a data storage configured to store sensor values from the first and second current sensors during the cali-
bration period, a computing unit configured to calculate at least one gain compensating parameter based on said stored sensor values, and a compensating unit configured, during normal operation of the inverter, to compensate for differences in gain be- tween the first and second sensors based on said gain compensating parameter.
An advantage with the invention is that no extra hardware is needed to do the gain compensation and the compensation can be done automatically in the control system. Only some modification of the software of the control system is needed. With improved current measurement a reduction of current ripple in the current fed to the motor can be achieved, or cheaper current sensors or motors can be used.
The method and device according to the invention are suitable for compensation of gain error in a drive unit of an industrial robot including a three-phase inverter and two current sensors arranged to measure the current in two of the phases. An advan- tage is that a better path performance of the robot can be achieved.
Further developments of the device are characterized by the features of the additional claims.
BRIEF DESCRIPTION OF THE DRAWINGS
The invention will now be explained more closely by the description of different embodiments of the invention and with reference to the appended figures.
Fig. 1 shows a device for compensating gain errors of current sensors according to an embodiment of the invention.
DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS OF THE INVENTION
Figure 1 shows a device 1 for compensating gain errors of current sensors 2a-b used in a three-phase inverter 3 according to an embodiment of the invention. The inverter 3 controls a motor 4 including three phases 6a-c. The inverter is configured to convert DC current to a variable alternating current (AC) in dependence on control signals S1 ,S2,S3,S4,S5,and S6 from a control unit 8. The current sensors 2a-b are arranged to measure the current in the inverter 3, which current is fed to the motor 4. The current sensors are, for example, LEM current sensors. The control unit 8 comprises a processor and software for generating the control signals to the switches.
The inverter 3 comprises a plurality of switches 10a-b, 1 1 a-b, 12a-b configured to switch the current in the three phases in response to the control signals S1 -S6. The switches are, for example, transistors. Traditionally, an inverter for an industrial robot is made up of six switches, such as IGBTs, which are switched on and off in response to the control signals. The cur- rent in each phase of the motor is controlled by two switches; for example, the current in phase 6a is controlled by the switches 10a-b, the current in phase 6b is controlled by the switches 1 1 a- b, and the current in phase 6c is controlled by the switches 12a- b. The current in phase 6a is measured by the current sensor 2a and the current in phase 6c is measured by the current sensor 2b. The current in the phase 6b is calculated based on the measurement values from the current sensors 2a-b. The inverter further includes diodes arranged in parallel with the switches for free wheeling of the current.
The device 1 comprises a control unit 8 configured to generate control signals to the switches during a calibration period, so that the switches are controlled so that the same current is running through the phase 6a and the phase 6c, which currents are measured by the current sensors 2a-b, and no current is going through the phase 6c which is not measured. During the calibra-
tion period, sensor values are read from both sensors 6a-b. The length of the calibration period can be rather short, but must be long enough to enable the device 1 to read at least one sensor value from each current sensor 2a-b. For example, the calibra- tion period is selected to be at a point in time before the inverter 3 is put into normal operation. The calibration can also be done during power down of a DC-link including the inverter, i.e. when the DC link is discharging and has a lower power. The calibration can be repeated during the life time of the sensors, for ex- ample the calibration can be done automatically at power up or power down of the DC-link including the inverter. Alternatively, the calibration can be done once before delivery of the inverter and the gain compensating parameter or parameters can be stored in a non volatile memory.
In this embodiment, the same control unit 8, which is used for generating control signals to the switches during normal operation of the inverter, is used for generating control signals to the switches during the calibration period. In an alternative embodi- ment, two separate control units may be used.
For the inverter 3 shown in figure 1 , the switches are in a state in which the same current is running through the phase 6a and the phase 6c, and no current is going through the phase 6b, for example, when the switches 10b and 12a are closed and all the other switches 10a, 1 1 a-b, 12b are open, or the switches 10a and 12b are closed and all the other switches 10b, 1 1 a-b, 12a are open. Thus, the amount of current running through the two phases 6a-b is the same, but the directions of the currents are opposite in the two phases. With a high DC voltage, the switches will run a special PWM (Pulse Width Modulation) pattern during the calibration period, which means that the switches will quickly change between open and closed during the calibration period. Also in this mode the switches 1 1 a-b are always open. With a low DC voltage, the PWM pattern will saturate and give constant open or closed switches. Measuring without PWM
switching can result in a better accuracy. Measuring a multiple of times during DC-voltage discharge gives a number of measurements with decreasing currents. By statistical calculations, such as mean value calculations, on a number of measurements a better calibration can be achieved.
The device 1 is configured to receive sensor values X1Y from the current sensors 2a-b during the calibration period and during normal operation of the inverter 3. The device 1 includes a data storage 14 configured to store the sensor values from the current sensors during the calibration period. Preferably, the same data storage 14 is also used for storing sensor values during normal operation of the inverter 3. At least one value from each current sensor 2a-b is stored. The device 1 further includes a computing unit 16 configured to calculate at least one gain compensating parameter PG based on the stored sensor values Xt, Yt from the calibration period, and a compensating unit 18 configured to compensate, during normal operation of the inverter, for differences in gain between the first and second sensors 2a- b based on the gain compensating parameter.
The gain compensating parameter can be calculated in different ways. In one embodiment of the invention, the gain compensating parameter is calculated as the absolute value of the quota between the sensor values during the calibration period:
Xt is a sensor value read from sensor 2a during the calibration period.
Yt is a sensor value read from sensor 2b during the calibration period.
Although the same amount of current is going through both sen- sors, the directions of the currents are opposite. Thus, the read sensor values will have opposite signs. Therefore, the gain com-
pensating parameter is calculated as the absolute value of the quota between the sensor values.
If more than one sensor value is stored from each sensor, it is advantageous to calculate a mean value or average value for the current measured by the sensor based on the sensor values. The gain compensating parameter is a measure of the difference in gain between the two sensors 2a-b. If the gain is approximately the same for both sensors, the gain compensating pa- rameter will become equal to or close to 1 . If the gain of sensor 2a is larger than the gain of sensor 2b, the gain compensating parameter will be larger than 1 . If the gain of the sensor 2a is less than the gain of sensor 2b, the gain compensating parameter will be smaller than 1 .
During normal operation of the inverter, the sensor values are compensated for the differences in gain between the sensors by multiplying the sensor values from sensor 2b with the gain compensating parameter PG.
Λcomp "" ^m
V — V * P
1 com p ' m ~ G
Xm is a sensor value read from sensor 2a during normal opera- tion of the inverter.
Ym is a sensor value read from sensor 2b during normal operation of the inverter.
In an alternative embodiment, one gain compensating parameter is calculated for each of the sensors based on the sensor values measured during the calibration period. For example, it the gain difference is to be equally distributed the gain compensating parameter can be calculated according to the following:
X - Y * P comp "" 7^m r Gx
V 1 comp — V ' m * P r Gy
This embodiment distributes the gain error equally between the sensors, and can be advantageous since the absolute gain error it is not known for any of the sensors.
In an alternative embodiment of the invention, a number of different sensor values are read for different current levels. A plurality of gain compensation parameters are then calculated and for the different current levels. The gain compensation parameters are stored, for example, in a table or as parameters in a more advanced mathematical function. The compensation for the gain is then done in dependence on the level of the current. Which one of the gain compensation parameters to be used depends on the level of the measured current. This embodiment is particularly advantageous if the sensors are non-linear.
The compensated current values are then used for control of the motor. For example, the control unit 8 may include a current controller controlling the current to the motor based on the measured current in the phases. In that case the compensated current values are transferred to the control unit 8. The control signals S1 -S6 to the switches of the inverter are calculated based on the output from the compensated current values.
The invention is, for example, useful for compensation of gain error in a drive unit of an industrial robot including a three- phase inverter and two current sensors arranged to measure the current in two of the phases. An industrial robot is programmed to carry out work along an operating path. In order to program or teach the robot the work, the robot is manipulated to positions along the desired operating path. These positions are stored as instructions in a control program in a memory in a robot control-
ler. During operation of the robot, the control program is executed, thereby making the robot operate as desired.
An industrial robot includes a mechanical structure, also de- noted a manipulator, and a control system for controlling the movements of the manipulator. The manipulator has a plurality of arms that are movable relative to each other about a plurality of axes. The movements of the axes are driven by motors mounted on each axis. Typically, a robot consists of six axes. However, robots with other numbers of axes also exist. The speeds and accelerations of the axes are controlled by the control system of the robot, which comprises a robot controller generating control signals to drive units based on the instructions in the control program. The control signals to the drive units de- termine motor torque, motor speed, and drive currents for the axis.
The drive units control the motors by converting DC current to a variable alternating current in dependence on the control signals from the robot controller. The drive units are supplied with AC power. Each drive unit includes a rectifier converting the supplied AC power into DC power, and one or more inverters converting the DC power to AC power in response to the control signal from the robot controller. The robot controller also com- prises a servo controller for controlling the position of the motor. The servo controller includes a current controller for controlling the current to the motors. The motors are equipped with current sensors for measuring the current to the motors. The current sensor values are transferred to the current controller.
The arrangement shown in figure 1 is suitable for controlling a motor for one axis of an industrial robot. In such a case the device 1 is a part of the robot controller. The robot controller comprises necessary hardware for carrying out normal robot control- ler functions, such as a process or and data storage. The computing unit 16 and the compensating unit 18 are, for example,
implanted as software modules running on the processor of the robot controller, and the data storage 14 is a part of the data storage of the robot controller. The control unit 8 is a part of the servo controller of the robot controller.
A standard offset compensation is done before the gain compensation calibration. The offset of the sensors are read when the voltage of the DC-link is zero.
The present invention is not limited to the embodiments disclosed but may be varied and modified within the scope of the following claims. For example, in order to improve the accuracy of the calibration, a current of a first direction is run through both phases and the sensor values from the first and second current sensors are read, and then the same current, but in an opposite direction, is run through both phases, and the sensor values from the first and second current sensors are read. The gain compensating parameter is then calculated based on the read sensor values from both measurements.
Claims
1 . A method for compensating gain errors of current sensors (2a-b) used in a three-phase inverter (3) converting DC current into a variable alternating current, the inverter comprising a plurality of switches (10a-b, 1 1 a-b, 12a-b) configured to switch the current in the three phases in response to control signals (S1 - S6), wherein the current in a first phase (6a) is measured by a first current sensor (2a) and the current in a second phase (6c) is measured by a second current sensor (2b), characterized in that the method comprises: running during a calibration period the same current through the first and second phases (6a, 6c) and at the same time reading sensor values from the first and second current sensors (2a- b), calculating at least one gain compensating parameter (PG) based on the read sensor values, and using said gain compensating parameter for compensating for differences in gain between the first and second sensors dur- ing normal operation of the inverter.
2. The method according to claim 1 , wherein the said switches (10a-b, 1 1 a-b, 12a-b) are controlled so that the same current is running through the two phases during said calibration period.
3. The method according to claim 1 or 2, wherein the calculation of the gain compensating parameter (PG) comprises dividing one or more sensor values from the first sensor by one or more sensor values from the second sensor.
4. The method according to any of the previous claims, wherein said compensation for differences in gain between the first and second sensors is done by performing a mathematical operation between sensor values from at least one of the sensors and said gain compensating parameter.
5. The method according to claim 4, wherein the sensor values from at least one of the sensors are multiplied by the gain compensating parameter.
6. The method according to any of the previous claims, wherein the method further comprises: running during the calibration period the same current, but in an opposite direction, through both phases and reading the sensor values from the first and second current sensors, calculating said gain compensating parameter (PG) based on the sensor values read when running the current in both directions.
7. Use of the method according to any of the claims 1 -6 for com- pensation of gain error in a drive unit of an industrial robot including a three-phase inverter with two current sensors arranged to measure the current in two of the phases.
8. A device for compensating gain errors of current sensors used in a three-phase inverter (3) for converting DC current into a variable alternating current, the inverter comprising a plurality of switches (10a-b, 1 1 a-b, 12a-b) configured to switch the current in the three phases in response to control signals (S1 -S6), wherein the current in a first phase (6a) is measured by a first current sensor (2a) and the current in a second phase (6c) is measured by a second current sensor (2b), characterized in that the device comprises: a control unit (8) configured, during a calibration period, to generate control signals to control the switches so that the same current is running through the first and second phases, a data storage (14) configured to store sensor values (X1Y) from the first and second current sensors during the calibration period, a computing unit (16) configured to calculate at least one gain compensating parameter (PG) based on said stored sensor values, and a compensating unit (18) configured, during normal operation of the inverter, to compensate for differences in gain between the first and second sensors based on said gain compensating parameter.
9. The device according to claim 8, wherein the computing unit (16) is configured to calculate the gain compensating parameter (PG) by dividing one or more sensor values from the first sensor by one or more sensor values from the second sensor.
10. The device according to any of the claims 8-9, wherein the compensating unit (18) is configured compensate for differences in gain between the first and second sensors (2a-b) by performing a mathematical operation between sensor values from at least one of the sensors and said gain compensating parameter.
1 1 . The device according to claim 10, wherein said mathematical operation is multiplication.
12. The device according to any of the claims 8-1 1 , wherein the device is configured to compensate for gain errors in a drive unit of an industrial robot including said three-phase inverter.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/EP2008/064176 WO2010045965A1 (en) | 2008-10-21 | 2008-10-21 | A method and a device for compensating gain errors of current sensors in a three-phase inverter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/EP2008/064176 WO2010045965A1 (en) | 2008-10-21 | 2008-10-21 | A method and a device for compensating gain errors of current sensors in a three-phase inverter |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2010045965A1 true WO2010045965A1 (en) | 2010-04-29 |
Family
ID=40808052
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/EP2008/064176 Ceased WO2010045965A1 (en) | 2008-10-21 | 2008-10-21 | A method and a device for compensating gain errors of current sensors in a three-phase inverter |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2010045965A1 (en) |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013102784A1 (en) * | 2012-01-05 | 2013-07-11 | American Power Conversion Corporation | Calibration of current sensors in paralled power converters |
| EP2824464A1 (en) * | 2013-07-10 | 2015-01-14 | Dr. Johannes Heidenhain GmbH | Method and device for measuring currents in a converter |
| WO2016086370A1 (en) * | 2014-12-03 | 2016-06-09 | Abb Technology Ltd | Calibration method for expansion board to be used for modularized automation device, calibration system and automation device using the same |
| US10418922B1 (en) | 2018-06-15 | 2019-09-17 | Verb Surgical Inc. | Calibration of 3-phase motor current sensing for surgical robotic actuators |
| CN110726962A (en) * | 2019-10-31 | 2020-01-24 | 东南大学 | Gain fault diagnosis method for current sensor of permanent magnet linear motor |
| CN111200379A (en) * | 2018-11-16 | 2020-05-26 | 宝沃汽车(中国)有限公司 | Control system and method for permanent magnet synchronous motor |
| CN111211723A (en) * | 2020-02-13 | 2020-05-29 | 西北工业大学 | Current error system without position sensor control and online correction method |
| CN111313787A (en) * | 2020-02-13 | 2020-06-19 | 西北工业大学 | Current sensor error rapid online self-correction motor driving system and control method |
| CN111313786A (en) * | 2020-02-13 | 2020-06-19 | 西北工业大学 | Three-phase motor driver with current error correction capability and correction method |
| CN115508760A (en) * | 2021-06-07 | 2022-12-23 | 萨基姆通讯能源及电信联合股份公司 | Calibration of ROGOWSKI sensors |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02219499A (en) * | 1989-02-20 | 1990-09-03 | Toshiba Corp | Drive controller of ac motor |
| JP2001119957A (en) * | 1999-10-15 | 2001-04-27 | Yamaha Motor Co Ltd | Power supply current detector |
| JP2007254095A (en) * | 2006-03-23 | 2007-10-04 | Hitachi Ltd | Elevator equipment |
| US20080265819A1 (en) * | 2007-04-26 | 2008-10-30 | Chingchi Chen | Sensor calibration and parameter identification in a multi-phase motor drive |
-
2008
- 2008-10-21 WO PCT/EP2008/064176 patent/WO2010045965A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02219499A (en) * | 1989-02-20 | 1990-09-03 | Toshiba Corp | Drive controller of ac motor |
| JP2001119957A (en) * | 1999-10-15 | 2001-04-27 | Yamaha Motor Co Ltd | Power supply current detector |
| JP2007254095A (en) * | 2006-03-23 | 2007-10-04 | Hitachi Ltd | Elevator equipment |
| US20080265819A1 (en) * | 2007-04-26 | 2008-10-30 | Chingchi Chen | Sensor calibration and parameter identification in a multi-phase motor drive |
Cited By (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013102784A1 (en) * | 2012-01-05 | 2013-07-11 | American Power Conversion Corporation | Calibration of current sensors in paralled power converters |
| CN104246524A (en) * | 2012-01-05 | 2014-12-24 | 美国能量变换公司 | Calibration of current sensors in paralled power converters |
| CN104246524B (en) * | 2012-01-05 | 2016-10-26 | 美国能量变换公司 | The calibration of the current sensor in parallel power transducer |
| AU2012364270B2 (en) * | 2012-01-05 | 2017-06-15 | Schneider Electric It Corporation | Calibration of current sensors in parallel power converters |
| US9804622B2 (en) | 2012-01-05 | 2017-10-31 | Schneider Electric It Corporation | Calibration of current sensors in parallel power converters |
| EP2824464A1 (en) * | 2013-07-10 | 2015-01-14 | Dr. Johannes Heidenhain GmbH | Method and device for measuring currents in a converter |
| US9835656B2 (en) | 2013-07-10 | 2017-12-05 | Dr. Johannes Heidenhain Gmbh | Method and device for measuring current at a converter |
| WO2016086370A1 (en) * | 2014-12-03 | 2016-06-09 | Abb Technology Ltd | Calibration method for expansion board to be used for modularized automation device, calibration system and automation device using the same |
| US10418922B1 (en) | 2018-06-15 | 2019-09-17 | Verb Surgical Inc. | Calibration of 3-phase motor current sensing for surgical robotic actuators |
| CN111200379A (en) * | 2018-11-16 | 2020-05-26 | 宝沃汽车(中国)有限公司 | Control system and method for permanent magnet synchronous motor |
| CN110726962A (en) * | 2019-10-31 | 2020-01-24 | 东南大学 | Gain fault diagnosis method for current sensor of permanent magnet linear motor |
| CN111211723A (en) * | 2020-02-13 | 2020-05-29 | 西北工业大学 | Current error system without position sensor control and online correction method |
| CN111313787A (en) * | 2020-02-13 | 2020-06-19 | 西北工业大学 | Current sensor error rapid online self-correction motor driving system and control method |
| CN111313786A (en) * | 2020-02-13 | 2020-06-19 | 西北工业大学 | Three-phase motor driver with current error correction capability and correction method |
| CN111313786B (en) * | 2020-02-13 | 2022-02-18 | 西北工业大学 | Three-phase motor driver with current error correction capability and correction method |
| CN111313787B (en) * | 2020-02-13 | 2022-02-18 | 西北工业大学 | Current sensor error rapid online self-correction motor driving system and control method |
| CN111211723B (en) * | 2020-02-13 | 2022-03-01 | 西北工业大学 | Current error system without position sensor control and online correction method |
| CN115508760A (en) * | 2021-06-07 | 2022-12-23 | 萨基姆通讯能源及电信联合股份公司 | Calibration of ROGOWSKI sensors |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2010045965A1 (en) | A method and a device for compensating gain errors of current sensors in a three-phase inverter | |
| JP4238267B2 (en) | Controlled supply method of stator current target value and torque target value for a polyphase alternator fed by a power converter | |
| EP0579513B1 (en) | Torque control system for AC motor | |
| US4814683A (en) | Induction motor control apparatus | |
| JP6414795B2 (en) | Power supply system and control method | |
| US10401415B2 (en) | Motor drive apparatus to detect inverter with large leakage current | |
| JPH08214600A (en) | Method and apparatus for controlling motor | |
| WO2013141059A1 (en) | Control device for three-phase ac induction motor and control method for three-phase ac induction motor | |
| US20020196645A1 (en) | Control circuit of power converting apparatus | |
| RU2354025C1 (en) | Method for high harmonics compensation and system power factor correction | |
| JP2013013964A (en) | Robot, and method for controlling robot | |
| US10931214B2 (en) | Motor unit | |
| JP2014123188A (en) | Distribution control device and distribution control method | |
| US6459601B1 (en) | Control circuit of power converter | |
| US6262904B1 (en) | Method and device for controlling a static converter powering an electrical source | |
| JP4068392B2 (en) | Motor control device | |
| KR100752473B1 (en) | How to adjust the rotor and power supply circuit for the rotor | |
| JP3590276B2 (en) | Reactive power compensator | |
| JP2018074878A (en) | Motor control apparatus | |
| US12301064B2 (en) | Method for determining an air gap between a transport rotor and a stator segment aided by an automation device | |
| KR0176469B1 (en) | Phase offset correction method of servo motor | |
| GB2034938A (en) | Automatic control systems | |
| RU2512886C1 (en) | Device to compensate high harmonics and correct grid power ratio | |
| JP2003510003A (en) | Motor with electronic current switching | |
| US4906912A (en) | Apparatus for controlling the load angle of a converter |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 08875206 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 08875206 Country of ref document: EP Kind code of ref document: A1 |