CN111381205A - Motor controller current sensor calibration system and method - Google Patents
Motor controller current sensor calibration system and method Download PDFInfo
- Publication number
- CN111381205A CN111381205A CN201811636172.2A CN201811636172A CN111381205A CN 111381205 A CN111381205 A CN 111381205A CN 201811636172 A CN201811636172 A CN 201811636172A CN 111381205 A CN111381205 A CN 111381205A
- Authority
- CN
- China
- Prior art keywords
- motor controller
- current
- calibration
- upper computer
- motor
- 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.)
- Pending
Links
Images
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/02—Testing or calibrating of apparatus covered by the other groups of this subclass of auxiliary devices, e.g. of instrument transformers according to prescribed transformation ratio, phase angle, or wattage rating
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P21/00—Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
- H02P21/14—Estimation or adaptation of machine parameters, e.g. flux, current or voltage
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Control Of Electric Motors In General (AREA)
- Control Of Ac Motors In General (AREA)
Abstract
The invention relates to the technical field of motor control, in particular to a system and a method for calibrating a current sensor of a motor controller, wherein the system comprises: the device comprises an upper computer, a motor controller, a three-phase motor, a precision current transformer, a calibration unit and a direct-current power supply; the upper computer is connected with the motor controller through a CAN bus and used for sending a control signal to the motor controller; the motor controller is connected with the three-phase motor; the precise current transformer is arranged in the circuit and used for detecting current data in the circuit; the calibration unit is respectively connected with the precision current transformer and the motor controller and is used for correspondingly calibrating the data of the current sensor of the motor controller and the current data acquired by the precision current transformer; the direct current power supply is respectively connected with the motor controller, the upper computer and the calibration unit. The system of the application does not need extra equipment investment, is more convenient to operate, can simulate different temperature environments, and then calibrates the current sensor of the motor controller under different temperature environments.
Description
Technical Field
The invention relates to the technical field of motor control, in particular to a system and a method for calibrating a current sensor of a motor controller.
Background
At present, a calibration method for a current sensor of a motor controller mostly depends on external equipment, such as a current generator, to generate accurate current, and then calibrates the value of an actual sensor.
In addition, in the prior art, the calibration process of the current sensor of the motor controller is performed at a certain constant temperature value, but generally, the service environment of the motor controller is at various temperatures, for example, the service environment temperature of the motor controller differs by about 30 ℃ in summer and winter, which is determined according to the calibration data at a certain preset fixed temperature value, so that the current data actually output by the motor controller can change due to the influence of the environment, and the motor cannot reach the specified working state, thereby affecting the working efficiency of the motor.
Disclosure of Invention
In order to solve the technical problems that the current generator is adopted to calibrate the value of the current sensor of the motor controller in the prior art, the dependence degree on equipment is high, and the implementation is inconvenient, the application provides a system and a method for calibrating the current sensor of the motor controller.
A motor controller current sensor calibration system, comprising: the device comprises an upper computer, a motor controller, a three-phase motor, a precision current transformer, a calibration unit and a direct-current power supply;
the upper computer is connected with the motor controller through a CAN bus and used for sending a control signal to the motor controller to adjust the output of the motor controller;
the output end of the motor controller is connected with the three-phase motor through a three-phase circuit;
the precise current transformer is arranged in the phase A or the phase B of the three-phase circuit and is used for detecting current data in the circuit;
the calibration unit is respectively electrically connected with the precision current transformer and the motor controller and is used for correspondingly calibrating the data of the current sensor of the motor controller and the current data acquired by the precision current transformer;
the direct current power supply is respectively connected with the motor controller, the upper computer and the calibration unit.
Furthermore, the temperature-adjustable thermostat is electrically connected with the direct-current power supply, the motor controller is arranged in the thermostat, and a driving module of the thermostat is connected with the upper computer through a signal line.
Furthermore, the device also comprises a temperature sensor arranged in the constant temperature box, and the temperature sensor is connected with the upper computer and the calibration unit.
The calibration unit is further configured to calibrate the temperature data acquired by the temperature sensor, the current data acquired by the motor controller current sensor and the current data acquired by the precision current transformer correspondingly to form a two-dimensional array, and write the two-dimensional array into a FLASH of the motor controller MCU.
A motor controller current sensor calibration method comprises the following steps:
step 201: the upper computer outputs a control instruction to the motor controller, so that the motor controller outputs corresponding current;
step 202: after the current is stable, the calibration unit reads current data through the current sensors of the precision current transformer and the motor controller respectively, obtains a difference value between the precision current transformer and the motor controller, obtains a compensation amount, and completes corresponding calibration under the current value;
step 203: setting a new current value by the upper computer, keeping the temperature unchanged, and repeating the steps 201 and 202 until the corresponding calibration of each current value of the current sensor of the motor controller under the full range is completed;
step 204: and the calibration unit writes the completed calibration data into a FLASH of the motor controller.
Further, after step 203 is completed, the method further includes:
and (3) the upper computer sends a control signal to the thermostat to set a new temperature value, and the steps 1-3 are repeated to finish corresponding calibration of each current value of the current sensor of the motor controller under the full range at different temperature points.
Wherein the calibration data further comprises:
and corresponding calibration data of each current value of the current sensor of the motor controller under the full range of different temperature points.
According to the calibration system and the calibration method for the current sensor of the motor controller, the current is directly generated on the motor, the current value of the input motor is measured by using the precise current transformer, and the current sensor on the motor controller is calibrated accordingly, so that extra equipment investment is saved, and the operation is more convenient. In addition, the calibration system can simulate different temperature environments through the thermostat, so that the current sensor of the motor controller is calibrated in different temperature environments, and when the motor is used in different environments, different calibration data can be called, so that the output of the motor controller is more accurate, and the designated working state of the motor is guaranteed.
Drawings
FIG. 1 is a schematic structural diagram of a calibration system of a current sensor of a motor controller according to an embodiment of the present application;
FIG. 2 is a circuit diagram of a portion of a calibration system according to an embodiment of the present application;
fig. 3 is a flowchart of a calibration method according to an embodiment of the present application.
Detailed Description
The present invention will be described in further detail with reference to the following detailed description and accompanying drawings.
Example 1
The present embodiment provides a calibration system for a current sensor of a motor controller, as shown in fig. 1, including: the device comprises an upper computer 1, a motor controller 2, a three-phase motor 4, a precision current transformer 3, a calibration unit 5 and a direct-current power supply 6.
The upper computer 1 is connected with the motor controller 2 through a CAN bus, and the upper computer 1 is used for sending a control signal to the motor controller 2 to adjust the current value output by the motor controller 2. The output end of the motor controller 2 is connected with a three-phase motor 4 through a three-phase circuit; the precise current transformer 3 is arranged in phase A or phase B of the three-phase circuit and used for detecting current data in the circuit. The calibration unit 5 is electrically connected with the precision current transformer 3 and the motor controller 2 respectively and is used for correspondingly calibrating the current data acquired by the current sensor of the motor controller 2 and the current data acquired by the precision current transformer 3, specifically, the calibration unit 5 is connected with the motor controller 2 through a CAN bus, the current data acquired by the current sensor of the motor controller 2 and the current data acquired by the precision current transformer 3 CAN be stored in a two-dimensional array, after the upper computer 1 sends a control signal to complete calibration of each current value of the full-scale current sensor of the motor controller, the calibration unit 5 stores a two-dimensional array consisting of calibration data of the corresponding full-scale at the current temperature and stores the two-dimensional array in a FLASH of an MCU of the motor controller 2 to complete calibration. The direct current power supply 6 is electrically connected with the motor controller 2, the upper computer 1 and the calibration unit 5 respectively, and is used for providing electric energy required by work for the motor controller, the upper computer and the calibration unit.
According to the motor controller current sensor calibration system of this embodiment, directly produce the electric current on motor 4, utilize accurate current transformer 3 to measure the current value of input motor 4, calibrate the current sensor on the motor controller 2 according to this, saved extra equipment input like this, come the different current values of motor controller 2 output through host computer 1 control simultaneously, it is also more convenient to operate.
Further, the calibration system of this embodiment still includes temperature-adjustable's thermostat 8 with direct current power supply 6 electricity is connected, motor controller 2 sets up in thermostat 8, the drive module of thermostat 8 passes through the signal line and is connected with host computer 1, can send control signal to the drive module of thermostat 8 through host computer 1, set for the temperature value of thermostat 8, so can simulate different temperature environment, after accomplishing the calibration to motor controller's 2 current sensor under a certain temperature value, host computer 1 can reset a temperature value, reset different current values, accomplish the calibration to current sensor full scale, so accomplish the calibration to motor controller's 2 current sensor under different range temperatures, write in calibration data in motor controller's 2 MCU's FLASH with the form of two-dimensional array.
Further, the calibration system further comprises a temperature sensor 7 arranged in the incubator 8, the temperature sensor 7 is electrically connected with the upper computer 1 and the calibration unit 5 and used for feeding back temperature information in the incubator 8 to the upper computer 1 and the calibration unit 5, and the temperature sensor 7 is a thermal resistance temperature sensor.
Further, an overcurrent protection circuit is further arranged in the circuit of the motor controller 2 and used for carrying out overcurrent protection on the motor controller 2 and preventing the IGBT from being damaged by overlarge current.
In this embodiment, the calibration unit 5 is further configured to calibrate the temperature data acquired by the temperature sensor 7, the current data acquired by the current sensor of the motor controller 2 and the current data acquired by the precision current transformer 3 to form a two-dimensional array, and write the two-dimensional array into a FLASH of the MCU of the motor controller 6.
Specifically, as shown in fig. 2, a partial circuit diagram of the calibration system of the present embodiment is shown, and the current generation method of the present embodiment is described below with reference to fig. 2.
In this embodiment, the current sensors of the motor controller 2 are respectively installed in the a phase and the B phase, and the SVPWM program is solidified into the flash using the DSP or the MCU, and the program can store the calibrated data points. When the current control is implemented, the upper computer 1 is used for communicating with the control motor controller 2 through the CAN bus to transmit an Iqref command, an IdRef command and an electrical angle command.
If phase a is to be caused to produce forward current, the commands to the motor controller 2 are: IdRef is a positive value, IqRef is 0, and the electrical angle θ is 0, and this command is used to perform control; if negative current is to be applied to phase a, the command to the motor controller 2 is: IdRef is a negative value, IqRef is 0, and the electrical angle θ is 0, and control is performed by this command method.
In addition, if the B phase generates a forward current, the instructions to the motor controller are as follows: IqRef is a positive value, IdRef is 0, and the electrical angle θ is 0; to cause negative current to be generated in phase B, the command to the motor controller is: IqRef is a negative value, i _ ref is 0, and the electrical angle θ is 0, thereby controlling the output current of the motor controller 2.
The instruction that host computer 1 gave can produce the electric current at the motor through motor controller 2, according to the reading of accurate precision current transformer 3, adjusts the instruction, makes the electric current reading reach the numerical value of settlement.
Example 2
On the basis of embodiment 1, this embodiment provides a motor controller current sensor calibration method, as shown in fig. 3, including:
step 201: the upper computer 1 outputs a control instruction to the motor controller 2, so that the motor controller 2 outputs corresponding current;
step 202: after the current is stable, the calibration unit 5 reads current data through the precision current transformer 3 and the current sensor of the motor controller respectively, obtains a difference value between the two, obtains a compensation amount, and completes corresponding calibration under the current value;
step 203: the upper computer 1 sets a new current value, keeps the temperature unchanged, and repeats the steps 201 and 202 until the corresponding calibration of each current value under the full range of the current sensor of the motor controller 2 is completed;
step 204: the calibration unit 5 writes the completed calibration data into the FLASH of the motor controller 2.
The calibration process of the current sensor of the motor controller 2 at a certain constant temperature can be completed through the method, the method directly generates current on the motor 4, the current value of the input motor 4 is measured by the precise current transformer 3, and the current sensor on the motor controller 2 is calibrated accordingly, so that extra equipment investment is saved, meanwhile, the motor controller 2 is controlled by the upper computer 1 to output different current values, and the operation is more convenient.
Further, in this embodiment, after the step 203 is completed, the method further includes:
the upper computer 1 sends a control signal to the thermostat 8 to set a new temperature value, and the step 201 and the step 203 are repeated to finish the corresponding calibration of each current value of the current sensor of the motor controller 2 under the full range at different temperature points. The calibration of the current sensor of the motor controller 2 at different temperatures can be completed through the method, and the calibrated data is written into the FLASH of the motor controller 2, so that the output current value of the motor controller 2 can reach the set value when the motor controller works in different environments, and the working requirement of the motor 4 is met.
The calibration data corresponding to each current value of the full-scale current sensor of the motor controller at different temperature points is obtained by the method, and the calibration data is input into the FLASH of the motor controller 2, wherein the calibration data comprises three parts, namely a temperature value, a current value acquired by the precision current transformer and a current value of the current sensor of the motor controller 2.
The present invention has been described in terms of specific examples, which are provided to aid understanding of the invention and are not intended to be limiting. For a person skilled in the art to which the invention pertains, several simple deductions, modifications or substitutions may be made according to the idea of the invention.
Claims (7)
1. A motor controller current sensor calibration system, comprising: the device comprises an upper computer, a motor controller, a three-phase motor, a precision current transformer, a calibration unit and a direct-current power supply;
the upper computer is connected with the motor controller through a CAN bus and used for sending a control signal to the motor controller to adjust the output of the motor controller;
the output end of the motor controller is connected with the three-phase motor through a three-phase circuit;
the precise current transformer is arranged in the phase A or the phase B of the three-phase circuit and is used for detecting current data in the circuit;
the calibration unit is respectively electrically connected with the precision current transformer and the motor controller and is used for correspondingly calibrating the data of the current sensor of the motor controller and the current data acquired by the precision current transformer;
the direct current power supply is respectively connected with the motor controller, the upper computer and the calibration unit.
2. The calibration system according to claim 1, further comprising a temperature-adjustable thermostat electrically connected to the dc power supply, wherein the motor controller is disposed in the thermostat, and a driving module of the thermostat is connected to the upper computer through a signal line.
3. The calibration system as recited in claim 2, further comprising a temperature sensor disposed within the incubator, the temperature sensor being coupled to the host computer and the calibration unit.
4. The calibration system according to claim 3, wherein the calibration unit is further configured to calibrate the temperature data collected by the temperature sensor, the current data obtained by the current sensor of the motor controller and the current data obtained by the precision current transformer correspondingly to form a two-dimensional array, and write the two-dimensional array into a FLASH of the MCU.
5. A motor controller current sensor calibration method is characterized by comprising the following steps:
step 201: the upper computer outputs a control instruction to the motor controller, so that the motor controller outputs corresponding current;
step 202: after the current is stable, the calibration unit reads current data through the current sensors of the precision current transformer and the motor controller respectively, obtains a difference value between the precision current transformer and the motor controller, obtains a compensation amount, and completes corresponding calibration under the current value;
step 203: setting a new current value by the upper computer, keeping the temperature unchanged, and repeating the steps 201 and 202 until the corresponding calibration of each current value of the current sensor of the motor controller under the full range is completed;
step 204: and the calibration unit writes the completed calibration data into a FLASH of the motor controller.
6. The calibration method according to claim 5, further comprising, after completing step 203:
and (3) the upper computer sends a control signal to the thermostat to set a new temperature value, and the steps 1-3 are repeated to finish corresponding calibration of each current value of the current sensor of the motor controller under the full range at different temperature points.
7. A calibration method according to claim 6, wherein the calibration data further comprises:
and corresponding calibration data of each current value of the current sensor of the motor controller under the full range of different temperature points.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811636172.2A CN111381205A (en) | 2018-12-29 | 2018-12-29 | Motor controller current sensor calibration system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811636172.2A CN111381205A (en) | 2018-12-29 | 2018-12-29 | Motor controller current sensor calibration system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111381205A true CN111381205A (en) | 2020-07-07 |
Family
ID=71218174
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811636172.2A Pending CN111381205A (en) | 2018-12-29 | 2018-12-29 | Motor controller current sensor calibration system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111381205A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112763962A (en) * | 2021-04-09 | 2021-05-07 | 深圳市法拉第电驱动有限公司 | Drive motor controller magnetic collection type current sensor calibration method and calibration system thereof |
CN115128989A (en) * | 2022-08-30 | 2022-09-30 | 深圳时代能创能源科技有限公司 | Intelligent water level control system of miniature water tower |
-
2018
- 2018-12-29 CN CN201811636172.2A patent/CN111381205A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112763962A (en) * | 2021-04-09 | 2021-05-07 | 深圳市法拉第电驱动有限公司 | Drive motor controller magnetic collection type current sensor calibration method and calibration system thereof |
CN112763962B (en) * | 2021-04-09 | 2021-07-20 | 深圳市法拉第电驱动有限公司 | Drive motor controller magnetic collection type current sensor calibration method and calibration system thereof |
CN115128989A (en) * | 2022-08-30 | 2022-09-30 | 深圳时代能创能源科技有限公司 | Intelligent water level control system of miniature water tower |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2020689B1 (en) | Solar photovoltaic power generation artificial-power generating method and solar photovoltaic power generation simulator power-supply apparatus | |
CN111381205A (en) | Motor controller current sensor calibration system and method | |
CN103675461B (en) | Based on the resistance measurement method of adjustable current source | |
US20100201342A1 (en) | Verfahren zum Betreiben eines Feldgerates | |
CN110231108A (en) | The caliberating device and scaling method of temperature sensor | |
JP2014123188A (en) | Distribution control device and distribution control method | |
CN209961898U (en) | Metering device and electricity meter | |
WO2020207112A1 (en) | Heat dissipation testing method and system, and heating device | |
CN209486283U (en) | A kind of current sensor of motor controller calibration system | |
CN115308664B (en) | Calibration device and method for Hall current sensor | |
CN101387696B (en) | Calibration system and method for digital alternating current-direct current tester | |
CN112540204B (en) | Power source control device | |
KR101539067B1 (en) | Apparatus for controlling fan | |
CN111398726A (en) | Method, system and equipment for testing charging and discharging response time of energy storage frequency modulation system | |
JP4775704B2 (en) | Measuring device, calibration method of measuring device | |
CN103134617A (en) | Intelligent heat engineering verification system | |
CN107117047B (en) | Calibration method and calibration system for heat capacity of energy storage unit of new energy automobile | |
CN112556741B (en) | Accurate calibration system and method suitable for temperature and humidity sensor of transformer substation | |
CN209471198U (en) | A kind of static parameter test device for automobile dynamo governor | |
CN207867380U (en) | A kind of voltage self-checking device based on digital potentiometer | |
TWI564689B (en) | Power supply for simulating solar cell and method thereof | |
CN112763962A (en) | Drive motor controller magnetic collection type current sensor calibration method and calibration system thereof | |
CN109001662A (en) | A kind of device and method of automatic recovery Electronic Calibration part calibration data | |
CN203464941U (en) | Solder joint reliability detection equipment under gyroscope temperature control state | |
JP4158107B2 (en) | Analog input data transmission device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |