CN108519571B - Method and device for offset correction of Hall current sensor of welding machine - Google Patents
Method and device for offset correction of Hall current sensor of welding machine Download PDFInfo
- Publication number
- CN108519571B CN108519571B CN201810207616.4A CN201810207616A CN108519571B CN 108519571 B CN108519571 B CN 108519571B CN 201810207616 A CN201810207616 A CN 201810207616A CN 108519571 B CN108519571 B CN 108519571B
- Authority
- CN
- China
- Prior art keywords
- current
- hall
- current sensor
- hall current
- sensor
- 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.)
- Active
Links
- 238000012937 correction Methods 0.000 title claims abstract description 33
- 238000003466 welding Methods 0.000 title claims abstract description 22
- 238000000034 method Methods 0.000 title claims abstract description 14
- 238000005070 sampling Methods 0.000 claims description 23
- 239000003990 capacitor Substances 0.000 description 10
- 238000001514 detection method Methods 0.000 description 9
- 230000002411 adverse Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000005355 Hall effect Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000009413 insulation Methods 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
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
Abstract
The invention discloses a Hall current sensor offset correction method for a welding machine, which comprises the following steps: step one, starting the welding machine, and detecting whether a Hall current sensor has current or not; step two, if the Hall current sensor has current, compensating a first offset value; if the Hall current sensor has no current, detecting the current of the Hall current sensor after a preset time; and thirdly, judging whether the current of the Hall current sensor is the same as a preset current, and if not, compensating a second offset value. The invention also discloses a device for correcting the offset of the Hall current sensor of the welding machine.
Description
Technical Field
The invention relates to the technical field of welding machines, in particular to a Hall current sensor offset correction method and device of a welding machine.
Background
The Hall current sensor converts primary large current into secondary micro voltage signals based on a magnetic balance Hall principle, and then a current value is obtained. According to the hall effect principle, a current I is supplied from the control current terminal of the hall element, and a magnetic field having a magnetic field strength B is applied in the normal direction of the plane of the hall element, so that an electric potential is generated in the direction perpendicular to the current and the magnetic field. The magnitude of the current flowing in the conductor can be measured indirectly by measuring the magnitude of the hall potential. Through the electric-magnetic-electric conversion, the sampling of the current insulation isolation is realized.
Hall current sensors have many advantages in industrial applications. The non-contact detection is adopted, so that the measurement of the current value can be directly realized without changing the original electric connection, the current value is isolated from the electric equipment, a plurality of unnecessary interferences are avoided, the electric equipment is not influenced, and the current waveform is fed back with high precision. The traditional detecting element is limited by a plurality of factors such as a specified frequency, a specified waveform, response lag and the like, is difficult to widely apply, the measuring range of a new-generation Hall current sensor is wide, the current of any waveform can be measured, the response speed is high, the transient peak current can be displayed in real time, the measuring precision is high, the measuring precision is better than 1%, the reliability is high, the average fault-free duration is long, the overload capacity is high, the measuring range is large, and the measuring range reaches ten thousand amperes.
The offset current is also called residual current or residual current, which means that no current flows in an actual wire, but the Hall sensor detects that current flows, so that feedback information is inconsistent with the actual current, and the electric equipment is in failure when the feedback information is light, and the personal safety is endangered when the feedback information is heavy.
The offset current is mainly caused by unstable operation of an operational amplifier in a Hall element or an electronic circuit, when the sensor is produced, the sensor is subjected to zero adjustment under the condition that the primary side current is zero at 25 ℃, but in practical application, different working environments cause the offset of the sensor to different degrees, and even the same electrical equipment cannot always work in the same environment. For safety and reliability reasons of the electrical system, in particular for personal safety reasons, offset correction of the hall current sensor is essential.
Disclosure of Invention
In view of the problems existing in the prior art, the invention provides a Hall current sensor offset correction method and device for a welding machine, which can automatically detect offset correction of a Hall sensor.
In order to achieve the above object, the present invention discloses a method for hall current sensor offset correction of a welder, comprising: step one, starting the welding machine, and detecting whether a Hall current sensor has current or not; step two, if the Hall current sensor has current, compensating a first offset value; if the Hall current sensor has no current, detecting the current of the Hall current sensor after a preset time; and thirdly, judging whether the current of the Hall current sensor is the same as a preset current, and if not, compensating a second offset value.
Further, the detecting whether the hall current sensor has a current in the first step specifically includes: sampling the Hall current sensor to obtain a sampling signal, and judging whether the Hall current sensor has current or not according to the sampling signal.
Further, the first offset value is a current value of the sampling signal.
Further, the second offset value is a difference between the current value of the hall current sensor and the preset current value.
Further, the preset time is two seconds after the welder stably works.
Furthermore, when the output current of the welding machine is constant and the output voltage fluctuation is within plus or minus 2 volts, the welding machine works stably.
The invention also discloses a Hall current sensor offset correction device for the welding machine, which comprises: a sampling signal, a preset signal, a first comparator unit and a second comparator unit; the sampling signal is connected with the negative input end of the first comparator unit, the preset signal is connected with the positive input end of the first comparator unit, and a first comparison circuit is formed with the output end of the first comparator unit; the sampling signal is connected with the positive input end of the second comparator unit, the preset signal is connected with the negative input end of the second comparator unit, and a second comparison circuit is formed by the sampling signal and the output end of the second comparator unit.
Further, when the sampling signal is greater than the preset signal, the output signal of the first comparison circuit is greater than zero, and the positive bias of the Hall current sensor is judged; when the sampling signal is smaller than or equal to the preset signal, the output signal of the second comparison circuit is larger than zero, and the negative bias of the Hall sensor is judged.
Furthermore, the first comparing circuit further comprises resistors R1, R2, R3, R6, capacitors C1, C2, and a zener diode ZD1, wherein one end of the resistor R1 is connected to the preset signal, the other end is connected to the positive input end of the first comparator unit and the negative input end of the second comparator unit, one end of the resistor R6 is connected to the positive input end of the resistor R1 and the comparator unit after being connected in parallel with the capacitor C1, the other end is grounded, one end of the capacitor C1 is connected to the other end of the power supply, one end of the resistor R2 is connected to the output end of the first comparator unit, the other end is connected to the resistor R3 and the zener diode ZD1, the other end of the resistor R3 is grounded, and the other end of the zener diode is used for outputting the output signal of the first comparing circuit.
Furthermore, the second comparing circuit further comprises resistors R4, R5, a capacitor C3, and a zener diode ZD2, wherein one end of the resistor R4 is connected with the sampling signal, the other end is connected with the negative input end of the first comparator unit and the positive input end of the second comparator unit, the resistor R5 and the capacitor C4 are connected in parallel, one face is connected with the resistor R4, the other end is grounded, one end of the resistor R7 is connected with the other end of the output end of the second comparator unit to be grounded, and one end of the zener diode ZD2 is connected with the other end of the output end of the second comparator unit to be used for outputting the output signal of the second comparing circuit.
Compared with the prior art, the offset correction of the sensor is realized by adopting a software and hardware regulation method, whether the offset occurs to the Hall current sensor is detected in real time through the detection circuit, and different parameter compensation is carried out according to the positive direction or the negative direction of the offset. The technical scheme can realize automatic correction, is convenient and reliable, saves time and labor and saves cost. The detection method and the detection circuit provided by the technical scheme can be suitable for different machine equipment and different Hall sensors, and adverse effects caused by current offset of the Hall current sensor are effectively avoided.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a flow chart of a Hall current sensor offset correction method in accordance with the present invention;
fig. 2 is a schematic circuit diagram of the offset correction device for the hall current sensor according to the present invention.
Detailed Description
The presence of offset currents in hall current sensors as described in the background art can lead to inaccurate inspection of the actual operating device. When a hall current sensor is used in a welding machine, if forward offset occurs (that is, the sensor detects current under the condition of no current, so that the feedback current value is larger than the actual value, the offset even reaches ten amperes), many problems can occur in judging the current of the welding machine. If the current value is judged to be smaller than two amperes, the gas supply is stopped, and the minimum sampling current is larger than two amperes due to the larger sampling value, so that the welding machine supplies gas all the time; the arcing current is five amperes, and when the preset value is five amperes, the actual current is only zero amperes. The positive bias of the Hall causes that a plurality of functions cannot be realized, the use of the machine is seriously influenced, and even potential safety hazards exist. The negative bias and the positive bias of the Hall are opposite, and the current is actually available, but no current is detected, so that the detected current is smaller than the actual current. The negative bias of the Hall current has little influence on the functions of the welding machine, but after the actual current is large, when the welding machine works under high load for a long time, the service life of the welding machine is seriously influenced, and a machined workpiece is imperfect or even damaged.
The invention provides a Hall current sensor offset correction method and a Hall current sensor offset correction device for a welding machine, which can automatically detect offset correction of a Hall sensor, can effectively detect whether offset current exists in the Hall current sensor, and can compensate offset values when the welding machine works.
To make the objects, advantages and features of the present invention more apparent, the apparatus of the present invention will be described in further detail with reference to fig. 1 and 2. It should be noted that the drawings are in a very simplified form and are all to a non-precise scale, merely for convenience and clarity in aiding in the description of embodiments of the invention.
As used in this specification, the singular forms "a", "an" and "the" include plural referents unless the content clearly dictates otherwise. As used in this specification, the term "or" is generally employed in its sense including "and/or" unless the content clearly dictates otherwise.
Fig. 1 is a flowchart of a hall current sensor offset correction method according to the present invention. As shown in fig. 1, the flowchart includes a power-on self-test S1. The welding machine is in a non-working state after being started, at the moment, the output current of the Hall current sensor is zero, and at the moment, the current value fed back by the sensor is zero. The current value S2 fed back by the sensor is detected. The Hall current sensor is connected with a detection circuit, the detection circuit adopts the output current S3 of the Hall current sensor, and if the output current of the Hall current sensor is zero at this time, no current flows through the Hall current sensor and no offset current exists. The welder is operating normally and starts to enter an operating state S5. If the output current of the Hall current sensor is not zero at the moment, the positive offset of the Hall current sensor occurs. To reduce the error, the offset of the welder at two seconds on is recorded. Correction is performed in the current calculation in the program, and the actual current is reduced due to the forward bias of the sensor, and the offset S4 is increased in the current calculation. In order to prevent the fluctuation of current sampling, the offset value fed back by the sensor is selected as a correction parameter when the power is turned on for two seconds, the correction parameter is not modified, and the correction parameter is reselected when the power is turned on next time.
After the welder enters the working state, the output current is constant, the output voltage fluctuation is within the allowable range, such as positive and negative 2V, and the welder can be regarded as a stable working state S5 at the moment. After the welder enters a stable working state for a certain time, for example, after two seconds, the current value of the Hall current sensor is not changed any more S6. At this time, the magnitude S7 of the current preset value and the current value fed back by the sensor is compared. If the two values are the same, the Hall current sensor works normally S8, otherwise, negative bias occurs, the preset value is larger than the feedback value, and the difference between the two values is taken as the correction parameter S9. The output actual current is larger at this time, so the correction parameter is subtracted from the current calculation to obtain the actual current. The fluctuation is also prevented, the correction parameters are only taken once and are not modified, and the correction parameters are selected again when the computer is started next time.
Fig. 2 is a schematic circuit diagram of the offset correction device for the hall current sensor according to the present invention. The hardware circuit is designed to judge the Hall offset condition, sample the signal IF, preset the signal IG and compare the two signals. When the IF is larger than the IG, namely the Atest signal is larger than zero, the Hall positive bias is judged, the offset value is IF, and when the IF is smaller than or equal to the IG, namely the Btust signal is larger than zero, the Hall negative bias is judged, and the offset value is IG-IF. Otherwise, the Hall is normal. As shown in fig. 2, the hardware circuit mainly includes a first comparator unit U1 and a second comparator unit U2. The sampling signal IF is connected to the negative input end of the first comparator unit U1, the preset signal IG is connected to the positive input end of the first comparator unit U1, and a first comparison circuit is formed with the output end of the first comparator unit U1. The sampling signal is connected with the positive input end of the second comparator unit U2, the preset signal is connected with the negative input end of the second comparator unit U2, and a second comparison circuit is formed by the sampling signal and the output end of the second comparator unit U2. When the hardware circuit detects positive bias, the Hall current detector inputs a correction parameter of +IF. When the hardware circuit detects a negative bias, the hall current detector inputs a correction parameter of- (IG-IF).
The first comparison circuit further comprises resistors R1, R2, R3 and R6, capacitors C1 and C2 and a zener diode ZD1, one end of the resistor R1 is connected with the preset signal, the other end of the resistor R1 is connected with the positive input end of the first comparator unit and the negative input end of the second comparator unit, one end of the resistor R6 is connected with the positive input end of the resistor R1 and the comparator unit after being connected with the capacitor C1 in parallel, the other end of the resistor R6 is grounded, one end of the capacitor C1 is connected with the other end of the power supply and grounded, one end of the resistor R2 is connected with the output end of the first comparator unit, the other end of the resistor R3 is connected with the zener diode ZD1, and the other end of the resistor R3 is grounded, and the other end of the zener diode is used for outputting the output signal of the first comparison circuit.
The second comparison circuit further comprises resistors R4, R5 and R5, a capacitor C3 and a zener diode ZD2, wherein one end of the resistor R4 is connected with the sampling signal, the other end of the resistor R4 is connected with the negative input end of the first comparator unit and the positive input end of the second comparator unit, one face of the resistor R5 and the capacitor C4 are connected in parallel, the other end of the resistor R5 is grounded, one end of the resistor R7 is connected with the other end of the output end of the second comparator unit and grounded, and one end of the zener diode ZD2 is connected with the other end of the output end of the second comparator unit and is used for outputting the output signal of the second comparison circuit.
Compared with the prior art, the offset correction of the sensor is realized by adopting a software and hardware regulation method, whether the offset occurs to the Hall current sensor is detected in real time through the detection circuit, and different parameter compensation is carried out according to the positive direction or the negative direction of the offset. The technical scheme can realize automatic correction, is convenient and reliable, saves time and labor and saves cost. The detection method and the detection circuit provided by the technical scheme can be suitable for different machine equipment and different Hall sensors, and adverse effects caused by current offset of the Hall current sensor are effectively avoided.
The above description is only illustrative of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention, and any alterations and modifications made by those skilled in the art based on the above disclosure shall fall within the scope of the appended claims.
Claims (3)
1. A method for hall current sensor offset correction for a welder, comprising:
step one, starting the welding machine, and detecting whether a Hall current sensor has current or not;
step two, if the Hall current sensor has current, compensating a first offset value; if the Hall current sensor has no current, detecting the current of the Hall current sensor after a preset time;
judging whether the current of the Hall current sensor is the same as a preset current or not, and if not, compensating a second offset value;
the detecting whether the hall current sensor has current specifically includes: sampling the Hall current sensor to obtain a sampling signal, and judging whether the Hall current sensor has current according to the sampling signal;
the first offset value is a current value of the sampling signal;
the second offset value is the difference between the current value of the Hall current sensor and the preset current value.
2. The method of hall current sensor offset correction of claim 1, wherein the preset time is two seconds after steady operation of the welder.
3. The method of hall current sensor offset correction of claim 2 wherein when the welder output current is constant, the output voltage fluctuates to within plus or minus 2 volts, which is a steady operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810207616.4A CN108519571B (en) | 2018-03-14 | 2018-03-14 | Method and device for offset correction of Hall current sensor of welding machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810207616.4A CN108519571B (en) | 2018-03-14 | 2018-03-14 | Method and device for offset correction of Hall current sensor of welding machine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108519571A CN108519571A (en) | 2018-09-11 |
CN108519571B true CN108519571B (en) | 2024-01-23 |
Family
ID=63433672
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810207616.4A Active CN108519571B (en) | 2018-03-14 | 2018-03-14 | Method and device for offset correction of Hall current sensor of welding machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108519571B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109459715B (en) * | 2018-10-17 | 2021-03-26 | 宁波中车时代传感技术有限公司 | Closed-loop Hall effect current sensor simulation method |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009281771A (en) * | 2008-05-20 | 2009-12-03 | Honda Motor Co Ltd | Current sensor |
CN102780461A (en) * | 2006-07-07 | 2012-11-14 | 雅马哈株式会社 | Offset voltage correction circuit and class D amplifier |
CN103018489A (en) * | 2012-11-26 | 2013-04-03 | 微动科技(杭州)有限公司 | Zero offset correction method and correction device |
CN103248345A (en) * | 2013-05-23 | 2013-08-14 | 成都芯进电子有限公司 | Temperature compensating circuit and temperature compensating method for switch-type Hall sensor |
CN103713271A (en) * | 2013-12-13 | 2014-04-09 | 惠州市亿能电子有限公司 | BMS current detection unit automatic calibration device and calibration method |
CN105414717A (en) * | 2016-01-13 | 2016-03-23 | 上海威特力焊接设备制造股份有限公司 | Current offset correction circuit and method for AC argon arc welding machine |
CN106324318A (en) * | 2015-07-02 | 2017-01-11 | 三星Sdi株式会社 | Method of measuring battery pack current |
CN107076806A (en) * | 2014-09-04 | 2017-08-18 | 铁姆肯公司 | Hall effect sensor circuit with migration |
CN107205110A (en) * | 2016-03-16 | 2017-09-26 | 三星电机株式会社 | Hall sensor off-centre correcting circuit and the camera module for possessing this |
US20170363693A1 (en) * | 2016-06-17 | 2017-12-21 | Texas Instruments Incorporated | High bandwidth hall sensor |
CN208110023U (en) * | 2018-03-14 | 2018-11-16 | 上海威特力焊接设备制造股份有限公司 | Hall current sensor offset correction device for welding machine |
-
2018
- 2018-03-14 CN CN201810207616.4A patent/CN108519571B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102780461A (en) * | 2006-07-07 | 2012-11-14 | 雅马哈株式会社 | Offset voltage correction circuit and class D amplifier |
JP2009281771A (en) * | 2008-05-20 | 2009-12-03 | Honda Motor Co Ltd | Current sensor |
CN103018489A (en) * | 2012-11-26 | 2013-04-03 | 微动科技(杭州)有限公司 | Zero offset correction method and correction device |
CN103248345A (en) * | 2013-05-23 | 2013-08-14 | 成都芯进电子有限公司 | Temperature compensating circuit and temperature compensating method for switch-type Hall sensor |
CN103713271A (en) * | 2013-12-13 | 2014-04-09 | 惠州市亿能电子有限公司 | BMS current detection unit automatic calibration device and calibration method |
CN107076806A (en) * | 2014-09-04 | 2017-08-18 | 铁姆肯公司 | Hall effect sensor circuit with migration |
CN106324318A (en) * | 2015-07-02 | 2017-01-11 | 三星Sdi株式会社 | Method of measuring battery pack current |
CN105414717A (en) * | 2016-01-13 | 2016-03-23 | 上海威特力焊接设备制造股份有限公司 | Current offset correction circuit and method for AC argon arc welding machine |
CN107205110A (en) * | 2016-03-16 | 2017-09-26 | 三星电机株式会社 | Hall sensor off-centre correcting circuit and the camera module for possessing this |
US20170363693A1 (en) * | 2016-06-17 | 2017-12-21 | Texas Instruments Incorporated | High bandwidth hall sensor |
CN208110023U (en) * | 2018-03-14 | 2018-11-16 | 上海威特力焊接设备制造股份有限公司 | Hall current sensor offset correction device for welding machine |
Non-Patent Citations (1)
Title |
---|
闭环霍尔电流传感器在光伏汇流箱中的应用;付汉东等;《湖北电力》;第37卷(第5期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN108519571A (en) | 2018-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2343786B1 (en) | Circuit fault detecting device and method | |
CN108693449B (en) | System and method for diode-connected redundant DC power supply system insulation fault location | |
US20110260711A1 (en) | Method and device for determining a direct current and resistance welding device | |
CN108519571B (en) | Method and device for offset correction of Hall current sensor of welding machine | |
CN115015744A (en) | AC charging pile relay adhesion detection circuit | |
TWI479292B (en) | Voltage regulator circuit and method thereof | |
JP2016099344A (en) | Ground resistance measurement device and operation method thereof | |
JP4811026B2 (en) | Voltage sensor abnormality detection method, abnormality detection device, and voltage sensor | |
JP6932964B2 (en) | DC power supply circuit disconnection discriminator and wiring discriminator | |
CA2868291C (en) | Neutral grounding resistor monitor | |
CN208110023U (en) | Hall current sensor offset correction device for welding machine | |
US20200112169A1 (en) | System and method for over voltage protection in both positive and negative polarities | |
JP5818005B2 (en) | Inspection method for resistance welding apparatus and bias current measuring instrument | |
JP6809189B2 (en) | Insulation resistance measurement method for DC power supply circuit | |
KR102405877B1 (en) | Apparatus and method for detecting secondary failure of MOF | |
JP5518657B2 (en) | Ground resistance meter | |
CN110221644B (en) | Chip and external RSET resistance open circuit monitoring circuit thereof | |
JP4845953B2 (en) | Dynamic characteristic inspection device | |
JP2014010028A (en) | Battery impedance measuring device and method | |
JP7013770B2 (en) | Forced grounding device and ground fault search device | |
CN110676804B (en) | Detection circuit and switch module using same | |
JP6969079B2 (en) | Forced installation device, ground fault investigation device and method using it | |
US6028420A (en) | Constant voltage power supply with continuity checking | |
JP2002098729A (en) | Leak current probing device | |
CN209894872U (en) | Alternating current voltage sampling circuit structure and alternating current voltage detection 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |