Go to Post I personally think a large trophy and that warm, fuzzy feeling you get inside is a satisfactory prize for winning a competition. - Dan Petrovic [more]
Home
Go Back   Chief Delphi > Technical > Motors
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 04-06-2013, 13:41
eli2410's Avatar
eli2410 eli2410 is offline
Alumni/UCF Student
FRC #2410 (Metal Mustangs)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Leawood, KS
Posts: 124
eli2410 is a glorious beacon of lighteli2410 is a glorious beacon of lighteli2410 is a glorious beacon of lighteli2410 is a glorious beacon of lighteli2410 is a glorious beacon of lighteli2410 is a glorious beacon of light
Stepper Driver to CIM

This doesn't have to do necessarily with FIRST, but this seemed to be the best place to ask it. If I am trying to connect a couple of cim motors to a grbl shield (https://www.synthetos.com/project/grblshield/) what do I need to do? Do they hook up directly or is there something in between, since they are supposed to be stepper motors coming off of the grbl?
__________________
Co-captain:
2013: Cowtown Throwdown-Winners
2014: Greater KC Regional-Judges Award & Oklahoma Regional-Judges Award and Dean's List Finalist (Lauren Pudvan)
Team Member:
2013: Razorback Regional-Team Spirit & Woody Flowers (Mr. Ritter) & Greater Kansas City Regional- Gracious Professionalism
2012: FIRST Championship in St. Louis, Oklahoma Regional- Team Spirit Award, & Greater Kansas City Regional
2011: Midwest Regional & Greater Kansas City Regional- Innovation in Control
Little Brother (Spectator):
2008: FIRST Championship in Atlanta & Greater Kansas City Regional
  #2   Spotlight this post!  
Unread 04-06-2013, 13:51
Teamcodeorange's Avatar
Teamcodeorange Teamcodeorange is offline
Registered User
FRC #3476
 
Join Date: Jan 2011
Location: US
Posts: 236
Teamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant future
Re: Stepper Driver to CIM

That shield is meant for stepper motors, which CIM motors aren't. In addition, CIM motors use a vast amount more power than is available from that controller.

You'd be better off controlling it with a talon and some pwm code on your arduino.

Hope this helps.
__________________
Try Code Orange's electronics tutorials!
---------------------------------------------------------
2015 - Tesla Division Champions
2015 - Inland Empire Engineering Inspiration Award
2015 - San Diego Regional Chairman's Award
2014 - San Diego Regional Chairman's Award
2013 - Newton Division Champions
2012 - San Diego Regional Winners
  #3   Spotlight this post!  
Unread 04-06-2013, 13:58
eli2410's Avatar
eli2410 eli2410 is offline
Alumni/UCF Student
FRC #2410 (Metal Mustangs)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Leawood, KS
Posts: 124
eli2410 is a glorious beacon of lighteli2410 is a glorious beacon of lighteli2410 is a glorious beacon of lighteli2410 is a glorious beacon of lighteli2410 is a glorious beacon of lighteli2410 is a glorious beacon of light
Re: Stepper Driver to CIM

The thing is that I want to use CIM motors, but need to program it as a CNC device. I figured that the grbl shield was the best option, but can't figure out how to hook it up. I was thinking of doing it through the talon, but still, I'm unsure how to hook it up to the grbl shield. Any thoughts?
__________________
Co-captain:
2013: Cowtown Throwdown-Winners
2014: Greater KC Regional-Judges Award & Oklahoma Regional-Judges Award and Dean's List Finalist (Lauren Pudvan)
Team Member:
2013: Razorback Regional-Team Spirit & Woody Flowers (Mr. Ritter) & Greater Kansas City Regional- Gracious Professionalism
2012: FIRST Championship in St. Louis, Oklahoma Regional- Team Spirit Award, & Greater Kansas City Regional
2011: Midwest Regional & Greater Kansas City Regional- Innovation in Control
Little Brother (Spectator):
2008: FIRST Championship in Atlanta & Greater Kansas City Regional
  #4   Spotlight this post!  
Unread 04-06-2013, 14:07
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
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: Stepper Driver to CIM

