Prince Vegeta
Member level 5
- Joined
- May 29, 2012
- Messages
- 84
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 2,011
I think you need batteries or mega caps to start an air con unit. Look at its motor label, you will need 5 times that current for 2-3 seconds to start the compressor. Also with out battery you will NOT be using a lot of available solar energy.
Frank
So basically you want to make a grid tie inverter with MPPT? There's nothing preventing MPPT from working in a grid tie inverter. But since your output power will be AC, that means that there will be ripple somewhere in the system, either in the DC bus voltage or in the PV current. Ideally there is some component(s) in the system which can store a good deal of energy (batteries or capacitors) in order to filter off that ripple, but there's a limit to how much is feasible in order to keep things cheap and lightweight. So in practice you are going to end up having to relax your control loop somewhere (probably the DC bus).
The DC-DC converter has the task of implementing MPPT, so it will just be spitting out as much power as possible regardless of its output voltage (except for overvoltage conditions). The inverter has the task of delivering the proper amount of power to the load in order to keep that bus voltage within some limited range. So in fact the inverter regulates the DC bus voltage, not the DC-DC converter.
The inverter part uses SPWM modulation, which allows the amplitude of the AC output to be varied (so long as the DC bus voltage is high enough). For grid tie inverters, I believe current sensing on the inverter output is sensed and regulated.OK I get what you said. I saw a similar design that have a boost converter with MPPT that have Vin=36v and outputs 400v DC voltage to DC bus (why naming it like that?) then the inverter makes it 220vAC/50Hz...
so how can I design such circuit? I mean, boost converter and inverter... especially the inverter because I don't know how it can reduce (regulate) the output voltage of the boost from 400vmax to 220v?
Yes, the DC bus will vary during line load transients, and it will have ripple at twice the line frequency. But overall it should be regulated around some nominal DC voltage.and... the boost's voltage will never be 400v always right? i.e it will be less and more... ?
SPWM means sine wave PWM. You use a PWM frequency much higher than the sine wave frequency you want to produce (for example 20KHz PWM frequency to make a 50/60Hz sine wave), and you modulate the duty cycle sinusoidally. You apply a lowpass filter on the output of the inverter and end up with a low distortion sine wave, as opposed to a poor square wave you get from using a simple 50% fixed duty cycle PWM.SPWM? I made a program that outputs 50Hz/50% duty cycle PWM.. PIC18 can't output this PWM signal using PWM functionality while having 16MHz clock cycle... so I used Compare function to achieve it. What do you suggest here? what's the difference between PWM and SPWM? I thought that PWM only activates/deactivates stuff but control the amplitude???
When using SPWM, you can modulate the amplitude of the output voltage simply by scaling your sine wave duty cycle.OK, now current sensing is done by any current sensor, right? but how can it be regulated?
MPPT is about optimizing the operating conditions of the PV source for max power output. Yes, that means the PV voltage will change, but I was referring to the output of the DC-DC converter. The HVDC bus will fluctuate because the instantaneous input and output powers will not always be exactly equal.DC bus voltage will be varying as you said and that's what MPPT is about right? varying voltage so that current can be varied and power is calculated... is that what you meant?
You had best start by gathering and reading lots of literature on power conversion and control before actually thinking about real hardware implementations. Unfortunately, detailed info on grid tie inverters is hard to come by, but reading up on similar topics such as PFC and VFD will be helpful.I know I asked a lot but I want to learn a lot of stuff in a very short time.. ^_^
any recommendations for parts & components to buy?
SPWM means sine wave PWM. You use a PWM frequency much higher than the sine wave frequency you want to produce (for example 20KHz PWM frequency to make a 50/60Hz sine wave), and you modulate the duty cycle sinusoidally. You apply a lowpass filter on the output of the inverter and end up with a low distortion sine wave, as opposed to a poor square wave you get from using a simple 50% fixed duty cycle PWM.
When using SPWM, you can modulate the amplitude of the output voltage simply by scaling your sine wave duty cycle.
MPPT is about optimizing the operating conditions of the PV source for max power output. Yes, that means the PV voltage will change, but I was referring to the output of the DC-DC converter. The HVDC bus will fluctuate because the instantaneous input and output powers will not always be exactly equal.
You can't use thyristors for the inverter, you need devices that can be turned off, like IGBTs or MOSFETs.now this SPWM can be learned by reading the data sheet, right? OK, let's say that the CCP pin is RE0 for example. This RE0 will produce a 50Hz sine wave? then how can I connect it to the full-bridge inverter thyristors (via IGBT/MOSFETs..)? I know that inverter thyristors should take gate pulses and then the DC-to-AC conversion starts... but having a sine wave...?
So look at the waveform above again. The duty cycle varies between 0 and 1, so the output voltage will vary to the full extents of the DC bus voltage. However, if you were to change the SPWM to only vary the duty cycle between 0.25 and 0.75, then the resulting since wave would only have half its original amplitude. So by varying the amplitude of the duty cycle modulation, you vary the amplitude of the sine wave.Still I don't understand how to change the amplitude of the voltage. Let's say that the boost is designed to output 400v DC voltage (DC bus they call it), how can the inverter change it to 220 or 230v AC @ 50Hz? the 50Hz is OK, but the amplitude...?
you say scaling up my duty cycle... How is that done here at this SPWM?
It's a bit more complicated than that.... the control loop will do its best to keep the DC bus voltage close to some specified level (for example 400V). But it will be allowed to vary when required to (when the input and output power levels can't be exactly the same).I was referring to DC-to-DC Boost converter's voltage too. it's output is the DC bus voltage right? so the nominal voltage of the panel is about 40v... the boost design will have a nominal output of 400v... this 400v is increased/decreased depending on current readings and power calculation. <<<< that's what I understood so far.
Then it will limit the max amplitude achievable by the inverter.and if the voltage decreased to 300v rather than 400v, how does that affect the amplitude of AC sine wave?
It's a bit more complicated than that.... the control loop will do its best to keep the DC bus voltage close to some specified level (for example 400V). But it will be allowed to vary when required to (when the input and output power levels can't be exactly the same).
(when the input and output power levels can't be exactly the same)
Right, you use complementary PWM signals to drive each opposing pair of FETs. Often dead time is inserterted into these complementary PWM signals to prevent shoot through on the inverter. Many modern MCUs (including many PIC families) can implement all this in software.Thanks, now I understand SPWM. But you didn't answer my question about what is the signal to be fed into inverter switching devices (MOSFETs for ex.)?
^
the 1st signal u put is a PWM signal with varied duty cycle, is this the signal that should be fed into the H-bridge inverter? I know that H-bridge takes 2 control signal one for each 2 MOSFETs. So, what is the control signals from microcontroller that should feed the H-bridge inverter MOSFETs?
I've seen many topics on these forums, some of which have full code and schematics given. Just search around.Is there any code example of SPWM?
The MPPT controls the voltage on the PV source. The DC bus I'm talking about is the the output of the DC-DC converter, which can be independent of the source voltage.Hmmm.... keep the DC Bus close to the nominal 400v? but MPPT calculations can lower or rise the voltage to achieve the required max point.
The MPPT controls the voltage on the PV source. The DC bus I'm talking about is the the output of the DC-DC converter, which can be independent of the source voltage.
Right, you use complementary PWM signals to drive each opposing pair of FETs. Often dead time is inserterted into these complementary PWM signals to prevent shoot through on the inverter. Many modern MCUs (including many PIC families) can implement all this in software.
if (CCP pin == 1 ) {
pair1_pin = 1;
pair2_pin = 0;
}
if (CCP pin == 0) {
pair1_pin = 0;
pair2_pin = 1;
}
Often dead time is inserterted into these complementary PWM signals to prevent shoot through on the inverter
By varying the current drawn from the PV. You should read up on available literature on MPPT if this is unclear.aha... but how can u control the PV voltage?
The HVDC bus voltage must be large enough so that it can generate the required AC output voltage (so to generate 220VAC you need at least ~312VDC), but not so high that it destroys the inverter (depends on the FETs/IGBTs used).and if u control the PV voltage for the sake of MPPT, what is the purpose of controlling DC Bus' voltage?
Yes, that's basically correct.Hmm... the complementary PWM signal is the 1st one right? so we have 2 pairs, one is on while the other is off and the other half cycle the opposite... is that correct?
Depends on the specifics of your inverter, especially the gate drivers you use. Again, you should read basic literature on the subject.the CCP pin will output that PWM signal in your scope pic (1st signal) so how to feed this into the 2 pairs?
Well, that's one way of doing complementary PWM. But most good MCUs will have PWM modules built in that minimize the amount of code necessary (for example, you can use two independent PWM modules in a synchronized way to make the complementary signals, with dead time.Code:if (CCP pin == 1 ) { pair1_pin = 1; pair2_pin = 0; } if (CCP pin == 0) { pair1_pin = 0; pair2_pin = 1; }
^
this way pair 1 will have say the exact PWM signal and pair 2 will have the opposite one... this is close to what I made using Compare module to output 50Hz signal then feeding it like this. What do you think of this?
Dead time.
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?