electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

help with PWM simulation in Matlab


Post new topic  Reply to topic    EDAboard.com Forum Index -> Power Electronics -> help with PWM simulation in Matlab
Author Message
mess123



Joined: 30 Nov 2008
Posts: 38
Helped: 3


Post25 Oct 2009 1:37   

help with PWM simulation in Matlab


I tried to model a boost DC-DC converter in matlab with PWM. Since the switching frequency is high (of the order of 100KHz), the matlab takes very long time to complete the simulation. I need to simulate the circuit for about 500 seconds.

Is there any method I can simulate it for long duration but in short time within matlab?
Thanks in advance
Back to top
julioreye



Joined: 01 Jun 2006
Posts: 70
Helped: 5


Post26 Oct 2009 17:06   

Re: help with PWM simulation in Matlab


did you check the solver in configurations parameters?. i think you must prove another kind of solver, i mean , other algorithm.
Back to top
yzou_ua



Joined: 05 Nov 2008
Posts: 28


Post06 Nov 2009 21:45   

Re: help with PWM simulation in Matlab


500 sec for a DCDC simulation ??!! I'm not sure why is this, but i'm pretty sure u r doing sth wrong!! !st of all, u r sure ur circuit model works correctly?? I mean the results make sense??

Possible mistakes u might make includes: a) simulation algorithm: generally in such circuit, u should use discrete fixed step, like 5e-5, and ruler solver; b) u applied "PWM generator block" directly or u generate the PWM signal by ur own circuit? Buz ur own circuit is easy to mess up timing & phase things. c) which control u use, PID? Then check the gains u use.


mess123 wrote:
I tried to model a boost DC-DC converter in matlab with PWM. Since the switching frequency is high (of the order of 100KHz), the matlab takes very long time to complete the simulation. I need to simulate the circuit for about 500 seconds.

Is there any method I can simulate it for long duration but in short time within matlab?
Thanks in advance
Back to top
Mr.Cool



Joined: 20 Jun 2001
Posts: 637
Helped: 24


Post07 Nov 2009 1:11   

Re: help with PWM simulation in Matlab


upload your matlab model and i'll take a look at it. a lot of times its because you have a small time constant somewhere in your model.

or you can tone down your accuracy by forcing FIXED step time, rather than continuous solution solver.

there is also an acceleration option for simulation... but i never got that to work properly (always seems to run slower for me)

Mr.Cool
Back to top
Google
AdSense
Google Adsense




Post07 Nov 2009 1:11   

Ads




Back to top
mess123



Joined: 30 Nov 2008
Posts: 38
Helped: 3


Post20 Nov 2009 18:04   

help with PWM simulation in Matlab


ya I tried other solver too in the matlab. I think the main problem is becuz of the switching frequency (100KHz). When I reduce it, it is ok.

Actually I want to give the input voltage of boost converter to the fuel cell output voltage. The fuel cell response time is very slow (~ 200 seconds). So, I want to look the output voltage of the boost converter until the fuel cell reaches steady state.

How can this problem be solved?
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Power Electronics -> help with PWM simulation in Matlab
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
please help about simulation with matlab (wideband antenna) (1)
Project for pwm - how to combine tgt with ADC and PWM (37)
help with PWM and FreOut (2)
help..can we use PWM with F84a? (5)
ADSL simulation with matlab neede (2)
PWM simulation & DC/Dc boost converter simulation (1)
Simulation of CDMA with interference cancellation in MATLAB. (3)
simulation with MATLAB 3 phase AC rectifiers model (1)
Can Matlab/simulink do a co-simulation with verilog modules? (2)
OFDM with QPSK (matlab simulation code required) (6)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS