Mathematical modelling of Sinusoidal wave for Voltage and Current.?

3 Ansichten (letzte 30 Tage)
Lalit P
Lalit P am 30 Aug. 2016
Beantwortet: Sabin am 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

Antworten (1)

Sabin
Sabin am 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