CN116165593A - Trimming method and system for current sensor - Google Patents

Trimming method and system for current sensor Download PDF

Info

Publication number
CN116165593A
CN116165593A CN202211709094.0A CN202211709094A CN116165593A CN 116165593 A CN116165593 A CN 116165593A CN 202211709094 A CN202211709094 A CN 202211709094A CN 116165593 A CN116165593 A CN 116165593A
Authority
CN
China
Prior art keywords
current sensor
output voltage
trimming
target current
target
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
Application number
CN202211709094.0A
Other languages
Chinese (zh)
Inventor
吴丙
朱海华
刘静迪
葛裕荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ning Bo Sinomags Electronic Technology Co ltd
Original Assignee
Ning Bo Sinomags Electronic Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ning Bo Sinomags Electronic Technology Co ltd filed Critical Ning Bo Sinomags Electronic Technology Co ltd
Priority to CN202211709094.0A priority Critical patent/CN116165593A/en
Publication of CN116165593A publication Critical patent/CN116165593A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/005Calibrating; Standards or reference devices, e.g. voltage or resistance standards, "golden" references

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

The invention discloses a trimming method and a trimming system of a current sensor, wherein the trimming method comprises the steps of providing alternating current to be tested for a standard current sensor and a target current sensor to be trimmed, and collecting a first output voltage of the standard current sensor and a second output voltage of the target current sensor according to the same sampling frequency; fitting the first output voltage and the second output voltage to obtain a fitting result, wherein the fitting result represents the transformation relationship between the first output voltage and the second output voltage; and determining trimming parameters of the target current sensor based on the fitting result and characteristic parameters of the standard current sensor, and writing the trimming parameters into the target current sensor so as to trim the output result of the target current sensor. The precision is high.

Description

