Determine speed from hall sensor output
조회 수: 8 (최근 30일)
이전 댓글 표시
Hello,
I am working on a student project and want to calculate the RPM of the wheels and thus the speed of the vehicle using a hall sensor. Assuming the hall sensor output can be simulated as a block signal with a varying pulse interval as the speed changes, how can I determine the time t(n)-t(n-1) where n indicates the occurence where the output signal rises above a threshold value for a continous signal? In other words: I want simulink to scan a continous input signal and output the time difference between the two most recent peaks.
Any help is appreciated. Thanks.
댓글 수: 2
ANGETI JIVAL
2017년 4월 29일
please i have a similar problem i need help too. am using brushless dc motor with 3 hall effect sensor. i need to get speed from the hall sensor so as to feedback in a simulnk arduino. i am implementing fuzzy PID on arduino uno board. please i need help urgent in orther to help me complete my thesis. am a master student in control and intrumentation. thanks.
ROYAL SUTNGA
2020년 5월 18일
Please I am having the same problem. I want matlab code for calculating the speed and position of the motor using the signals of the hall sensors.Thanks.
답변 (1개)
Vineeth Kartha
2016년 1월 5일
Hi Robin,
Please go through the model that I have attached ' DifferenceofPeaks.mdl' and see if this works for you. An explanation of the model is also provided.
댓글 수: 2
ROYAL SUTNGA
2020년 5월 18일
Sir, can you send me the matlab code for calculating the speed and position of the motor using the three signals of the hall sensors.
참고 항목
카테고리
Help Center 및 File Exchange에서 Arduino Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!