Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

RPM meter in verilog

Status
Not open for further replies.

santoshnal

Newbie level 1
Newbie level 1
Joined
Mar 19, 2014
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
5
i need to implement rpm measurement in fpga,
plz help me writing the code for above function
 

I am pretty loss on the coding part of this but I can tell you in psudocode how to do this.

I assume by RPM you mean you are measuring some kind of rotation of an object. So that means you can either use an encoder or make up your own type of encoder. The encoder sends a signal to the controller everytime it completes a rotation. So from the FPGA side you would sample a segment of time and count the number of pulses. You then can take the number of pulses/time to give you a frequency of rotation. From there it is just conversion.

The custom could be something like fixing a magnet to the rotation object and having a hall effect sensor fixed to the frame. You would read the pulses of the hall effect sensor and do the same conversion.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top