Go to Post I remember going to Houston in 1998 and seeing a bot that could move sideways. Talk about inspiring... - Ken Patton [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, 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
  #2   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
  #3   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,678
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)
  #4   Spotlight this post!  
Unread 04-06-2013, 15:54
mman1506's Avatar
mman1506 mman1506 is offline
Focusing on Combat Robots!
AKA: Marcus Quintilian
no team (WARP7)
Team Role: Alumni
 
Join Date: Mar 2012
Rookie Year: 2012
Location: Toronto
Posts: 800
mman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond repute
Re: Stepper Driver to CIM

The DRV8818 stepper drivers from TI used on the grbl sheild are for stepper motors and are not compatible with brushed motors. Stepper motors are electrically and fuctionaly different from brushed motors (like a CIM). Closed loop speed control with talons and encoders are the way to go.
__________________
2014-2015: FRC 865 Warp7 Team Captain
2016: FRC 865 Mentor

2017: Free Agent Mentor, Inspector
  #5   Spotlight this post!  
Unread 17-08-2013, 12:37
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

This topic confuses me.

Driving a CIM open loop is easy with existing FIRST motor controls.
Get a Talon, Victor or Jaguar and the power electronics are done.
Arduino can easily produce PWM.
Most servo CNC controls use PWM on the low end anyway.
They close the loop with encoders, potentiometers or other sensors in the control system.

Driving a CIM closed loop could be done with a Jaguar alone but that would hybrid part of the control into the Jaguar.

I use steppers to drive non-FIRST robots all the time.
Position in the environment exceeds the sort of sensing most CNC controls do.
That is why CNC machines can be very dangerous.
They do not 'see' hands in the work area.
There is no reason you can not use a stepper to drive a robot at all.

I know this post is 60 days old but I just came across it.
I am more confused why you would want to drive a robot around on G-code or M-code.
I doubt Mach 3 or BobCAD support a driving milling machine
Then again a router on wheels has been done an I doubt the software would know either.

I have considered using a FIRST size robot to haul around loads but at low speed and not under CNC control.
Bolt the milling machine to the robot frame?
That is a strange way to look at a portable machine tool.

Kidding:
Hey the driving milling machine needs some flood coolant.
Drive it through the locker room showers!
No...no...stop milling Lexan in the hall way now you need to tow a vacuum.

Not kidding:
I want to build a FIRST motor based CNC system.
I may even try to use the Talon or Victor for that purpose.

It only makes good sense when you think about it:

Every year we accumulate more CIMs and motor controls (drivers in CNC parlance).
We have the ever growing pile of parts.
A CIM is a 100+A 12V motor. That's plenty big enough to drive a CNC axis.
You need to control the speed of the CIM which we do all the time.
You need feedback and that's a concept we basically teach all the time.
All the community needs are viable plans and a working example.
It's not like we couldn't use a CNC machine in the competition!
So why not part the never ending pile as an act of technology recycling?

We could use but don't need fancy linear bearings.
You can use a piece of black pipe or even 80/20 extrusion as the linear system.
Just use skateboard bearings or whatever you can find.
You can gear down the axis with the cogged belts which is common for servo systems anyway.
You could probably use AndyMark gear boxes but the backlash would increase.
You don't need fancy ACME or roller ball screws, you can pull with belts or rack and pinion.

If you sit and think about this for a while you'll realize that you are sitting on a mountain of CNC parts.
Every year you participate you could be building a robot to make building more robots easier.

Parts required to make this work:
1. A computer to act as the control system.
3D printers can use G-code and M-code but I doubt the Arduino CNC controller has the power to drive a larger CNC.
There are plenty of PC based CNC control systems: EMC2 (Linux), Mach3 (Windows), KCAM (Older Windows), TurboCNC (DOS).
2. A suitable interface between the computer controller and the FIRST motor controls.
This for the most part already exists off the shelf.
I suspect the FIRST control system could be rigged to do this if you did not want to buy or build this.
3. Plates to put the CIMs on the machine with the necessary gearing to drive an axis at acceptable velocity and thrust.
This is perhaps the part most likely to require machine tools already to make.
4. A machine design for a gantry router.
I already have a pile of my own and other people's designs for this purpose.

Last edited by techhelpbb : 17-08-2013 at 15:15.
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 05:20.

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