Time series data problem
显示 更早的评论
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 个评论
Mathieu NOE
2020-12-22
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
2020-12-22
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
2020-12-23
Adeel Ashraf
2020-12-23
Mathieu NOE
2020-12-23
编辑:per isakson
2020-12-25
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
2020-12-25
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