Quote:
Originally Posted by eli2410 View Post
The thing is that I want to use CIM motors, but need to program it as a CNC device.
If you want position (or velocity) control of the CIM, you will have to have an appropriate sensor, and use that sensor to perform closed-loop control of the CIM. The CIM is not a servo; and it's not a stepper motor.


  #5   Spotlight this post!  
Unread 04-06-2013, 14:10
eli2410's Avatar
eli2410 eli2410 is offline
Alumni/UCF Student
FRC #2410 (Metal Mustangs)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Leawood, KS
Posts: 124
eli2410 is a glorious beacon of lighteli2410 is a glorious beacon of lighteli2410 is a glorious beacon of lighteli2410 is a glorious beacon of lighteli2410 is a glorious beacon of lighteli2410 is a glorious beacon of light
Re: Stepper Driver to CIM

Quote:
Originally Posted by Ether View Post
If you want position (or velocity) control of the CIM, you will have to have an appropriate sensor, and use that sensor to perform closed-loop control of the CIM. The CIM is not a servo; and it's not a stepper motor.


I've got the location problem already thought of using other means, though that could be a whole other problem hooking that up.
__________________
Co-captain:
2013: Cowtown Throwdown-Winners
2014: Greater KC Regional-Judges Award & Oklahoma Regional-Judges Award and Dean's List Finalist (Lauren Pudvan)
Team Member:
2013: Razorback Regional-Team Spirit & Woody Flowers (Mr. Ritter) & Greater Kansas City Regional- Gracious Professionalism
2012: FIRST Championship in St. Louis, Oklahoma Regional- Team Spirit Award, & Greater Kansas City Regional
2011: Midwest Regional & Greater Kansas City Regional- Innovation in Control
Little Brother (Spectator):
2008: FIRST Championship in Atlanta & Greater Kansas City Regional
  #6   Spotlight this post!  
Unread 18-08-2013, 09:37
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,169
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: Stepper Driver to CIM

Quote:
Originally Posted by Ether View Post
If you want position (or velocity) control of the CIM, you will have to have an appropriate sensor, and use that sensor to perform closed-loop control of the CIM. The CIM is not a servo; and it's not a stepper motor.
Entirely correct! If it helps this is how a common CNC is done these days. They use DC servo motors that are servo-ing on velocity and/or current. Usually this servo loop is hardware-based and built into the amplifiers that drive the motors w/ tach output. The system servos on position using external position sensors, optical scales and such. The position servo is done in software or (in a more expensive setup) in a FPGA or a dedicated computing engine of some sort.
__________________
Fast, cheap or working - pick any two!
  #7   Spotlight this post!  
Unread 18-08-2013, 10:10
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,766
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Stepper Driver to CIM

Eli,
I have to ask how big you are planning to make this robot? The CIM motors are obviously capable of driving a full size 150 lb robot. I suspect what you want is something much smaller and not nearly as fast. While not a big fan of FTC motors, they do the job on that size robot every year and the hardware for driving them is available. Arduino support is also available on the net.
I seriously doubt that a CIM driven CNC would give you the accuracy needed or do a better job than stepper motors. The brush spacing won't give you the accuracy needed for precision machining.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #8   Spotlight this post!  
Unread 18-08-2013, 10:30
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: Stepper Driver to CIM

Quote:
Originally Posted by Al Skierkiewicz View Post
Eli,
I seriously doubt that a CIM driven CNC would give you the accuracy needed or do a better job than stepper motors. The brush spacing won't give you the accuracy needed for precision machining.
I will see you in 80 days from my trip around the world

Considering that you will gear down the CIMs significantly to achieve the target IPM feeds the brushes are not nearly as significant an issue as they would first appear.

I do not disagree that steppers driving directly into an axis are far more likely to produce the fine control easily that someone would desire for this application.

However even my Mitsubishi HC-KFS43K servo motor with encoders and controller are geared down on my machine.
These are no toy servos.

Especially if the axis in question is a lead screw you immediately gain gear ratio.

