<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>3-axis closed loop motion control</title>
        <description>Greetings! I&#039;m a long-time hacker who hasn&#039;t had much time for anything except scavenging parts until recently. Now that I&#039;ve got a 3d printer, a lot of projects seem much more in reach, and I wish to contribute to the world of OSHW 3d printers. The thing about scavenging for parts is, you inevitably take apart a lot of 2d printers, and as such you end up realizing that newer printers don&#039;t use steppers anymore, with obvious cost benefits. It&#039;s clear that 2d printing quality has increased, while cost to manufacture has decreased. I suspect stepper motors are about as cheap as they can get atm, so the next breakthrough in reducing printer cost is going to be DC motors.

What&#039;s I&#039;d like to do then, is to develop fully closed-loop DC motor control in 3 axis, WITHOUT pretending to be a stepper. Projects just as https://hackaday.io/project/15025-tarocco exist, but they don&#039;t go all the way:

[list=1]
[*] they are emulating steppers, with STEP and DIR signals. this is nice in that you don&#039;t have to re-write firmware, but it doesn&#039;t take full advantage of a DC motor&#039;s continuous feed rate, as opposed to a stepper&#039;s steps
[*] they generally rely on on-shaft quadrature control, which is nice if you have a 0-backlash ballscrew, but not so helpful in controlling position if you&#039;ve got a $2 piece of threaded rod that&#039;s bent in a few places
[/list]

The benefits of closed-loop control should be pretty obvious: 
[list=1]
[*] cheap DC motors instead of steppers, for a given torque
[*] no skipped steps ruining prints
[*] smoother motion profiles, as DC motors are ramped up &amp; down
[/list]