Trimming method and system for current sensor
Technical Field
The invention relates to the technical field of sensor calibration, in particular to a trimming method and system of a current sensor.
Background
In practical applications, the measurement results of the current sensor are affected to different extents with temperature changes. If the accuracy of the measurement results in the specific temperature interval is to be ensured, the measurement results of each temperature interval are trimmed.
At present, when the current sensor is trimmed, the sampling time of each temperature interval is too long, and temperature fluctuation in the sampling process can also influence the trimming precision of the current sensor.
Disclosure of Invention
In view of this, the embodiment of the invention provides a trimming method and a trimming system for a current sensor, which can improve trimming accuracy of the current sensor.
In one aspect, the present invention provides a method for trimming a current sensor, the method comprising:
providing alternating current to be detected for a standard current sensor and a target current sensor to be trimmed, and collecting a first output voltage of the standard current sensor and a second output voltage of the target current sensor according to the same sampling frequency;
fitting the first output voltage and the second output voltage to obtain a fitting result, wherein the fitting result represents a transformation relationship between the first output voltage and the second output voltage; a kind of electronic device with high-pressure air-conditioning system
And determining trimming parameters of the target current sensor based on the fitting result and the characteristic parameters of the standard current sensor, and writing the trimming parameters into the target current sensor so as to trim the output result of the target current sensor.
In another aspect, the present invention further provides a trimming system for a current sensor, the system including:
the alternating current power supply is used for providing alternating current with a first frequency for the standard current sensor and the target current sensor to be trimmed;
the acquisition circuit is used for acquiring the first output voltage of the standard current sensor and the second output voltage of the target current sensor according to the same sampling frequency;
the upper computer is used for fitting the first output voltage and the second output voltage acquired by the acquisition circuit to obtain a fitting result, determining trimming parameters of the target current sensor based on the fitting result and characteristic parameters of the standard current sensor, and writing the trimming parameters into the target current sensor so as to trim the output result of the target current sensor, wherein the fitting result represents the transformation relation between the first output voltage and the second output voltage.
In some embodiments of the present application, an alternating current is provided to a target current sensor to repair the target current sensor. Because the magnitude of the alternating current changes along with time, the second output voltage corresponding to the input current of the target current sensor with different magnitudes can be acquired only by providing one current, and then the target current sensor can be trimmed based on the second output voltage. In the trimming process of the target current sensor, direct current can be provided for the target current sensor without dividing for many times, so that the trimming time of the target current sensor is shortened, the influence of temperature fluctuation on a trimming result in the trimming process is reduced, and the trimming precision of the current sensor can be improved.
Drawings
The features and advantages of the present invention will be more clearly understood by reference to the accompanying drawings, which are illustrative and should not be construed as limiting the invention in any way, in which:
FIG. 1 is a schematic diagram of some current sensors for current detection;
FIG. 2 is a schematic flow chart of a method for trimming a current sensor according to an embodiment of the present application;
FIG. 3 illustrates a schematic diagram of the connection of a standard current sensor and a target current sensor provided in one embodiment of the present application;
FIG. 4 shows a schematic diagram of the connection of a standard current sensor and a target current sensor provided in another embodiment of the present application;
FIG. 5 shows a schematic representation of the magnitude of alternating current provided by one embodiment of the present application over time;
FIG. 6 shows a schematic representation of a fitted curve provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of a trimming system according to an embodiment of the present application;
fig. 8 is a schematic diagram illustrating connection between a trimming switching circuit and an acquisition circuit according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram illustrating connection between the trimming switching circuit and the target current sensor according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, based on the embodiments of the invention, which a person skilled in the art would obtain without making any inventive effort, are within the scope of the invention.
Fig. 1 is a schematic diagram of some current sensors for current detection. The current sensor may be connected in series in a circuit of the magnitude of the current to be detected. Thus, the current of the current sensor is the same as the current of the circuit to be collected, and when the current of the current sensor is detected, the current of the circuit to be collected is detected.
The current magnitude of the current sensor can be reflected by the output voltage of the current sensor. Specifically, the output voltage of the current sensor may be in a corresponding relationship with the current magnitude of the current sensor. For example, when the output voltage of the current sensor is 2.5 volts, the current of the current sensor is 0 ampere; when the output voltage of the current sensor is 3 volts, the current of the current sensor is 1.5 amperes. Therefore, after the output voltage of the current sensor is detected by the acquisition circuit, the current of the current sensor can be correspondingly determined, and the circuit size in the circuit to be acquired can be determined.
However, in the use process of the current sensor, the output voltage of the current sensor is affected by temperature, so that the detection accuracy of the current sensor is not high. For example, assuming that, in theory, the current sensor has a current level of 0.5 ampere, the output voltage corresponding to the current sensor is 2.7 volts. Thus, when the output voltage of the current sensor is detected to be 2.7 volts, the current of the current sensor can be correspondingly estimated to be 0.5 ampere. However, in practical use, under the condition of 20 ℃, the current of the current sensor is 0.5 ampere hour, and the output voltage can be 2.6 volts; at 30 degrees celsius, the current sensor current level is 0.5 ampere, and the output voltage may be 2.8 volts. That is, the output voltage of the current sensor does not correspond to the theoretical current level due to the influence of temperature, so that the current level estimated from the output voltage of the current sensor is not high in accuracy.
In view of this, the current sensor is usually trimmed before the current sensor is put into service. The trimming process is to set trimming coefficients corresponding to each temperature interval for the current sensor. The trimming coefficient is used for trimming the output voltage of the current sensor, so that the current sensor outputs voltage with the corresponding magnitude with the current. Table 1 exemplarily shows the correspondence between the temperature interval and the trimming coefficient.
TABLE 1 correspondence between temperature intervals and trimming coefficients
Temperature interval Trimming coefficient
20-21 DEG C Trimming coefficient 1
21-22 DEG C Trimming coefficient 2
…… ……
29-30 DEG C Trimming coefficient 11
Based on table 1, in each temperature interval, the output voltage of the current sensor can be trimmed based on trimming coefficients corresponding to the temperature interval, so that the current sensor outputs voltage corresponding to the current, and the purpose of improving the detection precision is achieved.
For example, assuming that, in theory, the current sensor has a current level of 0.5 ampere, the output voltage corresponding to the current sensor is 2.7 volts. Then, at 20 degrees celsius, the output voltage of the current sensor can be trimmed based on the trimming coefficient 1, so that the current sensor outputs a voltage of 2.7 volts (if no trimming is performed, the current of the current sensor is 0.5 ampere hour at 20 degrees celsius, and the output voltage may be 2.6 volts). Similarly, at 30 degrees celsius, the output voltage of the current sensor may be trimmed based on the trimming coefficient 11, so that the current sensor outputs a voltage of 2.7 volts (if the trimming is not performed, the current of the current sensor may be 0.5 ampere at 30 degrees celsius, and the output voltage may be 2.8 volts). Therefore, the influence of temperature on the current sensor can be reduced through trimming, and the detection precision of the current sensor is improved.
Currently, in some technologies, when trimming the current sensor, the following operations are performed in each temperature interval:
and inputting direct currents with different magnitudes into the current sensor to be trimmed and the standard current sensor (the current sensor with trimming completed), and correspondingly acquiring output voltages of the current sensor to be trimmed and the standard current sensor. And obtaining the trimming coefficient of the current sensor to be trimmed in the corresponding temperature interval by fitting the output voltages of the current sensor to be trimmed and the standard current sensor.
In the technologies, direct current needs to be input for many times in a temperature interval, the trimming time is long, and the trimming precision of the current sensor is affected by temperature fluctuation in the process.
In view of this, the present application proposes a trimming method for a current sensor, which can improve trimming accuracy of the current sensor. Referring to fig. 2, a flow chart of a trimming method of a current sensor according to an embodiment of the present application is shown. The method shown in fig. 2 is a method of trimming a current sensor in one of the temperature intervals. If there are a plurality of temperature zones, the method shown in fig. 2 needs to be performed for each temperature zone. The trimming method specifically comprises the following steps:
step S21, providing alternating current to be tested for the standard current sensor and the target current sensor to be trimmed, and collecting the first output voltage of the standard current sensor and the second output voltage of the target current sensor according to the same sampling frequency.
The standard current sensor may be a current sensor for which trimming has been completed. The first output voltage of the standard current sensor may be temperature independent, the first output voltage corresponding to the current magnitude.
The target current sensor may then be a current sensor for which trimming has not been completed. The second output voltage of the target current sensor is affected by temperature, and the second output voltage may not correspond exactly to the current.
There are many different ways of connecting the standard current sensor and the target current sensor.
Referring to fig. 3 in combination, a schematic connection diagram of a standard current sensor and a target current sensor is provided in an embodiment of the present application. In fig. 3, an ac power source, a standard current sensor, and a target current sensor are connected in series, and the ac power source supplies ac power to the standard current sensor and the target current sensor.
Referring to fig. 4 in combination, a schematic connection diagram of a standard current sensor and a target current sensor is provided in another embodiment of the present application. In fig. 4, the standard current sensor and the target current sensor are connected in parallel, and the ac power source is connected to the standard current sensor and the target current sensor, respectively, to supply the same ac power to the standard current sensor and the target current sensor.
In fig. 3 and fig. 4, the acquisition circuit is connected to the standard current sensor and the target current sensor, respectively, and is configured to acquire a first output voltage of the standard current sensor and a second output voltage of the target current sensor according to the same sampling frequency. The same sampling frequency may refer to that the acquisition circuit acquires a first output voltage and a second output voltage from the same time starting point at the same preset time intervals. For example, starting at 0 th second, a first output voltage and a second output voltage are collected every 0.1 second. In this way, at each sampling point in time, a set of output voltages can be obtained, each set comprising a first output voltage and a second output voltage.
The acquisition circuit may comprise a variety of forms. For example, in fig. 3 and 4, the standard current sensor and the target current sensor are connected to the same acquisition circuit. The acquisition circuit can acquire the first output voltage and the second output voltage simultaneously through different ports. In other embodiments, the standard current sensor and the target current sensor may be each connected to one acquisition circuit, and different acquisition circuits acquire output voltages of the connected circuit sensors at the same sampling frequency. The present application is not limited in terms of the form of the acquisition circuit.
It will be appreciated that the magnitude of the current due to the alternating current is periodically variable over time. Therefore, if the first output voltage and the second output voltage are collected at a plurality of different time points in one alternating current period, the first output voltage and the second output voltage corresponding to different currents can be obtained.
For ease of understanding, please refer to fig. 5, which is a schematic diagram of the ac power level change with time according to an embodiment of the present application. In fig. 5, the Y-axis represents the current level and the X-axis represents time. Taking the dotted line as an example, the current levels at the several time points are different. Therefore, if the first output voltage and the second output voltage are acquired at the several time points, the obtained first output voltage and second output voltage are the first output voltage and second output voltage corresponding to different magnitude currents.
After providing an alternating current to be tested for the standard current sensor and the target current sensor, the first output voltage and the second output voltage corresponding to different currents can be obtained by collecting the first output voltage and the second output voltage at different time points. Therefore, different direct currents do not need to be input for multiple times, the sampling time of the output voltage can be greatly shortened, and the trimming time of the target current sensor is shortened.
In some embodiments, to collect the first output voltage and the second output voltage at a plurality of time points in one ac period, the above method for providing the ac to be measured for the standard current sensor and the target current sensor, and collecting the first output voltage and the second output voltage may include:
providing alternating current with a first frequency for the standard current sensor and the target current sensor, and collecting a first output voltage and a second output voltage according to a sampling frequency with a second frequency, wherein the first frequency is smaller than the second frequency.
Because the first frequency is smaller than the second frequency, the first output voltage and the second output voltage can be acquired for multiple times in one alternating current period, and then the first output voltage and the second output voltage corresponding to multiple currents with different magnitudes can be obtained.
In this embodiment, the ac power source provides a sine wave current having an amplitude of 150 amps and a frequency of 40 hertz. The sampling frequency was set to 100 khz and the sampling time point was set to 7500. It will be appreciated that the sampling frequency, the collection time point, the current magnitude and the frequency provided by the ac power source may be set according to practical situations, which is not limited in this application.
Step S22, fitting the first output voltage and the second output voltage to obtain a fitting result, wherein the fitting result represents the transformation relation between the first output voltage and the second output voltage.
In some embodiments, the fitting results may include a fitting curve. The first output voltage and the second output voltage may be fitted based on a least square method well known to those skilled in the art, resulting in a fitted curve of the first output voltage and the second output voltage. Referring specifically to fig. 6, a schematic diagram of a fitted curve according to an embodiment of the present application is provided. In fig. 6, the horizontal axis represents the first output voltage, and the vertical axis represents the second output voltage. The obtained fitting curve can reflect the transformation relation between the first output voltage and the second output voltage.
The fitted curve can be expressed as expression (1):
y=bx+a(1)
where y may represent the second output voltage acquired, x may represent the first output voltage, and a and b represent the intercept and slope, respectively, of the fitted curve.
Wherein the slope b can be calculated by expression (2):
Figure BDA0004026793030000081
n represents the number of sampling time points, x represents the first output voltage at each sampling time point, and y represents the second output voltage at each sampling time point.
Intercept a can be calculated by expression (3):
a=y-bx (3)
step S23, based on the fitting result and the characteristic parameters of the standard current sensor, the trimming parameters of the target current sensor are determined, and the trimming parameters are written into the target current sensor so as to trim the output result of the target current sensor.
The characteristic parameter of the standard current sensor may represent a characteristic index of the standard current sensor. The characteristic parameters of the standard current sensor may include a first zero output voltage and a first gain. The first zero output voltage represents the first output voltage of the standard current sensor when the input current of the standard current sensor is 0. The first gain characterizes a ratio of a first output voltage of the standard current sensor to the input current when the input current of the standard current sensor is not 0. In this embodiment, the first zero output voltage is set to 0 volts and the first gain is set to 0.005 volts per amp.
The trimming parameters of the target current sensor may include a zero output trimming parameter and a gain trimming parameter. The zero output trimming parameter is used for trimming the second zero output voltage of the target current sensor in the current detection process. The second zero output voltage characterizes a second output voltage of the target current sensor when the input current of the target current sensor is 0. The gain trimming parameter is used for trimming the second gain of the target current sensor. The second gain of the target current sensor represents a ratio of the second output voltage of the target current sensor to the input current when the input current of the target current sensor is not 0.
It can be appreciated that the second zero output voltage V of the target current sensor during current detection o Can be obtained by detection. Specifically, after the input current of the target current sensor is set to 0 ampere, the second zero output voltage of the target current sensor is detected by the acquisition circuit. However, considering that the process of detecting the second zero output voltage may be time-consuming, the trimming time of the target current sensor may be increased, so in some embodiments of the present application, the second zero output voltage of the target current sensor during the current detection process may be determined based on the fitting result and the first zero output voltage of the standard current sensor. Therefore, the second zero output voltage is obtained through calculation, so that the detection time of the second zero output voltage can be saved, and the trimming time of the target current sensing can be further shortened.
Specifically, the second zero output voltage of the target current sensor during the current detection may be determined based on expression (4).
V o =b*off+a(4)
Wherein V is o Representing the second zero output voltage of the target current sensor during current detection, and off representing the first zero output voltage of the standard current sensor.
After the second zero output voltage is obtained, the zero output trimming parameter of the target current sensor can be determined according to the difference between the target zero output voltage required by the target current sensor and the second zero output voltage. The target zero output voltage is the voltage which is expected to be reached by the modified second zero output voltage. In this embodiment, the target zero output voltage is set to 2.5 volts.
Specifically, the zero output trimming parameter of the target current sensor may be determined based on expression (5).
Figure BDA0004026793030000091
Wherein ZD represents the zero output trimming parameter of the target current sensor, LSBzd represents the minimum resolution voltage of ZD, and V off Indicating the target zero output voltage of the target current sensor, V off -V o Represents the difference between the target zero output voltage and the second zero output voltage, ZD And the zero point output trimming parameter of the target current sensor before trimming is represented. Here, ZD May be the initial zero output trimming parameter of the target current sensor. This initial zero output trimming parameter may be randomly set, presenting an inaccurate problem, and thus, the parameter of the target current sensor needs to be re-determined.
According to principles similar to determining the zero output trimming parameter, in some embodiments, a second gain of the target current sensor during current detection may be determined based on the fitting result and the first gain. And further, according to the difference between the target gain and the second gain required by the target current sensor, the gain trimming parameter of the target current sensor can be determined. Wherein the target gain is a gain that the trimmed second gain is expected to achieve. In this embodiment, the target gain is set to 0.8 volts per 150 amps.
Specifically, the second gain of the target current sensor in the current detection process may be determined based on expression (6).
V fs =b*fs(6)
Wherein V is fs Representing the second gain of the target current sensor in the current detection process, and fs represents the standard electricityA first gain of the flow sensor.
Further, the gain trimming parameter of the target current sensor may be determined based on expression (7).
Figure BDA0004026793030000101
Wherein GD represents the gain trimming parameter of the target current sensor, V full Representing the target gain of the target current sensor,
Figure BDA0004026793030000102
indicates the difference between the target gain and the second gain, GD Representing the gain trimming parameters of the target current sensor prior to trimming.
The determined trimming parameter may be written to the target current sensor to facilitate trimming the second output voltage of the target current sensor and the second gain.
It should be noted that, based on the above steps S21 to S23, the trimming parameter of the target current sensor in one of the temperature intervals may be determined. The steps S21 to S23 are sequentially executed in each temperature interval, so as to obtain the trimming parameters of the target current sensor in each temperature interval.
In some embodiments of the present application, an alternating current is provided to a target current sensor to repair the target current sensor. Because the magnitude of the alternating current changes along with time, the second output voltage corresponding to the input current of the target current sensor with different magnitudes can be acquired only by providing one current, and then the target current sensor can be trimmed based on the second output voltage. In the trimming process of the target current sensor, direct current can be provided for the target current sensor without dividing for many times, so that the trimming time of the target current sensor is shortened, the influence of temperature fluctuation on a trimming result in the trimming process is reduced, and the trimming precision of the current sensor can be improved.
Corresponding to the trimming method in fig. 2, the present application proposes a trimming system 700 of a current sensor. Trimming system 700 may be used to perform the trimming method of FIG. 2. Referring to fig. 7, a schematic structural diagram of a trimming system 700 according to an embodiment of the present application is provided. In fig. 7, the trimming system 700 includes a host computer 72, an ac power source 73, and an acquisition circuit 74. Wherein:
an ac power supply 73 for supplying ac power to be measured to the standard current sensor 75 and the target current sensor 77 to be trimmed;
an acquisition circuit 74 for acquiring a first output voltage of the standard current sensor 75 and a second output voltage of the target current sensor 77 at the same sampling frequency;
the upper computer 72 is configured to fit the first output voltage and the second output voltage acquired by the acquisition circuit 74 to obtain a fitting result, determine a trimming parameter of the target current sensor 77 based on the fitting result and a characteristic parameter of the standard current sensor 75, and write the trimming parameter into the target current sensor 77 so as to trim the output result of the target current sensor 77, where the fitting result represents a transformation relationship between the first output voltage and the second output voltage.
In some embodiments, ac power source 73 is specifically configured to provide ac power at a first frequency to standard current sensor 75 and target current sensor 77; the acquisition circuit 74 is specifically configured to acquire the first output voltage and the second output voltage according to a sampling frequency of the second frequency; wherein the first frequency is less than the second frequency.
In some embodiments, the upper computer 72 is specifically configured to determine a second zero output voltage of the target current sensor 77 during the current detection process based on the fitting result and the first zero output voltage, and determine a zero output trimming parameter of the target current sensor 77 according to a difference between the target zero output voltage and the second zero output voltage required by the target current sensor 77.
In some embodiments, the upper computer 72 is specifically configured to determine a second gain of the target current sensor 77 during the current detection process based on the fitting result and the first gain, and determine a gain trimming parameter of the target current sensor 77 according to a difference between the target gain required by the target current sensor 77 and the second gain.
In some embodiments, to facilitate trimming the target current sensor 77 at different temperature intervals, the trimming system 700 may further include an oven 71. A target current sensor 77 is located within oven 71. The oven 71 may provide different ambient temperatures for the target current sensor 77, so that the target current sensor 77 may be trimmed at different temperature intervals.
In some embodiments, trimming system 700 may further include trimming switching circuit 76. Reference is made to fig. 8 and 9 in combination. Fig. 8 is a schematic diagram illustrating connection between the trimming switching circuit 76 and the acquisition circuit 74 according to an embodiment of the present application. Fig. 9 is a schematic diagram illustrating connection between the trimming switching circuit 76 and the target current sensor 77 according to an embodiment of the present application.
In fig. 8 and 9, the trimming switching circuit 76 is connected between the collecting circuit 74 and the plurality of target current sensors 77, and is configured to sequentially connect the collecting circuit 74 to each of the target current sensors 77 in the trimming order of the plurality of target current sensors 77, so that the collecting circuit 74 collects the second output voltages of the connected target current sensors 77. The acquisition circuit 74 includes a standard acquisition port PortA and a plurality of target acquisition ports PortB. In fig. 8, the acquisition circuit 74 illustratively includes 4 target acquisition ports PortB.
The standard acquisition port PortA is connected to the standard current sensor 75 for acquiring a first output voltage. Each target acquisition port PortB is connected to one trimming switching circuit 76, and is used for acquiring the second output voltage of the target current sensor 77 communicated with the trimming switching circuit 76. The upper computer 72 is configured to fit the second output voltages acquired by the different target acquisition ports PortB with the first output voltages, and determine trimming parameters of the target current sensors 77 connected to each trimming switching circuit 76 based on the fitting result and characteristic parameters of the standard current sensor 75.
For any target current sensor 77 that the trimming switching circuit 76 communicates with, the acquisition circuit 74 is specifically configured to acquire a first output voltage of the standard current sensor 75 and a second output voltage of the target current sensor 77 at different temperatures; the upper computer 72 is specifically configured to perform fitting on the first output voltage and the second output voltage at different temperatures, obtain fitting results corresponding to the temperatures, determine trimming parameters of the target current sensor 77 at different temperatures based on the fitting results corresponding to the temperatures and characteristic parameters of the standard current sensor, and write the trimming parameters at different temperatures into the target current sensor 77. The trimming switching circuit 76 is specifically configured to switch the connected target current sensor 77 from the target current sensor 77 to the next target current sensor 77 after trimming parameters at different temperatures are written into the target current sensor 77.
Take the trimming switching circuit 1 in fig. 9 as an example. The trimming switching circuit 1 may first communicate with the target current sensor 1-1. After determining trimming parameters of the target current sensor 1-1 in each temperature interval and writing the trimming parameters into the target current sensor 1-1, the trimming switching circuit 1 may disconnect the target current sensor 1-1 and connect the target current sensor 1-2. And so on, to obtain trimming parameters of each target current sensor 77.
The trimming system 700 shown in fig. 8 and 9 can perform batch trimming on a plurality of target current sensors 77, and improve trimming efficiency of the target current sensors 77.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope of the invention as defined by the appended claims.

Claims (12)

1. A method of trimming a current sensor, the method comprising:
providing alternating current to be detected for a standard current sensor and a target current sensor to be trimmed, and collecting a first output voltage of the standard current sensor and a second output voltage of the target current sensor according to the same sampling frequency;
fitting the first output voltage and the second output voltage to obtain a fitting result, wherein the fitting result represents a transformation relationship between the first output voltage and the second output voltage; a kind of electronic device with high-pressure air-conditioning system
And determining trimming parameters of the target current sensor based on the fitting result and the characteristic parameters of the standard current sensor, and writing the trimming parameters into the target current sensor so as to trim the output result of the target current sensor.
2. The method of claim 1, wherein providing the standard current sensor and the target current sensor with alternating current to be measured and collecting the first output voltage and the second output voltage comprises:
providing alternating current of a first frequency for the standard current sensor and the target current sensor, and collecting the first output voltage and the second output voltage according to a sampling frequency of a second frequency, wherein the first frequency is smaller than the second frequency.
3. The method of claim 1, wherein the characteristic parameter of the standard current sensor comprises a first zero output voltage and the trimming parameter of the target current sensor comprises a zero output trimming parameter;
the determining the trimming parameter of the target current sensor comprises the following steps:
determining a second zero output voltage of the target current sensor in a current detection process based on the fitting result and the first zero output voltage;
and determining a zero output trimming parameter of the target current sensor according to the difference between the target zero output voltage required by the target current sensor and the second zero output voltage.
4. The method of claim 1, wherein the characteristic parameter of the standard current sensor comprises a first gain and the trimming parameter of the target current sensor comprises a gain trimming parameter;
the determining the trimming parameter of the target current sensor comprises the following steps:
determining a second gain of the target current sensor in a current detection process based on the fitting result and the first gain;
and determining a gain trimming parameter of the target current sensor according to the difference between the target gain required by the target current sensor and the second gain.
5. A trimming system for a current sensor, the system comprising:
the alternating current power supply is used for providing alternating current to be tested for the standard current sensor and the target current sensor to be trimmed;
the acquisition circuit is used for acquiring the first output voltage of the standard current sensor and the second output voltage of the target current sensor according to the same sampling frequency;
the upper computer is used for fitting the first output voltage and the second output voltage acquired by the acquisition circuit to obtain a fitting result, determining trimming parameters of the target current sensor based on the fitting result and characteristic parameters of the standard current sensor, and writing the trimming parameters into the target current sensor so as to trim the output result of the target current sensor, wherein the fitting result represents the transformation relation between the first output voltage and the second output voltage.
6. The system of claim 5, wherein the ac power source is specifically configured to provide ac power at a first frequency to the standard current sensor and the target current sensor;
the acquisition circuit is specifically configured to acquire the first output voltage and the second output voltage according to a sampling frequency of a second frequency;
wherein the first frequency is less than the second frequency.
7. The system of claim 5, wherein the characteristic parameter of the standard current sensor comprises a first zero output voltage and the trimming parameter of the target current sensor comprises a zero output trimming parameter;
the upper computer is specifically configured to determine a second zero output voltage of the target current sensor in a current detection process based on the fitting result and the first zero output voltage, and determine a zero output trimming parameter of the target current sensor according to a difference between the target zero output voltage required by the target current sensor and the second zero output voltage.
8. The system of claim 5, wherein the characteristic parameter of the standard current sensor comprises a first gain and the trimming parameter of the target current sensor comprises a gain trimming parameter;
the upper computer is specifically configured to determine a second gain of the target current sensor in a current detection process based on the fitting result and the first gain, and determine a gain trimming parameter of the target current sensor according to a difference between a target gain required by the target current sensor and the second gain.
9. The system of claim 5, further comprising a trimming switching circuit, wherein:
the trimming switching circuit is connected between the acquisition circuit and the plurality of target current sensors and is used for sequentially communicating the acquisition circuit with each target current sensor according to trimming sequences of the plurality of target current sensors so that the acquisition circuit can acquire second output voltages of the communicated target current sensors.
10. The system of claim 9, wherein the acquisition circuit comprises a standard acquisition port and a plurality of target acquisition ports, wherein:
the standard acquisition port is connected with the standard current sensor and is used for acquiring the first output voltage;
each target acquisition port is respectively connected with one trimming switching circuit and is used for acquiring the second output voltage of the target current sensor communicated with the trimming switching circuit;
the upper computer is used for fitting the second output voltages acquired by different target acquisition ports with the first output voltages respectively, and determining trimming parameters of the target current sensors communicated with each trimming switching circuit respectively based on a fitting result and characteristic parameters of the standard current sensors.
11. The system of claim 9, wherein, for any of the target current sensors in communication with the trimming switching circuit,
the acquisition circuit is specifically used for acquiring the first output voltage of the standard current sensor and the second output voltage of the target current sensor at different temperatures;
the upper computer is specifically configured to perform fitting on the first output voltage and the second output voltage at different temperatures, obtain fitting results corresponding to the temperatures, determine trimming parameters of the target current sensor at different temperatures based on the fitting results corresponding to the temperatures and characteristic parameters of the standard current sensor, and write the trimming parameters at different temperatures into the target current sensor.
12. The system of claim 11, wherein the trimming switching circuit is specifically configured to switch the connected target current sensor from the target current sensor to the next target current sensor after trimming parameters at different temperatures are written into the target current sensor.
CN202211709094.0A 2022-12-29 2022-12-29 Trimming method and system for current sensor Pending CN116165593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211709094.0A CN116165593A (en) 2022-12-29 2022-12-29 Trimming method and system for current sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211709094.0A CN116165593A (en) 2022-12-29 2022-12-29 Trimming method and system for current sensor

