Time series data problem
Show older comments
I'm trying to do vibration order analysis I save my data in time series from my simulation.
I want to take delta T for my waveform so when I try to do it using trigger block in a new simulation my data some how distorted.
You can see both waveform in the attachment.
How we can fix it!!!

6 Comments
Mathieu NOE
on 22 Dec 2020
hello
in order analysis , we use a trigger to split the raw signal in buffers of equal length and do averaging, so it reduces the effect of noise and non synchronous signals
but in your case I don't understand what you are doing
do you have a simulink file to share ?
tx
jessupj
on 22 Dec 2020
i've had trouble with simulink solver taking timesteps that were too large, which generated artifacts like this.
try perhaps: changing simulink solver tolerance, setting the maximum timestep to be much smalle, or toy with the timestep in a fixed increment solver until you balance step size with your tolerance for waveform irregularity.
Adeel Ashraf
on 23 Dec 2020
Adeel Ashraf
on 23 Dec 2020
Mathieu NOE
on 23 Dec 2020
Edited: per isakson
on 25 Dec 2020
Hello Adeel
I tested your mdl file but it did not produce the distorded waves you showed in first instance
I just recommend to not use variable time solvers when you want to deal with triggered systems ;
I like the idea of having my simulink file functionning at fixed and deterministic time stamps
so I changed the parameters of the solver t "fixed time stamps" even I could not really notice the effect on your simulation (again, it did not reproduce the distorted waves)
Adeel Ashraf
on 25 Dec 2020
Answers (0)
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!