Downsides are:
[list=1]
[*] more expensive electronics (faster uC&#039;s, mainly, and these are getting cheaper every day)
[*] additional parts (encoder, strip)
[*] more complex firmware
[/list]

My purpose in posting here is twofold:

First, I want to know if anyone knows of similar project. NIH is not a problem for me, if there&#039;s another OSHW project out there doing this, I&#039;d love to contribute to its development. There are at least two closed-source implementations I&#039;ve come across, and one of them I *believe* is using on-shaft encoders, not linear ones, it&#039;s possible both are.

Second, does anyone know where I can get optical encoding strips for cheap? I could get them by just gutting a few identical printers would get me enough strips to be going on with, but that&#039;s hardly an ideal, from a manufacturing standpoint.</description>
        <link>https://reprap.org/forum/read.php?1,738012,738012#msg-738012</link>
        <lastBuildDate>Fri, 14 Aug 2026 00:00:00 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,794146#msg-794146</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,794146#msg-794146</link>
            <description><![CDATA[ For encoder strip. <br />
<br />
I think GT2 is ok and we can use the motor attached encoder with 1024 ppr just fine.<br />
<br />
But if you want to go crazier,<br />
<br />
Looking on Optical strip, there are cheap and they are used in large format  inkjet printer or you can go to the stencil/printing/plating mask film company they can go down to 10um resolution(industrial standard).<br />
But if you want to use magnetic strip, it might be a good choice you can find magnetic strip and reader ic from many vendors. <br />
<br />
However if you want to go to sub micron, you can try laser interference as well, think about using a laser time of flight sensor and let them bouncing a thousand time across two parallel mirror. you can readout the distance in many  km and divide into sub micron accuracy due to the nature of time of flight reading which the error is the constant latency delay.<br />
<br />
Or you can use multi different encoder strip pitch with different prime number. the you can calculate the resolution up to a million factor sue to there just a few prime numbers construct in to a million.]]></description>
            <dc:creator>bnarit</dc:creator>
            <category>General</category>
            <pubDate>Sat, 28 Oct 2017 17:05:27 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,794144#msg-794144</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,794144#msg-794144</link>
            <description><![CDATA[ I have experienced from close loop DC Motor from PIC16F / MCS2051 era. I have built several DC Close loop motor driver using uC, FPGA even Labview.<br />
<br />
I have built several 3d printer too, i'm currently working on my 18th revision and currently my 30th printer.<br />
<br />
What I have try in these few years. The theoretical of Stepper and DC motor might conclude the superior of DC motor (not mention Direct Drive Brushless Linear Actuator). For some example such as in the industrial 3d printer they use Close loop DC motor.<br />
<br />
But Why dose a close loop dc failed in hobby grade. Well, there is/are 3d printer project(s) many years ago that promises the advantages of DC Brushed Close loop motor by reference from the commercial inkjet printer.<br />
<br />
The problem of dc brush/brushless motor you have to archive is...<br />
<br />
1. DC torque vs Stepper Holding torque. Imagine one axis is hold and the other is moving, and there is some coupling force. Without breaking system, the vibration will effect the holding motor due to low holding force of dc (unless you will need to use a dc with bigger size and a good winding inside which we prefer Maxon,Faulhaber,any Coreless for ex) and If ther is no error there wont be any force. If you crack down PID algorithm, there must be some error or movement for encoder to sense and feed into the PID gain to energize power to motor.<br />
2. Synchronization, the success in large scale CNC or Robot that use dc close loop is they calculate their kinematic of multiple axis together. They use a vector drive scheme which is the technique to sync the error of each motor in realtime.<br />
What I'm talking about is in every system there will be error. In stepper motor control the error we are talking is not the step missing but the deviation from the desired position in microstepping (which is the major cause of Salmon skin effect).<br />
In PID there must be Overshoot, Lagging and steady-state error which is need to compensate. If one axis has error more than other axis that means the current of the current state is not on the planned trajectory which a new heading vector (or angle) must be recalculate in each iteration.<br />
3. In the end, then normally we feed the velocity control loop with the step/ direction signal to make sure that the feedrate is constant. you can implement in PID loop but the equation is the same.<br />
<br />
Normally in motor control, we gonna use layers of control-loop , stacked on each other.<br />
For ex. Trajectory(Step/Dir) -&gt;Position Control(PID with position feedback from encoder -&gt; Velocity (PID with calculated speed from encoder(Poor) + Back EMF Voltage from motor(need kalman filtration !!sophisticate!! )) -&gt; Acceleration (aka Electric Current loop) sense from resistor or hall device.]]></description>
            <dc:creator>bnarit</dc:creator>
            <category>General</category>
            <pubDate>Sat, 28 Oct 2017 16:51:15 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,788798#msg-788798</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,788798#msg-788798</link>
            <description><![CDATA[ I wonder how these guys did it? it's impressive <br />
[<a href="http://www.panowin.com/upload/video/f3cl_small.mp4" target="_blank"  rel="nofollow">www.panowin.com</a>]<br />
<br />
or its first vid on this page<br />
[<a href="http://www.panowin.com/en/product/index.html" target="_blank"  rel="nofollow">www.panowin.com</a>]]]></description>
            <dc:creator>MechaBits</dc:creator>
            <category>General</category>
            <pubDate>Tue, 19 Sep 2017 03:23:22 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,788757#msg-788757</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,788757#msg-788757</link>
            <description><![CDATA[ You can use $8 digital calipers as linear encoders.  Most models have serial ports accessible via the battery compartment, although you might want to directly tap the quadrature signals for faster updates.<br />
<br />
I highly doubt that stepper motors are limiting print quality in hobby FDM.  Stepper motors are by far the best performing option for their cost, which is why they are used everywhere.]]></description>
            <dc:creator>691175002</dc:creator>
            <category>General</category>
            <pubDate>Mon, 18 Sep 2017 15:47:10 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,788540#msg-788540</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,788540#msg-788540</link>
            <description><![CDATA[ Anyone considered using GT2 belts as encoders? An array of IR sensors could help with the resolution, and the belt directly driving the axis might reduce backlash?]]></description>
            <dc:creator>bearer</dc:creator>
            <category>General</category>
            <pubDate>Sat, 16 Sep 2017 18:13:24 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,746471#msg-746471</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,746471#msg-746471</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />I got MPU 6050 IMU hooked up<br />
 what should I measure?</div></blockquote>
<br />
Awesome coincidence... I should read more subforums.<br />
<br />
Is it raw IMU-data you're getting now?<br />
I'm no expert in vector algebra, but the Skrogh-guy seems to be.<br />
All I know is, you have to calculate acceleration vector over time to get a movement as result. My tech/math English vocabulary is to limited to explain.]]></description>
            <dc:creator>o_lampe</dc:creator>
            <category>General</category>
            <pubDate>Wed, 08 Feb 2017 02:04:17 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,746399#msg-746399</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,746399#msg-746399</link>
            <description><![CDATA[ See<br />
<br />
[<a href="http://forums.reprap.org/read.php?397,659980,744149#msg-744149" target="_blank"  rel="nofollow">forums.reprap.org</a>]<br />
<br />
[<a href="http://forums.reprap.org/read.php?397,659980,744821#msg-744821" target="_blank"  rel="nofollow">forums.reprap.org</a>]<br />
<br />
I got MPU 6050 IMU hooked up<br />
what should I measure?<br />
<br />
MPU6050  <i>6-axis MotionTracking device that combines a 3-axis<br />
gyroscope, 3-axis accelerometer, and a Digital Motion Processor™ (DMP) all in a small 4x4x0.9mm<br />
package. </i><br />
<br />
:S]]></description>
            <dc:creator>cozmicray</dc:creator>
            <category>General</category>
            <pubDate>Tue, 07 Feb 2017 18:25:55 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,746286#msg-746286</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,746286#msg-746286</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>o_lampe</strong><br />
