Dear Serger,
Your hint was quite precise! After replacing ths step driving the switches
things got better. Now I'm attempting to change also the pwm control to be
event driven.
Thanks so much.
Leo
On Sun, Jun 2, 2013 at 5:04 PM, Serge Steer [via Scilab / Xcos - Mailing
Lists Archives] <ml-node+s994242n4026757...@n3.nabble.com> wrote:
> The problem may be due to the discontinuities introduced by the
> switches. The DAE solver assumes the system to be at least continuuos.
> It should be better to control the swith, with a discrete time signal
> instead of the step blocks with are continuous time.
> Using discret time control insures the solver is stopped when the event
> arises and restart just after.
>
> You can generate a discrete command for the switch using a selector
> block and an "event at time" block.
>
> Serge Steer
> Le 02/06/2013 05:04, dragaoerrante a écrit :
>
> > Hi people. I started using Scilab just some moths ago, so I'm not well
> > experienced on it. I'm trying to simulate a PID control system to be
> used on
> > a DC-DC buck converter. The controller and the converter models seems to
> be
> > ok, but when I run a simulation to increase or decrease load on the fly
> the
> > simulations crashes even before any load has beend added or removed.
> >
> > The error message says: IDA_ERR_FAIL: Error test failures occured too
> many
> > times (= MXTEF = 10) during one step or occured with |h| = h_min
> >
> > I also noticed that it popped up on a PWM block that is as simple as a
> > sawtooth generator and a comparator. This block have beeing used several
> > times without any issue.
> >
> > Another thing I have to say is that this problem stops occuring if a
> > simulate the system with a steady load value.
> > Before running the XCOS simulation file it is necessary to run the sce
> file.
> > I would appeciate so much if someone could help me with this.
> >
> > Best regards,
> > Leo
> > Buck_5V_01.zcos
> > <http://mailinglists.scilab.org/file/n4026755/Buck_5V_01.zcos>
> > Modelo_Buck_PID_5V_SL_02.sce
> > <
> http://mailinglists.scilab.org/file/n4026755/Modelo_Buck_PID_5V_SL_02.sce>
>
> >
> >
> >
> > --
> > View this message in context:
> http://mailinglists.scilab.org/Xcos-simulation-IDA-ERR-FAIL-tp4026755.html
> > Sent from the Scilab users - Mailing Lists Archives mailing list archive
> at Nabble.com.
> > _______________________________________________
> > users mailing list
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4026757&i=0>
> > http://lists.scilab.org/mailman/listinfo/users
> >
>
> _______________________________________________
> users mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4026757&i=1>
> http://lists.scilab.org/mailman/listinfo/users
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://mailinglists.scilab.org/Xcos-simulation-IDA-ERR-FAIL-tp4026755p4026757.html
> To unsubscribe from Xcos simulation IDA_ERR_FAIL, click
> here<http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4026755&code=ZHJhZ2FvZXJyYW50ZUBnbWFpbC5jb218NDAyNjc1NXwxNDgyMzAzNzg2>
> .
> NAML<http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context:
http://mailinglists.scilab.org/Xcos-simulation-IDA-ERR-FAIL-tp4026755p4026778.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users