Closed-loop stepper controller progress November 06, 2013 12:55PM |
Registered: 11 years ago Posts: 564 |
Re: Closed-loop stepper controller progress November 06, 2013 02:04PM |
Registered: 13 years ago Posts: 485 |
Re: Closed-loop stepper controller progress November 06, 2013 02:16PM |
Registered: 11 years ago Posts: 564 |
Quote
Dale Dunn
Let me get this straight: This is a bolt-on closed loop control upgrade for any Pololu driven machine with steppers that have a shaft out the back? Higher speed and acceleration with position errors continuously corrected? Can the encoder be mounted elsewhere, for steppers that don't have a shaft out the back? I think most people have single-shaft steppers.
Any chance we could print our own housing for the encoder to bring the cost down? Or is the cost not significant?
I do like the idea of closed-loop control upgrade. Especially if it works with my present control electronics. I'd buy into a Kickstarter, for sure.
Re: Closed-loop stepper controller progress November 06, 2013 09:04PM |
Registered: 13 years ago Posts: 1,797 |
Re: Closed-loop stepper controller progress November 06, 2013 10:39PM |
Registered: 11 years ago Posts: 12 |
Re: Closed-loop stepper controller progress November 07, 2013 12:23AM |
Registered: 11 years ago Posts: 564 |
Quote
jamesdanielv
just a heads up. this does not increase acceleration, it allows incremental corrections for reliability. yes you could say it may allow it to run motors faster, but if any error occures during a print the extruded plastic in the area of the error will be a visible and unwanted flaw. you will likely need a pid algorithum to predict and compensate for errors when they are not large enough to be visible by the human eye.
I think this is a next gen technology and probably should be moved to one of those other forums.
Re: Closed-loop stepper controller progress November 07, 2013 01:52AM |
Registered: 11 years ago Posts: 1,381 |
Re: Closed-loop stepper controller progress November 07, 2013 03:57AM |
Registered: 14 years ago Posts: 7,616 |
Quote
jamesdanielv
I think this is a next gen technology
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Closed-loop stepper controller progress November 07, 2013 05:47AM |
Registered: 13 years ago Posts: 1,797 |
Re: Closed-loop stepper controller progress November 07, 2013 07:57AM |
Registered: 12 years ago Posts: 374 |
Re: Closed-loop stepper controller progress November 07, 2013 09:17AM |
Registered: 11 years ago Posts: 1,381 |
Quote
Traumflug
I'll follow you here when the stepper is replaced with a DC motor.
Re: Closed-loop stepper controller progress November 07, 2013 11:40AM |
Registered: 11 years ago Posts: 564 |
Don't get me wrong, I'm not advocating closed-loop control for most 3D printer applications. Open-loop steppers work remarkably well with belt drives. The loads on the motor are pretty repeatable and you can work pretty close the published speed-torque curve (which is best case). If you need higher speeds, it's just cheaper to use a bigger motor and power supply than to add an encoder and closed-loop controller. For extruders, however, where the load is not that well characterized, and where you want to minimize the motor mass, closed-loop control might be worth it for a higher-end printer. The other good application for closed loop control would be printers with screw drives - lead screws are more rigid and transmit more vibration into the motor, and they also need higher speeds.Quote
Traumflug
I'll follow you here when the stepper is replaced with a DC motor.
There are actually a couple of advantages of using a closed-loop stepper over a conventional closed-loop DC servo motor. Steppers are designed for high torque and low-speed, and DC motors for low-torque and high speed. For the same sized motor, a stepper might typically have 4x the torque but run at about 1/4 the speed. This means that steppers can be used direct drive in many applications where a DC motor would need some gear reduction. The second advantage is that because they are made in such high volume, high performance steppers are dirt cheap as compared to a similar performance DC motor.Quote
Traumflug
The entire point of a stepper is to avoid the need for a closed loop. Once you have this closed loop, using a stepper is moot.
Re: Closed-loop stepper controller progress November 07, 2013 11:55AM |
Registered: 12 years ago Posts: 334 |
Re: Closed-loop stepper controller progress November 07, 2013 12:07PM |
Registered: 11 years ago Posts: 564 |
This is well worth considering. The controller board I made is suitable for a wide range of motors, and my initial thinking is that I don't want to stock a bunch of different motors. However, for RepRaps, I probably could pick one popular motor size and offer that pre-assembled (or at least as a kit). There are a couple of drawbacks, though. I'd be doing this as a hobby business. To build a batch of 100 boards would probably cost me $2500 - $3000 which is doable. To also stock 100 motors (say $10 each), encoders ($20) and enclosures (~$7) would be another ($3700) which may be outside what I'm allowed to spend . Also even as a hobby business, I need to make some profit. I'm willing to go with a 40-50% margin, which is paper-thin for a low-volume manufactured product. If I just sell a board + enclosure for ~$50, then it'd cost someone about $85 once they bought their own encoder and motor. If I buy the encoder and motor for them, I'd need to sell for at least $125. Will that be worth it to most people? What I'm hoping instead is that I can recommended specific vendors and specific models of motors to make life easier.Quote
crispy1
But here's a thought for you: Why not include the stepper motors with the encoder as a single package (maybe as one of the support levels)? That way people, such as me, would not need to go hunting for appropriately strong dual shaft motors.
Re: Closed-loop stepper controller progress November 07, 2013 06:03PM |
Registered: 10 years ago Posts: 1 |
Re: Closed-loop stepper controller progress November 07, 2013 06:17PM |
Registered: 13 years ago Posts: 2,947 |
FFF Settings Calculator | Gcode post processors | Geometric Object Deposition Tool Blog |
Tantillus.org | Mini Printable Lathe | How NOT to install a Pololu driver |
Re: Closed-loop stepper controller progress November 07, 2013 06:20PM |
Registered: 13 years ago Posts: 1,236 |
Quote
jzatopa
I think this might be worthwhile. I would like to see a prototype that demonstrates the improvement over an open loop system.
Re: Closed-loop stepper controller progress November 07, 2013 06:27PM |
Registered: 11 years ago Posts: 1,381 |
Quote
LoboCNC
The other good application for closed loop control would be printers with screw drives
Re: Closed-loop stepper controller progress November 07, 2013 08:47PM |
Registered: 11 years ago Posts: 564 |
Re: Closed-loop stepper controller progress November 07, 2013 09:59PM |
Registered: 11 years ago Posts: 6 |
Quote
Traumflug
Quote
jamesdanielv
I think this is a next gen technology
I'll follow you here when the stepper is replaced with a DC motor.
The entire point of a stepper is to avoid the need for a closed loop. Once you have this closed loop, using a stepper is moot.
Re: Closed-loop stepper controller progress November 07, 2013 10:15PM |
Registered: 11 years ago Posts: 564 |
Quote
Mike-Ross
BTW - in reading your instruction sheet you mention cutting the motor shaft if too long. Is there not a way to just let any excess shaft stick out? Cutting the shaft of a motor is asking for trouble and is an unnecessary bit of labor if it can be designed around..
Re: Closed-loop stepper controller progress / pathological paths November 10, 2013 05:26PM |
Registered: 11 years ago Posts: 564 |
Re: Closed-loop stepper controller progress November 10, 2013 07:10PM |
Registered: 11 years ago Posts: 115 |
Re: Closed-loop stepper controller progress November 10, 2013 08:05PM |
Registered: 11 years ago Posts: 564 |
Quote
samp20
On another note A2's comment about putting the encoder on the pivotal arm rather than the motor itself is a good one. Using a photodetector array like this [docs-europe.electrocomponents.com] and a pattern along the length of the axis would allow for compensation of any backlash as well as missed steps. It might be worth starting another topic on the idea.
Re: Closed-loop stepper controller progress November 14, 2013 05:01PM |
Registered: 11 years ago Posts: 1,381 |
Quote
LoboCNC
Closing a servo loop around backlash in a mechanism is actually quite difficult - especially when your axes are constantly changing direction at high speed.
Re: Closed-loop stepper controller progress November 14, 2013 08:23PM |
Registered: 11 years ago Posts: 564 |
Re: Closed-loop stepper controller progress November 15, 2013 01:21AM |
Registered: 11 years ago Posts: 1,381 |
Quote
LoboCNC
...But without any load on the Y axis, it's really easy to have the Y axis motor jitter back & forth across the backlash, creating a lot of vibration.
You need a pretty sophisticated control algorithm and a pretty good dynamic model to handle this type of situation.
Quote
LoboCNC
...the actual accuracy is only spec'ed at 15 arc min, or 0.25 degrees.
Re: Closed-loop stepper controller progress November 15, 2013 07:30PM |
Registered: 11 years ago Posts: 1,381 |
Re: Closed-loop stepper controller progress November 30, 2013 10:36PM |
Registered: 11 years ago Posts: 1,381 |
Re: Closed-loop stepper controller progress December 01, 2013 05:48AM |
Registered: 13 years ago Posts: 1,236 |
Quote
The old plastic extrusion tool (left) next to the New extrusion tool (right). The new extruder takes in a feedstock of 1.75mm ABS plastic filament. The filament is compressed between a stepper motor with a planetary gearbox which drives fine toothed gear and a spring loaded idler wheel. The filament is then forced down through a 0.35mm nozzle heated to 220°C. This new extruder is about a quarter the size of the old extruder and also effectively doubles the resolution of the the machine. (Note: New extruder is shown without nozzle/heater portion attached)