Mathematical modelling of Sinusoidal wave for Voltage and Current.?

3 vues (au cours des 30 derniers jours)
Lalit P
Lalit P le 30 Août 2016
Réponse apportée : Sabin le 29 Jan 2023
In attached model snapshot i am not getting pure sinusoidal waveforms.! Sinusoidal control block1 Amplitude = 1, Frequency = 1rad/sec, phase = 0, Sinusoidal control block2 Amplitude = 1, Frequency = 1rad/sec, phase = 2*pi/3, Sinusoidal control block3 Amplitude = 1, Frequency = 1rad/sec, phase = 4*pi/3,
And triangular sequence [0 1 0 -1 0]
Please help with parameters to get pure sine waves..! Thank you

Réponses (1)

Sabin
Sabin le 29 Jan 2023
I suspect in the Configuration Parameters, Solver, the parameter 'Max step size' is set to 'Auto'. Depending how the solver is computing the step size, the sinusoidal signal might look distorted. By setting the parameter 'Max step size' is set to a value (for example 1e-3 or something like this) should improve the results.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by