CN-121978605-A - Current sensor calibration method, system and equipment based on T-type three-level circuit
Abstract
The embodiment of the application discloses a method, a system and equipment for calibrating a current sensor based on a T-shaped three-level circuit, wherein the method comprises the steps of adjusting the respective duty ratios of a horizontal tube circuit and a vertical tube circuit according to preset adjustment times to obtain a plurality of groups of data sets; the method comprises the steps of determining a calibration parameter of a current sensor to be calibrated according to a plurality of groups of data sets, and calibrating the current value acquired by the current sensor to be calibrated by utilizing the calibration parameter. The embodiment of the application can determine the calibration parameters based on the calibration parameters determined by a plurality of groups of data sets, effectively compensate the precision drift of the current sensor to be calibrated caused by long-term use, and can realize the high-precision self-calibration of the current sensor to be calibrated without additional high-cost hardware.
Inventors
- YE ZHONGYIN
- YOU CHAOJIE
- MA JIANZHONG
- KONG QINGBO
Assignees
- 浙江吉利控股集团有限公司
- 吉利汽车研究院(宁波)有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260225
Claims (10)
- 1. A current sensor calibration method based on a T-shaped three-level circuit is characterized in that the T-shaped three-level circuit comprises a horizontal tube circuit, a vertical tube circuit and a phase current circuit, and the method comprises the following steps: The method comprises the steps of adjusting the respective duty ratio of a horizontal tube circuit and a vertical tube circuit according to preset adjustment times to obtain a plurality of groups of data sets, wherein each group of data sets comprises a phase current measured value and a horizontal tube current measured value, the phase current measured value is collected by a current sensor to be calibrated, which is arranged on the phase current circuit, and the horizontal tube current is collected by a reference current sensor, which is arranged on the horizontal tube circuit; determining calibration parameters of the current sensor to be calibrated according to the plurality of groups of data sets; and calibrating the current value acquired by the current sensor to be calibrated by utilizing the calibration parameters.
- 2. The method of claim 1, wherein each of the plurality of sets of data sets includes a first mapping for characterizing a mapping between phase current true values and cross tube current true values for the cross tube circuit and the riser circuit at respective duty cycles; The determining, according to the multiple sets of data sets, a calibration parameter of the current sensor to be calibrated includes: And determining the calibration parameters of the current sensor to be calibrated according to a plurality of groups of data sets comprising the first mapping relation.
- 3. The method of claim 2, wherein adjusting the respective duty cycles of the cross-pipe circuit and the standpipe circuit to obtain a plurality of sets of data according to the preset number of adjustments comprises: for each adjustment in the preset adjustment times, executing the following steps to obtain the multiple groups of data sets: the respective duty ratios of the horizontal pipe circuit and the vertical pipe circuit are adjusted to obtain a first duty ratio corresponding to the horizontal pipe circuit, a second duty ratio corresponding to the vertical pipe circuit, the phase current measured value and the horizontal pipe current measured value; And determining the first mapping relation from a plurality of preset mapping relations based on the first duty cycle and the second duty cycle, wherein the preset mapping relation comprises a mapping relation between a real value of a phase current of the phase current circuit under the first duty cycle and a real value of a horizontal tube current of the horizontal tube circuit under the second duty cycle.
- 4. The method of claim 2, wherein determining the calibration parameters of the current sensor to be calibrated from the plurality of sets of data comprises: Establishing a first constraint relation containing parameters to be determined according to the phase current measured value, the transverse tube current measured value and the first mapping relation in the data sets aiming at each group of the data sets to obtain a first constraint relation corresponding to each group of the data sets one by one; And calculating the parameters to be determined according to all the first constraint relations, and determining the calibration parameters according to the calculated parameters to be determined.
- 5. The method of claim 4, wherein the preset adjustment times and the preset times threshold are both greater than 1, and the preset adjustment times are less than or equal to the preset times threshold; the calculating the parameter to be determined according to all the first constraint relations, and determining the calibration parameter according to the calculated parameter to be determined, including: grouping all the first constraint relations to obtain at least one group of constraint relations, wherein each group of constraint relations comprises two different first constraint relations; Determining parameters to be determined corresponding to the constraint relations for each group of the constraint relations to obtain parameters to be determined corresponding to at least one group of the constraint relations one by one; And determining the calibration parameters according to the parameters to be determined, which are in one-to-one correspondence with at least one group of constraint relations.
- 6. The method of claim 4, wherein the preset adjustment times and the preset times threshold are both greater than 1, and the preset adjustment times are greater than the preset times threshold; the calculating the parameter to be determined according to all the first constraint relations, and determining the calibration parameter according to the calculated parameter to be determined, including: fitting calculation is carried out on a plurality of first constraint relations by adopting a least square method, so as to obtain a least square solution; and determining the least square solution as the calibration parameter.
- 7. The method of claim 1, wherein the respective duty cycles of the cross-pipe circuit and the standpipe circuit are different for each of the preset number of adjustments.
- 8. The method of claim 1, wherein the current sensor to be calibrated comprises an open loop Hall effect current sensor and the reference current sensor comprises a shunt resistance type current sensor.
- 9. A current sensor calibration system based on a T-shaped three-level circuit is characterized in that the T-shaped three-level circuit comprises a horizontal tube circuit, a vertical tube circuit and a phase current circuit, and the system comprises: The system comprises an adjustment module, a transverse tube circuit, a vertical tube circuit, a reference current sensor, a calibration module and a control module, wherein the adjustment module is used for adjusting the respective duty ratio of the transverse tube circuit and the vertical tube circuit according to preset adjustment times to obtain a plurality of groups of data sets, and each group of data sets comprises a phase current measured value and a transverse tube current measured value; The determining module is used for determining the calibration parameters of the current sensor to be calibrated according to the plurality of groups of data sets; and the calibration module is used for calibrating the current value acquired by the current sensor to be calibrated by utilizing the calibration parameters.
- 10. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program which, when executed by the processor, implements the method of any of claims 1 to 8.
Description
Current sensor calibration method, system and equipment based on T-type three-level circuit Technical Field The application relates to the technical field of sensors, in particular to a method, a system and equipment for calibrating a current sensor based on a T-type three-level circuit. Background The long-term accurate and reliable measurement of the current sensor is a key for guaranteeing the high-efficiency and safe operation of the system. In the related art, the widely adopted open-loop sensor has inherent defects of precision drift after long-term use, and the device assembly cannot be calibrated for the second time after installation, so that error accumulation is caused, further, the system operation precision is reduced, the operation stability is reduced, and even potential safety hazards are brought. Most of the existing solutions are to purchase a sensor with higher precision or adopt a closed loop sensor with high cost, and it is difficult to consider both long-term reliability and economic cost. Thus, there is a need for a low cost, high precision self-calibration scheme for current sensors that can be performed over the full life of the device. Disclosure of Invention Therefore, one of the purposes of the present application is to provide a method, a system and a device for calibrating a current sensor based on a T-type three-level circuit, which can determine calibration parameters, effectively compensate for the accuracy drift of the current sensor to be calibrated due to long-term use, and realize the high-accuracy calibration of the current sensor to be calibrated without additional high-cost hardware. In order to achieve the above purpose, the technical scheme of the application is realized as follows: in a first aspect, an embodiment of the present application provides a method for calibrating a current sensor based on a T-type three-level circuit, where the T-type three-level circuit includes a horizontal tube circuit, a vertical tube circuit, and a phase current circuit, and the method includes: The method comprises the steps of adjusting the respective duty ratio of a horizontal tube circuit and a vertical tube circuit according to preset adjustment times to obtain a plurality of groups of data sets, wherein each group of data sets comprises a phase current measured value and a horizontal tube current measured value, the phase current measured value is collected by a current sensor to be calibrated, which is arranged on the phase current circuit, and the horizontal tube current is collected by a reference current sensor, which is arranged on the horizontal tube circuit; determining calibration parameters of the current sensor to be calibrated according to the multiple groups of data sets; And calibrating the current value acquired by the current sensor to be calibrated by using the calibration parameters. In one possible implementation, each of the plurality of sets of data sets includes a first mapping relationship that characterizes a mapping relationship between the real value of the phase current and the real value of the cross-tube current at respective duty cycles of the cross-tube circuit and the standpipe circuit; determining calibration parameters of the current sensor to be calibrated according to the plurality of groups of data sets, comprising: And determining the calibration parameters of the current sensor to be calibrated according to the plurality of groups of data sets comprising the first mapping relation. In one possible implementation, adjusting the duty cycle of each of the horizontal tube circuit and the vertical tube circuit according to a preset adjustment frequency to obtain multiple sets of data sets includes: For each adjustment in the preset adjustment times, the following steps are executed to obtain a plurality of groups of data sets: The respective duty ratios of the horizontal tube circuit and the vertical tube circuit are adjusted to obtain a first duty ratio corresponding to the horizontal tube circuit, a second duty ratio corresponding to the vertical tube circuit, a phase current measured value and a horizontal tube current measured value; And determining a first mapping relation from a plurality of preset mapping relations based on the first duty cycle and the second duty cycle, wherein the preset mapping relation comprises a mapping relation between a real phase current value of the phase current circuit under the first duty cycle and a real transverse tube current value of the transverse tube circuit under the second duty cycle. In one possible embodiment, determining calibration parameters of the current sensor to be calibrated from the plurality of sets of data sets includes: For each group of data sets in a plurality of groups of data sets, establishing a first constraint relation containing parameters to be determined according to a phase current measured value, a transverse tube current measured value and a first mapping relation in the d