Re: [Scilab-users] Xcos Loudspeaker simulation Algebraic loop and Bode plot

2018-03-09 Thread Florent
Good morning,

Here is an update of my "problem".

First of all I had a problem of compatibility between Scilab/Xcos and the
toolbox CPGE.

Before I was using Scilab 6.0.1 and CPGE Version: 1.6.0.
Now, with Scilab 5.4.1 and CPGE Version: 1.5.2, the Bode plot works. But it
doesn't give the result expected...

For the Displacement vs Frequency, a Low Pass behavior is expected.
For the Velocity vs Frequency, a Band Pass behavior is expected.
For the Acceleration vs Frequency, a High Pass behavior is expected (similar
to the pressure response).

And here is what is get:

 



--
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Xcos Loudspeaker simulation Algebraic loop and Bode plot

2018-03-07 Thread Florent
Hoo, you're right I did a "copy/paste" mistake...
Thanks for notice that.

Now I don't get the Algebraic loop error anymore but i cannot display the
Bode plot, I need to work on it.

Best regards,
Florent



--
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Xcos Loudspeaker simulation Algebraic loop and Bode plot

2018-03-07 Thread Florent
Hi Claus,

I multiplied i(t) by Re in order to match with the equation:
<http://mailinglists.scilab.org/file/t497760/didt.png> 
Or in an other form:
<http://mailinglists.scilab.org/file/t497760/u.png> 

What do you mean be omega-dependent?
Is it because in the integration 1/s, s=jw?

Best regards,
Florent



--
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Xcos Loudspeaker simulation Algebraic loop and Bode plot

2018-03-06 Thread Florent
Hi Claus,

No, unfortunately I didn't get the Simulink files. And we don't have
Simulink where I'm working.

Here is the zcos file  linear_LS.zcos
<http://mailinglists.scilab.org/file/t497760/linear_LS.zcos>  .

I'm new to Xcos too, I started last week.

Best regards,
Florent



--
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users



[Scilab-users] Xcos Loudspeaker simulation Algebraic loop and Bode plot

2018-03-06 Thread Florent
Good morning,

I'm attempting to make a Xcos version of a Simulink model of a loudspeaker
that I found on  Daniel San Ausín's Thesis (page 8)

 
. Please see the attached file for the signal flow chart.

 

It's "quite simple", just additions and multiplications.
The parameters Le, Re, Bl, Mms, Rms, Cms are the  Thiele & Small
   parameters of a
loudspeaker (it's just floating values).
The input voltage can be a sinus, a noise or whatever.

I'm getting a message error "Algebraic loop".
Do you know how to solve that ? I think it can be a problem in the
simulation setup as I'm new to Scilab/Xcos.

Here is the Xcos diagram:  linear_LS.zcos
  

I'm also trying to display the Bode plot at different stages of the diagram
that's why I'm using the CPGE toolbox.

If you have an idea to solve the problem, feel free to contact me.
You can answer in French.

 I'll also try a different approach with the state-space bloc.



--
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users