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

Claus Futtrup cfuttrup at gmail.com
Sat Mar 10 20:09:42 CET 2018


Hi Florent (CC Scilab Users)

I cannot run the zcos model with my current Scilab 6.0.1 setup (and I
haven't installed CPGE 1.6.3 either - is there a way you could simulate a
loudspeaker without the need for CPGE??).

The bode plots you get is a function of the input + the loudspeaker model.
We know that in principle the accelaration is equivalent to Loudspeaker
Sound Pressure Level (SPL) response and it should show a flat area + roll
off at both ends. I see that your plots don't do this.

The velocity is like an integration and should "shift" (or "tilt") the
response by 6 dB.

The position is also like an integration and should further shift/tilt the
reponse additionally 6 dB so that in the bandpass you get a 12 dB/octave
slope.

Your current loudspeaker model looks OK (I haven't dug into the details of
each block), so my guess is - the output depends on the input. Now that you
presumably have a working loudspeaker model - would it then maybe make
sense to generate a very simple model - e.g. just a resistor (i.e. not a
bandpass - but something that behaves from DC to lightning as a flat curve)
- play around with the input and get it to behave correctly?

Best regards,
Claus

On Sat, Mar 10, 2018 at 9:51 AM, Claus Futtrup <cfuttrup at gmail.com> wrote:

> Hi Florent
>
> Thank you for sharing your experiences with us. I don't speak but maybe
> 100 words in French and can't string together a sentence (but maybe the
> most elementary tourist-french). I looked up the CPGE in Atoms, but it
> looks French to me... https://atoms.scilab.org/toolboxes/CPGE/1.6.3/
>
> You give the result but no details to replicate, etc. I'm afraid I can't
> help.
>
> Best regards,
> Claus
>
>
> On Fri, Mar 9, 2018 at 10:29 PM, Florent <florent.halgatte at gmail.com>
> wrote:
>
>> 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:
>>
>> <http://mailinglists.scilab.org/file/t497760/bode_out.png>
>>
>>
>>
>> --
>> Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-
>> Archives-f2602246.html
>> _______________________________________________
>> users mailing list
>> users at lists.scilab.org
>> http://lists.scilab.org/mailman/listinfo/users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20180310/2364137c/attachment.htm>


More information about the users mailing list