A welding machine equipment and voltage calibration method and device thereof
By real-time detection and adjustment of the voltage value of the welding machine equipment, the calibration relationship is constructed, and the problem of uncertainty and error in sampling points in digital welding machine software calibration is solved, the accuracy and consistency of voltage calibration is achieved, and the welding is improved control accuracy of machine equipment.
Patent Information
- Application Number
- CN202211604626.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-13
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2042-12-13
AI Technical Summary
During the software calibration process, digital welding machines have problems such as uncertainty in sampling points and large result errors, resulting in inconsistent with the set voltage value.
By obtaining the set voltage value and the initial relationship, the actual voltage value of the load unit is detected in real time, and the set voltage value and relationship are adjusted according to the preset rules, a calibration relationship is constructed to ensure the correspondence between the digital signal and the actual voltage value, and to achieve voltage calibration.
It improves the accuracy and consistency of voltage calibration, reduces the error between the digital signal and the actual voltage value, and enhances the control accuracy of the welding machine equipment.
Smart Images

Figure CN115770930B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of voltage calibration, and in particular to a welding machine device and a voltage calibration method and device thereof. Background Art
[0002] Welding equipment requires electrical calibration to achieve consistency between displayed values and actual values, and between set values and actual output values. Most electrical products mainly use two methods: hardware calibration and software calibration. Digital welding machines mainly use software calibration, and software calibration mainly uses single-point and double-point calibration.
[0003] With the development of digital products, welding machine digitization is also becoming a trend. Using software calibration is also a convenient and inevitable choice. At present, general software calibration samples a single point or two points, and performs fitting calculations based on the values corresponding to the sampling points, so as to roughly estimate the true values of other points to achieve calibration. However, there are certain shortcomings such as sampling point uncertainty and large result errors. Summary of the invention
[0004] The present invention provides a welding machine device and a voltage calibration method and device thereof to solve the problems of sampling point uncertainty and large result error.
[0005] According to one aspect of the present invention, a voltage calibration method for a welding machine is provided, wherein the welding machine comprises a voltage control system and a load unit, wherein the voltage control system is used to control the voltage of the load unit; the welding machine is also electrically connected to an external voltage detection device, wherein the external voltage detection device is used to detect the actual voltage value of the load unit in real time; the voltage calibration method comprises:
[0006] Acquire a set voltage value and a first initial relationship;
[0007] According to the first initial relationship, converting the set voltage value into a first digital signal, and outputting the first digital signal to the voltage control system;
[0008] Obtaining an actual voltage value of the load unit;
[0009] Determining whether the actual voltage value is equal to the set voltage value;
[0010] If yes, then storing the first digital signal obtained according to the current set voltage value and the current first initial relationship; the first digital signal and the actual voltage value constitute a first coordinate;
[0011] adjusting the set voltage value according to a second preset rule, and returning to the step of converting the set voltage value into a first digital signal according to the first initial relationship until a preset number of the first coordinates are obtained;
[0012] A first calibration relationship is determined according to the preset number of the first coordinates.
[0013] Optionally, if the actual voltage value is not equal to the set voltage value, the first initial relationship is adjusted according to a first preset rule, and the step of returning to execute, according to the first initial relationship, converting the set voltage value into a first digital signal, and outputting the first digital signal to the voltage control system.
[0014] Optionally, the voltage control system includes a voltage sampling circuit and an AD converter, the voltage sampling circuit is used to collect the actual voltage value of the load unit in real time, and the AD converter is used to convert the actual voltage value collected by the voltage sampling circuit into a second digital signal;
[0015] After determining whether the actual voltage value is equal to the set voltage value and before adjusting the set voltage value according to a second preset rule, the method further includes:
[0016] If the actual voltage value is equal to the set voltage value, the second digital signal is stored; the second digital signal and the actual voltage value constitute a second coordinate;
[0017] After obtaining the preset number of the second coordinates, the method further includes:
[0018] A second calibration relationship is determined according to the preset number of second coordinates.
[0019] Optionally, the preset number is greater than or equal to 3.
[0020] Optionally, obtaining a first calibration relationship according to the preset number of first coordinates includes:
[0021] According to the preset number of the first coordinates, a first parameter is determined; the first parameter includes a first sub-parameter α0 and a second sub-parameter α1; wherein the first sub-parameter α0 is:
[0022]
[0023] The second sub-parameter α1 is:
[0024] Determine the first calibration relationship according to the first parameter; the first calibration relationship is Y=α0+α1*X;
[0025] Among them, Y i is the first digital signal stored for the ith time, X i is the actual voltage value equal to the i-th set voltage value, and n is the preset number.
[0026] Optionally, determining a second calibration relationship according to the preset number of second coordinates includes:
[0027] According to the preset number of the second coordinates, a second parameter is determined; the second parameter includes a third sub-parameter β0 and a fourth sub-parameter β1; wherein the third sub-parameter β0 is:
[0028]
[0029] The fourth sub-parameter β1 is:
[0030]
[0031] Determine the second calibration relationship according to the second parameter; the second calibration relationship is y=β0+β1*x;
[0032] Among them, y i The second digital signal x is stored for the ith i is the actual voltage value equal to the i-th set voltage value, and n is the preset number.
[0033] Optionally, also include:
[0034] The first initial relationship is replaced by the first calibration relationship, so as to determine a voltage digital signal corresponding to the set voltage value according to the first calibration relationship, and output the voltage digital signal to the voltage control system.
[0035] Optionally, the welding machine equipment further includes a voltage display screen;
[0036] The voltage calibration method further includes:
[0037] According to the second calibration relationship, a display digital signal corresponding to the actual voltage value is determined, and the display digital signal is output to the voltage display screen, so that the voltage display screen displays the actual voltage value of the load unit according to the display digital signal.
[0038] According to another aspect of the present invention, a voltage calibration device for a welding machine is provided, wherein the welding machine comprises a voltage control system and a load unit, wherein the voltage control system is used to control the voltage of the load unit; the welding machine is also electrically connected to an external voltage detection device, wherein the external voltage detection device is used to detect the actual voltage value of the load unit in real time; the voltage calibration device comprises:
[0039] A first acquisition module, used for acquiring a set voltage value and a first initial relationship;
[0040] A first digital module, configured to convert the set voltage value into a first digital signal according to the first initial relationship, and output the first digital signal to the voltage control system;
[0041] A second acquisition module, used to acquire an actual voltage value of the load unit;
[0042] A judgment module, used for judging whether the actual voltage value is equal to the set voltage value; if so, storing the first digital signal obtained according to the current set voltage value and the current first initial relationship; the first digital signal and the actual voltage value constitute a first coordinate;
[0043] a set voltage adjustment module, configured to adjust the set voltage value according to a second preset rule, and return to the step of converting the set voltage value into a first digital signal according to the first initial relationship until a preset number of the first coordinates are obtained;
[0044] The first calibration relationship determining module is used to determine a first calibration relationship according to the preset number of the first coordinates.
[0045] According to another aspect of the present invention, there is provided a welding machine device, including a voltage control system, a load unit and a controller;
[0046] The controller includes a first digital signal output terminal; the voltage control system includes a first digital signal receiving terminal and an electrical signal output terminal; the load unit includes an electrical signal receiving terminal;
[0047] The first digital signal output terminal of the controller is electrically connected to the first digital signal receiving terminal of the voltage control system; the electrical signal output terminal of the voltage control system is electrically connected to the electrical signal receiving terminal of the load unit;
[0048] The controller is used to execute the voltage calibration method of the welding machine equipment mentioned above; the voltage control system is used to control the electrical signal of the electrical signal output end according to the first digital signal, and then control the voltage of the load unit.
[0049] The technical solution of the present invention can obtain a first digital signal by acquiring a set voltage value and a first initial relationship, and obtain the actual voltage value of the load unit by acquiring the current first digital signal and obtaining the first coordinate when the actual voltage value is equal to the set voltage value, so that the first digital signal and the actual voltage value correspond to each other, and the first calibration relationship is determined according to a preset number of first coordinates. Voltage calibration can be achieved more quickly, conveniently and accurately, so that the error between the first digital signal and the actual voltage value is smaller, the consistency between the actual voltage value and the set voltage value is improved, and the first calibration relationship is also closer to the ideal situation.
[0050] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0052] Figure 1 A structural schematic diagram of a welding machine device provided in Embodiment 1 of the present invention;
[0053] Figure 2 A structural schematic diagram of another welding machine device provided in the first embodiment of the present invention;
[0054] Figure 3 A flow chart of a voltage calibration method for a welding machine device provided in the second embodiment of the present invention;
[0055] Figure 4 A flowchart of a voltage calibration method for a welding machine device provided in Embodiment 3 of the present invention;
[0056] Figure 5 This is a schematic structural diagram of a voltage calibration device for a welding machine provided in a fourth embodiment of the present invention. DETAILED DESCRIPTION
[0057] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0058] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0059] Embodiment 1
[0060] Figure 1 This is a schematic diagram of the structure of a welding machine device provided in Embodiment 1 of the present invention. Figure 1 As shown, the welding machine device includes a controller 10, a voltage control system 20 and a load unit 30; the controller 10 includes a first digital signal output terminal 11; the voltage control system 20 includes a first digital signal receiving terminal 21 and an electric signal output terminal 22; the load unit 30 includes an electric signal receiving terminal 31; the first digital signal output terminal 11 of the controller 10 is electrically connected to the first digital signal receiving terminal 21 of the voltage control system 20; the electric signal output terminal 22 of the voltage control system 20 is electrically connected to the electric signal receiving terminal 31 of the load unit 30. Among them, the controller 10 is used to execute the voltage calibration method of the welding machine device provided by any embodiment of the present invention, and the voltage control system 20 is used to control the electric signal of the electric signal output terminal 22 according to the first digital signal, thereby controlling the voltage of the load unit 30.
[0061] The controller 10 includes but is not limited to modules with computing and analyzing functions such as a main control chip, a main control panel, and a single chip microcomputer. The load unit 30 includes a load, which is used to realize the electric welding function of the welding machine equipment.
[0062] Exemplarily, before the welding machine starts working, the controller 10 first executes the voltage calibration method of the welding machine, so that the actual voltage value of the load unit 30 of the welding machine is equal to the set voltage value received by the welding machine, thereby improving the consistency between the actual voltage value of the load unit 30 and the set voltage value. After the voltage calibration is completed, the calibrated state is saved, and the welding machine is restarted, and the welding machine can work normally. When the welding machine works normally, the controller 10 can obtain the set voltage value, convert the set voltage value into a first digital signal, and output it to the voltage control system 20, and the voltage control system 20 controls the voltage of the load unit 30 according to the first digital signal.
[0063] According to an embodiment of the present invention, before the welding machine equipment starts working, the voltage calibration method of the welding machine equipment of any embodiment of the present invention can be executed by a controller to improve the consistency between the actual voltage value of the load unit and the set voltage value of the welding machine equipment, thereby improving the control accuracy of the welding machine equipment.
[0064] Optional, Figure 2 This is a structural diagram of another welding machine device provided in the first embodiment of the present invention. Figure 2 The voltage control system 20 includes a voltage sampling circuit 240 and an AD converter 250; the voltage sampling circuit 240 includes a collection terminal 241 and a voltage signal output terminal 242; the AD converter 250 includes a voltage signal receiving terminal 251 and a second digital signal output terminal 252; the controller 10 also includes a second digital signal receiving terminal 12; the collection terminal 241 of the voltage sampling circuit 240 is electrically connected to the load unit 30; the voltage signal output terminal 242 of the voltage sampling circuit 240 is electrically connected to the voltage signal receiving terminal 251 of the AD converter 250; the second digital signal output terminal 252 of the AD converter 250 is electrically connected to the second digital signal receiving terminal 12 of the controller 10. The voltage sampling circuit 240 is used to collect the actual voltage value of the load unit 30 in real time, and the AD converter 250 is used to convert the actual voltage value collected by the voltage sampling circuit 240 into a second digital signal.
[0065] Exemplarily, the voltage acquisition circuit 240 can acquire the actual voltage value at the load in the load unit 30 in real time, and transmit the acquired actual voltage value to the AD converter 250 , and the AD converter 250 can convert the actual voltage value into a second digital signal and transmit it to the controller 10 .
[0066] Optional, continue to refer to Figure 2 The welding machine device further includes a voltage display screen 40, which is electrically connected to the controller 10. Exemplarily, the controller 10 may output a display digital signal to the voltage display screen 40, so that the voltage display screen displays the actual voltage value at the load in the load unit 30 in real time. The display digital signal may be a second digital signal.
[0067] For example, continue to refer to Figure 2The voltage control system 20 further includes a DA converter 210, a voltage regulator 220 and a high-frequency switch 230; the receiving end of the DA converter 210 is electrically connected to the first digital signal output end 11 of the controller 10, and the output end of the DA converter 210 is electrically connected to the first input end of the voltage regulator 220. The DA converter 210 is used to convert the first digital signal output by the controller 10 into a voltage signal, and output the converted voltage signal to the voltage regulator 220. The second input end of the voltage regulator 220 is electrically connected to the voltage signal output end 242 of the voltage acquisition circuit 240, the output end of the voltage regulator 220 is electrically connected to the first end of the high-frequency switch 230, the control signal output end of the voltage regulator 220 is electrically connected to the control end of the high-frequency switch 230, and the second end of the high-frequency switch 230 is electrically connected to the load in the load unit 30. The voltage regulator 220 can output a pulse control signal of a corresponding duty cycle to the control terminal 230 of the high-frequency switch 230 according to the difference between the received voltage signal output by the DA converter 210 and the voltage signal output by the voltage acquisition circuit 240, control the opening degree of the high-frequency switch 230, and further control the voltage of the load in the load unit 30, so that the actual voltage value of the load in the load unit 30 is equal to the voltage value corresponding to the first digital signal. At the same time, the AD converter 250 can convert the voltage signal output by the voltage acquisition circuit 240 into a second digital signal, and feed it back to the controller 10, and the controller 10 can output a display digital signal according to the fed-back second digital signal, and control the voltage display screen 40 to display the actual voltage value of the load in the load unit 30.
[0068] It can be understood that before the welding machine equipment is calibrated, the first digital signal output by the controller 10 according to the set voltage value may have a large deviation, resulting in the actual voltage value at the load in the load unit 30 being different from the set voltage value. By executing the voltage calibration method by the controller 10, the deviation of the first digital signal output by the controller 10 according to the set voltage value can be reduced, and the consistency between the actual voltage value at the load in the load unit 30 and the set voltage value can be improved. Before the welding machine equipment is calibrated, the second digital signal received by the controller 10 and the actual voltage value at the load in the load unit 30 may have a large deviation, resulting in the display digital signal output by the controller 10 to the voltage display screen 40 having a large deviation, so that the voltage value displayed on the voltage display screen 40 is different from the actual voltage value at the load in the load unit 30. By executing the voltage calibration method by the controller 10, the second digital signal can be made to correspond to the actual voltage value, the deviation can be reduced, and the consistency between the voltage value displayed on the voltage display screen 40 and the actual voltage value of the load in the load unit 30 can be improved.
[0069] In an optional embodiment, the load unit 30 includes a load adjustment module (not shown in the figure), which is electrically connected to the DA converter 210. The load adjustment module can adjust the size of the load in the load unit 30 according to the voltage signal output by the converter 210, so that the current and voltage of the load in the load unit 30 satisfy the formula: I+280=20*U. In this way, the load in the load unit 30 is not easy to be overloaded or burned, thereby ensuring that the load can work normally.
[0070] It should be noted that the figure only exemplarily shows the components of the welding device, but does not constitute a limitation on the welding device of the embodiment of the present invention, nor does it constitute a limitation on the welding device that performs the voltage calibration method.
[0071] Embodiment 2
[0072] Figure 3 This is a flow chart of a voltage calibration method for a welding machine provided in the second embodiment of the present invention. This embodiment can be applied to the electrical calibration of the welding machine before it works or after it is prepared. The method can be executed by a voltage calibration device for the welding machine. The voltage calibration device can be implemented in the form of hardware and / or software. The voltage calibration device can be configured in the controller of the welding machine. Figure 3 As shown, the method includes:
[0073] S1001. Obtain a set voltage value and a first initial relationship.
[0074] The set voltage value is a manually set value, or may be a voltage value stored in a voltage calibration device in advance for voltage calibration. The first initial relationship refers to the corresponding relationship between the set voltage value and the first digital signal before calibration.
[0075] S1002 . According to the first initial relationship, convert the set voltage value into a first digital signal, and output the first digital signal to a voltage control system.
[0076] For example, before calibration, the first initial relationship may be inaccurate due to the influence of ambient temperature and humidity, so that the set voltage value does not completely correspond to the first digital signal. The voltage control system controls the voltage of the load unit according to the first digital signal so that the actual voltage value of the load unit corresponds to the first digital signal. When the set voltage value does not completely correspond to the first digital signal, the actual voltage value of the load unit is different from the set voltage value.
[0077] S1003. Obtain the actual voltage value of the load unit.
[0078] Exemplarily, the voltage calibration device is connected to an external voltage detection device, and the voltage calibration device obtains the actual voltage value of the load unit through the external voltage detection device, wherein the external voltage detection device can accurately detect the actual voltage value of the load in the load unit.
[0079] S1004: Determine whether the actual voltage value is equal to the set voltage value. If yes, execute S1005; if no, execute S1006.
[0080] Exemplarily, based on whether the actual voltage value is equal to the set voltage value, it can be determined whether the first digital signal corresponds to the set voltage value. When the actual voltage value is equal to the set voltage value, the first digital signal corresponds to the set voltage value. When the actual voltage value is not equal to the set voltage value, the first digital signal does not correspond to the set voltage value, that is, there is a certain deviation between the first digital signal converted according to the first initial relationship and the set voltage value.
[0081] S1005. Store a first digital signal obtained according to the current set voltage value and the current first initial relationship; the first digital signal and the actual voltage value constitute a first coordinate.
[0082] Exemplarily, when the actual voltage value is equal to the set voltage value, the first digital signal corresponds to the set voltage value, and the first digital signal at this time is stored. The first digital signal and the actual voltage value constitute the first coordinate, that is, the first digital signal and the set voltage value constitute the first coordinate, and the current first coordinate is stored.
[0083] S1006, adjusting the first initial relationship according to the first preset rule, and returning to the step of converting the set voltage value into a first digital signal according to the first initial relationship, and outputting the first digital signal to the voltage control system.
[0084] Exemplarily, when the actual voltage value is not equal to the set voltage value, the first digital signal does not correspond to the set voltage value, and adjusting the first initial relationship according to the first preset rule can be to increase or decrease the parameters in the first initial relationship by the first preset increment, or to multiply or divide the parameters in the first initial relationship by the first preset multiple, change the first initial relationship, and then return to execute S1002, the corresponding first digital signal is also changed, and the changed first digital signal is re-output until the actual voltage value is equal to the set voltage value.
[0085] S1007, adjusting the set voltage value according to the second preset rule, and returning to execute the step of converting the set voltage value into a first digital signal according to the first initial relationship, until a preset number of first coordinates are obtained.
[0086] Exemplarily, after storing the first coordinates corresponding to the current set voltage value, the current set voltage value may be increased or decreased by a preset increment, or increased or decreased by a certain regular gradient, or the set voltage value may be acquired again, the set voltage value acquired again is different from the set voltage value acquired last time, and then the first coordinates corresponding to the set voltage value after adjustment or acquisition are stored until a preset number of first coordinates are obtained, wherein the preset number is greater than or equal to 3.
[0087] S1008. Determine a first calibration relationship according to a preset number of first coordinates.
[0088] Specifically, curve fitting is performed according to a preset number of first coordinates to determine the relationship between the first digital signal and the actual voltage value, that is, to determine the relationship between the first digital signal and the set voltage value.
[0089] Exemplarily, the welding machine equipment includes a voltage control system and a load unit, and the voltage control system is used to control the voltage of the load unit; when the welding machine equipment enters the calibration mode, the welding machine equipment is also electrically connected to an external voltage detection device, and the external voltage detection device is used to detect the actual voltage value of the load unit in real time. After the welding machine equipment comes down from the production line or enters a new environment, the welding machine equipment can be controlled to enter the calibration mode, and the voltage calibration device can read the calibration initialization data, for example, the initialization data includes a preset number of set voltage values, and the preset number is 3 for example. The voltage calibration device first obtains a first set voltage value and a first initial relationship, for example, the first set voltage value is 10.0V, and then converts 10.0V into a first digital signal according to the first initial relationship. The voltage control system can control the voltage of the load in the load unit according to the first digital signal; the voltage calibration device can obtain the actual voltage value of the load in the load unit through an external voltage detection device. If the actual voltage value is not equal to 10.0V, the parameters in the first initial relationship are fine-tuned, and 10V is converted back into a new first digital signal. The voltage control system re-controls the voltage of the load in the load unit according to the new first digital signal until the actual voltage value of the load in the load unit is equal to 10.0V, and then stores the first digital signal at this time as DAs1, and the first digital signal DAs1 corresponds to 10.0V, and obtains the first first coordinate (10.0, DAs1). The second set voltage value and the first initial relationship are obtained. For example, the second set voltage value is 20.0V. The first initial relationship obtained at this time is the first initial relationship when the actual voltage value of the load is equal to 10.0V. According to the first initial relationship, 20.0V is converted into a first digital signal. The voltage control system can control the voltage of the load in the load unit according to the first digital signal. When the actual voltage value of the load is equal to 20.0V, the first digital signal at this time is stored as DAs2. The first digital signal DAs2 corresponds to 20.0V, and the second first coordinate (20.0, DAs2) is obtained. The third set voltage value and the first initial relationship are obtained. For example, the third set voltage value is 28.0V. Similarly, when the actual voltage value of the load is equal to 28.0V, the first digital signal at this time is stored as DAs3. The first digital signal DAs3 corresponds to 28.0V, and the third first coordinate (28.0, DAs3) is obtained. By performing curve fitting according to the first coordinates (10.0, DAs1), (20.0, DAs2) and (28.0, DAs3), a first calibration relationship can be obtained.
[0090] In an optional embodiment, the voltage calibration device may include a main control chip, a preset number of set voltage values are pre-stored in the main control chip, and when performing voltage calibration, the pre-stored set voltage values can be obtained in sequence; the voltage calibration device may include an operation panel, the set voltage value can be obtained through manual input, and when the set voltage value is obtained, the operation panel can display the obtained set voltage value, and the embodiment of the present invention does not specifically limit this.
[0091] In an embodiment of the present invention, a first digital signal can be obtained by acquiring a set voltage value and a first initial relationship. By acquiring the actual voltage value of the load unit, and storing the current first digital signal and obtaining the first coordinate when the actual voltage value is equal to the set voltage value, the first digital signal and the actual voltage value correspond to each other. A first calibration relationship is determined according to a preset number of first coordinates, and voltage calibration can be achieved more quickly, conveniently and accurately, so that the error between the first digital signal and the actual voltage value is smaller, the consistency between the actual voltage value and the set voltage value is improved, and the first calibration relationship is closer to the ideal situation.
[0092] Optionally, obtaining the first calibration relationship according to a preset number of first coordinates includes: determining a first parameter according to the preset number of first coordinates; the first parameter includes a first sub-parameter α0 and a second sub-parameter α1; wherein the first sub-parameter α0 is: The second sub-parameter α1 is: According to the first parameter, a first calibration relationship is determined; the first calibration relationship is Y=α0+α1*X. i is the first digital signal stored, X i is the actual voltage value equal to the i-th set voltage value, and n is the preset number.
[0093] Exemplarily, the least square method can be used to fit the relationship between the first digital signal and the actual voltage value, assuming that the actual voltage value in the welding machine equipment is linearly related to the set voltage value of the full range, and the set voltage value corresponds to the first digital signal, that is, the actual voltage value is linearly related to the first digital signal, the actual voltage value is X, the first digital signal is Y, and the actual voltage value X and the first digital signal Y meet the formula Y=α0+α1*X. Take the preset number of 3 as an example to obtain three points (X1, Y1), (X1, Y1) and (X1, Y1), that is, the first coordinates (10.0, DAs1), (20.0, DAs2) and (28.0, DAs3), and train the first model is the minimum value, obtained by calculation The coefficients of the fitted approximate straight line are calculated, thereby determining the first calibration relationship Y=α0+α1*X.
[0094] Optionally, after determining the first calibration relationship according to a preset number of first coordinates, it also includes: replacing the first initial relationship with the first calibration relationship to determine a voltage digital signal corresponding to the set voltage value according to the first calibration relationship, and outputting the voltage digital signal to the voltage control system.
[0095] For example, in actual operation, the welding machine can convert the set voltage value into a first digital signal according to the first calibration relationship, and the voltage control system can control the voltage of the load to the set voltage value according to the first digital signal. In this way, the deviation of the first digital signal can be reduced, the consistency between the actual voltage value and the set voltage value can be improved, and the control accuracy of the welding machine can be improved.
[0096] Embodiment 3
[0097] Figure 4 This is a flow chart of a voltage calibration method for a welding machine device provided in the third embodiment of the present invention. Compared with the above embodiment, this embodiment adds a step of determining a second calibration relationship between the second digital signal and the actual voltage value. Figure 4 As shown, the method includes:
[0098] S2001. Obtain a set voltage value and a first initial relationship.
[0099] S2002: Convert the set voltage value into a first digital signal according to the first initial relationship, and output the first digital signal to the voltage control system.
[0100] S2003. Obtain the actual voltage value of the load unit.
[0101] S2004: Determine whether the actual voltage value is equal to the set voltage value. If yes, execute S2005; if no, execute S2007.
[0102] S2005. Store a first digital signal obtained according to the current set voltage value and the current first initial relationship; the first digital signal and the actual voltage value constitute a first coordinate.
[0103] S2006, storing the current second digital signal; the second digital signal and the actual voltage value constitute a second coordinate.
[0104] S2007, adjusting the first initial relationship according to the first preset rule, and returning to the step of converting the set voltage value into a first digital signal according to the first initial relationship, and outputting the first digital signal to the voltage control system.
[0105] S2008, adjusting the set voltage value according to the second preset rule, and returning to execute the step of converting the set voltage value into a first digital signal according to the first initial relationship, until a preset number of first coordinates and second coordinates are obtained.
[0106] S2009. Determine a first calibration relationship according to a preset number of first coordinates.
[0107] S2010. Determine a second calibration relationship according to a preset number of second coordinates.
[0108] Exemplarily, the voltage control system includes a voltage sampling circuit and an AD converter, wherein the voltage sampling circuit is used to collect the actual voltage value of the load unit in real time, and the AD converter is used to convert the actual voltage value collected by the voltage sampling circuit into a second digital signal. While the voltage control system controls the voltage of the load in the load unit according to the first digital signal, the voltage sampling circuit will collect the real-time voltage of the load in real time, and the AD converter can convert the collected real-time voltage into a second digital signal and feed it back to the voltage calibration device, and the voltage calibration device can output a display digital signal according to the received second digital signal, and control the voltage display screen to display the corresponding real-time voltage. Take the preset number of 3 as an example, and the first set voltage value is 10V, the first set voltage value is 10.0V, the second set voltage value is 20.0V, and the third set voltage value is 28.0V. When the voltage value is set to 10.0V, if the actual voltage value obtained by the voltage calibration device through the external voltage detection device is also 10.0V, the second digital signal stored at this time is ADf1, and the second digital signal DAf1 corresponds to 10.0V, and the first second coordinate (10.0V, DAf1) is obtained; when the voltage value is set to 20.0V, if the actual voltage value obtained by the voltage calibration device through the external voltage detection device is also 20.0V, the second digital signal stored at this time is ADf2, and the second digital signal DAf2 corresponds to 20.0V, and the second second coordinate (20.0V, DAf2) is obtained; when the voltage value is set to 28.0V, similarly, the third second coordinate (28.0V, DAf3) is obtained. According to the second coordinates (10.0, DAf1), (20.0, DAf2) and (28.0, DAf3), curve fitting is performed to obtain the second calibration relationship.
[0109] In an embodiment of the present invention, by storing the current second digital signal and obtaining the second coordinate when the actual voltage value is equal to the set voltage value, the second digital signal and the actual voltage value correspond to each other, and the second calibration relationship is determined according to a preset number of second coordinates. This can achieve voltage calibration more quickly, conveniently and accurately, so that the error between the second digital signal and the actual voltage value is smaller, which is convenient for subsequent voltage display, improves the consistency between the actual voltage value and the displayed voltage value, and the second calibration relationship is closer to the ideal situation.
[0110] Optionally, determining the second calibration relationship according to a preset number of second coordinates includes: determining a second parameter according to the preset number of second coordinates; the second parameter includes a third sub-parameter β0 and a fourth sub-parameter β1; wherein the third sub-parameter β0 is: The fourth sub-parameter β1 is: According to the second parameter, a second calibration relationship is determined; the second calibration relationship is y=β0+β1*x. i is the stored ith second digital signal, x i is the actual voltage value equal to the i-th set voltage value, and n is the preset number.
[0111] Exemplarily, the least square method can be used to fit the relationship between the second digital signal and the actual voltage value, assuming that the actual voltage value in the welding machine equipment is in a linear relationship with the full-range displayed voltage value, and the displayed voltage value corresponds to the second digital signal, that is, the actual voltage value is in a linear relationship with the second digital signal, the actual voltage value is x, the second digital signal is y, and the actual voltage value x and the first digital signal y meet the formula y=β0+β1*x. Taking the preset number of 3 as an example, three points (x1, y1), (x1, y1) and (x1, y1) are obtained, that is, the first coordinates (10.0, ADf1), (20.0, ADf 2) and (28.0, ADf 3), and the first model is trained. is the minimum value, obtained by calculation The coefficients of the fitted approximate straight line are calculated, thereby determining the second calibration relationship y=β0+β1*x.
[0112] Optionally, the welding machine equipment also includes a voltage display screen; the voltage calibration method also includes: determining a display digital signal corresponding to the actual voltage value based on the second calibration relationship, and outputting the display digital signal to the voltage display screen, so that the voltage display screen displays the actual voltage value of the load unit according to the display digital signal.
[0113] For example, in actual operation, the welding machine can convert the actual voltage value into a corresponding display digital signal according to the second calibration relationship, and the voltage display screen can display the actual voltage value of the load according to the display digital signal. In this way, the deviation of the second digital signal can be reduced, and the consistency between the displayed voltage value and the actual voltage value can be improved.
[0114] Embodiment 4
[0115] Figure 5 This is a schematic diagram of the structure of a voltage calibration device for a welding machine provided in the fourth embodiment of the present invention. Figure 5 As shown, the device comprises:
[0116] A first acquisition module 510, used to acquire a set voltage value and a first initial relationship;
[0117] A first digital module 520, configured to convert the set voltage value into a first digital signal according to the first initial relationship, and output the first digital signal to the voltage control system;
[0118] A second acquisition module 530 is used to acquire an actual voltage value of the load unit;
[0119] The judgment module 540 is used to judge whether the actual voltage value is equal to the set voltage value; if so, the first digital signal obtained according to the current set voltage value and the current first initial relationship is stored; the first digital signal and the actual voltage value constitute a first coordinate;
[0120] A set voltage adjustment module 550 is used to adjust the set voltage value according to a second preset rule, and return to the step of converting the set voltage value into a first digital signal according to the first initial relationship until a preset number of first coordinates are obtained;
[0121] The first calibration relationship determining module 560 is used to determine a first calibration relationship according to a preset number of first coordinates.
[0122] Among them, the welding machine equipment includes a voltage control system and a load unit, the voltage control system is used to control the voltage of the load unit; the welding machine equipment is also electrically connected to an external voltage detection device, and the external voltage detection device is used to detect the actual voltage value of the load unit in real time.
[0123] The voltage calibration device for welding equipment provided in the embodiment of the present invention can execute the voltage calibration method for welding equipment provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0124] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0125] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A voltage calibration method for a welding machine, characterized in that: The welding machine equipment includes a voltage control system and a load unit, wherein the voltage control system is used to control the voltage of the load unit; the welding machine equipment is also electrically connected to an external voltage detection device, wherein the external voltage detection device is used to detect the actual voltage value of the load unit in real time; The voltage calibration method comprises: Acquire a set voltage value and a first initial relationship; According to the first initial relationship, converting the set voltage value into a first digital signal, and outputting the first digital signal to the voltage control system; Obtaining an actual voltage value of the load unit; Determining whether the actual voltage value is equal to the set voltage value; If yes, then storing the first digital signal obtained according to the current set voltage value and the current first initial relationship; the first digital signal and the actual voltage value constitute a first coordinate; adjusting the set voltage value according to a second preset rule, and returning to the step of converting the set voltage value into a first digital signal according to the first initial relationship until a preset number of the first coordinates are obtained; According to the preset number of the first coordinates, a first parameter is determined; the first parameter includes a first sub-parameter α0 and a second sub-parameter α1; wherein the first sub-parameter α0 is: The second sub-parameter α1 is: Determine a first calibration relationship according to the first parameter; the first calibration relationship is Y=α0+α1*X; Among them, Y i is the first digital signal stored for the ith time, X i is the actual voltage value equal to the i-th set voltage value, and n is the preset number.
2. The voltage calibration method of welding machine equipment according to claim 1, characterized in that: If the actual voltage value is not equal to the set voltage value, the first initial relationship is adjusted according to a first preset rule, and the step of returning to convert the set voltage value into a first digital signal according to the first initial relationship and outputting the first digital signal to the voltage control system is executed.
3. The voltage calibration method of welding equipment according to claim 1, characterized in that: The voltage control system comprises a voltage sampling circuit and an AD converter, wherein the voltage sampling circuit is used to collect the actual voltage value of the load unit in real time, and the AD converter is used to convert the actual voltage value collected by the voltage sampling circuit into a second digital signal; After determining whether the actual voltage value is equal to the set voltage value and before adjusting the set voltage value according to a second preset rule, the method further includes: If the actual voltage value is equal to the set voltage value, the second digital signal is stored; the second digital signal and the actual voltage value constitute a second coordinate; After obtaining the preset number of the second coordinates, the method further includes: A second calibration relationship is determined according to the preset number of second coordinates.
4. The voltage calibration method for welding equipment according to claim 1, characterized in that: The preset number is greater than or equal to 3.
5. The voltage calibration method for welding equipment according to claim 3, characterized in that: Determining a second calibration relationship according to the preset number of second coordinates includes: According to the preset number of the second coordinates, a second parameter is determined; the second parameter includes a third sub-parameter β0 and a fourth sub-parameter β1; wherein the third sub-parameter β0 is: The fourth sub-parameter β1 is: Determine the second calibration relationship according to the second parameter; the second calibration relationship is y=β0+β1*x; Among them, y i The second digital signal x is stored for the ith i is the actual voltage value equal to the i-th set voltage value, and n is the preset number.
6. The voltage calibration method for welding equipment according to claim 1, characterized in that: Also includes: The first initial relationship is replaced by the first calibration relationship, so as to determine a voltage digital signal corresponding to the set voltage value according to the first calibration relationship, and output the voltage digital signal to the voltage control system.
7. The voltage calibration method for welding equipment according to claim 3, characterized in that: The welding machine equipment also includes a voltage display screen; The voltage calibration method further includes: According to the second calibration relationship, a display digital signal corresponding to the actual voltage value is determined, and the display digital signal is output to the voltage display screen, so that the voltage display screen displays the actual voltage value of the load unit according to the display digital signal.
8. A voltage calibration device for a welding machine, characterized in that: The welding machine equipment includes a voltage control system and a load unit, wherein the voltage control system is used to control the voltage of the load unit; the welding machine equipment is also electrically connected to an external voltage detection device, wherein the external voltage detection device is used to detect the actual voltage value of the load unit in real time; The voltage calibration device is used to perform the voltage calibration method of the welding machine equipment according to any one of claims 1 to 7; The voltage calibration device comprises: A first acquisition module, used for acquiring a set voltage value and a first initial relationship; A first digital module, configured to convert the set voltage value into a first digital signal according to the first initial relationship, and output the first digital signal to the voltage control system; A second acquisition module, used to acquire an actual voltage value of the load unit; A judgment module, used for judging whether the actual voltage value is equal to the set voltage value; if so, storing the first digital signal obtained according to the current set voltage value and the current first initial relationship; the first digital signal and the actual voltage value constitute a first coordinate; a set voltage adjustment module, configured to adjust the set voltage value according to a second preset rule, and return to the step of converting the set voltage value into a first digital signal according to the first initial relationship until a preset number of the first coordinates are obtained; The first calibration relationship determination module is used to determine a first parameter according to the preset number of the first coordinates; the first parameter includes a first sub-parameter α0 and a second sub-parameter α1; wherein the first sub-parameter α0 is: The second sub-parameter α1 is: Determine a first calibration relationship according to the first parameter; the first calibration relationship is Y=α0+α1*X; Among them, Y i is the first digital signal stored for the ith time, X i is the actual voltage value equal to the i-th set voltage value, and n is the preset number.
9. A welding machine device, characterized in that: It includes a voltage control system, a load unit and a controller; The controller includes a first digital signal output terminal; the voltage control system includes a first digital signal receiving terminal and an electrical signal output terminal; the load unit includes an electrical signal receiving terminal; The first digital signal output terminal of the controller is electrically connected to the first digital signal receiving terminal of the voltage control system; the electrical signal output terminal of the voltage control system is electrically connected to the electrical signal receiving terminal of the load unit; The controller is used to execute the voltage calibration method of the welding machine equipment described in any one of claims 1-7; the voltage control system is used to control the electrical signal at the electrical signal output end according to the first digital signal, thereby controlling the voltage of the load unit.
