1)In square wave inverters, maximum output voltage is achievable.
2)However, there is no control in harmonics and output voltage magnitude, that is the harmonics are always at 3,5,7,etc times the fundamental frequency.
3)Hence the cut-off frequency of the low pass filter is some what fixed. The filter size is dictated by VA ratings of the inverter.
4)To reduce filter size, the PWM switching schemce can be utilized.
5)In this techinque, the harmonics are pushed to higher frequencies. Thus the cut-off frequency of filter is increased. Hence filter components(i.e L & C ) sizes are reduced.
6)The trade off this flexibility is complexity in the switching waveforms.
PWM means to generate a DC voltage by variation of duty cycle.
The table is generated from the following equation
with k = 0.... N/2 - 1 and N = the number of
samples per cycle.
Example: For the Vp of the previous example and
N = 64 samples per cycle, this yields the following
table entries. Note that only 32 entries are generated
as the negative-going halfwave may be generated
from the negative of the first 32.
Vref = 0, 25, 50, 74, 98, 120, 142, 162, 180, 197,
212, 225, 235, 244, 250, 254, 255, 254, 250, 244,
235, 225, 212, 197, 180, 162, 142, 120, 98, 74, 50,
25.
#include<16f73.h>
#fuses HS,NOWDT,NOPROTECT,PUT
#use delay(clock=20000000)
unsigned int const pwmtab[32]={1563,1716,1868,2017,2161,2300,2431,2555,2668,
2771,2863,2941,3007,3059,3096,3118,3126,3118,3096,3059,3007,2941,2863,2771,2668,
255,2431,2300,2161,2017,1868,1716};
unsigned char index=0;
unsigned int1 sign=0; // Used as a bit
#int_ccp1
void isr()
{
output_low(PIN_B4); // Turning OFF MOSFETs Delievering Power
output_low(PIN_B5);
output_low(PIN_B6);
output_low(PIN_B7);
}
#int_timer1
void tmr()
{
set_timer1(1563);
if(sign==0)
{
output_low(PIN_B5); // MOSFETs Delievering Power in clock wise
output_low(PIN_B6);
output_high(PIN_B4);
output_high(PIN_B7);
}
if(sign==1)
{
output_low(PIN_B4); // MOSFETs Delievering Power in anti clock wise
output_low(PIN_B7);
output_high(PIN_B5);
output_high(PIN_B6);
}
if(index==32)
{
sign=~sign;
index=0;
}
CCP_1=pwmtab[index];
index++;
}
void main(void)
{
set_tris_b(0x0B);
setup_timer_1(T1_INTERNAL|T1_DIV_BY_1);
setup_ccp1(CCP_COMPARE_INT);
enable_interrupts(INT_TIMER1);
enable_interrupts(INT_CCP1);
enable_interrupts(GLOBAL);
while(TRUE); // loop forever
}
umery2k75 said:In every article,I see regarding Sine wave Inverters, UPS.What they basically all do is to do variation of duty cycle in the PWM signal to provide a DC voltage across the load in a specific pattern, that appears to the load as an AC signal!
But why? Why it happens, how come the complex switching waveform appear as AC wave after passing through filter.
umery2k75 said:I made a PWM pattern that wasn't symmetrical from 0-90 and from 90-180, that can produces the superb sine wave.In the picture below( I can even make it look more like sine wave and can smooth it's edges more),so I realized that you have to deal seperately when you're increasing power to the inverter and when decreasing the power, even at no load, you do this,when you don't have inductor on filter. These kinds of system helps decrease the cost of your filter even more, but increases more complexity for your waveform, that ain't symmetrical in any sense and that just can't be made with analog method, like in a standard manner, comparing the sine wave with triangular wave. The trade off lies in the filter, even Microchip UPS article used the symmetrical technique. I believe if more research is spent on PWM technique, filter size could be greatly reduce even more, by bringing the cutt off frequency even lower.As Microchip designers had put inductor on the inverter side, in this way they had get away with this effect, the wave got smoother due to inductor in place automatically, or they have to deal with rising and falling of wave seperately.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?