Publications (1)

Publication Number Publication Date
CN116165593A true CN116165593A (en) 2023-05-26

Family

ID=86421256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211709094.0A Pending CN116165593A (en) 2022-12-29 2022-12-29 Trimming method and system for current sensor

Country Status (1)

Country Link
CN (1) CN116165593A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118091232A (en) * 2024-04-24 2024-05-28 北京燕能电气技术有限公司 Device for reducing distortion of measuring signal of current sensor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118091232A (en) * 2024-04-24 2024-05-28 北京燕能电气技术有限公司 Device for reducing distortion of measuring signal of current sensor

Similar Documents

Publication Publication Date Title
CN116165593A (en) Trimming method and system for current sensor
CN108445292A (en) Resistance measurement method based on error correction and device
CN103969614A (en) Calibration method for digital multimeter
CN112557987A (en) Current measurement calibration system and method
CN106370932B (en) Method and system for detecting resistivity of thin-layer silicon wafer based on pseudo-measurement value method
CN104237762A (en) Semiconductor laser testing device, system and method
CN107943642B (en) Performance test method of capacitive touch sensing device
CN104750132A (en) Testing temperature correction method, controller and testing temperature correction system
CN109975607B (en) Power distribution station area capacity identification method and device, storage medium and electronic equipment
US2841765A (en) Electric ohmmeter
CN114879775B (en) Temperature control method, device, system, equipment and storage medium
CN115469145B (en) Weak current detection device
CN113960256A (en) Temperature compensation method for water content instrument
CN105277292A (en) Temperature measurement device
CN110530544A (en) A kind of temperature correction method and system
CN106199169A (en) A kind of intelligent high-accuracy voltage data collecting system and method
CN110243877A (en) A kind of fast gas quantitative testing device suitable for multiple gases
CN109900970A (en) A kind of multi channel detector capacitor automatic measurement system
CN110857890A (en) High-precision temperature detection method and device
CN112816754B (en) Current compensation method and equipment for current transformer
CN116184294A (en) Trimming system of current sensor
CN108152712A (en) Board failure detection method and equipment
CN210571092U (en) High-efficient multichannel vehicle air conditioner sensor detector
CN113834565A (en) Structured automatic acquisition method and measuring device for calibration of multi-type vibration sensor
CN110118630B (en) Calibration judgment method for magnetic control vacuum gauge

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