CONTROLLING ON-TIME OF PWM APPLIED TO POWER BLOCKS IN WELDING SYSTEM

Information

  • Patent Application
  • 20240326149
  • Publication Number
    20240326149
  • Date Filed
    April 03, 2023
    a year ago
  • Date Published
    October 03, 2024
    3 months ago
Abstract
A method of controlling pulse width modulation (PWM) applied to at least one power inverter to generate a weld current for cutting or welding comprises: receiving current values indicative of the weld current during a cycle of the PWM; receiving a target current value indicative of a target current for the weld current; during the cycle, turning ON a pulse to energize the at least one power inverter; and after turning ON the pulse, repeating multiple times during the cycle: determining whether to adjust an on-time of the pulse based on the current values and the target current value in order to drive the weld current toward the target current; and adjusting the on-time responsive to determining.
Description
TECHNICAL FIELD

The present disclosure relates to pulse width modulation applied to power inverters in a welding system.


BACKGROUND

Inverter-based welding and cutting power supplies typically control the power in a welding operation by dynamically adjusting the pulse width modulation (PWM) applied to a power inverter based on feedback indicating welding current and voltage levels during a welding/cutting operation. The power inverter comprises a set of high-speed semiconductor switching devices that are switched on and off at a switching frequency of the PWM to create a current that is supplied to a welding/cutting apparatus through a transformer. A conventional technique for controlling the PWM computes fixed on-times of cycles of the PWM on a per cycle basis, i.e., only once per cycle, and in advance of the cycles. For example, the conventional technique may perform the following sequence of operations: (1) pre-compute a first fixed on-time prior to a first cycle, and then generate the first cycle with the first fixed on-time; (2) pre-compute a second fixed on-time prior to a second cycle, and then generate the second cycle with the second fixed on-time; and so on, for subsequent cycles. Thus, during each cycle, the pre-computed fixed on-time cannot be adjusted dynamically to accommodate a change in demand on the welding current during each cycle. For example, the conventional technique cannot increase or decrease the on-time dynamically during each cycle to accommodate a corresponding demand to increase or decrease the welding current during each cycle. This results in a sluggish response time to a demand to increase or decrease the welding current, which negatively impacts the welding process.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is an illustration of an example welding system in which embodiments directed to controlling an on-time of PWM may be implemented.



FIG. 2 is a block diagram of a power supply and a power supply controller (PSC) of the welding system, according to an example embodiment.



FIG. 3 is a circuit diagram of a power inverter and a transformer of the power supply, according to an example embodiment.



FIG. 4 is a diagram of the PSC accordance to an embodiment.



FIG. 5 shows example timing waveforms for various signals associated with the PSC of FIG. 4.



FIG. 6 is a diagram of the PSC according to another embodiment.



FIG. 7 shows further example timing waveforms associated with the PSC.



FIG. 8 is a block diagram of a portion of an example welding system that employs multiple inverters or power blocks controlled by a single feedback control loop.



FIG. 9 is a flowchart of an example method of controlling an on-time or pulse width of PWM in a welding system.



FIG. 10 is a block diagram of an example PSC configured to perform the embodiments presented herein.





DESCRIPTION OF EXAMPLE EMBODIMENTS
Overview

In an embodiment, a method of controlling pulse width modulation (PWM) applied to at least one power inverter to generate a weld current for cutting or welding comprises: receiving current values indicative of the weld current during a cycle of the PWM; receiving a target current value indicative of a target current for the weld current; during the cycle, turning ON a pulse to energize the at least one power inverter; and after turning ON the pulse, repeating multiple times during the cycle: determining whether to adjust an on-time of the pulse based on the current values and the target current value in order to drive the weld current toward the target current; and adjusting the on-time responsive to determining.


EXAMPLE EMBODIMENTS

With reference to FIG. 1, there is an illustration of an example metal inert gas (MIG)/metal active gas (MAG) welding system 100, in which embodiments directed to controlling an on-time of PWM applied to a welding power supply configured to generate a weld current for a welding or cutting operation may be implemented. The embodiments are presented in the context of MIG/MAG welding by way of example only. It is understood that the embodiments may be employed generally in any know or hereafter developed welding environments, such as, but not limited to, tungsten inert gas (TIG) welding, flux cored arc welding (FCAW), shielded metal arc welding (SMAW) or stick welding, submerged arc welding (SAW), and so on. Additionally, the embodiments may be employed equally in an arc cutting apparatus. Welding system 100 includes: a power supply 102; a power supply controller (PSC) 104 coupled to and configured to control the power supply; an electrode feeder 106 coupled to the power supply; a cable assembly 108 coupled to the electrode feeder; a welding torch 110 (also referred to as a “welding gun”) coupled to the cable assembly and having a sturdy metal contact tip 111 that extends from an end of the welding gun or torch; a gas container 112 coupled to the cable assembly; and a workpiece 114 coupled to the power supply through at least a return path/cable 115. In the ensuing description, the terms “weld” and “welding” are synonymous and interchangeable. Also, the terms “weld” and “welding” refer broadly to both welding and plasma cutting systems and operations.


Electrode feeder 106 includes an electrode feeder 116 to feed an electrode from a coiled electrode 120 through cable assembly 108 and through contact tip 111 of welding torch 110, which is in electrical contact with the electrode. Under control of PSC 104, power supply 102 generates weld power that drives the welding process/operation. In welding operations that involve a pulsed or periodic waveform, the weld power typically includes a series of weld current pulses. Power supply 102 provides the weld power from an output terminal 130a of the power supply to the electrode, through electrode feeder 116, cable assembly 108, and welding torch 110, while the cable assembly also delivers a shielding gas from gas container 112 to the welding torch. Return path/cable 115 provides an electrical return path from workpiece 114 to an input terminal 130b of power supply 102


During a welding operation, an electrode tip 118 of the electrode is brought into contact or near contact with workpiece 114, and the weld power (i.e., current and voltage) supplied by power supply 102 to the welding torch creates an arc between workpiece 114 and electrode tip 118 (also referred to as an “electrode stick”) extending through the contact tip. To control the welding process, PSC 104 controls power supply 102 to generate the weld power (e.g., current) at a desired level for the welding process, based on feedback in the form of measurements of the current and voltage (e.g., arc voltage) supplied by the power supply to the welding process. The measurements may be produced by current and voltage sense points in power supply 102 and/or at sense points that are remote from the power supply, such as in cable assembly 108 or welding torch 110.



FIG. 2 is a block diagram of power supply 102 with PSC 104, according to an embodiment. Power supply 102 includes an AC/DC converter 202 to receive AC input power (e.g., from AC mains or a generator), a power inverter (referred to simply as an “inverter”) 204, a high-frequency transformer 206, and a rectifier 208 coupled to one another. AC/DC converter 202 includes a diode rectifier to convert the AC input power to a constant, rectified DC voltage (also referred to as a DC “bus” voltage), and provide the DC bus voltage to an input of inverter 204. Under control of PSC 104, inverter 204, transformer 206, and rectifier 208 collectively operate as a weld process regulator to convert the DC bus voltage to a desired weld power supplied by power supply 102 for a welding operation.


Inverter 204 comprises a set of high-speed semiconductor switching devices (i.e., power switches) that are pulse width modulated (i.e., switched on and off at a switching frequency) responsive to pulse width modulation (PWM) waveforms 210 (also referred to as “PWM signals”), generated by PSC 104 and applied to control terminals of the switching devices, to convert the DC bus voltage to an AC (power) signal or waveform including a voltage and a primary current IL that flows into transformer 206. Such operation is referred to as “PWM operation” of inverter 204. Example switching frequencies may be in a range from 1 kHz-100 kHz, although other switching frequencies above and below this range may be used. Inverter 204 supplies the AC signal to transformer 206. Transformer 206 converts the voltage and current of the AC signal from inverter 204 to a transformed AC signal having desired levels of a voltage and a secondary current Is for the welding operation, and supplies the transformed AC signal to rectifier 208. Rectifier 208 rectifies the transformed AC signal to produce the weld power based on the secondary current Is and supplies the same to the welding process.


As shown in FIG. 2, power supply 102 includes a current sense point to provide to PSC 104 a sensed current I that represent secondary current Is or primary current IL, for example, produced by the power supply 102. Power supply 102 also includes a voltage sense point to provide to PSC 104 a sensed voltage V representative of a voltage produced by the power supply (e.g., a voltage across the power supply terminals, the arc voltage, and the like). The sensed current and voltage represent current and voltage measurements (i.e., measured current and voltage) of the weld power, which provide real-time feedback from the welding process to PSC 104.


PSC 104 receives the current and voltage measurements. To control primary current IL (and correspondingly secondary current Is) generated by power supply 102, PSC 104 controls or dynamically adjusts PWM waveforms 210 applied to inverter 204 based on a desired or target primary current (or secondary current), and based on the current and/or voltage measurements from the welding process. For example, PSC 104 may increase an on-time of cycles of PWM waveforms 210 applied to inverter 204 to increase primary/secondary current IL/Is, and vice versa. In this way, PSC 104 implements a sample-based feedback control loop to control PWM waveforms 210 based on the current and voltage measurements.



FIG. 3 is a simplified circuit diagram of inverter 204 and transformer 206, according to an embodiment. Transformer 206 includes an input coil IC coupled to an output of inverter 204, an output coil OC coupled to an input of rectifier 208 and electrically isolated from the input coil, and a magnetic core MC configured to magnetically couple the input coil IC to the output coil OC.


Inverter 204 includes a four-quadrant inverter, such as an H-bridge inverter, for example. In other examples, other types of inverters may be employed. Inverter 204 is sometimes referred to as a single “power block” of power supply 102. Inverter 204 includes input voltage rails P1 and P2 to receive the DC bus voltage generated by AC/DC converter 202, and also includes a set of high-frequency semiconductor (current) switches Q1-Q4 (more generally referred to as “power switches” or simply “switches”) coupled to the input voltage rails and arranged in an H configuration. A given switch Qi may be referred to simply as “Qi.” Q1 and Q2 are connected in series with each other between input voltage rails P1 and P2 to form a first/left leg of the inverter, and (ii) Q3 and Q4 are connected in series with each other between the input voltage rails to form a second/right leg of the inverter. Q1 and Q2 are connected to each other at a left terminal LT, and Q3 and Q4 are connected to each other at a right terminal RT. Terminals LT, RT are respectively connected to opposing sides of input coil IC of transformer 206, while opposing sides of output coil OC of the transformer are coupled to rectifier 208. Q1-Q4 are controlled (i.e., turned ON or closed and turned OFF or opened) responsive to PWM waveforms 210 generated by PSC 104 and applied to respective control terminals of the switches. PWM waveforms 210 are typically configured as periodic square wave pulses, although other waveforms are possible.


In the example of FIG. 3, PWM waveforms 210 include PWM waveforms PWM_1 and PWM_2 (referred to simply as “PWM_1” and “PWM_2”), which respectively control first diagonal switch pair Q1, Q4 (together) and second diagonal switch pair Q2, Q3 (together). ON/OFF (e.g., high/low) states of PWM_1 (or PWM_2) turn ON/OFF first diagonal switch pair Q1, Q4 (or second diagonal switch pair Q2, Q3) to supply/not supply current from input voltage rails (P1, P2) to input coil IC of transformer 206 through left terminal LT (or through right terminal RT). In general, PWM_1 and PWM_2 alternately turn ON and OFF with respect to each other to alternately energize and de-energize diagonal switch pairs Q1, Q4 and Q2, Q3 to supply current to input coil IC of transformer 206 alternately via terminals LT and RT. During each on-time (i.e., pulse) of PWM_1, and during each on-time of PWM_2, inverter 204 supplies current to transformer 206. The example of FIG. 3 shows a PWM cycle in which Q1, Q4 are ON responsive to PWM_1, and Q2, Q3 are OFF responsive to PWM_2, in which case only terminal LT supplies current to transformer 206. A subsequent PWM cycle reverses the configuration. PSC 104 controls the PWM frequency, period, duty cycle, and on-time of each of PWM waveforms PWM_1 and PWM_2 to control an overall or composite PWM frequency, period, duty cycle, and on-time of the current supplied to transformer 206. The magnitude and frequency of the AC signal generated by inverter 204, and correspondingly the magnitude and frequency of the current and voltage of the weld power produced by power supply 102, is controlled responsive to the PWM waveforms.


In an example, each switch Qi may be implemented as a switching transistor, such as an insulated gate bipolar transistor (IGBT) having an emitter-collector current path that is turned ON or OFF responsive to a voltage applied to a gate (i.e., the control terminal) of the IGBT, for example. Alternatively, each switch Qi may be implemented as a field effect transistor (FET) (e.g., a metal oxide semiconductor (MOS) FET (MOSFET)) having a source-drain current path that is turned ON or OFF responsive to a voltage applied to a gate of the FET, for example. Each switch Qi may also include an internal diode that is connected in parallel with the controlled current path of the switch. Other types of power switches may be used, as would be appreciated by one of ordinary skill in the relevant arts.


As mentioned above, a conventional technique for controlling a PWM waveform computes and implements fixed on-times for cycles of the PWM once per cycle of the PWM waveform, which results in sluggish and inflexible responses to demands to change welding current during a welding or cutting operation. Embodiments presented herein to generate/control the PWM waveform overcome the aforementioned disadvantages and offer additional advantages described below. More specifically, the embodiments generate/control the PWM waveform to have an on-time that can be adjusted many times during each cycle in correspondence with/to accommodate demands on the primary/secondary current that change during each cycle. In other words, the embodiments provide repetitive, intra-cycle on-time adjustments. To implement such control, the embodiments repeat, multiple times during each cycle (i.e., per cycle), “determining-and-adjusting” operations that include (i) determining whether to adjust an on-time of a pulse generated during the cycle, and (ii) adjusting the on-time of the pulse in a direction indicated by each determining. The determining-and-adjusting occurs at a rate (e.g., at a mega sample per second rate) that exceeds the switching frequency (e.g., a kHz rate) of the PWM waveform, i.e., at a time interval that is less than a period of each cycle. As a result, the on-time may be adjusted (e.g., successively increased) many times during each cycle to accommodate changing current demands during the cycle, i.e., intra-cycle. The embodiments are described in further detail below.



FIG. 4 is a diagram of PSC 104 configured to generate a PWM waveform, e.g., PWM_1, in accordance with the embodiment. FIG. 4 also shows further details of power supply 102, according to an embodiment. In the example, rectifier 208 includes rectifier diodes D1 and D2 having respective anodes coupled to opposing sides of output coil OC of transformer 206 and respective cathodes coupled to output terminal 130a. Rectifier 208 also includes an inductor L coupled to a center tap of output coil OC and input terminal 130b. A current sense point at output terminal 130a provides to PSC 104 current measurement I representative of secondary current Is. A voltage sense point across output terminal 130a and input terminal 130b provides to PSC 104 voltage measurement V representative of the output voltage supplied by power supply 102. An intermediate voltage sense point at a low side of input coil IC of transformer 206 that is connected to switch Q4 provides to PSC 104 a voltage measurement referred to as a “representative signal U” that is indicative of primary current IL and secondary current Is. For example, representative signal U may be proportional to primary current IL (e.g., U a IL) and may be proportional to second current Is. In the example of FIG. 4, current measurement I, voltage measurement V, and representative signal U provided by power supply 102 to PSC 104 are all analog signals. In other examples, one or more of I, V, and U may be digital/digitized signals.


PSC 104 includes a regulator 402, a PWM cycle generator 406, and a driver 408 (i.e., a signal driver) coupled to one another and to power supply 102. PWM cycle generator 406 includes a comparator 410 (which may be an analog comparator), a clock 412, and a latch or flip-flop 414. At a high level, regulator 402 and PWM cycle generator 406 interact to generate PWM waveform PWM_1 and apply the PWM waveform to switches Q1 and Q4 of inverter 204 through driver 408. In particular, regulator 402 and PWM cycle generator 406 control an on-time or pulse width of each cycle of PWM waveform PWM_1, as described below. PSC 104 generates PWM waveform PWM_2 in substantially the same way as the PSC generates PWM waveform PWM_1, except that PWM waveform PWM_2 is phase-shifted with respect to PWM waveform PWM_1. Therefore, the ensuing description for generating PWM waveform PWM_1 shall suffice for PWM waveform PWM_2.


Regulator 402 includes an analog-to-digital converter (ADC) 418 and an ADC 420 to receive current measurement I and voltage measurement V representative of secondary current IL and the output voltage produced by power supply 102, as shown. In another arrangement, ADC 418 and ADC 420 may be external to PSC 104. ADC 418 samples current measurement I at a sample rate SR, to produce current values 422 at the sample rate, and provides the current values for use by PSC 104. Sample rate SR may be in the MHz range, for example. Similarly, ADC 420 samples voltage measurement V at the sample rate SR, to produce voltage values 424 at the sample rate, and provides the voltage values for use by PSC 104. Current values 422 and voltage values 424 represent digitized current and voltage measurements, which provide real-time feedback from the welding process to PSC 104. The current values 422 and the voltage values 424 may also be referred to as “current samples” and “voltage samples,” respectively.


Regulator 402 also receives a target current value TC (also referred to as a current “set point”) that represents a target current for primary current IL. The target current value TC may be configured on welding system 100 through an external source (not shown), or may be varied responsive to demands on primary IL, for example.


PSC 104 performs operations described next at sample rate SR, which is greater than a switching frequency of PWM waveform PWM_1. The operations may be performed at a rate other than sample rate SR, provided that the rate is greater than the switching frequency. At sample rate SR, regulator 402 processes current values 422, voltage values 424, and the target current value TC using a proportional-integral-derivative (PID) algorithm, for example, to produce values of a signal U_setvalue (also referred to as a “trip value”) at the sample rate, and provides the values of U_setvalue to a first input of comparator 410 (also referred to as a “trip comparator 410”). The values of U_setvalue may be voltage values, for example. When regulator 402 employs the PID algorithm, the regulator may operate as a proportional integral (PI) controller or regulator, for example.


Each value of U_setvalue (i.e., “U_setvalue”) is indicative of whether to adjust primary current IL, so as to drive the same toward the target current represented by target current value TC. When current values 422<TC, regulator 402 produces successive values of U_setvalue that increase one to the next. On the other hand, when current values 422>TC, regulator 402 produces successive values of U_setvalue that decrease one to the next. When current values 422 ˜ TC, regulator 402 produces successive values of U_setvalue that are constant.


Because sample rate SR is greater than the switching frequency of PWM waveform PWM_1, regulator 402 produces multiple values of U_setvalue per cycle of the PWM waveform. Stated otherwise, during each cycle of PWM waveform PWM_1, regulator 402 determines/computes N values of U_setvalue that are separated one from the next by a time interval ti (1/SR) that is less than a period P of each cycle, where N=P/ti.


A second input of comparator 410 receives representative signal U a IL supplied by the intermediate voltage sense point on input coil IC of transformer 206. Comparator 410 acts as an analog comparator to continuously compare successive values of U_setvalue to successive values of representative signal U α IL to produce compare result INHIBIT+/−. That is, INHIBIT+/− represents a result of the compare operation performed by comparator 410. When U>U_setvalue, INHIBIT+/− is high (e.g., a logic 1), which indicates to decrease primary current IL. Alternatively, when U≤U_setvalue, INHIBIT+/− is low (e.g., a logic 0), which indicates to increase primary current IL.


Flip-flop 414 includes a reset input R, a set input S, and a latch output Q. Comparator 410 applies INHIBIT+/− to reset input R of flip-flop 414. Clock 412 generates a train of short trigger pulses (referred to collectively and individually as “TP”) and applies the trigger pulses to set input S of flip-flop 414. Trigger pulses TP have a frequency FS that represents the switching frequency (where FS<SR) and a period (1/FS) of each cycle of PWM waveform PWM_1. That is, trigger pulses TP have a pulse repetition interval (PRI) (measured from a rising edge of one trigger pule to a rising edge of a next trigger pulse) equal to the period.


A rising edge of each trigger pulse TP latches output Q high. On the other hand, a rising edge of INHIBIT+/− applied to reset input R resets output Q, i.e., latches output Q low. Thus, output Q of flip-flop 414 produces successive cycles of PWM waveform PWM_1 with period 1/FS responsive to successive trigger pulses TP. Additionally, an on-time or pulse width of each cycle varies in response to the timing of trigger pulses TP in relation to activity of INHIBIT+/−. The start of a trigger pulse TP triggers a cycle of PWM waveform PWM_1, and starts an on-time (i.e., turns ON a pulse) of the cycle. Subsequently, while INHIBIT+/− is low during the cycle, the pulse of the cycle remains ON. In contrast, a rising edge of INHIBIT+/− turns OFF the pulse before the cycle ends to establish a final or total on-time or pulse width of the cycle. The process repeats with the start of a next trigger pulse TP, and so on.


In the example described above, current values 422, target current value TC, representative signal U, and U_setvalue are representative of or based on primary current IL. In another example, current values 422, target current value TC, representative signal U, and U_setvalue may be representative of or based on secondary current Is, rather than primary current IL.



FIG. 5 shows timing waveforms for various signals of PSC 104 taken from FIG. 4. The timing waveforms span two cycles C1, C2 of PWM waveform PWM_1 generated in response to two trigger pulses TP TP1, TP2. Specifically, FIG. 5 shows the following example timing waveforms (a)-(d) from top-to-bottom in the figure:

    • a. Representative signal U (a IL, Is) and values of U_setvalue over cycles C1, C2 (shown in bottom timing waveform (d)). U_setvalue comprises many values u1, u2, u3, and so on, computed at sample rate SR during each cycle. In the example of FIG. 5, the values u1, u2, u3, and so on, are constant across each cycle. In other examples, the values may vary, e.g., increase or decrease, during each cycle.
    • b. Trigger pulses TP1, TP2 applied to set input S that trigger cycles C1, C2.
    • c. INHIBIT+/− applied to reset input R. INHIBIT+/− is high only when U>U_setvalue.
    • d. Cycles C1, C2.


Referring to FIG. 5 and also to FIG. 4, trigger pulse TP1 triggers cycle C1 and turns ON pulse P1 for the cycle. That is, TP1 starts an on-time of cycle C1. While values of U increase with time up to time t1 (504), each U≤U_setvalue, so INHIBIT+/− remains low continuously, which keeps pulse P1 ON. Then, at time t1, U>U_setvalue, which transitions INHIBIT+/− from low-to-high, which turns OFF pulse P1. This sets the final on-time of cycle C1 to T1. The aforementioned operations repeat responsive to next trigger pulse TP2, which triggers next pulse P2 of cycle C2. While U increases with time up to time t2 (506), U≤U_setvalue, so pulse P2 remains ON. At time t2, U>U_setvalue, so INHIBIT+/− transitions from low-to-high, which turns OFF pulse P2 and sets the final on-time of cycle C2 to T2.



FIG. 6 is a diagram of PSC 104 according to another embodiment. The embodiment of FIG. 6 is substantially similar to the embodiment of FIG. 4, except for the following differences. The embodiment of FIG. 6 includes a summer 604 that adds a ramp waveform 606 to representative signal U, to produce a U+ramp waveform 608. Ramp waveform 606 may include a sawtooth waveform having a period equal to the period of PWM waveform PWM_1, for example. Summer 604 applies U+ramp waveform 608 to the second input of comparator 410, which compares U_setvalue to the U+ramp waveform, to produce INHIBIT+/−. Inclusion of ramp waveform 606 adds stability to the process described above for controlling the on-time during each cycle of PWM waveform PWM_1.



FIG. 7 shows example timing waveforms (from top-to-bottom of FIG. 7) for primary current IL, measured arc voltage, U_setvalue, U+Ramp, PWM_1, PWM_2, and Inhibit+/−, spanning multiple cycles of PWM_1 and PWM_2. U_setvalue is updated, and a determination to increase or decrease an on-time is made, many times during each cycle of PWM_1 and PWM_2. Up to time t1, all values of U+Ramp <U_setvalue over successive cycles of PWM_1 and PWM_2, which maximizes on-times for PWM_1 and PWM_2 during those cycles. The following events are shown at or after time t1:

    • a. During cycle 704 for PWM_1, successive values of U_setvalue decrease until, at t1, U+Ramp >U_setvalue, which triggers a rising edge of INHIBIT+/−, which turns OFF a pulse PA (i.e., terminates an on-time) for that cycle. INHIBIT+/− reacts to a downward slope of U_setvalue during cycle 704.
    • b. During cycle 706 for PWM_2, successive values of U_setvalue decrease until, at time t2, U+Ramp >U_setvalue, which triggers a rising edge of INHIBIT+/−, which turns OFF a pulse PB for that cycle.
    • c. During cycle 708 for PWM_3, U_setvalue repeatedly decreases until, at t3, U+Ramp >U_setvalue, which triggers a rising edge of INHIBIT+/−, which turns OFF a pulse PC for that cycle.


In a scenario in which target current value TC suddenly increases (i.e., “jumps-up” in value) during a cycle (to reflect a demand to suddenly increase primary current IL or secondary current IS), U_setvalue responds accordingly, and will also suddenly increase during the cycle to meet the demand. The sudden increase in U_setvalue relative to representative signal U during the cycle will cause the on-time to increase during the cycle. This will cause the primary and second currents (and thus representative signal U) to increase over subsequent cycles and eventually “catch-up” to and exceed U_setvalue, at which point INHIBIT+/− will trigger to shorten on-times during the subsequent cycles. Additionally, U_setvalue may decrease over the subsequent cycles to limit the primary and secondary currents.


Operations described above in connection with FIGS. 4-7 may be summarized as follows. PSC 104 generates cycles of a PWM waveform, e.g., PWM_1, at a switching frequency of the PWM waveform. Each cycle turns ON a pulse (i.e., starts an on-time for the pulse). Subsequent to turning ON the pulse in each cycle, PSC 104 repeatedly adjusts the on-time during each cycle in accordance with demands to adjust primary current IL. PSC adjust the on-time at a rate that is greater than the switching frequency of the PWM waveform. Stated otherwise, during each cycle of the PWM waveform, PSC determines whether to adjust, and then adjusts accordingly, the on-time multiple times at a time interval that is less than a period of the cycle. To do this, PSC repeatedly performs the following set of operations during each cycle:

    • a. Based on current values 216 and target current value TC, determine whether to adjust the on-time in order to adjust primary current IL, correspondingly. More specifically, determine whether to increase or decrease the on-time to increase or decrease primary current IL, correspondingly. Next operations (b) and (c) adjust the on-time as directed by (i.e., in a direction directed by) determine operation (a).
    • b. When it is determined to increase the on-time, increase values of U_setvalue to a condition where U_setvalue >U, which ensures that the pulse remains ON (by operation of comparator 410 and flip-flop 414 as described above), and thus increases the on-time of the pulse, and increases primary current IL.
    • c. When it is determined to decrease the on-time, decrease values of U_setvalue to a condition where U_setvalue ≤U, which turns OFF the pulse (by operation of comparator 410 and flip-flop 414 as described above), and thus decreases the on-time, and decreases primary current IL.


