Go to Post There is no offseason. - Jeff Rodriguez [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 28-01-2012, 14:31
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Motor Controller Amt per Motor?

Hi,

A lot of our motors are used in sets of two in a gearbox;

Do we have to have a motor controller for each motor despite them being in the same gearbox, or can we use one controller to control both motors in the same gearbox?
  #2   Spotlight this post!  
Unread 28-01-2012, 14:37
Mk.32's Avatar
Mk.32 Mk.32 is offline
Registered User
AKA: Mark
FRC #2485 (W.A.R. Lords)
Team Role: Engineer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: San Diego
Posts: 770
Mk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud of
Re: Motor Controller Amt per Motor?

Each motor needs it's own motor controller, even though if they are on the same gearbox.
__________________
Engineering mentor: Team 2485: WARLords 2013-

Team President: Team 3647 2010-2013
  #3   Spotlight this post!  
Unread 28-01-2012, 14:52
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Motor Controller Amt per Motor?

Quote:
Originally Posted by ksafin View Post
Do we have to have a motor controller for each motor despite them being in the same gearbox, or can we use one controller to control both motors in the same gearbox?
[R46]

Get a copy of this document:
http://frc-manual.usfirst.org/viewItem/57

It is searchable. You can find authoritative answers quickly.

  #4   Spotlight this post!  
Unread 28-01-2012, 16:25
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Re: Motor Controller Amt per Motor?

In that case,
We were planning to use the banebots Cim-u-lator gearbox with two RS 775 motors, to simulate a CIM motor.

Do we need two per gearbox, or should one adequately simulate a CIM motor?
Because that would reduce the number of motor controllers we need to purchase substantially.

Thanks
  #5   Spotlight this post!  
Unread 28-01-2012, 16:37
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Motor Controller Amt per Motor?

Quote:
Originally Posted by ksafin View Post
Do we need two per gearbox, or should one adequately simulate a CIM motor?
I assume when you say "RS775" you mean the 775-18, and not the 775-12, correct?

It depends on what you're going to use it for.

The CIM's peak power is 337 watts.

The 775-18's is only 271.

For the same power output, the 775-18 will burn up much faster than the CIM.

  #6   Spotlight this post!  
Unread 28-01-2012, 23:03
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,089
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Motor Controller Amt per Motor?

Quote:
Originally Posted by Mk.32 View Post
Each motor needs it's own motor controller, even though if they are on the same gearbox.
You can split the PWM output from the sidecar/input to the speed controller into 2 controllers. That way it's almost impossible to destroy the motors/gearbox by spinning one motor one way and one motor the other way.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #7   Spotlight this post!  
Unread 29-01-2012, 14:03
mikets's Avatar
mikets mikets is online now
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 675
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Motor Controller Amt per Motor?

Quote:
Originally Posted by cgmv123 View Post
You can split the PWM output from the sidecar/input to the speed controller into 2 controllers. That way it's almost impossible to destroy the motors/gearbox by spinning one motor one way and one motor the other way.
What if you are not using PWM but the Jaguar CAN bus? I assume we will just program the same value to both motors and it will work? We haven't done two motors in the same gear-box before so we don't know what to expect in terms of programming. The concern was that code can only program one motor at a time (issuing CAN command to the Jaguar). So one motor will start a little earlier than the other one. So there is a short period that one motor would carry the whole load + turning the second motor at the same time. Probably not too much to worry but just like to hear your opinions on this.
__________________
  #8   Spotlight this post!  
Unread 29-01-2012, 15:50
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Motor Controller Amt per Motor?

Quote:
Originally Posted by mikets View Post
What if you are not using PWM but the Jaguar CAN bus? I assume we will just program the same value to both motors and it will work? We haven't done two motors in the same gear-box before so we don't know what to expect in terms of programming. The concern was that code can only program one motor at a time (issuing CAN command to the Jaguar). So one motor will start a little earlier than the other one. So there is a short period that one motor would carry the whole load + turning the second motor at the same time. Probably not too much to worry but just like to hear your opinions on this.
http://www.chiefdelphi.com/forums/sh...58&postcount=3
  #9   Spotlight this post!  
Unread 29-01-2012, 16:15
mikets's Avatar
mikets mikets is online now
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 675
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Motor Controller Amt per Motor?

Thanks for link, Ether. We are not worrying about the encoder though because we will be mounting just one encoder on the shooter wheel axle. Coincidentally, we did plan on using the cRIO to do PID because we couldn't get the Jaguar built-in speed control to be stable enough. We ended up integrating the WPILib PID controller and get a pretty stable speed controller. We are running the Jaguars in PercentVbus mode. So once the cRIO PID control reads the speed from the Jaguar, it will compute the output power in Percentage units and program the two Jaguars with this value. My worry was the time difference between programming the two Jaguars may put a slight stress on the earlier Jaguar.
__________________
  #10   Spotlight this post!  
Unread 29-01-2012, 16:16
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,599
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Motor Controller Amt per Motor?

Quote:
Originally Posted by mikets View Post
What if you are not using PWM but the Jaguar CAN bus? I assume we will just program the same value to both motors and it will work? We haven't done two motors in the same gear-box before so we don't know what to expect in terms of programming. The concern was that code can only program one motor at a time (issuing CAN command to the Jaguar). So one motor will start a little earlier than the other one. So there is a short period that one motor would carry the whole load + turning the second motor at the same time. Probably not too much to worry but just like to hear your opinions on this.
If you just want to use %VBus mode or voltage mode, the jaguars have a sync feature. You send the output to each jaguar individually, and define a sync group. Then you send the update sync group command, which tells each jaguar to output the previous command at the same time.

I haven't looked at how it's implemented in C++ or Java, but it's pretty easy in LabVIEW.
  #11   Spotlight this post!  
Unread 29-01-2012, 16:19
mikets's Avatar
mikets mikets is online now
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 675
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Motor Controller Amt per Motor?

Quote:
Originally Posted by Joe Ross View Post
If you just want to use %VBus mode or voltage mode, the jaguars have a sync feature. You send the output to each jaguar individually, and define a sync group. Then you send the update sync group command, which tells each jaguar to output the previous command at the same time.

If you want to use one of the closed loop controls, see Ether's link.
Ah that's what I suspected. I saw the SyncGroup parameter and didn't know what it's for. Now it make sense. Is there more detail documentation on using SyncGroup? I might have missed it.
__________________
  #12   Spotlight this post!  
Unread 29-01-2012, 16:24
mikets's Avatar
mikets mikets is online now
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 675
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Motor Controller Amt per Motor?

Never mind, the WPILib APIs seem very self explanatory. When calling Set() for each Jaguar, the second optional parameter defines a "SyncGroup" (I suppose any non-zero number works). Then call UpdateSyncGroup with the non-zero SyncGroup number that I defined.
__________________
  #13   Spotlight this post!  
Unread 29-01-2012, 16:25
ratdude747's Avatar
ratdude747 ratdude747 is offline
Official Scorekeeper
AKA: Larry Bolan
no team
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Madison, IN
Posts: 1,064
ratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond repute
Re: Motor Controller Amt per Motor?

For CAN, the way I have always done it in labview is to set the inputs of the two motor set .vi blocks to the same output. I have never had issues doing it that way.

I am sure it could be done in java or c++... the easiest way, at least for me, would be to have the motor speed be set as a variable and let the two jaguars reference that same variable.
__________________
Dean's List Semi-finalist 2010
1747 Harrison Boiler Robotics 2008-2010, 2783 Engineers of Tomorrow 2011, Event Volunteer 2012-current

DISCLAIMER: Any opinions/comments posted are solely my personal opinion and does not reflect the views/opinions of FIRST, IndianaFIRST, or any other organization.
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 19:57.

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