Besides I can easily demonstrate my point right now.
Find a really high precision X/Y table in a machine shop and turn the cranks.
Many of them require multiple complete revolutions to travel extremely tiny distances.
You don't even need nearly that level of gearing.

Plus you will be magnifying the trust of the axis by gearing down the CIM.
Put the encoders at the output side of the axis and they will move slower and you can measure where the output is.

Last edited by techhelpbb : 18-08-2013 at 10:46.
  #9   Spotlight this post!  
Unread 18-08-2013, 16:41
magnets's Avatar
magnets magnets is offline
Registered User
no team
 
Join Date: Jun 2013
Rookie Year: 2012
Location: United States
Posts: 748
magnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond repute
Re: Stepper Driver to CIM

If you gear your stepper motors correctly, you can use them for anything, including robot that weigh over 1000 pounds.
  #10   Spotlight this post!  
Unread 18-08-2013, 16:45
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
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: Stepper Driver to CIM

Quote:
Originally Posted by magnets View Post
If you gear your stepper motors correctly, you can use them for anything, including robot that weigh over 1000 pounds.
I guess that depends on your definition of "use them".


  #11   Spotlight this post!  
Unread 18-08-2013, 20:12
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: Stepper Driver to CIM

http://www.cncroutersource.com/stepper-vs-servo.html

Steppers are great for applying lots of force at low expectations of speed.
You can gear a stepper up to get more speed from the resulting output.
This works because the stepper pours torque in while moving slowly.

Other kinds of motors generally need to be geared down.
They produce power and speed in varying characteristics.
Most motors for CNC need to be geared down they move too fast.
Gear a motor down and the output torque increases.

Upside to a DC motor on CNC if you are cutting fast under power you can get there by gearing down.
Upside to a stepper on CNC if you cutting slowly you can move accurately easily and cheaper.

Gantry mills are typical for working over largish working areas.
A 4'x8' sheet of plywood for example.
How long would you like to wait for the stepper to do that job?
If the load is light like a plasma cutter that is one thing.
What if you are pushing around a 1/2+HP router with a big face mill on a deep cut?
A stepper will finish the job and you can even close the stepper loop with a sensor but is your CNC control smart enough to advance a missed step or microstep? Many are not. A detected error will just cause a stop.
On the other hand with a DC motor as noted the resolution of movement is never taken for granted.
A DC motor can take a heck of a beating as FIRST motors do and like FIRST motors they can be operated overloaded.
A DC motor will maintain the torque even as the rate of movement increases.

There is no magic 'right answer' to this.
My point stands: you have CIMS and a way to drive them.
An equivalent servo control and motor would be many hundreds of dollars per axis.
FIRST teams build gearing systems all the time.
Where as more hobby people with no tools, way to fabricate anything or idea how to make or program controls will undoubtedly start with steppers a large percentage of FIRST teams are not faced with those limits.

Last edited by techhelpbb : 18-08-2013 at 20:44.
  #12   Spotlight this post!  
Unread 19-08-2013, 00:57
daniel_dsouza daniel_dsouza is offline
does what needs to be done.
FRC #2449 (Out of Orbit Robotics)
Team Role: Alumni
 
Join Date: May 2011
Rookie Year: 2011
Location: Chandler, AZ
Posts: 231
daniel_dsouza has a spectacular aura aboutdaniel_dsouza has a spectacular aura about
Re: Stepper Driver to CIM

So say that you do decide to use CIMS...

What would your electronics setup look like. Do you have a specific set of encoders in mind? What board will interface between the motors and PC CAM software?

There was someone who used CIM motors to make a 3D printer that printed concrete...That was some time back.

Your posts are like poetry...take it or leave it.
  #13   Spotlight this post!  
Unread 04-06-2013, 14:44
Teamcodeorange's Avatar
Teamcodeorange Teamcodeorange is offline
Registered User
FRC #3476
 
Join Date: Jan 2011
Location: US
Posts: 236
Teamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant futureTeamcodeorange has a brilliant future
Re: Stepper Driver to CIM

Quote:
Originally Posted by eli2410 View Post
The thing is that I want to use CIM motors, but need to program it as a CNC device. I figured that the grbl shield was the best option, but can't figure out how to hook it up. I was thinking of doing it through the talon, but still, I'm unsure how to hook it up to the grbl shield. Any thoughts?
You would be much better off just using a stepper motor in my opinion. CNC machines typically use stepper motors and they aren't that expensive.
__________________
Try Code Orange's electronics tutorials!
---------------------------------------------------------
2015 - Tesla Division Champions
2015 - Inland Empire Engineering Inspiration Award
2015 - San Diego Regional Chairman's Award
2014 - San Diego Regional Chairman's Award
2013 - Newton Division Champions
2012 - San Diego Regional Winners
  #14   Spotlight this post!  
Unread 04-06-2013, 14:47
eli2410's Avatar
eli2410 eli2410 is offline
Alumni/UCF Student
FRC #2410 (Metal Mustangs)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Leawood, KS
Posts: 124
eli2410 is a glorious beacon of lighteli2410 is a glorious beacon of lighteli2410 is a glorious beacon of lighteli2410 is a glorious beacon of lighteli2410 is a glorious beacon of lighteli2410 is a glorious beacon of light
Re: Stepper Driver to CIM

Quote:
Originally Posted by Teamcodeorange View Post
You would be much better off just using a stepper motor in my opinion. CNC machines typically use stepper motors and they aren't that expensive.
Reason why I was avoiding stepper motors was that the design I want to do is less of a CNC machine and more of a Roomba that only does certain paths instead of covering every spot of the area. Want to make it easily programmable, so I figured making it act like CNC machine would make that easier. Steppers, as far as I knew, wouldn't be able to drive something like a robot.
__________________
Co-captain:
2013: Cowtown Throwdown-Winners
2014: Greater KC Regional-Judges Award & Oklahoma Regional-Judges Award and Dean's List Finalist (Lauren Pudvan)
Team Member:
2013: Razorback Regional-Team Spirit & Woody Flowers (Mr. Ritter) & Greater Kansas City Regional- Gracious Professionalism
2012: FIRST Championship in St. Louis, Oklahoma Regional- Team Spirit Award, & Greater Kansas City Regional
2011: Midwest Regional & Greater Kansas City Regional- Innovation in Control
Little Brother (Spectator):
2008: FIRST Championship in Atlanta & Greater Kansas City Regional
  #15   Spotlight this post!  
Unread 04-06-2013, 15:28
Chris is me's Avatar
Chris is me Chris is me is offline
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,630
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: Stepper Driver to CIM

Quote:
Originally Posted by eli2410 View Post
Reason why I was avoiding stepper motors was that the design I want to do is less of a CNC machine and more of a Roomba that only does certain paths instead of covering every spot of the area. Want to make it easily programmable, so I figured making it act like CNC machine would make that easier. Steppers, as far as I knew, wouldn't be able to drive something like a robot.
This is definitely an application for closed loop speed control, and not a stepper motor + stepper motor driver. Stepper motors and drivers allow for open-loop position control when there is no chance of the motor stalling (skipping steps) or slipping. In a Roomba like scenario, the robot is driving on carpet indoors, and could potentially find itself running into solid objects that would either stall the drive motors or spin the robot's wheels in place. With a stepper here you wouldn't be able to maintain reasonably precise positioning in these scenarios.

As others have said, you can't drive a CIM with a stepper motor controller, nor can you recreate the accurate open-loop positioning of a stepper motor with a CIM.

I think the simplest way to accurately do something like this would be to use undriven follower wheels hooked up to encoders for position feedback. Properly done, these will allow for decently precise position information across a variety of different floors, and if your drive wheels slip (e.g. hung up on a small object, driving into a wall) you won't lose any precision since the follower wheels would not be moving.
__________________
Mentor / Drive Coach: 228 (2016-?)
...2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
---
College Mentor: 2791 (2010-2015)
...2015 TVR Motorola Quality, FLR GM Industrial Design
...2014 FLR Motorola Quality / SFs (with 341, 4930)
...2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
...2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 Minnesota 10,000 Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
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:51.

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