Estimate RPM from signal pulses received from IR sensor connected to Arduino on Simulink

6 ビュー (過去 30 日間)
SHAMANTH GOWDA
SHAMANTH GOWDA 2018 年 2 月 9 日
コメント済み: SHAMANTH GOWDA 2018 年 2 月 9 日
Hi
I need to control the speed of a DC motor with the PID controller that I have designed. I am using Arduino for controlling the motor and an IR sensor to get the speed.
I just wanted to know how I can do this on Simulink to get the speed of motor in rpm because IR sensor output is a train of pulses whenever it is triggered, and I want process these pulses on Simulink and get the speed.
Thank you.
  4 件のコメント
Birdman
Birdman 2018 年 2 月 9 日
Do you have the datasheet for your IR sensor?
SHAMANTH GOWDA
SHAMANTH GOWDA 2018 年 2 月 9 日
I could not find the datasheet, but i can give you the link from which resembles the same https://www.aliexpress.com/item/TCRT5000-infrared-reflectance-sensor-Obstacle-avoidance-module-tracing-sensor-tracing-module/32758692268.html

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by