CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-15-2008, 06:25 PM
cwiliam's Avatar  
Join Date: Jun 2004
Location: United States
Posts: 32
cwiliam is on a distinguished road
Unhappy has anyone built their own encoder system to work with step motors and mach3

has anyone built their own encoder system to work with step motors and mach3?

Ive looked in the forum but I haven't found any thing

any recommendations or webpage that can give all the details of building one
I will appreciate it



thank you

Last edited by cwiliam; 04-15-2008 at 06:28 PM. Reason: error typed word
Reply With Quote

  #2  
Old 04-15-2008, 06:38 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,455
ger21 is on a distinguished road
Buy me a Beer?

You can wire the encoders directly to a second parallel port or breakout board. Then you'll need to write a plugin or macro to read the encoders and tell mach what to do. However, the only thing you can really do is pause or stop the machine if you detect an error.

There is a commercial product that does this, at www.rogersmachine.net
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #3   Ban this user!
Old 04-15-2008, 06:48 PM
cwiliam's Avatar  
Join Date: Jun 2004
Location: United States
Posts: 32
cwiliam is on a distinguished road

I emailed Rogers twice but haven't gotten a response yet
so I thought with all the creative people in this forum (except for me)
I would be lucky to find something
Reply With Quote

  #4   Ban this user!
Old 04-15-2008, 07:13 PM
 
Join Date: Jul 2005
Location: australia
Posts: 14
opusinwood is on a distinguished road

I have no answer for u but I am also interested in exactly this. maybe if two seek they shall find
Reply With Quote

  #5   Ban this user!
Old 04-15-2008, 08:11 PM
 
Join Date: Jan 2006
Location: USA
Posts: 1,764
keebler303 is on a distinguished road

Why exactly do you want feedback from your steppers? If they are properly sized and not overloaded, they will never miss a step. Seems like wasted effort for the most part.

My $.02

Matt
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-15-2008, 09:56 PM
 
Join Date: Jul 2005
Location: australia
Posts: 14
opusinwood is on a distinguished road

yes nice logic but as they say ... the best laid plans... And I have had issues due to miss judgement and other unforseen. An encoder would be the simplest form of reset / feedback control method.




as far as wasted effort - why do humans do? isnt it all (90%) wasted effort?

I mean really as far as effort goes this diy cnc is not a stroll before lunch anyway.

I think, 'how much effort involved' is part of the search anyway. An encoder doesnt seem too difficult - every ball mouse has two a wheel mouse has another.

Matt
Reply With Quote

  #7   Ban this user!
Old 04-15-2008, 10:35 PM
 
Join Date: Jan 2004
Location: Bellingham, WA
Posts: 104
Monte is on a distinguished road

GeckoDrive is developing such a system. Here is a link to a thread on cnczone describing it

http://www.cnczone.com/forums/showthread.php?t=43359

Sounds like summer/fall ETA maybe?

Monte
Reply With Quote

  #8   Ban this user!
Old 04-15-2008, 10:54 PM
 
Join Date: Oct 2007
Location: USA
Posts: 4
Golden1ce is on a distinguished road

There is a note on the rogersmachine page that says the encoders can also be used as a DRO to manual machine.

G1
Reply With Quote

  #9   Ban this user!
Old 04-16-2008, 10:53 AM
 
Join Date: Jan 2006
Location: USA
Posts: 1,764
keebler303 is on a distinguished road

Originally Posted by opusinwood View Post
yes nice logic but as they say ... the best laid plans... And I have had issues due to miss judgement and other unforseen. An encoder would be the simplest form of reset / feedback control method.

Matt
All I'm saying is an encoder would be a band aid to a poorly designed machine. For the cost of a standard us digital encoder (~$40) you could just buy a bit bigger motor to overcome any overload situation,which is the only time when a stepper motor should miss a step.

The encoders would not provide realtime feedback, not to mach anyway, so that it could send extra steps to correct for the problem. It would not realize the difference until it is too late, and then add then on later, which probably means your part is ruined anyway, so I say why bother. If you're stuck on a closed loop system, get some servos, that will give you the most bang for your buck.


Originally Posted by Monte View Post
GeckoDrive is developing such a system. Here is a link to a thread on cnczone describing it

