필터 지우기
필터 지우기

How to model discrete sensor simulink

조회 수: 2 (최근 30일)
Jan De Vries
Jan De Vries 2012년 6월 30일
How can I model a discrete sensor in a standard feedback loop model in Simulink?
The sensor I try to model gives output at any time, but changes only 10 times per second and gives output in 1 decimal. So the feedback signal needs to be round up to 1 decimal and be given 10 times per second.
  댓글 수: 1
Kaustubha Govind
Kaustubha Govind 2012년 7월 2일
Sorry, I'm not sure exactly what kind of help you're looking for. So far, it seems like you might need to set your sensor block's sample time to 0.1 second, and perhaps connect a "Rounding Function" block at the output of the sensor.

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

답변 (1개)

Jan De Vries
Jan De Vries 2012년 8월 28일
It turned out to be quite simple, using the "Quantizer" block

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by