Saturday, January 22, 2011

HW2 Prob1 Error

When trying to run the BodePlotter_script.m file for the condition of Rload = 0.2 Ohm I receive this error:

??? Error using ==> feval
Trouble solving algebraic loop containing 'syncbuck_OL_Fil_Mak/LC filter/LC filter' at time 0. Stopping simulation. There may be a singularity in the
solution. If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances).

Error in ==> BodePlotter_script at 8
op = findop(model,op) %calculate model operating point

I'm thinking the problem is related to the load current because I had no issue with Rload = 1kOhm.


Any thoughts on reducing step size or tightening error tolerance so that I still get a reasonable answer...?

4 comments:

  1. Try setting the inductor current initial value to Vout/Rload=1.8V/0.2Ohm=9A (instead of 0A).

    ReplyDelete
  2. When you set iLoad are you just changing iLoad to Vout/Riload or doing something different? I have Io=0 for my inductor and don't see this error.

    ReplyDelete
  3. I was just changing iLoad to Vout/Rload

    ReplyDelete
  4. just setting the inductor initial current closer to the operating point

    ReplyDelete

Note: Only a member of this blog may post a comment.