http://www.cnczone.com/forums/showthread.php?t=43359

Sounds like summer/fall ETA maybe?

Monte

Read the thread, this is not a stepper with an encoder for feedback. Gecko is essentially running a stepper as a brushless servo. With this new drive, there will not be any feedback to mach3 and the motor will not be operated by stepping. The drive will feed a sinusoidal current to the motor so that the motion is continuous. The encoder here is used just as on a servo.

It will be a great drive for sure, but has little relation to this threads topic.


Matt

Last edited by keebler303; 04-16-2008 at 10:54 AM. Reason: spelling
Reply With Quote

  #10   Ban this user!
Old 04-16-2008, 09:10 PM
 
Join Date: Jan 2004
Location: Bellingham, WA
Posts: 104
Monte is on a distinguished road

Originally Posted by keebler303 View Post
sniped

Read the thread, this is not a stepper with an encoder for feedback. Gecko is essentially running a stepper as a brushless servo. With this new drive, there will not be any feedback to mach3 and the motor will not be operated by stepping. The drive will feed a sinusoidal current to the motor so that the motion is continuous. The encoder here is used just as on a servo.

It will be a great drive for sure, but has little relation to this threads topic.


Matt
It is still a stepper motor with an encoder. If you run the new drivers with the G100, the G100 will read the feedback from the encoder and make corrections real time. Sure, Mach doesn't know about it, but the feedback from the encoders is being used for corrections for lost steps and such. It would do what the OP was asking for as far as I can tell. Maybe in a slightly different manner, but the end is the same, real time encoder feedback with stepper motors.

Why doesn't it relate to this thread/topic?

Monte
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 04-17-2008, 07:18 AM
 
Join Date: Jan 2006
Location: USA
Posts: 1,764
keebler303 is on a distinguished road

Monte

It is indeed a stepper motor with encoder, but it is not used as one. The encoder feedback is used directly by the drive itself. The G-100 is not needed at all. The drive makes corrections real time, just like in the G320. The main difference is it is outputting a sinusoidal waveform to the motor instead of an on off step pattern, think of it as a stepper motor with super small microsteps. The encoder is needed because the microstepping performance of stepper motors is not completely linear. Each motor will perform slightly differently so you need the encoder to maintain accuracy.

I said that the "new Gecko" doesn't relate to the thread because:

1) Its not "built your own"
2) Its not "really" a stepper motor anymore, but it does use an encoder.
3) Mach is in no part involved in the performance of the "new Gecko", unless you decide to use mach to send step/dir commands to it. Even with this drive, there is no sort of closed loop back to mach, which is what the OP was originally looking for.

The "new gecko" would prevent "missed steps" but it is not really a stepper motor drive, I guess it is just a matter of semantics. I say its not a stepper drive, more a brushless drive. You say its a stepper drive because its using a stepper motor. Either way, it would provide closed loop performance from a stepper motor, so I agree on that regard. But I think the main purpose of this new drive is to pull more power from a stepper motor, it is just necessary to have an encoder as well. If Mariss' intention was to add an encoder to a stepper, he would have made a "G204V" or something like that. This is a whole new type of control algorithm.

Cheers
Matt

Last edited by keebler303; 04-17-2008 at 08:40 AM. Reason: incorrect labeling
Reply With Quote

  #12  
Old 04-17-2008, 08:10 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,455
ger21 is on a distinguished road
Buy me a Beer?

Isn't the G380 the replacement for the G320? I don't think the stepper / servo drive has a number yet, does it? Or am I wrong?
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How does a 3D printer work? Could one be home built garrick Printing, Scanners, Vinyl cutting and Plotters 26 08-31-2011 09:53 PM
deepgroove1 step dir for mach3 fartsnostink Benchtop Machines 10 11-20-2007 01:14 AM
Help, how to set step per unit in Mach3 ata Syil Products 4 04-18-2007 05:45 PM
Which Ready Built CNC Milling System Would You Buy? antsals Benchtop Machines 0 10-11-2006 06:57 AM
giant scale stepper with built in encoder gcamlibel Stepper Motors and Drives 0 10-28-2004 10:56 AM




All times are GMT -5. The time now is 11:09 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361