Go to Post I'm currently working on design for a bin made out of concrete that will not break for next year's competition... :D - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 05-02-2011, 15:16
taichichuan's Avatar
taichichuan taichichuan is offline
Software Mentor
AKA: Mike Anderson
FRC #0116 (Epsilon Delta)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Herndon, VA
Posts: 333
taichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud of
Send a message via AIM to taichichuan
BDCComm Settings for Speed Mode Testing?

Hi Gang,

We're testing the Jaguars in Speed control mode via BDCComm-92. The Jaguars are updated to Rev 92 of the firmware. I have the KOP encoder (US Digital EAP4 360-250-0-0-0) attached to a CIMple box with 1 CIM attached. The encoder is on the center CIMple box shaft and I have VCC wired to the + on the Jaguar, channel A of the encoder to A on the Jaguar, Gnd on the encoder to -, channel B of the encoder to B on the Jaguar.

For BDCcomm, on the configuration tab, I have the encoder lines set to 360. The mode set to "Speed". My PID values are set low for testing (P=.3, I=.001, D=0). If I set the Reference to "Quadrature Encoder", and try to set an RPM, it takes off at full speed rather than the RPM I set.

If I set the reference to "Encoder", it seems to work at the proper RPM. So, first question is, why not Quadrature Encoder? Do I need to adjust the number of encoder lines or something?

If I try to go into Position mode and set a positive position, the motor takes off in the negative direction and vice versa. Does this mean that it's actually and "Inverted Encoder"? I'm just trying to figure all of this out before committing it to software.

Also, there is a lot of chatter on the motor with low speeds. So, I'm assuming that my PID values need adjusting. But, no matter how I adjust the PID numbers I can't get it to stabilize. Any guidance on this adjustment process would be greatly appreciated.

TIA,

Mike
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 00:48.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi