필터 지우기
필터 지우기

Is there a way to develop simulink model for Savitzky-golay filter?

조회 수: 7 (최근 30일)
SHALINI R
SHALINI R 2022년 12월 8일
댓글: Paul 2022년 12월 8일
I wanna filter the values while the simulation is running.While the sgolayfilt code can be used for the entire graph(i.e after the graph has been plot).so is there a way to develop simulink model for savitzky golay filter?
  댓글 수: 3
SHALINI R
SHALINI R 2022년 12월 8일
I am doing a project in simulink .The ouput is motor speed in rad/s.I have converted the radian /s to m/s to obtain vehicle velocity.Inorder to obtain acceleration plot,I have used derivative block.The acceleration ouput is not continuous as the derivative is done for 1s.So I thought by using the sgolay filter I coud obtain a continuous output.(caz they have used sgolay differentiation filter in drive cycle source block to obtain output acceleration.)
Paul
Paul 2022년 12월 8일
Are you using the Discrete Derivative block with sample time of 1 s? If not, can you provide a link to the derivative block you're using and explain what "derivative is done for 1 s" means?
Is the velocity to be differentiated continuous? Can you make any assumptions about limitations on its frequency content, i.e., due to the bandwidth of the motor and/or its servo control loop (if it has one)?
Also, are you sure you can't get the motor acceleration directly? Usually, motor models integrate angular acceleration to angular velocity.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by