Duet 3 32v on 3D printer?
-
@dc42 said in Duet 3 32v on 3D printer?:
Example: MB6HC board, 6 of these Nema 34 motors https://www.omc-stepperonline.com/nema-34-stepper-motor/Nema-34-CNC-Stepper-Motor-34Nm481576ozin-40A-858x858x68mm-4-Wires.html (4.4mH phase inductance) set to 3.5A, 32V supply:
sqrt(32*32 + 6 * (0.0044/0.00132) * 3.5 * 3.5) = 35.62VSo for 6 NEMA17 set to 2A each and a suply voltage of 34V would give a overshoot to just under 35.16V
At 33v in it gives me 34.19v and at 32.4v it gives me 33.6v.Am I right to assume that it would work without problems with a Meanwell 36v supply turned all the way down to 34.4v (+/-1%, according to datasheet) ?
-
(you can also replace a resistor in the PSU to change the range a little more, thats what I ended up doing with my 36v supply, i needed to go down to 30v. efficiency may suffer a little, but I'm not powering a bed so not a big issue)
-
@dc42 said in Duet 3 32v on 3D printer?:
Or a 10000uF capacitor across the PSU output, if your PSU doesn't object to that.
The average Chinese PSU objects heavily to that. In fact, most PSU's do.
Which makes sense: inside the PSU the power rail for the switcher is powered by two means: one is a bias winding on the transformer, the second is a high value resistor that charges the capacitance on the switcher power rail.
During startup the capacitance charged until a threshold is reached, the switcher starts, and the bias winding must be generating power before the energy in the switcher rail capacitance is depleted.If there is a short or high capacitance on the output of the supply, the bias is not quick enough, which gives the probably familiar 'tik....tik...tik...' and not starting behaviour.
32V input and 40V absolute maximum rating is too little difference for a zener or transient suppressor to work well. An active circuit using something like a TL431, a power transistor and 3 resistors would work.
But as DC42 mentioned: even with 6x big 3.4Nm NEMA34 motors the overshoot is less than 34V, so there is actually no problem.
-
So, If using a 5v external power supply like a Meanwell LRS-75-5 to externally power the Duet 3, Raspberry Pi, etc. one would bypass this limitation.
What would the maximum allowable voltage be then?
3 power supplies on a single printer? Now that is ! And SSR to them for control....
-
@TypQxQ said in Duet 3 32v on 3D printer?:
one would bypass this limitation.
no, the tmc driver have an internal 12v supply that isn't much higher rated than the 5v supply; so unless you separate the Vmotor for the drivers then you're essentially getting a "return to go and do not collect 200" card
(edit: might not be a problem with the tmc5160 just the 5161, but check the datasheet to be sure in any case)
-
@dc42 said in Duet 3 32v on 3D printer?:
Duet 3 has one 220uF capacitor per driver to help absorb this, plus an extra one on the 3HC.
So does the 3HC handle voltage overshoots better with an extra capacitor or worse with only one capacitor?
(English isn't my first language if it's obvious from the statement above)
-
it is not the number of capacitors as such, but the combined value of them. removing one to add a bigger one is more work than just adding a bigger one, not to mention if its significantly larger it will not fit the pcb, ergo adding one to the screw terminals is easier and gets the job done.
-
@bearer So the same formula can be used for the expansion but change from 6 steppers to 3? That gives
sqrt(32.4*32.4 + 3 * (0.0044/0.00132) * 2 * 2) = 33.012VAnd same for 6 steppers:
sqrt(32.4*32.4 + 6 * (0.0044/0.00132) * 2 * 2) = 33.612VSo , am I right to draw the conclusion that it is marginally better to put 32.4v on a 3HC expansion than on a 6HC main board?
-
@TypQxQ said in Duet 3 32v on 3D printer?:
@bearer So the same formula can be used for the expansion but change from 6 steppers to 3? That gives
i think the 0.00132 value is the total capacitance for the main board. you'd need to calculate that for the expansion as it also has fewer capacitors. (but yes, i should expect it to be marginally better due to the additional cap, but not by much)
and this is analouge stuff, I'm not known for practicing this dark art:)
-
@bearer said in Duet 3 32v on 3D printer?:
i think the 0.00132 value is the total capacitance for the main board. you'd need to calculate that for the expansion as it also has fewer capacitors
Correct.
-
@dc42 Does the firmware support diffrent voltage on Duet 3 6HC and connected 3HC expansion?
-
@TypQxQ said in Duet 3 32v on 3D printer?:
@dc42 Does the firmware support diffrent voltage on Duet 3 6HC and connected 3HC expansion?
Yes. And a different input voltage for OUT0 on the MB6HC too.
-
Just an update.
It works great and my Meanwell LRS-350-36 can be turned down to 30V with the builtin regulator.
Now runing this on the 3HC expansion:
VIN: 30.9V, V12: 12.2V -
Interesting; i had to mod my SE-450 supply as it would only do 32.4 to 39.6V.
-
Per previous posts, hope I got correct.
6HC and 3HC can use different volts from each other. (in same system)
Mentions of hacking boards to get higher voltages means problems with 5v and 12v.
If my 3HC is only used for X and Y motors, could I modify my 3HC to use 36v or even 48v?
All sensors / fans / end stops etc.. would be from the 6HC.
Other option is 6HC + (1x) 1XD per axis along with “CNC style” separate drivers then motors.
Thanks!
`mike -
@gallaghersart said in Duet 3 32v on 3D printer?:
If my 3HC is only used for X and Y motors, could I modify my 3HC to use 36v or even 48v?
Yes, in principle. You would need to remove the diode that feeds fused VIN to the 12V and 5V regulators. Then feed 12 or 24V to the pad that the diode cathode was connected to, so that the onboard regulators can supply 12V to the drivers and 5V to the MCU etc.
The capacitors connected to the VIN supply to the drivers are rated at 50V. So 48V is too close, bearing in mind that when you turn the motors off they feed power back into the supply, causing an increase in supply voltage.
-
Cool, thanks!
Still several weeks away from getting this printer up and running, will start with 24v to get all working.
Then I will test and share. Burn or Good should be fun.
Will investigate see how low I can adjust a 48v and then do the math.
`mike -
So just to check that my working out is correct for this stepper with Inductance of 1.85 mH, using dc42's formula from above; sqrt(V^2 + n * (L/C) * I^2)
M906 current set at 4a
sqrt(3636 + 4(0.00185/0.00132) * 4 * 4) = 36.00000217066660122509v
I just want to be sure that this is right, because it seems that adjusting the amount of motors doesn't seem to change the result much?