The present invention relates generally to DC-to-AC converters, and in particular to systems and methods of preventing DC bias voltage in DC-AC converters that do not use a transformer.
Significant cost reductions in photovoltaic panels have spurred the installation of solar energy systems for supplying electricity. Solar panels produce DC power and are generally followed by a DC to AC converter, also known as an inverter, to produce a power output at the electric utility grid frequency of 50 Hz or 60 Hz, depending on the country. The most common solar installation feeds the AC power it produces back to the grid in return for some economic benefit. Relatively few solar installations are designed to operate totally off-grid, which requires a very large and expensive battery, to bridge periods of low insolation.
U.S. Pat. No. 8,937,822, filed May 8, 2011 by the present inventor and titled “Solar Energy Conversion and Utilization System,” incorporated herein by reference in its entirety, discloses a beneficial system that does not aim to be totally off-grid but rather attempts to minimize grid power use and maximize use of self-produced solar energy. An adaptive power source selection unit is used to transfer as many loads as possible, at any given time, to solar while leaving the remainder on the grid. Such a system requires a much smaller battery than a totally off-grid system, yet still provides substantial back-up power in the event of grid outages. As the grid becomes saturated with fed-back solar power, the self-consumption system of the '822 patent is becoming of greater interest.
The '822 patent also describes a novel type of transformerless DC to AC inverter that results in size, cost and weight reductions. As used herein, the term “transformerless” refers to the absence of the very large transformers that are needed to handle power at 60 Hz. The term does not imply the total absence of wound components, which may still be used at lower power at high frequency, where their size and cost is considerably lower than those used for high power at low frequency. Transformerless inverters of other types are also possible. In particular, transformerless inverters may be designed and used to feed power back to the electric utility grid.
When power is fed back to the grid from a solar inverter, it is connected to a service drop transformer such as a pole-mounted transformer that steps the inverter voltage up to a high transmission voltage. Such utility transformers have very low winding resistance and would substantially prevent any small DC component from existing on the grid wiring. Moreover, grid-tie inverters are of a current source type, not a voltage source type, as the voltage they produce is determined by the grid. A current source inverter controls the current to produce negative and positive half sine waves of current of a determined peak value, and as such they inherently prevent any DC current build-up that would result from a DC bias on the inverter output.
However, inverters for self-consumption have to produce a sine wave of defined voltage. If voltage is controlled rather than current, it must be controlled in such a way that no significant DC bias is produced by mismatch between the positive and negative half cycles. A DC bias is undesirable for feeding appliances with transformers or motors that have a low DC winding resistance, which would result in a significant DC current bias occurring. For example, one way in which such a bias can result even in a well-adjusted inverter is if one of the loads contains a half-wave rectifier, as old vacuum tube TV sets often did. This results in one half cycle being more heavily loaded than the other, resulting in a voltage drop on one half cycle and not on the other. This is perceived by other appliances as a DC offset. In effect, other appliances assume some of the unbalance current of the half-wave rectifier, which is undesirable. Therefore there is a need in the art for circuits and methods to control the DC bias output from a transformerless voltage-source inverter.
The Background section of this document is provided to place embodiments of the present invention in technological and operational context, to assist those of skill in the art in understanding their scope and utility. Approaches described in the Background section could be pursued, but are not necessarily approaches that have been previously conceived or pursued. Unless explicitly identified as such, no statement herein is admitted to be prior art merely by its inclusion in the Background section.
The following presents a simplified summary of the disclosure in order to provide a basic understanding to those of skill in the art. This summary is not an extensive overview of the disclosure and is not intended to identify key/critical elements of embodiments of the invention or to delineate the scope of the invention. The sole purpose of this summary is to present some concepts disclosed herein in a simplified form as a prelude to the more detailed description that is presented later.
The AC output of a transformerless inverter is filtered to remove the AC voltage excursions to obtain the mean or DC bias value. On inverter power-up, before connection of the output to the load, the inverter may be operated while monitoring the no-load DC bias value, and adjusted if necessary to minimize the DC bias value. After connection of the load, the on-load DC bias value is continuously monitored, and adjustments to the waveform to eliminate the DC bias are determined by a digital processor, and applied to control the DC bias value to be substantially zero.
When generating the inverter output comprises transitioning between a finite number of predetermined voltage steps, adjustments to the waveform may comprise determining the time instants of the transitions from one voltage step to the next.
In one embodiment, if monitored DC bias exceeds a gross threshold, the inverter ceases to generate an output and disconnects from the load. It may then attempt to resume generating an output, after performing the step of readjusting the waveform off-load, to remove DC bias prior to reconnecting to the load.
Yet another safeguard against producing a DC output to the load under fault conditions is to limit the time for which certain switching transistor may stay in the on state.
One embodiment relates to a method of operating a transformerless DC to AC converter comprising circuitry including a switching matrix and a controller operative to control switches in the switching matrix to commutate DC inputs onto AC outputs so as to generate an approximation of an AC waveform at a desired power line frequency. The AC output of the converter is monitored for a DC bias component. The controller modifies the AC waveform generated, so as to reduce the DC bias component.
Another embodiment relates to a transformerless DC to AC converter. The converter includes circuitry connected between DC inputs and AC outputs, the circuitry including a plurality of transistor switches. The converter also includes a controller operative to control the switches to commutate DC inputs onto AC outputs so as to generate, at the AC outputs, an approximation of an AC waveform at a desired power line frequency. The converter further includes a measuring circuit connected to the controller and operative to continuously measure the value of a DC bias component on the AC output of the converter. The controller is operative to modify the AC waveform generated, so as to reduce the DC bias component.
The present invention will now be described more fully hereinafter with reference to the accompanying drawings, in which embodiments of the invention are shown. However, this invention should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Like numbers refer to like elements throughout.
For simplicity and illustrative purposes, the present invention is described by referring mainly to an exemplary embodiment thereof. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be readily apparent to one of ordinary skill in the art that the present invention may be practiced without limitation to these specific details. In this description, well known methods and structures have not been described in detail so as not to unnecessarily obscure the present invention.
Referring to
H-bridge driver (200) may be isolated by optical or other means so that the voltage domain of the control system, which can be relative to ground, is independent of the power voltage domains of the H-bridges, which are various and are not grounded. An alternative DC to AC converter implementation of the '822 patent comprises connecting neutral to the −ve of the battery while generating a positive half sinewave on the LINE output by pulse width or bit density modulation, such as delta-sigma modulation, alternating at the power frequency rate with connecting neutral to the +ve of the battery while generating a negative half sinewave on the LINE output using pulse width or bit density modulation.
A key property of the DC-DC converter (110) is that power may instantaneously flow in either direction to or from any pair of input or output terminals. If the current flows out of a positive terminal, the direction of power flow is “out,” while if current flows into a positive terminal, the direction of power flow is “in.” The DC-DC converters of the above '888 patent are of a substantially lossless, switching type, implying that all power that flows in must come out, although the converter may optionally contain energy storage capacitors such there may be an instantaneous imbalance between input and output power as the capacitors are accumulating or releasing energy.
In one inverter embodiment of the '822 patent, the inverter output waveform to be generated is represented as a sequence of numerical samples, each numerical sample value being expressed as a number of digits in the ternary number system, e.g., the four ternary digits (T4, T3, T2, T1), wherein each digit Ti (i=1 . . . 4) can take on one of the three values: −1, 0 or +1. In correspondence with the place significance of the different ternary digits, a number of floating DC supplies are generated with ratios 1:1/3:1/9:1/27. Assuming a 120-volt DC input source, the floating DC supplies generated by converter 110 are therefore 40 v, 13.33 v, and 4.44 volts which are respectively ⅓rd, 1/9th, and 1/27th of the nominally 120 volt floating DC power source. The sum of the DC input and all outputs of the DC-DC converter is 120+40+13.33+4.44=177.77 volts when all four ternary digits are +1. This is the peak voltage that could be generated at the AC output (150), and corresponds to a useful sine wave output voltage of 125.7 volts rms.
If necessary, all the voltages can be scaled to produce other output voltages, for example 100v, 115, 120 v, 125 v, 220 v, etc., while still maintaining the power-of-3 ratios between the floating supply voltages. Other voltage outputs or waveforms (within the maximum available peak voltage of all DC supplies added together) may alternatively be generated by choosing the appropriate sequence of ternary digits. For example, the invention could be used to produce an output waveform for driving a vibration table for mechanical testing purposes, the waveform being either non-repetitive, or having a desired repetition frequency. Alternatively, it could be used as a high power guitar amplifier by digitizing the output of a guitar pick up and converting it to a sequence of ternary numbers at an adequate sample rate to avoid aliasing.
Other number systems than ternary could be used; for example, the binary number system could be used, or the quaternary number system could be used in which digits take on the values −3, −1, +1, or +3. However, ternary is of slightly lower component complexity per waveform step, and is therefore the presently preferred choice.
Continuing to refer to
It is important to note that, when a DC source polarity is selected to oppose the output voltage and therefore the current flow, power is feeding backwards into the DC-DC converter, which must therefore be of a bi-directional design using for example synchronous rectifiers. It is a significant advantage to arrange that the voltage corresponding to the most significant ternary digit, or from which the greatest power is drawn, comes directly from the DC input, and does not pass through the DC-DC converter, as the DC-DC converter then only has to convert the remaining fraction of the total power. Most of the AC output power then comes directly from the DC input source, which improves the total conversion efficiency.
In order to generate a 60 Hz step-approximation to a 125.7 volt rms sinewave, the switches are controlled to select sequentially among the 34=81 possible voltage levels from −177.77 to +177.77 volts and back again, repetitively in the proper sequence and at the proper times. One cycle therefore comprises nominally 2×81 voltage steps, so that the number of level changes per second is approximately 2×81×60=9720. This is somewhat rapid for mechanical switching means such as relays, rotary commutators, or cam-actuated contacts, but is well within the capability of semiconductor switches which can operate 100 times faster than the required speed. It is also much slower than the at least 200 KHz switching rate of an alternative inverter using for example delta-sigma modulation, and therefore entails lower switching losses. The full H-bridge of N-type power MOSFETs shown in
Referring to
A MOSFET is turned on or off by applying a positive or (negative or zero) voltage between its gate and its source. Since the sources of the upper MOSFETs Tr(a) and Tr(c) of the H-bridge are connected to different ones of the H-bridge outputs, and the sources of the lower two MOSFETs Tr(b) and Tr(d) of the H-bridge are connected to the negative of the DC supply, three different relatively floating supplies are required for the gate drivers IC(a), IC(b), IC(c), and IC(d). IC(b) and IC(d) may use the same gate driver supply, but IC(a) and IC(c) create separate supplies using bootstrap diodes D1 and D2 to charge capacitors C1 and C2, respectively. Further discussion of bootstrapping may be found in FIG. 4 of Intersil Application Note AN9324.4 dated March 2003, by George E. Danz, the disclosure of which is incorporated herein by reference, in its entirety.
To obtain a sine wave output voltage from the inverter of
A second approach is to choose the nearest ternary approximation to the desired instantaneous output voltage at a sequence of successive, equi-spaced time intervals generated by a sampling clock. Yet another approach is to keep the ternary value fixed as long as it is the nearest approximation to the exact voltage, and to increment it or decrement it to the next adjacent value only at the instant that a different value becomes the nearest approximation. Storing the approximately 81 time-values of this sequence of switching instants has the benefit of requiring much less memory than storing the ternary digits at perhaps 32768 clock instants. Yet another approach is to compute the nearest ternary approximation to the desired instantaneous output voltage in real time.
One of the transistor pairs, for example TR1a and TR1b, is commutated at 60 KHz and a voltage V1 is applied to that input. The other transistor pairs are commutated in synchronism and form synchronous rectifiers. For example, TR2a is switched on when the transformer winding end to which its drain is connected goes negative, thereby transferring the negative voltage to the −ve terminal of the V2 output. Likewise, TR2b is switched on when its drain goes negative, and the drain of TR2a goes positive; TR2a is switched off when its drain is positive and thus does not pass current. Thus a DC voltage V2 is produced at the V2 output which is N2/N1 times V1, where N2 and N1 are the numbers of turns on the respective transformer windings.
It can be seen that the input circuit for V1 is indistinguishable from any output circuit. Thus any one of the transistor pairs can function either as an inverter commutating a DC input or as a synchronous rectifier producing a DC output. Power flow can thus be from any port to any other port, depending on whether the port is sinking current or sourcing current. This is important to the operation, as power flows in the reverse direction whenever a ternary digit has the opposite sign to the instantaneous output voltage, or if the AC output current is not in phase with the AC output voltage due to the non-unity load power factor of a reactive load.
In designing a DC-to-DC converter, a trade off must be made between switching losses, copper loss in the windings, and hysteresis loss in the core. Using a higher frequency gives fewer turns of thicker wire, but core and switching losses increase. In the 60 KHz region, skin-effect limits the benefit of using wire sizes greater than about 23 AWG, so Litz wire comprising many strands of 23 AWG or smaller is preferably used to reduce copper loss.
Core loss persists even when the output power is zero, which can be a significant contributor to standby (no-load) current. In the inventive load converter of the '822 patent, it is however disclosed how standby current due to core and switching losses in the DC-DC converter can be reduced by use of a novel waveform. Firstly, the 40, 13.33, and 4.44 volt outputs of the DC-DC converter are provided with large reservoir capacitors. This has the first benefit that current in the transformer windings is proportional to the mean DC current of each output, rather than the peak current, thereby reducing copper losses in the windings. A second benefit is that the reservoir capacitors can supply the low currents required for light loads for at least one or more cycles of the 60 KHz switching frequency, enabling switching cycles to be periodically omitted. For example, if the load current is only 1/10th the peak output capability, then every alternate DC-DC converter switching cycle can be omitted and all the transistors of
A transformerless DC to AC converter has no output transformer to block DC outputs that could arise from imperfect adjustment, asymmetrical load current waveforms, or fault conditions. Since it is undesirable to feed DC voltages to AC loads, other means to prevent DC bias from arising at the AC output are desirable.
According to embodiments of the present invention, various safeguards to prevent unwanted DC output bias are disclosed. A first step in limiting DC output is to determine the DC bias at the AC output. This is done by connecting the AC output to a DC bias determining circuit such as that shown in
The AC output of the inverter comprises Line and Neutral. The Line voltage passes through a small instrumentation transformer (540) to low pass filter (500). The inductance of the instrumentation transformer reacts with the first shunt capacitor to add to the low pass filtering effect, and the capacitor completes the path for the AC current through the transformer back to the Neutral line. The instrumentation transformer may also have a secondary that provides an isolated sample of the AC output voltage reduced to a level suitable for monitoring purposes. The AC sample may be exchanged between two or more inverters to phase-synchronize them to produce split phase or three phase power.
The output of low pass filter (500) comprises the DC bias error of the inverter AC output with the line frequency (e.g., 50 or 60 Hz) removed. At this point, the DC bias error is referred to neutral. It is more convenient however to have the DC bias error referred to ground, as the control circuitry is more conveniently powered with respect to ground. Although neutral is a grounded conductor, it is only permitted to be grounded at one place, the service entrance, and may not be grounded at all if some fault occurs in the premises wiring. Therefore opto-isolation amplifier (510) is used to amplify the DC offset from low pass filter (500) and to transfer it to the grounded domain of the control circuitry. Other means to eliminate the AC ripple from the measured DC component can be used. For example, a 60 Hz notch filter such as a twin-T RC-notch circuit can be used, thus allowing the low-pass filtering to be relaxed, speeding up its reaction time. Alternatively, the DC bias measurement can be digitized twice per cycle, a half-cycle apart, and the two values averaged to produce a ripple-free measurement.
The amplified DC bias error output from opto-isolated amplifier (510) is output on pin 2 of module connector J1 and may be connected to an external Analog to Digital Converter (ADC) to produce a numerical value corresponding to the determined DC offset. It is also fed to positive and negative limit comparators (520), which produce outputs if the DC error exceeds a positive or a negative limit, respectively.
In the exemplary circuit of
Mode input (530) may be used to inhibit the fast-acting DC bias mitigation means if the inverter AC output is disconnected from the load, thus facilitating the control circuitry to adjust DC bias error to zero in the off-load condition. Given the teachings of the present disclosure, different versions of the circuit of
When Q1 is turned on, Q2 is never turned on as this would short the supply. Likewise when Q4 is turned on Q3 is never turned on. These restrictions are enforced within gate drivers (600, 610) which may for example be Silicon Labs gate drivers part number Si8231. The Si8231 gate drivers have a logic input “HLin” (High-Low control input) which in one state turns the upper (High) transistor Q1 on and the lower transistor Q2 off and in the other state controls Q2 on and Q1 off. To turn Q2 on, approximately +10 volts must be applied to Q2 gate relative to its source, which is the DC source negative. This is provided by a driver supply that is referenced to the DC negative. On the other hand, to turn Q1 on, +10 volts must be applied to Q1 gate referenced to its source, which is output terminal (620). This reference moves with the potential selected to appear at output terminal (620), and so must be generated by bootstrap components D5 and C2 which operate as follows:
On any occasion that Q2 is turned on, the drain of Q2 is pulled to the DC source negative and pulls one end of C2 with it. The other end of C2 is then charged through diode D5 to the driver supply voltage. Thus, as long as Q2 is periodically turned on, C2 remains charged to the driver supply voltage and maintains it relative to Q1 source when Q2 is turned off and Q1 on, both ends of C2 rising together with Q1 source. On the other hand, if Q2 stops turning on periodically, C2 cannot maintain the gate drive voltage forever. The time for which it can maintain the gate drive voltage necessary to turn Q1 on can be determined by deliberately adding a leak resistor across C2 if necessary. If Q1 and Q2 therefore cease to switch alternately and stick in the state Q2 off, Q1 on, then the charge on C2 will decay. When the charge has decayed to a threshold called the Low Voltage Lockout threshold (LVLO), which is an internal feature of most gate drivers such as the Si8231, then the drive abruptly switches off Q1. This is to prevent a “half on” state in which the transistor might have substantial voltage drop across it with substantial current going through it, causing excessive heating. The arrangement just discussed with respect to controlling Q1 and Q2 is used symmetrically for Q3 and Q4. In order to get an unwanted DC polarity between terminals (620, 630) which persists, at least one of Q1 and Q3 must be on, but as just seen, the use of leak resistors across C2 and C4 can limit the time during which this condition can persist. This arrangement constitutes a first safeguard against a gross unwanted DC output from persisting longer than a predetermined time due to an internal fault condition.
Gate drivers (600, 610) do not permit both of their controlled MOSFETs to be on at the same time, but they do permit both to be off. This is selected by applying a logic “1” to the “OFF” control pin of the relevant gate driver. Thus the following H-bridge states can be created by controlling the two HLin inputs and the two OFF inputs:
The above table shows that, in the first state (0000) there is zero voltage between the output terminals (620, 630) as both are at the same potential of Vdc−. A current may be flowing between the first and second terminals nevertheless if caused by external conditions, as the impedance between the terminals is low, being the Rds-ON of Q2 and Q4 in series. In the second state (0001), there is positive voltage equal to the DC source voltage Vdc from terminal 630 to terminal 620, while in the third state (0010) there is a negative voltage of −Vdc. The fourth state (0011) is similar to the first state except that both terminals are connected to Vdc+. In the remaining rows of the above table, one or other terminal receives an indeterminate voltage because both transistors connected to it are off. The voltage is constrained by the associated intrinsic diodes nevertheless to be not greater than Vdc+(plus the 0.7 v drop of a forward biased diode) and not less than Vdc− (minus the 0.7 volt diode drop). Thus in the fifth state (010x) the voltage from terminal 630 to terminal 620 lies in the range −0.7 to +Vdc+0.7 while in the sixth state (011x) it lies in the range −Vdc−0.7 to +0.7. In the seventh state the voltage from terminal 630 to terminal 620 also lies in the range −Vdc−0.7 to +0.7 while the eighth state is the same as the 5th state. In the ninth state (11xx) the voltage lies anywhere in the range −Vdc−0.7 to +Vdc+0.7. The indeterminate states in the above table are akin to inserting a dead band in the voltage scale where the voltage is only known to lie between certain limits, as defined by other circumstances. These states may also be used to limit unwanted DC bias at the output of a DC to AC converter when an unwanted DC bias is detected on the output that cannot be corrected by other means.
In the prior art of DC to DC converters, in which a DC voltage was switched by switching transistors alternately from one end of center tapped transformer to the other (as in
One means for correcting DC offset, caused by one half cycle being of lower voltage than the other due to asymmetrical loading by a non-linear load, would be to increase the voltage of the low-voltage half cycle and/or to reduce the voltage of the high-voltage half cycle. Alternatively, when the voltage waveform comprises a number of voltage steps of predetermined voltage, a DC bias can be corrected by transitioning from a lower voltage step to a higher voltage step a little earlier and transitioning from a higher voltage step to a lower voltage step a little later, thereby increasing the volt time integral over a cycle, which is equivalent to adding a DC value. For example, an exemplary timing clock is 11.0592 MHz divided by 8, or 1.3824 MHz, which is a clock period of 0.723 uS, of which there are 23040 pulses in one 60 Hz cycle. If every transition to a higher voltage step is made one clock cycle earlier and every transition to a lower voltage step is made one cycle later, the effect will be to increase the volt time integral over a cycle by the voltage step size of 4.44 volts times the clock period of 0.723 uS times the number of transitions per cycle, which is approximately 162, giving the result 520.3E-6 volt-seconds. This is equivalent to the addition of a 31.2 mV DC offset over one whole 60 Hz cycle.
In the ternary step-approximation inverter of
If the first delta-time count after the zero-crossing heading into a positive half cycle is increased by 1 clock, all subsequent transitions will be delayed by one clock cycle, thus reducing the volt-time integral of the waveform at least up until the positive peak. If the next delta-count after the positive peak is reduced by a first count to bring it back to the original timing and then by a second count to advance the timing by one count, then all transitions on the way down from the positive peak will be advanced by one clock cycle, also reducing the volt-time integral of the waveform of the positive half cycle. The timing advance may be allowed to persist through to the negative peak at which point the timing is retarded by two clock cycles for one transition, resulting in all of the transitions on the way up to the zero crossing on the negative half cycle being delayed, thus increasing the magnitude of the voltage time integral of the negative half cycle. The combination of the above waveform modifications is to apply a negative DC bias shift to the waveform over one cycle, which can be used to cancel an unwanted positive DC bias.
If modifications are made to more of the delta-time counts than one, or more are made at zero-crossings or waveform peaks, then the effect on timing will be cumulative, allowing greater DC offsets to be compensated. Moreover, the shape of the waveform change can be tailored to better undo the distortion caused by a non-linear load such as a half-wave rectifier. One implementation is to store a third table of precomputed timing modifications to be applied to the default timing tables in order to apply a predetermined waveform correction aimed at correcting a specific amount of DC bias. Several such sets of DC bias-correcting waveform modifications may be stored and used to correct varying amounts of DC bias.
Measuring the DC bias, applying a correction to the waveform designed to compensate for the measured DC bias and then re-measuring the DC bias constitutes a negative feedback loop, and since the loop contains low pass filters to eliminate the line frequency component and delays, well-known control-theory principles must be applied to ensure good stability and transient response to load changes. It is recommended that correct operation of a candidate design be verified by computer simulation.
A flow chart for generating the output waveform using tables stored in a microprocessor memory is shown in
First, the waveform sample count is decremented at step 1. Then at step 2, a test is made to determine if the end of a complete 60 Hz cycle has been reached. If the end of a cycle has been reached, the program proceeds to step 3A. At step 3A, the address of the waveform table to use is reset to the start of a waveform table. This may have been changed to a different table than was used for the just completed cycle by a slower-time routine that measures the DC input voltage and determines a waveform table to use that will produce the closest to a 120V rms AC output. The number of points in a new table may be different than the number of points in the previously used table, therefore at step 4A, the number of points in a cycle using the new table is read from the table, and at step 4A, the waveform sample counter is reset to the number of points read from the table.
At step 6A, the first H-bridge control byte is read from the table. At step 7A, the first timer-count is read from the table. At step 8A, the start address of a waveform modification table is read. This may be an address to a different waveform modification table than was used last time, the contents of which have been pre-prepared by slower-time software for the purpose of compensating for measured DC offset. At step 9A, the timer count is modified by the first modification value obtained from the waveform modification table. To reduce execution time, all of the tables can be located on 256-page boundaries so that their addresses may be manipulated by changing only the least significant byte of the address. At step 10, the pre-prepared modified time count is saved, for example in a reserved register, and at step 11 a return from interrupt is made to allow slower-time software to run in the remaining processor cycles.
If at step 2 it is determined that the sample counter is not zero, the program proceeds to step 3B where the table addresses are incremented to point to the next H-bridge control byte, next timer-count, and next timer-count modification value. At step 4B, the next H-bridge control byte is prefetched into a reserved register, for example, and at step 5B the next timer count is obtained from the timer-count table. At step 6B, the next waveform modification value is obtained from the waveform modification table and used to modify the timer count, which is then saved in a reserved register, for example, at step 10. Then a return from interrupt is made at step 11. Thus by pre-preparing values to be output at next interrupt, accurate real-time control of the H-bridges is achieved for accurate waveform generation.
The waveform modification values may only comprise the values +1, 0 or −1. If every timer value on the rising part of the positive half cycle between the start of the cycle and the peak is increased by +1 count, and there are, as is typical, 40 steps, then the final step in that quarter cycle will have been delayed by the sum of the waveform modification values—that is, 40 counts. Now on the falling quarter-cycle of the sinewave from the peak value down to the negative-going zero crossing, the first step-down must be time-advanced by twice the cumulative amount that the corresponding last step-up was retarded. If the first step down thereby would occur before the last step up, then the last step up and the first step down erase each other and the last waveform step-up at the positive peak shall be omitted.
Step 6B of waveform modification therefore shall comprise detecting this state and if the last waveform step of a half cycle is to be omitted, the waveform sample counter must be decremented by an additional count. Whether this shall occur can be predetermined and a special code included in the waveform modification table to signal omission of a step. Thus the values in the waveform modification table, while normally comprising only +1, 0 or −1, may comprise values up to +/−40 around the positive and negative peaks and a value outside the range +/−40, for example hex80=−128 may be used to signal omission of a step. Correspondingly, if step timings heading to a peak have been cumulatively advanced by up to 40 clock cycles and upon traversing the peak the first value is to be retarded by twice that cumulative amount, and addition of 80 to the first timer-count after the peak produces a value exceeding 255, then it is necessary to break that step into two steps of less than 255 by inserting an additional period of the same step value or an additional step up to a higher voltage value, if available. Thus the value hex7F=127 may be used to signal insertion of a step with the same or higher ternary value represented by the H-bridge control byte value, and the sample downcounter is correspondingly incremented.
Another way to compensate for DC offset is to generate one half cycle using a time/step table designed to produce the desired 120 volts rms AC output for a first DC input voltage and to generate the other half cycle using a time/step table designed to produce 120 volts rms AC output for a second DC input voltage. When used alternately for the same DC input voltage, the two half cycles of opposite polarity will thus be of slightly different size, yielding a DC offset that can be allowed to persist as long as necessary to correct the measured integral of DC offset on the output. Correcting the DC offset using its value and the integral of its value is tantamount to the use of a Proportional-Integral (PI) controller. A PI controller emphasizes the reduction of long term or persistent DC offset which is precisely what is needed to prevent DC imbalance current building up in transformer loads.
The foregoing description of waveform modification to compensate for DC offset is relevant to the method of sinewave generation using ternary steps. A different method of DC bias compensation may be used for the alternative, delta-sigma modulation method of approximating a sinewave. To obtain a good sinewave approximation using delta-sigma modulation, pulse width modulation, or other bit-density modulation method, the bit rate or pulse rate must be high enough that the output filter can smooth over the individual pulses. The pulse rate must therefore be significantly greater than the cut-off-frequency of the filter, which, with the component values of
The DSP would for example digitally generate a 60 Hz sinewave internally at the desired bitrate for delta-sigma modulation. It would then form the difference between an instantaneous sinewave sample and a current output bit and integrate the error. On a positive half-cycle, if the error is negative, the next bit is made equal to 1, while if the error is positive the next bit is made equal to 0, and that bit drives the H-bridge to output the positive DC supply voltage or zero accordingly. On a negative half-cycle, if the error is negative the next output bit is made 0, while if the error is positive the next bit is made 1, and the bit drives the H-bridge to output zero or the DC input voltage inverted, accordingly. In order to synthesize a 120 v rms sinewave using this method, the DC input voltage must be at least 1.414 times higher, that is about 169 volts minimum.
A hardware or DSP realization of a delta-sigma waveform approximation can be compensated for unwanted DC bias at the output by simply adding the negative of the measured DC bias into the sinewave to be synthesized. An analog representation of such a digital hardware or DSP method is shown in
The bit-density modulator of
According to the '822 patent incorporated above, a 170 volt floating DC supply may be used instead. When a positive half cycle of AC output is to be generated, the −ve of the DC supply is connected to neutral and the +ve is switched to the Line output according to the bit-density modulated waveform. Conversely, when a negative half cycle is to be output, the +ve to the 170 v supply is connected to neutral and the −ve of the supply is switched to the Line output using the bit-density modulation waveform. As was pointed out in the '822 patent, this results in a common mode square wave signal at the power line frequency appearing on the DC input lines, which is filtered to remove radio interference components and then has utility in detection of ground faults on the DC side. The equivalent bit-density generation scheme of
In
If a positive half cycle is being produced, as indicated by the sign input to level shifter (16) being +, the H-bridge will connect the −ve of the 170 v DC supply to neutral while causing the level shifter to output +1 for the “higher” level and 0 for the “lower” level. On the other hand, if a negative half cycle is being generated as indicated by a − sign input to level shifter (16), the H-bridge will be controlled to connect the +ve of the DC supply to neutral while causing the level shifter (16) to output 0 for the “higher” level and −1 for the “lower” level. Thus the circuit of
In both the ternary approximation inverter and the bit-density modulation inverter, potential switching components that could cause radio interference are removed by the low-pass filter of
Several methods to control the output of unwanted DC bias from transformerless inverters of various types have been described above, all of which first involve assessing the level of the unwanted DC bias output. Depending on its magnitude, the assessed DC bias may then be categorized as a gross or catastrophic value, necessitating complete shut-down on the inverter to prevent damage to AC loads, or else may be assessed to be a small enough value to be correctable by means of a control loop. When the output of the inverter can only comprise a selection of fixed output voltage steps at controlled times, such a control loop controls the times rather than the voltage levels. Yet another method described above for temporarily limiting DC offset is to apply notching to the drive of one or more H-bridges, which results in them being open circuited as long as the measured DC bias remains over an undesired level. Should these methods be insufficient, a further safeguard against a large DC offset persisting for a long enough time under fault conditions to cause damage, it was further disclosed above that another safeguard that can be employed as well is to arrange that the MOSFET gate driver voltage generated by bootstrapping decays within a limited elapsed time to a level that will inhibit turning the associated MOSFET on, unless refreshed by a proper switching cycle.
The present invention may, of course, be carried out in other ways than those specifically set forth herein without departing from essential characteristics of the invention. The present embodiments are to be considered in all respects as illustrative and not restrictive, and all changes coming within the meaning and equivalency range of the appended claims are intended to be embraced therein.
Number | Name | Date | Kind |
---|---|---|---|
3805141 | Pompa, Jr. et al. | Apr 1974 | A |
3958174 | Studtmann et al. | May 1976 | A |
4084220 | Akamatsu | Apr 1978 | A |
4180853 | Scorso, Jr. et al. | Dec 1979 | A |
4204268 | Vivirito | May 1980 | A |
4320449 | Carroll | Mar 1982 | A |
4803611 | Sashida | Feb 1989 | A |
4882120 | Roe | Nov 1989 | A |
5226077 | Lynn et al. | Jul 1993 | A |
5270636 | Lafferty | Dec 1993 | A |
5373433 | Thomas | Dec 1994 | A |
5424894 | Briscall et al. | Jun 1995 | A |
5479086 | Konstanzer | Dec 1995 | A |
5625276 | Scott et al. | Apr 1997 | A |
5680302 | Iwata | Oct 1997 | A |
5714869 | Tamechika et al. | Feb 1998 | A |
5726505 | Yamada et al. | Mar 1998 | A |
5867376 | Nakamura | Feb 1999 | A |
5930128 | Dent | Jul 1999 | A |
5991645 | Yuen et al. | Nov 1999 | A |
6051954 | Nagao et al. | Apr 2000 | A |
6154379 | Okita | Nov 2000 | A |
7057485 | Preusse et al. | Jun 2006 | B2 |
7082040 | Raddi et al. | Jul 2006 | B2 |
7138730 | Lai | Nov 2006 | B2 |
7474016 | Wang et al. | Jan 2009 | B2 |
8891211 | Dent | Nov 2014 | B2 |
8937822 | Dent | Jan 2015 | B2 |
9455645 | Zhou et al. | Sep 2016 | B1 |
9887640 | Eren | Feb 2018 | B2 |
20020047455 | Dhyanchand et al. | Apr 2002 | A1 |
20030094929 | Pendell | May 2003 | A1 |
20030094931 | Renyolds | May 2003 | A1 |
20030179063 | Preusse et al. | Sep 2003 | A1 |
20030218441 | Kalman | Nov 2003 | A1 |
20040100149 | Lai | May 2004 | A1 |
20050001598 | Belokon et al. | Jan 2005 | A1 |
20050056021 | Belokon et al. | Mar 2005 | A1 |
20050073292 | Hastings et al. | Apr 2005 | A1 |
20050180083 | Takahara et al. | Aug 2005 | A1 |
20060158037 | Danley et al. | Jul 2006 | A1 |
20070095062 | Chertok | May 2007 | A1 |
20070292724 | Gilchrist | Dec 2007 | A1 |
20090161392 | Zhang | Jun 2009 | A1 |
20090184706 | Duric et al. | Jul 2009 | A1 |
20090206666 | Sella et al. | Aug 2009 | A1 |
20100064424 | Hsu et al. | Mar 2010 | A1 |
20110037600 | Takehara et al. | Feb 2011 | A1 |
20110043160 | Serban | Feb 2011 | A1 |
20110090607 | Luebke et al. | Apr 2011 | A1 |
20110140520 | Lee | Jun 2011 | A1 |
20110285354 | Iwasa | Nov 2011 | A1 |
20110301772 | Zuercher et al. | Dec 2011 | A1 |
20120007459 | Mondal et al. | Jan 2012 | A1 |
20120048325 | Matsuo et al. | Mar 2012 | A1 |
20120049637 | Teichmann et al. | Mar 2012 | A1 |
20120112557 | Sager | May 2012 | A1 |
20120242145 | Espeut, Jr. | Sep 2012 | A1 |
20120281444 | Dent | Nov 2012 | A1 |
20130057997 | Dent | Mar 2013 | A1 |
20130058144 | Hiramatsu | Mar 2013 | A1 |
20130070494 | Rotzoll | Mar 2013 | A1 |
20130181655 | Yokoyama et al. | Jul 2013 | A1 |
20130181703 | Ausserlechner | Jul 2013 | A1 |
20130245614 | Seebruch | Sep 2013 | A1 |
20130320929 | Walker et al. | Dec 2013 | A1 |
20140062206 | Bryson | Mar 2014 | A1 |
20140153303 | Potharaju | Jun 2014 | A1 |
20140266289 | Della Sera et al. | Sep 2014 | A1 |
20150008748 | Deboy et al. | Jan 2015 | A1 |
20150043110 | Dent | Feb 2015 | A1 |
20150217656 | Loftus et al. | Aug 2015 | A1 |
20150229131 | Gerhardinger | Aug 2015 | A1 |
20150349708 | Moslehi | Dec 2015 | A1 |
20160036235 | Getsla | Feb 2016 | A1 |
20160065090 | Dent | Mar 2016 | A1 |
20160224083 | Dent et al. | Aug 2016 | A1 |
20160226560 | Dent | Aug 2016 | A1 |
20160261226 | Hamilton et al. | Sep 2016 | A1 |
20160276837 | Manjrekar | Sep 2016 | A1 |
20160372927 | Dent | Dec 2016 | A1 |
20170279376 | Siri | Sep 2017 | A1 |
20170346413 | Dent | Nov 2017 | A1 |
20180006601 | Dent | Jan 2018 | A1 |
20180026550 | Dent | Jan 2018 | A1 |
Number | Date | Country |
---|---|---|
101350569 | Jan 2009 | CN |
202444440 | Sep 2012 | CN |
2544354 | Jan 2013 | EP |
2698894 | Feb 2014 | EP |
1433402 | Apr 1976 | GB |
2012140495 | Oct 2012 | WO |
2016033394 | Mar 2016 | WO |
2016204830 | Dec 2016 | WO |
Entry |
---|
INTERSIL, George E. Danz, HIP4080, 80V High Frequency H-Bridge Driver, Application Note. AN9324.4, Mar. 2003. |
Number | Date | Country | |
---|---|---|---|
20190052191 A1 | Feb 2019 | US |