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.

revolution counter for motor

Status
Not open for further replies.

kranthi_vlsi

Newbie level 5
Joined
Oct 18, 2013
Messages
9
Helped
2
Reputation
4
Reaction score
2
Trophy points
3
Activity points
53
Hi

I have one module like revolution counter which will count the revolution of motor.for that module 3 I/p are there clk,reset,motor angle of 15 bit when motor angle crosses 0 degrees in positive direction the count value increments one and it crosses 0 in neg direction it decrements 1....can u suggest logic or vhdl code for dis
p.s there is no direction pin
 

Look at the 15-bit angle value and compare it to the 0 degree value keep a record of the last received value and then you can determine if you reached 0 from the positive or negative direction and then you can increment/decrement the counter accordingly.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top