Go to Post ...and then at the end they interviewed this 5 year old on his favorite part (of the fair): "I liked the robot" - Jessica Boucher [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 11-09-2016, 23:13
teslalab2's Avatar
teslalab2 teslalab2 is offline
RogueBotix LLC
VRC #8091
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2014
Location: Austin MN
Posts: 109
teslalab2 will become famous soon enoughteslalab2 will become famous soon enough
Driving a Bipolar stepper with 2 jaguars

https://www.youtube.com/watch?v=qkiRm1yStdk

I had a 6 hour drive the other day, and I dreamed this up. I thought I would try it, and it actually worked. It would be fun to try and use jaguars to drive a 3d printer

sorry this is kinda stupid and hardly FIRST related.
__________________
I need a jaguar development board for reprogramming a jaguars bootloader. if you have one that you want to sell, pm me. thanks

Run you CanJaguars on arduino with ArduRIO, you can also easily control Talons, Victors,Jaguars and Sparks on PWM. https://sourceforge.net/projects/ardurio/
Reply With Quote
  #2   Spotlight this post!  
Unread 11-09-2016, 23:19
asid61's Avatar
asid61 asid61 is offline
Registered User
AKA: Anand Rajamani
FRC #0115 (MVRT)
Team Role: Mechanical
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Cupertino, CA
Posts: 2,214
asid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond repute
Re: Driving a Bipolar stepper with 2 jaguars

Neat! What a weird way to do this. Is the 6ms limit on the refresh rate on the output voltage, or just for forward/stop? You could try and bring it to around 4% or so instead of full stop to get extra speed.
__________________
<Now accepting CAD requests and commissions>

Reply With Quote
  #3   Spotlight this post!  
Unread 11-09-2016, 23:26
teslalab2's Avatar
teslalab2 teslalab2 is offline
RogueBotix LLC
VRC #8091
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2014
Location: Austin MN
Posts: 109
teslalab2 will become famous soon enoughteslalab2 will become famous soon enough
Re: Driving a Bipolar stepper with 2 jaguars

at first it starts to skip steps if you go any faster than that. If you keep upping it, eventually the first jaguar will become un-responsive on the can-bus and stop bridging the second one it affectively crashes...

edit: I just realized adding the can terminator at the end would probably fix the bridge crashing
__________________
I need a jaguar development board for reprogramming a jaguars bootloader. if you have one that you want to sell, pm me. thanks

Run you CanJaguars on arduino with ArduRIO, you can also easily control Talons, Victors,Jaguars and Sparks on PWM. https://sourceforge.net/projects/ardurio/

Last edited by teslalab2 : 11-09-2016 at 23:37.
Reply With Quote
  #4   Spotlight this post!  
Unread 12-09-2016, 01:09
asid61's Avatar
asid61 asid61 is offline
Registered User
AKA: Anand Rajamani
FRC #0115 (MVRT)
Team Role: Mechanical
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Cupertino, CA
Posts: 2,214
asid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond repute
Re: Driving a Bipolar stepper with 2 jaguars

Quote:
Originally Posted by teslalab2 View Post
at first it starts to skip steps if you go any faster than that. If you keep upping it, eventually the first jaguar will become un-responsive on the can-bus and stop bridging the second one it affectively crashes...

edit: I just realized adding the can terminator at the end would probably fix the bridge crashing
Crashing a Jaguar, wow. Maybe accelerate up to the target speed with some ramping? I know that some stepper-abusive libraries do that.
__________________
<Now accepting CAD requests and commissions>

Reply With Quote
  #5   Spotlight this post!  
Unread 12-09-2016, 07:43
teslalab2's Avatar
teslalab2 teslalab2 is offline
RogueBotix LLC
VRC #8091
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2014
Location: Austin MN
Posts: 109
teslalab2 will become famous soon enoughteslalab2 will become famous soon enough
Re: Driving a Bipolar stepper with 2 jaguars

Its not a library its some crap code sketch I just quickly wrote. and if you are running can, the bridge jaguar can crash if you do some stupid stuff.But it could also owe to the fact that I didn't put the 100 ohm terminator on the last jaguar.
__________________
I need a jaguar development board for reprogramming a jaguars bootloader. if you have one that you want to sell, pm me. thanks

Run you CanJaguars on arduino with ArduRIO, you can also easily control Talons, Victors,Jaguars and Sparks on PWM. https://sourceforge.net/projects/ardurio/

Last edited by teslalab2 : 12-09-2016 at 07:47.
Reply With Quote
  #6   Spotlight this post!  
Unread 12-09-2016, 07:55
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Driving a Bipolar stepper with 2 jaguars

The world's least cost effective hack .

The RAMPS modules on 3D printers use Allegro stepper drivers which are already MOSFET based.
Considers you can drive a whole stepper off 1 $8 stepper board...
Reply With Quote
  #7   Spotlight this post!  
Unread 12-09-2016, 08:34
EmileH's Avatar
EmileH EmileH is offline
it's not a water game, ok?
AKA: Emile Hamwey
FRC #1058 (PVC Pirates) & FF (NE Way You Want It)
Team Role: Programmer
 
Join Date: Dec 2014
Rookie Year: 2011
Location: New England
Posts: 531
EmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant future
Re: Driving a Bipolar stepper with 2 jaguars

Quote:
Originally Posted by techhelpbb View Post
The world's least cost effective hack .
But... it's the most cost effective hack if you already have the materials.
__________________
2016-present: High School Student, FRC 1058 PVC Pirates
2016: RiverRage 20 Champions, Battle of the Bay 3 Champions

2013-2015: Middle School Student, FRC 3467 Windham Windup
Reply With Quote
  #8   Spotlight this post!  
Unread 12-09-2016, 18:12
teslalab2's Avatar
teslalab2 teslalab2 is offline
RogueBotix LLC
VRC #8091
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2014
Location: Austin MN
Posts: 109
teslalab2 will become famous soon enoughteslalab2 will become famous soon enough
Re: Driving a Bipolar stepper with 2 jaguars

It might not be cost effective, for a little nema 17 on a 3d printer... but cost effective for driving a huge stepper. Now I could power a stepper up to 60 amps!
__________________
I need a jaguar development board for reprogramming a jaguars bootloader. if you have one that you want to sell, pm me. thanks

Run you CanJaguars on arduino with ArduRIO, you can also easily control Talons, Victors,Jaguars and Sparks on PWM. https://sourceforge.net/projects/ardurio/
Reply With Quote
  #9   Spotlight this post!  
Unread 12-09-2016, 20:52
asid61's Avatar
asid61 asid61 is offline
Registered User
AKA: Anand Rajamani
FRC #0115 (MVRT)
Team Role: Mechanical
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Cupertino, CA
Posts: 2,214
asid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond repute
Re: Driving a Bipolar stepper with 2 jaguars

Quote:
Originally Posted by teslalab2 View Post
It might not be cost effective, for a little nema 17 on a 3d printer... but cost effective for driving a huge stepper. Now I could power a stepper up to 60 amps!
I think I found the next FRC-legal motor... and the SRX will take care of the code.
__________________
<Now accepting CAD requests and commissions>

Reply With Quote
  #10   Spotlight this post!  
Unread 12-09-2016, 22:07
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Driving a Bipolar stepper with 2 jaguars

Quote:
Originally Posted by teslalab2 View Post
It might not be cost effective, for a little nema 17 on a 3d printer... but cost effective for driving a huge stepper. Now I could power a stepper up to 60 amps!
I would be surprised if that would be useful:

Cause you do not have the voltage with the Jaguars to put it to use with the steppers most people use.

I haven't put much thought into it, but most of my high power steppers use 50V supplies. I think you'd need a stepper with a fairly unusual set of windings to get 60A from even a solid, trickle charged, online battery.

Quote:
Originally Posted by EmileH View Post
But... it's the most cost effective hack if you already have the materials.
Maybe opportunity cost Mr/Miss MacGyver .

http://www.cbs.com/shows/macgyver/

Last edited by techhelpbb : 12-09-2016 at 22:09.
Reply With Quote
  #11   Spotlight this post!  
Unread 12-09-2016, 23:31
teslalab2's Avatar
teslalab2 teslalab2 is offline
RogueBotix LLC
VRC #8091
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2014
Location: Austin MN
Posts: 109
teslalab2 will become famous soon enoughteslalab2 will become famous soon enough
Re: Driving a Bipolar stepper with 2 jaguars

well there is one way to find out. I'll go grab a nema 34 (I know this one is only 10 amps) from work and put this to the test. Some where we have a spare huge stepper for the X-axis from our quad iv-c mkii pick and place, which we no longer have. I think my boss would let me use that too. the more logical thing would be just to use the jags to drive a servo... but ahh over complicate all the things.
__________________
I need a jaguar development board for reprogramming a jaguars bootloader. if you have one that you want to sell, pm me. thanks

Run you CanJaguars on arduino with ArduRIO, you can also easily control Talons, Victors,Jaguars and Sparks on PWM. https://sourceforge.net/projects/ardurio/
Reply With Quote
  #12   Spotlight this post!  
Unread 13-09-2016, 07:46
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,357
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Driving a Bipolar stepper with 2 jaguars

What about micro stepping? Stepper drivers chop to control current. Nema 17's run OK at 12 volts but perform better at 24 volts. Nema 23's perform much better at 24 volts and more for the larger ones. I like TI dvr 8825's for up to 2.2 amps at 24 volts. The Toshiba drivers TB6600 and newer are good up to 4 to 5 amps and up to 40 volts. Above 5 amps 2 discrete H bridges are needed and they use a micro controller with DSP to do the micro step translation and some other tricks to control mid velocity harmonics. Talons are not designed for stepping.
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 21:04.

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