Go to Post I think this thread needs a reminder that there's no h in mecanum. ;) - Lil' Lavery [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-02-2013, 07:00
bardd's Avatar
bardd bardd is offline
That loud guy
AKA: Bar Danino
FRC #2212 (The Spikes)
Team Role: Alumni
 
Join Date: Dec 2011
Rookie Year: 2011
Location: Israel, Lod
Posts: 347
bardd has a brilliant futurebardd has a brilliant futurebardd has a brilliant futurebardd has a brilliant futurebardd has a brilliant futurebardd has a brilliant futurebardd has a brilliant futurebardd has a brilliant futurebardd has a brilliant futurebardd has a brilliant futurebardd has a brilliant future
CAN being wierd

We're using CAN for the first time. We have two jaguars chained and connected to the cRIO's serial connection.
When we try to activate both jaguars simultaneously, one of three things happen:
  1. Both jags work correctly,
  2. Only one jag works (always the same one), the other's signal light shows it gets an "enabled" signal but no "move" signal,
  3. None of the jags work.

One thing we noticed is when you change the voltage you want the jags to send as output drastically over a short period of time, both jags don't work.

We have no idea why that happens... Help would be very much appreciated.
__________________
Team FRC#2212 The Spikes, 2011-...
Builld leader 2013
Drive coach 2012-2013
Mentor 2015-...
Reply With Quote
  #2   Spotlight this post!  
Unread 16-02-2013, 11:44
Levansic's Avatar
Levansic Levansic is offline
Registered User
AKA: Len Evansic
FRC #0585 (Cyber Penguins)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Tehachapi, CA
Posts: 185
Levansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud of
Re: CAN being wierd

I certainly could be wrong on this, but I'm assuming that you are using the jaguars to control single CIM motors on a tank drive setup. What is your gear ratio, wheel size, and wheel configuration?

I ask, because it sounds like you are inducing over current situations. The one that cuts out more often likely has a chain that is a bit too tight, but both sides are likely dealing with gear ratios that are too low for the torque that they are asked to provide. Another possibility is that the one that cuts out more is not the one directly connected to the cRIO, and you have a CAN bus connectivity or termination problem.

An attempted quick fix for the overcurrent condition, is to use a bigger number for the voltage ramp rate parameter. By default, the parameter is set to ~500, which corresponds to a 1/8 second ramp from 0-100% output. This is too quick for heavily loaded CIM motors, causing an over-current cutout. If you aren't already using voltage ramping on the jaguar, it sounds like you should be. This will throttle the response to "drastic" changes of input.
Reply With Quote
Reply


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 20:23.

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