The operations described above control the on-time during the cycle without actually computing a value for the on-time. Rather, during each cycle, the operations repeatedly determine/evaluate whether to adjust the on-time multiple times and then adjust the on-time during the cycle based on each determination.



FIG. 8 is a block diagram of a portion of an example welding system 800 that employs multiple inverters or power blocks controlled by a single feedback control loop. Specifically, welding system 800 includes multiple inverters 204(1), 204(2) that drive multiple transformers 206(1), 206(2) responsive to multiple PWM waveforms PWM(1), PWM(2) to produce multiple secondary currents IS(1), IS(2) through rectifiers 208(1), 208(2), respectively. In other examples, more than two inverters may be used. Welding system 800 includes a summer 810 to sum secondary currents IS(1), IS(2) into a combined current IC and a combined output voltage for a welding or cutting operation, and provides a combined current measurement and a combined output voltage measurement to a PSC 814. In addition, intermediate sample points at transformers 206(1), 206(2) provide to PSC 814 representative signals U a IL and U α IL2. PSC 814 operates similarly to PSC 104 to generate PWM waveforms PWM(1), PWM(2) based on the aforementioned signals and target current value TC.


An example of PSC 814 is shown in an expanded view EV of FIG. 8. PSC 814 includes regulator 402, PWM cycle generators 406(1), 406(2), and drivers 408(1), 408(2). ADC 418 and ADC 420 of regulator 402 digitize the combined current measurement and the combined output voltage measurement to produce current values representative of combined current IC and voltage values representative of the combined output voltage. PWM cycle generators 406(1), 406(2) are each configured similarly to PWM cycle generator 406 of FIG. 4, except that respective clocks in respective ones of the PWM cycle generators generate respective trigger pulses TP that are staggered or offset in phase with respect to each other. In operation, regulator 402 derives U_setvalue based on the current values for combined current IC and TC, and provides U_setvalue to PWM cycle generators 406(1), 406(2), in parallel. PWM cycle generators 406(1), 406(2) respectively generate PWM waveforms PWM(1), PWM(2) as described above in connection with FIG. 4, except that each cycle of PWM waveform PWM(1) is offset in phase with respect to each cycle of PWM waveform PWM(2) due to the staggered trigger pulses TP. That is, PWM waveforms PWM(1) and PWM(2) are interleaved in time.



FIG. 9 is a flowchart of an example method 900 of controlling an on-time or pulse width of PWM applied to at least one power inverter (i.e., one or more power inverters) to generate a weld current for cutting or welding.

    • 902 includes receiving current values (e.g., current values 422) indicative of the weld current during a cycle of the PWM.
    • 904 includes receiving a target current value (e.g., target current value TC) indicative of a target current for the weld current.
    • 906 includes, during the cycle (e.g., at a start of the cycle), turning ON a pulse to energize the at least one power inverter.
    • 908 includes, after turning ON the pulse, repeating multiple times during the cycle (i.e., at a time interval that is less than a period of the cycle):
      • a. Determining whether to adjust an on-time of the pulse based on the current values and the target current value in order to drive the weld current toward the target current. For example, determining may include determining whether to increase or decrease the on-time.
      • b. Adjusting the on-time responsive to determining. For example, adjusting may include (i) when it is determined to increase the on-time, increasing the on-time by not turning OFF the pulse, and (ii) when it is determined to decrease the on-time, decreasing the on-time by turning OFF the pulse.


Thus, 908 includes repeating, multiple times (i) determining whether to adjust the on-time during the cycle, and (ii) adjusting the on-time responsive to each determining.


Once the pulse is turned OFF, the pulse may remain OFF until a start of a next cycle. In other words, adjusting may include adjusting the on-time by increasing the on-time (i.e., keeping the pulse ON responsive to each determining to increase the on-time), until adjusting the on-time includes turning OFF the pulse responsive to determining to decrease the on-time, after which the pulse remains turned OFF.


Determining whether to adjust the on-time may include:

    • a. Computing a set value or trip value (e.g., U_setvalue) indicative of whether to increase or decrease the on-time based on the current values and the target current value.
    • b. Comparing the set value to a representative signal (e.g., U or U+Ramp) indicative of the weld current.


Adjusting the on-time responsive to determining may include:

    • a. When the representative signal does not exceed the set value, increasing the on-time by not turning OFF the pulse.
    • b. When the representative signal exceeds the set value, decreasing the on-time by turning OFF the pulse.


Method 900 further incudes, for each of successive cycles of the PWM, repeating turning on the pulse, and repeating the multiple times (i) determining, and (ii) adjusting to drive the weld current to the target current.


In a single power inverter embodiment, the one or more power inverters include only one power inverter. In a multiple power inverter embodiment, the one or more power inverters includes multiple power inverters configured to generate multiple currents responsive to the PWM. The multiple power inverter embodiment includes summing the multiple currents to produce the weld current as a combined current, and providing the PWM to each of the multiple power inverters based on the combined current.