I've built a <a href="https://www.youtube.com/watch?v=-xZVq8_0aRE" target="_blank"  rel="nofollow">self balancing robot</a> with such a sensor and it regulates so fast, you don't see or hear it.</div></blockquote>
<br />
I must put that on the todo list. Self-balancers have always seemed amazingly cool.]]></description>
            <dc:creator>JamesK</dc:creator>
            <category>General</category>
            <pubDate>Tue, 07 Feb 2017 13:34:52 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,746284#msg-746284</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,746284#msg-746284</link>
            <description><![CDATA[ That's right, but hardware &amp; software lowpass filtering and sensor fusion algorithms can improve the output. I've built a <a href="https://www.youtube.com/watch?v=-xZVq8_0aRE" target="_blank"  rel="nofollow">self balancing robot</a> with such a sensor and it regulates so fast, you don't see or hear it.]]></description>
            <dc:creator>o_lampe</dc:creator>
            <category>General</category>
            <pubDate>Tue, 07 Feb 2017 13:32:29 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,746139#msg-746139</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,746139#msg-746139</link>
            <description><![CDATA[ That's a very interesting idea. I don't know much about the gyro/accelerometer specs, wouldn't they be quite noisy at the resolutions we're talking about?]]></description>
            <dc:creator>AleksClark</dc:creator>
            <category>General</category>
            <pubDate>Tue, 07 Feb 2017 06:05:43 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,746111#msg-746111</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,746111#msg-746111</link>
            <description><![CDATA[ It's been a while and I wanted to ping the discussion with a new idea:<br />
<br />
Multicopters are stabilized by a 6DOF gyro/accel sensor MPU6050. They are very sensitive, but tend to drift.<br />
With a coarse encoder strip or wheel and the MPU data to navigate "between" the encoder signals, we would have a stable feedback loop.<br />
<br />
There is plenty of code for arduinos about sensor fusion with MPU6050 and other ( magnetic ) sensors, so we wouldn't have to invent the wheel.]]></description>
            <dc:creator>o_lampe</dc:creator>
            <category>General</category>
            <pubDate>Tue, 07 Feb 2017 03:52:31 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,739219#msg-739219</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,739219#msg-739219</link>
            <description><![CDATA[ The mouse sensor sounded like a good idea to me for use as a linear encoder, but for a shaft encoder I'd prefer to use something more conventional.]]></description>
            <dc:creator>dc42</dc:creator>
            <category>General</category>
            <pubDate>Mon, 16 Jan 2017 03:18:30 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,739057#msg-739057</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,739057#msg-739057</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>dc42</strong><br />
If we can come up with a good combination of BLDC motor and control IC, I'm up for implementing the necessary support in RepRapFirmware.</div></blockquote>
<br />
Sounds like a plan!<br />
<br />
I suggest we could start with a hall sensor pcb that fits a wide variety of BL outrunners. I would also volunteer to rewind them to a lower kV if necessary. ( That's what I did at Plettenberg-Motoren , com all day long )<br />
<br />
Maybe we can use a mouse sensor aimed to the can of the outrunner as "shaft" encoder?]]></description>
            <dc:creator>o_lampe</dc:creator>
            <category>General</category>
            <pubDate>Sun, 15 Jan 2017 13:29:44 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,738960#msg-738960</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,738960#msg-738960</link>
            <description><![CDATA[ I wouldn't pass gcode to the motor control processors. Instead I would pass move parameters similar to the ones we use internally in RepRapFirmware. These define Cartesian motion, extruder motion with optional pressure advance, or delta motion - all with acceleration, steady speed and deceleration phases. Then the ARM processor can work out the required motion. In fact it would be easier than in RepRapFirmware because we can work in time increments instead of movement increments - which makes the calculations much simpler.<br />
<br />
If we can come up with a good combination of BLDC motor and control IC, I'm up for implementing the necessary support in RepRapFirmware.]]></description>
            <dc:creator>dc42</dc:creator>
            <category>General</category>
            <pubDate>Sun, 15 Jan 2017 08:38:37 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,738956#msg-738956</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,738956#msg-738956</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>dc42</strong><br />
IMO it definitely makes sense to do the motor control and sensor processing in a separate processor. You can get an ARM processor for about £0.50 now - less than the cost of an attiny - so there is no reason not to use one per motor.</div></blockquote>
<br />
They are definitely cheap these days. If two encoders were used (shaft and axis), there's a much larger chance it would make sense. I really don't want to just emulate steppers though, so figuring out what communication needs to happen is going to be tricky. At the very least I think each axis is going to need to know what the 'next move' is to properly plan the acceleration curves, which will be easier to do if it's a subroutine in a single processor that's receiving the GCode (do I even WANT to use gcode, is another question. Standards are awesome and everything speaks it but I've read people complaining about its limitations)]]></description>
            <dc:creator>AleksClark</dc:creator>
            <category>General</category>
            <pubDate>Sun, 15 Jan 2017 08:24:49 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,738888#msg-738888</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,738888#msg-738888</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>o_lampe</strong><br />
the L6234D chip is a 3phase H-bridge, able to control one BLDC motor or three DC motors</div></blockquote>
<br />
8-)<br />
<br />
Sorry about that statement. <br />
I had the L298 Driver in mind, which can drive one stepper or two dc motors and extrapolated from there...(td)]]></description>
            <dc:creator>o_lampe</dc:creator>
            <category>General</category>
            <pubDate>Sun, 15 Jan 2017 03:04:34 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,738832#msg-738832</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,738832#msg-738832</link>
            <description><![CDATA[ IMO it definitely makes sense to do the motor control and sensor processing in a separate processor. You can get an ARM processor for about £0.50 now - less than the cost of an attiny - so there is no reason not to use one per motor.]]></description>
            <dc:creator>dc42</dc:creator>
            <category>General</category>
            <pubDate>Sat, 14 Jan 2017 17:46:08 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,738824#msg-738824</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,738824#msg-738824</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>o_lampe</strong><br />
I've spent a few minutes over at hackaday and there are several ( robotic- ) projects using optical mouse sensors. They mostly failed, due to top speed of the robot or dirt/ distance to surface issues. All of that can be ignored in our application, but the max. speed might still be an issue.<br />
<br />
The reliability of the encoder signal can be greatly improved by sensor fusion, but for 3 axis and ( several ) extruders, it takes a lot of CPU time to maintain all those sensors. Maybe an independent controller for each motor which only reports errors to the main CPU is the better way.</div></blockquote>
<br />
The idea of only adding a mouse sensor is pretty seductive, but I agree the cpu overhead is likely prohibitive. To keep costs inline with current controller boards I'd like to do it in a single MCU, some flavor of ARM most likely.]]></description>
            <dc:creator>AleksClark</dc:creator>
            <category>General</category>
            <pubDate>Sat, 14 Jan 2017 17:23:25 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,738754#msg-738754</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,738754#msg-738754</link>
            <description><![CDATA[ I've spent a few minutes over at hackaday and there are several ( robotic- ) projects using optical mouse sensors. They mostly failed, due to top speed of the robot or dirt/ distance to surface issues. All of that can be ignored in our application, but the max. speed might still be an issue.<br />
<br />
The reliability of the encoder signal can be greatly improved by sensor fusion, but for 3 axis and ( several ) extruders, it takes a lot of CPU time to maintain all those sensors. Maybe an independent controller for each motor which only reports errors to the main CPU is the better way.]]></description>
            <dc:creator>o_lampe</dc:creator>
            <category>General</category>
            <pubDate>Sat, 14 Jan 2017 13:53:41 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,738737#msg-738737</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,738737#msg-738737</link>
            <description><![CDATA[ The RC-brushless ESCs are usually programmed in assembler and IMHO it'll be hard to hack them to communicate to the main-cpu or do the closed loop PID control by themselves.<br />
<br />
I've used hall-sensors to "upgrade" sensorless BLDC motors. Maybe with the right hall sensors it is possible to implement some kind of encoder.<br />
If not, it is a way to reverse direction in a safe and reliable way.<br />
<br />
Three sensors with bipolar output x 14 magnets.<br />
It's beyond my knowledge, how many differential signals per rev this would actually make. But what's good enough for camera gimbals should also work for closed loop printers. Especially when we combine it with the external optical mouse sensor/encoder.]]></description>
            <dc:creator>o_lampe</dc:creator>
            <category>General</category>
            <pubDate>Sat, 14 Jan 2017 12:42:13 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,738700#msg-738700</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,738700#msg-738700</link>
            <description><![CDATA[ No need to reinvent the wheel, modern brushless controllers are amazingly small and powerful.<br />
<br />
I have about a dozen of these on various craft:<br />
[<a href="http://www.banggood.com/DYS-SN20A-Mini-20A-SimonK-ESC-OPTO-2-4S-20-500Hz-for-Multicopters-p-974637.html" target="_blank"  rel="nofollow">www.banggood.com</a>]<br />
<br />
The firmware is open source as well:<br />
[<a href="https://github.com/bitdump/BLHeli" target="_blank"  rel="nofollow">github.com</a>]<br />
<br />
Cheaper options exist if you want to buy multiple ESCs on the one board: <br />
[<a href="http://www.readytoflyquads.com/rtf-mini-4-in-1-12-amp-35x35" target="_blank"  rel="nofollow">www.readytoflyquads.com</a>]<br />
<br />
<br />
The main issue with these controllers is that they don't handle low speeds all that well.  Reversing is getting better with the newer software, some people (including me) have dabbled in quadcopters that can hover upside down, which requires the motors to reverse direction quickly.  This is directly applicable to our situation.<br />
<br />
I get the feeling that the brushless solution would take a lot of effort to get to be as precise as a simple stepper motor, however.]]></description>
            <dc:creator>nebbian</dc:creator>
            <category>General</category>
            <pubDate>Sat, 14 Jan 2017 09:09:35 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,738689#msg-738689</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,738689#msg-738689</link>
            <description><![CDATA[ Sorry bob, yes I meant sufficient for one BLDC, not three DC motors.]]></description>
            <dc:creator>dc42</dc:creator>
            <category>General</category>
            <pubDate>Sat, 14 Jan 2017 08:08:17 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,738668#msg-738668</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,738668#msg-738668</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>dc42</strong><br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>bobc</strong><br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>o_lampe</strong><br />
I agree with David, brushes can wear out, but a DC motor is so much easier to control.<br />
E. g. the L6234D chip is a 3phase H-bridge, able to control one BLDC motor or <b>three</b> DC motors. It would be a good starting point for a new generation of controllers.</div></blockquote>
<br />
That's a triple half bridge, I think for bi-directional control you need a full bridge. There seem to be a lot of driver chips for small motors though, as noted cars are now full of them!</div></blockquote>
<br />
A triple half bridge is sufficient. See [<a href="http://www.digikey.co.uk/en/articles/techzone/2013/mar/an-introduction-to-brushless-dc-motor-control" target="_blank"  rel="nofollow">www.digikey.co.uk</a>].</div></blockquote>
<br />
Derp. For brushless DC yes, not <b>three</b> DC motors. See [<a href="https://en.wikipedia.org/wiki/H_bridge" target="_blank"  rel="nofollow">en.wikipedia.org</a>]]]></description>
            <dc:creator>bobc</dc:creator>
            <category>General</category>
            <pubDate>Sat, 14 Jan 2017 07:16:25 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,738660#msg-738660</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,738660#msg-738660</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>bobc</strong><br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>o_lampe</strong><br />
I agree with David, brushes can wear out, but a DC motor is so much easier to control.<br />
E. g. the L6234D chip is a 3phase H-bridge, able to control one BLDC motor or <b>three</b> DC motors. It would be a good starting point for a new generation of controllers.</div></blockquote>
<br />
That's a triple half bridge, I think for bi-directional control you need a full bridge. There seem to be a lot of driver chips for small motors though, as noted cars are now full of them!</div></blockquote>
<br />
A triple half bridge is sufficient. See [<a href="http://www.digikey.co.uk/en/articles/techzone/2013/mar/an-introduction-to-brushless-dc-motor-control" target="_blank"  rel="nofollow">www.digikey.co.uk</a>].]]></description>
            <dc:creator>dc42</dc:creator>
            <category>General</category>
            <pubDate>Sat, 14 Jan 2017 06:52:34 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,738648#msg-738648</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,738648#msg-738648</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>o_lampe</strong><br />
I agree with David, brushes can wear out, but a DC motor is so much easier to control.<br />
E. g. the L6234D chip is a 3phase H-bridge, able to control one BLDC motor or <b>three</b> DC motors. It would be a good starting point for a new generation of controllers.</div></blockquote>
<br />
That's a triple half bridge, I think for bi-directional control you need a full bridge. There seem to be a lot of driver chips for small motors though, as noted cars are now full of them!]]></description>
            <dc:creator>bobc</dc:creator>
            <category>General</category>
            <pubDate>Sat, 14 Jan 2017 06:10:31 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,738611#msg-738611</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,738611#msg-738611</link>
            <description><![CDATA[ I agree with David, brushes can wear out, but a DC motor is so much easier to control.<br />
E. g. the L6234D chip is a 3phase H-bridge, able to control one BLDC motor or <b>three</b> DC motors. It would be a good starting point for a new generation of controllers.]]></description>
            <dc:creator>o_lampe</dc:creator>
            <category>General</category>
            <pubDate>Sat, 14 Jan 2017 03:58:38 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,738607#msg-738607</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,738607#msg-738607</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>o_lampe</strong><br />
I was wondering, if we could use optical mouse sensors as encoders?<br />
<br />
They work on almost any surface and have a pretty good resolution. I could imagine, they are cheap too.<br />
Just put such a sensor on your linear rail and let the 2020 profile be your encoder strip. B)-</div></blockquote>
<br />
That sounds like an excellent idea to me.<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>o_lampe</strong><br />
Regarding suitable dc motors, we could look into car industry. There are tons of 12V motors in a luxury car. (eg. electric driver seat adjustment ) <br />
Might be, we find a suitable, mass produced geared and encoder-fitted motor for cheap.</div></blockquote>
<br />
My concern would be that most of those motors don't get a lot of use, so brush wear wouldn't be an issue in a car but would be in in a 3D printer.]]></description>
            <dc:creator>dc42</dc:creator>
            <category>General</category>
            <pubDate>Sat, 14 Jan 2017 03:42:29 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,738599#msg-738599</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,738599#msg-738599</link>
            <description><![CDATA[ I was wondering, if we could use optical mouse sensors as encoders?<br />
<br />
They work on almost any surface and have a pretty good resolution. I could imagine, they are cheap too.<br />
Just put such a sensor on your linear rail and let the 2020 profile be your encoder strip. B)-<br />
<br />
Regarding suitable dc motors, we could look into car industry. There are tons of 12V motors in a luxury car. (eg. electric driver seat adjustment ) <br />
Might be, we find a suitable, mass produced geared and encoder-fitted motor for cheap.]]></description>
            <dc:creator>o_lampe</dc:creator>
            <category>General</category>
            <pubDate>Sat, 14 Jan 2017 03:28:51 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,738485#msg-738485</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,738485#msg-738485</link>
            <description><![CDATA[ There are a lot of theoretical concerns, I think it would be interesting to review what has been achieved already : [<a href="https://www.youtube.com/watch?v=L-_5KsAOVko" target="_blank"  rel="nofollow">www.youtube.com</a>] I think that is by misan? That demonstration seems to get quite far - it actually prints. <br />
<br />
I would try to reproduce what he did, but I can't find a source for the motors he used. I think he has an additional Arduino mini driving each axis, so I would try to incorporate that function into a printer firmware. He has added the DC motors with minimal modification of the Prusa, adding an encoder strip would need more work.<br />
<br />
I think firmware designed for shaft encoder would be easily transferable to an encoder strip, I think a single firmware should be able to support both with suitable parameters. I guess that handling 4 axis closed loop could be done with AVR arduino but would reduce top speed achievable, ARM would give more headroom.]]></description>
            <dc:creator>bobc</dc:creator>
            <category>General</category>
            <pubDate>Fri, 13 Jan 2017 12:47:20 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,738012,738482#msg-738482</guid>
            <title>Re: 3-axis closed loop motion control</title>
            <link>https://reprap.org/forum/read.php?1,738012,738482#msg-738482</link>
            <description><![CDATA[ Thanks for the input - I do have some of those $3 wheel + encoder things on the way from china, with 100 LPR, should be at least a start. That said, part of my goal in writing new motion control software is to at least somewhat smooth out the rapid reversals.]]></description>
            <dc:creator>AleksClark</dc:creator>
            <category>General</category>
            <pubDate>Fri, 13 Jan 2017 12:41:14 -0500</pubDate>
        </item>
    </channel>
</rss>
