Re: Pololu geared DC motor 30g prototype extruder June 21, 2016 09:49AM |
Registered: 8 years ago Posts: 181 |
Re: Pololu geared DC motor 30g prototype extruder June 21, 2016 04:31PM |
Registered: 9 years ago Posts: 93 |
Re: Pololu geared DC motor 30g prototype extruder June 21, 2016 05:00PM |
Registered: 10 years ago Posts: 14,682 |
Quote
nebbian
Hopefully the carbon brushes last longer than the normal brushes. It would be fantastic to get a 30 gram complete extruder package working, and to be reliable.
Re: Pololu geared DC motor 30g prototype extruder June 21, 2016 07:50PM |
Registered: 9 years ago Posts: 916 |
Quote
dc42
Quote
nebbian
Hopefully the carbon brushes last longer than the normal brushes. It would be fantastic to get a 30 gram complete extruder package working, and to be reliable.
I hate to disappoint you, but 'normal' brushes are carbon.
Re: Pololu geared DC motor 30g prototype extruder June 22, 2016 02:24AM |
Registered: 10 years ago Posts: 14,682 |
Re: Pololu geared DC motor 30g prototype extruder June 22, 2016 02:49AM |
Registered: 9 years ago Posts: 916 |
Quote
dc42
I didn't know that, what are the brushes of other micro sized motors made from then? Are the brushes in these motors easily replaced?
Quote
these small brushed DC gearmotors are available [...] with five different motors: high-power 6 V and 12 V motors with long-life carbon brushes ( HPCB ), and high-power (HP), medium power (MP), and low power (LP) 6 V motors with shorter-life precious metal brushes.
Re: Pololu geared DC motor 30g prototype extruder June 22, 2016 03:47AM |
Registered: 8 years ago Posts: 181 |
Re: Pololu geared DC motor 30g prototype extruder June 22, 2016 05:57AM |
Registered: 9 years ago Posts: 93 |
Quote
dc42
I am watching this thread with interest, because if it is successful then I'll look at designing a servo-controlled motor driver expansion board for the Duet WiFi. But I think it has to be for BLDC motors.
Re: Pololu geared DC motor 30g prototype extruder June 22, 2016 07:24AM |
Registered: 10 years ago Posts: 14,682 |
Quote
roboprint
Quote
dc42
I am watching this thread with interest, because if it is successful then I'll look at designing a servo-controlled motor driver expansion board for the Duet WiFi. But I think it has to be for BLDC motors.
But with just STEP/DIR interface for BLDC drivers or you have plans to implement firmware-side control of driver's feedback? For example to slow down (or stop) other axes then one of axes is experiencing temporary troubles in movement, for synchronized axis movement, to stop (or pause) print if something goes wrong and so on?
Re: Pololu geared DC motor 30g prototype extruder June 22, 2016 07:40AM |
Registered: 13 years ago Posts: 268 |
Back emf is only going to be effective after a certain speed threshold. The three Hall effect sensors frequently found in bldc really aren't suitable for position control either.Quote
dc42
Quote
roboprint
Quote
dc42
I am watching this thread with interest, because if it is successful then I'll look at designing a servo-controlled motor driver expansion board for the Duet WiFi. But I think it has to be for BLDC motors.
But with just STEP/DIR interface for BLDC drivers or you have plans to implement firmware-side control of driver's feedback? For example to slow down (or stop) other axes then one of axes is experiencing temporary troubles in movement, for synchronized axis movement, to stop (or pause) print if something goes wrong and so on?
I was thinking of putting all the motor control hardware on the expansion board, including the ESC if it made sense to do so. BLDCs provide feedback about the motor position to the ESC already, either using Hall effect devices or just from the back emf of the motor windings. So it should not be necessary to use a separate encoder.
Re: Pololu geared DC motor 30g prototype extruder June 22, 2016 08:40AM |
Registered: 10 years ago Posts: 14,682 |
Quote
Koko76
Back emf is only going to be effective after a certain speed threshold. The three Hall effect sensors frequently found in bldc really aren't suitable for position control either.
Re: Pololu geared DC motor 30g prototype extruder June 22, 2016 09:02AM |
Registered: 8 years ago Posts: 181 |
Re: Pololu geared DC motor 30g prototype extruder June 22, 2016 10:47AM |
Registered: 9 years ago Posts: 93 |
Quote
dc42
I was thinking of putting all the motor control hardware on the expansion board, including the ESC if it made sense to do so. BLDCs provide feedback about the motor position to the ESC already, either using Hall effect devices or just from the back emf of the motor windings. So it should not be necessary to use a separate encoder.
Re: Pololu geared DC motor 30g prototype extruder June 22, 2016 11:08AM |
Registered: 13 years ago Posts: 972 |
Re: Pololu geared DC motor 30g prototype extruder June 22, 2016 12:56PM |
Registered: 10 years ago Posts: 14,682 |
Quote
rklauco
I'd also bet on the hall sensors - if you have 3 of them, you can calculate at minimum 6 positions.
With gearbox 1:100 you actually have 600 positions per revolution - 0.6 degrees.
Sounds reasonable.
My only problem is that the hall sensors would have to be read by something like analogRead, which can only work on 15kHz as far as I remember from Arduino. Combine it with 3 inputs, you are at 5kHz. And, you have a delay between the readouts.
So, I would rather go with some ADC to i2c converter that can measure 3 inputs at once and deliver the results sequentially to limit the 2nd problem. But the 1st one is still a question - even 100kHz i2c will not deliver more then ~10kHz real life sampling frequency. And, for high speed BLDC, this won't be enough.
I am still looking for those lowRPM BLCDs that someone here mentioned there is plenty of. I can't find anything with reasonable price:performance:weight ratio.
Re: Pololu geared DC motor 30g prototype extruder June 25, 2016 01:31AM |
Registered: 8 years ago Posts: 78 |
Quote
nebbian
I'm not sure what the precious metal is, but I do know that in all the micro motors that I've disassembled (dozens), none of them had carbon brushes. They all had brushes that looked metallic to me.
Also, from experience, putting them back together and having them work properly is almost impossible. You need to poke two small shafts through two holes in different directions to retract the brushes, while you simultaneously insert the motor shaft. Pushing too hard on those shafts bends the brush holder too far and it won't spring back to the commutator. Remember that the brushes often have small filaments to do the actual contacting of the commutator, so part of at least one brush often gets poked into the wrong spot as you try to put the whole thing back together.
Maybe someone with better coordination, better tools, and better eyesight could manage it reliably. I could usually get the 15.5D motors back together, but the 10D and smaller motors... no chance.
Re: Pololu geared DC motor 30g prototype extruder June 25, 2016 11:19AM |
Registered: 9 years ago Posts: 916 |
Quote
ipcalit
I managed to take apart and put the N20 and similar together with the aid of thin wire or a long hair strand. Just make a loop around each brush, pull the brush away from the center and tape wire/hair onto the back of the motor. With both brushes away from the shaft hole, insert the shaft with commutator in place and close the motor as usual, but leave 0.5mm gap between the back and case. Remove tape and pull from one end of each wire/hair to release the loop and brushes and get the wire/hair out of the motor. Now close the motor completely and enjoy your newfound "tools" and "tricks" with other projects (such as assembling boats inside bottles .
Re: Pololu geared DC motor 30g prototype extruder June 30, 2016 01:48AM |
Registered: 8 years ago Posts: 78 |
Re: Pololu geared DC motor 30g prototype extruder June 30, 2016 02:58AM |
Registered: 8 years ago Posts: 181 |
Re: Pololu geared DC motor 30g prototype extruder June 30, 2016 03:05AM |
Registered: 9 years ago Posts: 916 |
Re: Pololu geared DC motor 30g prototype extruder June 30, 2016 04:26AM |
Registered: 8 years ago Posts: 181 |
To be perfectly honest, I am not really fond of the solution with the fixed bearing now.Quote
nebbian
My carbon brushed N20 is waiting for me at the post office, so work will start on my extruder soon I've been working on an extruder design that uses a spring loaded idler bearing, which is essential for me.
Re: Pololu geared DC motor 30g prototype extruder July 02, 2016 11:23AM |
Registered: 8 years ago Posts: 181 |
Re: Pololu geared DC motor 30g prototype extruder July 02, 2016 11:33AM |
Registered: 8 years ago Posts: 181 |
Re: Pololu geared DC motor 30g prototype extruder July 02, 2016 08:08PM |
Registered: 9 years ago Posts: 916 |
Re: Pololu geared DC motor 30g prototype extruder July 03, 2016 12:54AM |
Registered: 8 years ago Posts: 78 |
Quote
rklauco
I have trouble to believe it, but this stupid little thing just WORKS!!!
Quote
rklauco
I had to modify the software code a bit - originally I limited the resolution to 1024 per resolution. But as the PWM code tends to overshoot by 4-5, it created quite a difference - 1.7 degrees equals 0.1mm of filament movement. That may or may not be critical, but I decided it's not desired. So, I increased the resolution back to the original value of the sensor - 4096 per resolution. Now, overshooting by 5 creates error of 0.0125mm - that's way more acceptable for me
Quote
rklauco
The motor is just fine with 4.75V of input when driven by TB6612.
Quote
rklauco
Attached is the SketchUp source, STL and I'll add the code later.
However, this really works and with ATtiny85 the whole setup of the extruder will probably get under 40 grams - if the electronics is on the actual extruder.
The problem here is that the communication works using i2c - a bus originally designed for short distance only.
Quote
rklauco
So I'd suggest to make a small PCB with TB6612 or A4953, ATtiny85 and AS5600 and feed it only with STEP, DIR and power.
The PCB would need 4 more capacitors and that's about it. Seems doable to me, but right now I have no real option how to develop the PCB
Re: Pololu geared DC motor 30g prototype extruder July 05, 2016 08:06AM |
Registered: 8 years ago Posts: 181 |
Well, yeah, I wanted to do the endurance test, but my 3D printer broke and I have now room full of disassembled components from the printer - have to fix it firstQuote
ipcalit
"just WORKS" We just need to see now for how long. I'm playing with other motors as well to see how they compare. Found a tiny 10mm with planetary gearbox but that is struggling to push the filament, and a 16mm one that could be used as plan B if we find that the N20s have short lifespan.
I went to the AS5600 way - it's better resolution for now. But I have the mechanical parts from china at home already, too, so I can make an alternative mechanical one. But as I used a proper magnet and alignment, the AS seems to be MUCH more reliable then my previous test showed.Quote
ipcalit
Is this with the AS5600 or the optical setup you were building?
No, no. I have the 12V version (!!!), not the 6V. What fascinates me is that it moves (and quite fast) even at 4.7 - and one has to consider the H-bridge is also consuming some voltage here.Quote
ipcalit
I think you can safely go up to 9V for fast retractions, but not much higher to avoid damage to the brushes.
What worries me is not only the i2c, but also the fact it will run next to the wires from the motor - the interference can be significant. I'll test it - what I want to avoid is unreliability in unexpected situations and it seems safer to me to put the electronics next to the sensor on a slightly bigger PCB - will add less then 5 grams I think.Quote
ipcalit
I wouldn't worry about I2C at our short distances (less than 1m/3ft typically). We can keep the AS5600 close to the motor and have the rest remotely.
Re: Pololu geared DC motor 30g prototype extruder July 05, 2016 12:42PM |
Registered: 9 years ago Posts: 5,232 |
Re: Pololu geared DC motor 30g prototype extruder July 12, 2016 10:23AM |
Registered: 9 years ago Posts: 916 |
Re: Pololu geared DC motor 30g prototype extruder July 12, 2016 10:34AM |
Registered: 8 years ago Posts: 181 |
Re: Pololu geared DC motor 30g prototype extruder July 12, 2016 10:37AM |
Registered: 8 years ago Posts: 181 |
Well, for those that are lazy as me, I bought this.Quote
nebbian
The hardest part of this design is fabricating a 5mm diameter rod, with a 3mm hole bored down the centre. I only have hand tools available, a lathe would make this easy... so I had to make do.