Please take a minute to review and accept our Terms of Use.
Welcome to the PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

Why single phase AC output current is sinusoidal with a DC shift?

0 votes
Hi All

I am facing an issue with current source based converter circuit, Figure attached. The output load is single phase AC (240 V, 4 KW).

I am not getting a sinusoidal output current as expected, i.e. a sine wave varying with reference as zero, instead I am getting it with a DC offset.

My pulse control and other seems to be working fine, as when i replace the output with A DC source, I get the desired outputs. It's with AC that the output current is not sinusoidal.

 Am I missing grounding the circuit properly or anything like that? Any help would be appreciated.

Sneha Thakur
asked Mar 5, 2019 by snehathakur (64 points)
how do you set the AC load?

do you have an integrator to keep avg(Vout)=0, really small DC error can create easy tens of amps on the output

where Iop comes from? L3?
Hi Tinivella

I am just using a AC voltage source as the load. i do not have any integrator or so at the output.

Yes, the waveform shown in the figure is the current from inductor.

Can you Please elaborate a liitle more "integrator to keep avg(Vout)=0" about this?


I don't know which control are you using, generally when you feed the AC grid you have to implement just a current control and the grid set the voltage.

Instead if you are trying to work as a voltage generator like the UPS do, the control must be more complex and you need to take care carefully to the DC voltage offset you generate with your inverter, just few hundred mV can produce the DC current you are showing, general concepts are here
Hi Tinivella

I am using charge control. And I have tried everything but still not able to sort out this issue.


I have never used this controller can you send me some ref?

if you enable only one controller voltage or current per time what does it happen?

if you enable just a PI voltage control how does it work? then the offset should be zero

Please log in or register to answer this question.