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
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
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
Adeel Ashraf 2020년 12월 23일
Hello
Mathieu I'm trying to do same thing but unable to do it. You can see my simulink file in the attachment.
Adeel Ashraf
Adeel Ashraf 2020년 12월 23일
Jess I tried but it does not work.
Mathieu NOE
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
Adeel Ashraf 2020년 12월 25일
Hi Methieu,
I really appreciate for your help. I tried accordingly but still the reults are not according to the expectation. I took that pulstrain signal from the incremental shaft encoder. You can see the attachment how I did it.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

질문:

2020년 12월 22일

편집:

2020년 12월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by