View Single Post
  #3   Spotlight this post!  
Unread 04-02-2007, 06:47
meaubry meaubry is offline
volunteer helper
FRC #6099 (Knights)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Shelby Twp, Mi
Posts: 784
meaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond repute
Re: Controlling the Keyang motors

#4) determine what kind of pot you will be using (1 turn or 10 turn) - this is dependent on a couple of important factors.
a) a 1 turn pot really has only about 270 degrees of motion - not a full 360 degrees
b) ten turn pots are available and will be easier to adapt to smaller sizes of gears and sprockets (depending on the interface that you are really measuring the movement of)
c) the pot output can be correlated to the device angle/or motor rotation by tuning and locking it into the desired range

So, what I am saying is the you that you have more flexibility in correlating motor rotation to pot position, that a one to one relationship.

Not knowing how the device actually works, I will assume you are using the Keyang to rotate some appendage through some angular motion - less than 270 degrees.

I will assume that the keyang motor is rotating a sprocket attached to whatever it is driving. (direct drive - not via a chain although that a million other ways are possible).

If you mount the pot in such a way to measure the angular rotation of the sprocket (via chain, or gear, or whatever) - you will be able to correlate that angular movement back to the motor position.

1) determine the size of the gear or sprocket that will be attached to the pot

2) determine the best location for mounting the pot - make sure you can get to it for adjusting and tuning it in after it is mounted

3) make the mounting bracket - remember to keep the pot from freely rotating in the bracket (the pot has flats on the mounting post and some have anti rotation stubs)

4) attach the gear or sprocket to the pot - we use a tran torque to interface between the pot shaft and the gear or sprocket (they come in various sizes so, you will need to determine wihch size has the correct id to fit the shaft of the pot you are using, then modify the gear/sprocket to fit the outside of the tran torque)

5) leave the tran torque loose enough to still be able to spin the pot shaft inside it, when you hard mount it into position. You will tighten the tran torque after locating it and rotating the appendage it is hooked to, and if you tighten the tran torque AND it happens to be in the wrong location - you will break it. (This is one good reason to use a pot with more degrees of rotation that your device travels through - its got more of a safety margin to the ends of travel)

6) Once it is mounted and wired, and you are sure you have more travel on the pot than there is travel of the device, read the pot position via the dashboard - the pot numbers will go up and down depending what resistive value associated with the position it is rotated to. Move to full travel in both direction of rotation and write down the numbers - make sure you are not at zero in either direction - in fact try to tune the pot position by holding the tran torque nut, and simultaneously rotating the pot shaft.

7) once you have the pot position tuned to include safety margin on both ends of travel - tighten the tran torque (that will lock the pot shaft into the desired position)

8) the program needs to be updated to include the pot positions for up and down to limit the motor travel

Sorry about the length of the post -
I hope it is clear enough to understand.

Mike Aubry
Team 47 Chief Delphi

Last edited by meaubry : 04-02-2007 at 06:50.