Go to Post I don't care if my team wins. I care if they try their hardest to win. - pfreivald [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-01-2016, 19:10
vigneshv vigneshv is offline
Registered User
FRC #2489
 
Join Date: Jan 2014
Location: United States
Posts: 53
vigneshv is on a distinguished road
6 CIM Drive and Talon SRX with integrated PID

Our team is building a 6 CIM Drivetrain and we are using Talon SRXs as motor controllers. We would like to use the integrated PID capabilities of the Talon, but we cannot find a way to use the output of 1 encoder as the PID input for the Talon. Is there a way to do this?
  #2   Spotlight this post!  
Unread 17-01-2016, 19:13
Ty Tremblay's Avatar
Ty Tremblay Ty Tremblay is offline
Robotics Engineer
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2004
Location: Alton NH
Posts: 832
Ty Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond repute
Re: 6 CIM Drive and Talon SRX with integrated PID

I'm not exactly sure what you mean, but the Talon SRX Software Reference Manual is an easy read and should have the answer you need.

It sounds like you would be interested in slave follower mode. That is, you'd run closed loop control for one SRX on each side of the drivetrain, then have the other two SRXs on each side set as slave followers for their respective "master" SRX.
__________________
  #3   Spotlight this post!  
Unread 17-01-2016, 19:14
lucas.alvarez96's Avatar
lucas.alvarez96 lucas.alvarez96 is offline
Registered User
AKA: Lucas Alvarez
FRC #2576 (Chilean Heart)
 
Join Date: Dec 2013
Rookie Year: 2013
Location: Chile
Posts: 119
lucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to all
Re: 6 CIM Drive and Talon SRX with integrated PID

Look at the Talon SRX User Guide. On page 19 there's a schematic on how to connect a quadrature encoder to the Talon.
__________________
FRC 2576 2015-2016: Mentor
FRC 2576 2013-2015: Programmer & Chairman's Presenter

Los Angeles Regional 2014: Regional Chairman's Award
  #4   Spotlight this post!  
Unread 17-01-2016, 19:15
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 522
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: 6 CIM Drive and Talon SRX with integrated PID

It sounds like each side has three Talons.

For a given side, connect the encoder to a Talon's feedback connector (the one you want to closed-loop in). Then slave the other two Talons so that they follow the output of the close-looping-talon.

Checkout the Talon SRX software reference manual for examples on how to slave talons, and how to closed-loop.

Connecting the encoder is explained in the Talon SRX User's Guide.
Closed Thread


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 11:36.

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