Control motor velocity using PID

OP (Company: student) #2349746
Rate this post
useful
not useful
Thank you for your answer.

The moto is a Micromotors type HVE155 with hall efect, output is an 
encoder

.voltage : 12 Vdc
.Ratio to 1: 43,3;
• MAx. Torque: 18 Ncm;
. RPM: 155 rpm;
• Corrent no load: <140 mA;
• Max. Corrent with load: 580 mA;

I need some VHDL code or some function in the altera fpga to know " read 
" the input data from the encoder to aply with PID.

Could you help me in this?
Moderator (Company: Titel) #2349801
Rate this post
useful
not useful
nmiguel sa wrote:
> Could you help me in this?
For shure, but one question in advance: You ask only for the code to 
read the velocity. Do you have the PID already? How does it look like?

> output is an encoder
Try this with babelfish or something similar (its German):
http://www.lothar-miller.de/s9y/categories/46-Encoder
With this you get the position. And from there you can calculate the 
speed: eg. "how many increments per second"

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now