With reference to FIG. 10, there is a block diagram of an example PSC (also referred to as a “controller”) 1000. PSC 1000 may represent PSC 104 and PSC 814, for example. PSC 1000 includes a processor 1012 (e.g., a microcontroller) (which may be implemented in hardware, software, or a combination thereof), a memory 1014, a clock generator 1016, PWM drivers 1018 (e.g., drivers 408, 408(1), and 408(2)), ADC 418, and ADC 420 coupled with each other. PSC 104 receives sensed voltage and current (i.e., voltage and current measurements), a target current value, and generates PWM signals or waveforms (e.g., PWM waveforms 210, PWM_1, PWM_2, PWM(1), and PWM(2)). Memory 1014 stores non-transitory computer readable program instructions/logic instructions 1020 that, when executed by processor 1012, cause the controller to perform the operations described herein. For example, memory 1014 may store program instructions that executed/control power increase event triggered ramp-up/increase of the AC signal. Memory 1014 also stores data 1022 used and produced by processor 1012. Clock generator 1016 generates clocks and timing signals used to drive other components of PSC 104. In embodiments, components of PSC 104 may include electronic circuitry such as, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) to execute the computer readable program instructions, which may include microcode, firmware, and so on.


In some aspects, the techniques described herein relate to a method of controlling pulse width modulation (PWM) applied to at least one power inverter to generate a weld current for cutting or welding, including: receiving current values indicative of the weld current during a cycle of the PWM; receiving a target current value indicative of a target current for the weld current; during the cycle, turning ON a pulse to energize the at least one power inverter; and after turning ON the pulse, repeating multiple times during the cycle: determining whether to adjust an on-time of the pulse based on the current values and the target current value in order to drive the weld current toward the target current; and adjusting the on-time responsive to determining.


In some aspects, the techniques described herein relate to a method, wherein: repeating the multiple times includes repeating the multiple times at a time interval that is less than a period of the cycle.


In some aspects, the techniques described herein relate to a method, wherein: determining includes determining whether to increase or decrease the on-time; and adjusting includes: when it is determined to increase the on-time, increasing the on-time by not turning OFF the pulse; and when it is determined to decrease the on-time, decreasing the on-time by turning OFF the pulse.


In some aspects, the techniques described herein relate to a method, further including: for each of successive cycles of the PWM, repeating (i) turning ON the pulse, and (ii) repeating the multiple times in order to drive the weld current to the target current.


In some aspects, the techniques described herein relate to a method, wherein determining includes: processing the target current value and the current values using a proportional-integral-derivative (PID) algorithm.


In some aspects, the techniques described herein relate to a method, wherein: turning ON the pulse includes turning ON the pulse at a start of the cycle.


In some aspects, the techniques described herein relate to a method, wherein: adjusting include adjusting the on-time until adjusting the on-time includes turning OFF the pulse responsive to determining to decrease the on-time.


In some aspects, the techniques described herein relate to a method, wherein determining includes: computing a set value indicative of whether to increase or decrease the on-time based on the current values and the target current value; and comparing the set value to a representative signal indicative of the weld current, wherein adjusting includes adjusting based on results of comparing.


In some aspects, the techniques described herein relate to a method, wherein adjusting includes: when the representative signal does not exceed the set value, increasing the on-time by not turning OFF the pulse; and when the representative signal exceeds the set value, decreasing the on-time by turning OFF the pulse.


In some aspects, the techniques described herein relate to a method, wherein the at least one power inverter includes multiple power inverters configured to generate multiple currents responsive to the PWM, and the method further includes: summing the multiple currents to produce the weld current; and providing the PWM to each of the multiple power inverters.


In some aspects, the techniques described herein relate to an apparatus including: at least one power inverter of a welding system; and a controller configured to perform controlling pulse width modulation (PWM) applied to the at least one power inverter to generate a weld current for cutting or welding by: receiving current values indicative of the weld current during a cycle of the PWM; receiving a target current value indicative of a target current for the weld current; during the cycle, turning ON a pulse to energize the at least one power inverter; and after turning ON the pulse, repeating multiple times during the cycle: determining whether to adjust an on-time of the pulse based on the current values and the target current value in order to drive the weld current toward the target current; and adjusting the on-time responsive to determining.


In some aspects, the techniques described herein relate to an apparatus, wherein the controller is further configured to perform: repeating the multiple times includes repeating the multiple times at a time interval that is less than a period of the cycle.


In some aspects, the techniques described herein relate to an apparatus, wherein: the controller is configured to perform determining by determining whether to increase or decrease the on-time; and the controller is configured to perform adjusting by: when it is determined to increase the on-time, increasing the on-time by not turning OFF the pulse; and when it is determined to decrease the on-time, decreasing the on-time by turning OFF the pulse.


In some aspects, the techniques described herein relate to an apparatus, wherein the controller is further configured to perform: for each of successive cycles of the PWM, repeating (i) turning ON the pulse, and (ii) repeating the multiple times in order to drive the weld current to the target current.


In some aspects, the techniques described herein relate to an apparatus, wherein: the controller is configured to perform processing the target current value and the current values using a proportional-integral-derivative (PID) algorithm.


In some aspects, the techniques described herein relate to an apparatus, wherein: the controller is configured to perform turning ON the pulse by turning ON the pulse at a start of the cycle.


In some aspects, the techniques described herein relate to an apparatus, wherein: the controller is configured to perform adjusting by adjusting the on-time until adjusting the on-time includes turning OFF the pulse responsive to determining to decrease the on-time.


In some aspects, the techniques described herein relate to an apparatus, wherein the controller is configured to perform determining by: computing a set value indicative of whether to increase or decrease the on-time based on the current values and the target current value; and comparing the set value to a representative signal indicative of the weld current, wherein the controller is configured to perform adjusting by adjusting based on results of comparing.


In some aspects, the techniques described herein relate to an apparatus, wherein the controller is configured to perform adjusting by: when the representative signal does not exceed the set value, increasing the on-time by not turning OFF the pulse; and when the representative signal exceeds the set value, decreasing the on-time by turning OFF the pulse.


In some aspects, the techniques described herein relate to an apparatus, wherein the at least one power inverter includes multiple power inverters configured to generate multiple currents responsive to the PWM, and the apparatus further includes: a summer to sum the multiple currents to produce the weld current; and the controller is configured to perform providing the PWM to each of the multiple power inverters.


The descriptions of the various embodiments have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims
  • 1. A method of controlling pulse width modulation (PWM) applied to at least one power inverter to generate a weld current for cutting or welding, comprising: receiving current values indicative of the weld current during a cycle of the PWM;receiving a target current value indicative of a target current for the weld current;during the cycle, turning ON a pulse to energize the at least one power inverter; andafter turning ON the pulse, repeating multiple times during the cycle: determining whether to adjust an on-time of the pulse based on the current values and the target current value in order to drive the weld current toward the target current; andadjusting the on-time responsive to determining.
  • 2. The method of claim 1, wherein: repeating the multiple times includes repeating the multiple times at a time interval that is less than a period of the cycle.
  • 3. The method of claim 1, wherein: determining includes determining whether to increase or decrease the on-time; andadjusting includes: when it is determined to increase the on-time, increasing the on-time by not turning OFF the pulse; andwhen it is determined to decrease the on-time, decreasing the on-time by turning OFF the pulse.
  • 4. The method of claim 1, further comprising: for each of successive cycles of the PWM, repeating (i) turning ON the pulse, and (ii) repeating the multiple times in order to drive the weld current to the target current.
  • 5. The method of claim 1, wherein determining includes: processing the target current value and the current values using a proportional-integral-derivative (PID) algorithm.
  • 6. The method of claim 1, wherein: turning ON the pulse includes turning ON the pulse at a start of the cycle.
  • 7. The method of claim 1, wherein: adjusting include adjusting the on-time until adjusting the on-time includes turning OFF the pulse responsive to determining to decrease the on-time.
  • 8. The method of claim 1, wherein determining includes: computing a set value indicative of whether to increase or decrease the on-time based on the current values and the target current value; andcomparing the set value to a representative signal indicative of the weld current,wherein adjusting includes adjusting based on results of comparing.
  • 9. The method of claim 8, wherein adjusting includes: when the representative signal does not exceed the set value, increasing the on-time by not turning OFF the pulse; andwhen the representative signal exceeds the set value, decreasing the on-time by turning OFF the pulse.
  • 10. The method of claim 1, wherein the at least one power inverter includes multiple power inverters configured to generate multiple currents responsive to the PWM, and the method further comprises: summing the multiple currents to produce the weld current; andproviding the PWM to each of the multiple power inverters.
  • 11. An apparatus comprising: at least one power inverter of a welding system; anda controller configured to perform controlling pulse width modulation (PWM) applied to the at least one power inverter to generate a weld current for cutting or welding by: receiving current values indicative of the weld current during a cycle of the PWM;receiving a target current value indicative of a target current for the weld current;during the cycle, turning ON a pulse to energize the at least one power inverter; andafter turning ON the pulse, repeating multiple times during the cycle: determining whether to adjust an on-time of the pulse based on the current values and the target current value in order to drive the weld current toward the target current; andadjusting the on-time responsive to determining.
  • 12. The apparatus of claim 11, wherein the controller is further configured to perform: repeating the multiple times includes repeating the multiple times at a time interval that is less than a period of the cycle.
  • 13. The apparatus of claim 11, wherein: the controller is configured to perform determining by determining whether to increase or decrease the on-time; andthe controller is configured to perform adjusting by: when it is determined to increase the on-time, increasing the on-time by not turning OFF the pulse; andwhen it is determined to decrease the on-time, decreasing the on-time by turning OFF the pulse.
  • 14. The apparatus of claim 11, wherein the controller is further configured to perform: for each of successive cycles of the PWM, repeating (i) turning ON the pulse, and (ii) repeating the multiple times in order to drive the weld current to the target current.
  • 15. The apparatus of claim 11, wherein: the controller is configured to perform processing the target current value and the current values using a proportional-integral-derivative (PID) algorithm.
  • 16. The apparatus of claim 11, wherein: the controller is configured to perform turning ON the pulse by turning ON the pulse at a start of the cycle.
  • 17. The apparatus of claim 11, wherein: the controller is configured to perform adjusting by adjusting the on-time until adjusting the on-time includes turning OFF the pulse responsive to determining to decrease the on-time.
  • 18. The apparatus of claim 11, wherein the controller is configured to perform determining by: computing a set value indicative of whether to increase or decrease the on-time based on the current values and the target current value; andcomparing the set value to a representative signal indicative of the weld current,wherein the controller is configured to perform adjusting by adjusting based on results of comparing.
  • 19. The apparatus of claim 18, wherein the controller is configured to perform adjusting by: when the representative signal does not exceed the set value, increasing the on-time by not turning OFF the pulse; andwhen the representative signal exceeds the set value, decreasing the on-time by turning OFF the pulse.
  • 20. The apparatus of claim 11, wherein the at least one power inverter includes multiple power inverters configured to generate multiple currents responsive to the PWM, and the apparatus further comprises: a summer to sum the multiple currents to produce the weld current; andthe controller is configured to perform providing the PWM to each of the multiple power inverters.