PSoC 5LP Frequency Measurement

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
CaDu_3933941
Level 4
Level 4
50 replies posted 25 replies posted 10 replies posted

Hi all,

I am currently working on the design for a PID speed controller for a Brush less DC motor (200 RPM max speed). My feedback mechanism is a IR motor encoder which spits out a PWM signal with a frequency that depends on the speed of the motor. I am trying to figure out how to calculate the frequency of the PWM signal being fed into the microcontroller. Any ideas or sources I could use?

Thanks

0 Likes
1 Solution
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

CaDu,

Check previous discussion on motor control and tachometer frequency measurement here:

https://community.cypress.com/message/194446#194446

and here:

Re: HELP, with example of frequency measurement Error

/odissey1

View solution in original post

0 Likes
1 Reply
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

CaDu,

Check previous discussion on motor control and tachometer frequency measurement here:

https://community.cypress.com/message/194446#194446

and here:

Re: HELP, with example of frequency measurement Error

/odissey1

0 Likes