(RAMBO 135 = ~0.75A, 185 = ~1A)
Is there a calculation to fing what the setting should be for a specific amperage? It appears to close to 1.85 per ten ma but not quite. I've been awake to long I think.
Digipot Math
- foshon
- Printmaster!
- Posts: 600
- Joined: Fri Mar 08, 2013 3:05 pm
- Location: Just to the right of SeeMeCNC
Digipot Math
Purple = sarcasm
Please do a board search before posting your question, many have been answered with very time consuming detail already.
Please do a board search before posting your question, many have been answered with very time consuming detail already.
Re: Digipot Math
According to http://reprap.org/wiki/Rambo, if you are trying to figure the particular digipot value for a given rated motor current, then since VRef = Motor current * .8,
digipot value = ((motor current *.8)/1.66)*255
so for example: 1 amp/phase ((1*.8)/1.66)*255=123 the digipot value is 123
It looks like the chip limits current to 2A and has thermal protection circuitry that shuts it off at 165C
Disclaimer: I don't know if the values changed at all for the 1.1 Rambo when they updated the Allegro driver chip with the 16 microsteps
digipot value = ((motor current *.8)/1.66)*255
so for example: 1 amp/phase ((1*.8)/1.66)*255=123 the digipot value is 123
It looks like the chip limits current to 2A and has thermal protection circuitry that shuts it off at 165C
Disclaimer: I don't know if the values changed at all for the 1.1 Rambo when they updated the Allegro driver chip with the 16 microsteps
Re: Digipot Math
so which is correct, whats in parenthesis or the calculated value... seems like these values should be the same.? so one is wrong? why would they use 185 = 1A, if 123 is 1amp?
My rostock build log http://forum.seemecnc.com/viewtopic.php?f=42&t=1228
-
- ULTIMATE 3D JEDI
- Posts: 2417
- Joined: Mon Mar 26, 2012 1:44 pm
- Location: Redmond WA
Re: Digipot Math
I believe it depends on which version of the RAMBO board you have 1.0 uses a different range than 1.1.cambo3d wrote:so which is correct, whats in parenthesis or the calculated value... seems like these values should be the same.? so one is wrong? why would they use 185 = 1A, if 123 is 1amp?
The drivers have thermal cutoff in practice you'll hit that long before you get to the maximum rated current.
As far as I can see the Digipot circuit just drops some portion of VDD over an inline resistor, 3.3KOhms for 1.1 and 4.99KOhms for 1.0, as far as I can see there isn't enough info in the datasheet to determine what the actual voltage going into the chip will be, I think you'd have to measure it.
But the different resistor values result in different ranges on the two boards.
Printer blog http://3dprinterhell.blogspot.com/
- Eaglezsoar
- ULTIMATE 3D JEDI
- Posts: 7159
- Joined: Sun Apr 01, 2012 5:26 pm
Re: Digipot Math
I'm glad you brought this up. I read somewhere about soldering a 10K resistor over the 4.99 (R30) on the older cards. Do you know anyone who has done this and is it something we should do to the older cards?Polygonhell wrote:I believe it depends on which version of the RAMBO board you have 1.0 uses a different range than 1.1.cambo3d wrote:so which is correct, whats in parenthesis or the calculated value... seems like these values should be the same.? so one is wrong? why would they use 185 = 1A, if 123 is 1amp?
The drivers have thermal cutoff in practice you'll hit that long before you get to the maximum rated current.
As far as I can see the Digipot circuit just drops some portion of VDD over an inline resistor, 3.3KOhms for 1.1 and 4.99KOhms for 1.0, as far as I can see there isn't enough info in the datasheet to determine what the actual voltage going into the chip will be, I think you'd have to measure it.
But the different resistor values result in different ranges on the two boards.
-
- ULTIMATE 3D JEDI
- Posts: 2417
- Joined: Mon Mar 26, 2012 1:44 pm
- Location: Redmond WA
Re: Digipot Math
It would get you in the same range as the newer cards in that 5K and 10K resistors in parallel are ~3.3K, but unless you have an issue with the exiting range of values I don't see any reason to do it.Eaglezsoar wrote: I'm glad you brought this up. I read somewhere about soldering a 10K resistor over the 4.99 (R30) on the older cards. Do you know anyone who has done this and is it something we should do to the older cards?
Printer blog http://3dprinterhell.blogspot.com/
-
- Printmaster!
- Posts: 43
- Joined: Fri Aug 12, 2016 3:20 pm
Re: Digipot Math
I'm trying to limit the torque of my extruder. I've been playing with M907 and M908. Throwing incantations at the wall, trying for 10% of full power, but getting anything other than standard behavior would help me zero in. I haven't had any luck knowing that any of the following are changing anything/
M907 E10
M907 E.1
M907 X100 Y100 Z100 E10
M907 Z100 E10
M908 P0 100 ; also tried other values
M908 P3 100
And This from pins.h, should have pin 0 as the extruder pin, right? Or is it at the position in the array?
// ### RAMBo specific pins ###
#else
#define ORIG_X_MAX_PIN 24
#define ORIG_Y_MAX_PIN 23
#define ORIG_Z_MAX_PIN 30
#define DIGIPOTSS_PIN 38
#define DIGIPOT_CHANNELS {4,5,3,0,1} // X Y Z E0 E1 digipot channels to stepper driver mapping
#define ORIG_PS_ON_PIN -1
#define PS_ON_PIN -1
#define ORIG_SDCARDDETECT 81
#define STEPPER_CURRENT_CONTROL CURRENT_CONTROL_DIGIPOT
#endif //RAMBo/MiniRambo option
M907 E10
M907 E.1
M907 X100 Y100 Z100 E10
M907 Z100 E10
M908 P0 100 ; also tried other values
M908 P3 100
And This from pins.h, should have pin 0 as the extruder pin, right? Or is it at the position in the array?
// ### RAMBo specific pins ###
#else
#define ORIG_X_MAX_PIN 24
#define ORIG_Y_MAX_PIN 23
#define ORIG_Z_MAX_PIN 30
#define DIGIPOTSS_PIN 38
#define DIGIPOT_CHANNELS {4,5,3,0,1} // X Y Z E0 E1 digipot channels to stepper driver mapping
#define ORIG_PS_ON_PIN -1
#define PS_ON_PIN -1
#define ORIG_SDCARDDETECT 81
#define STEPPER_CURRENT_CONTROL CURRENT_CONTROL_DIGIPOT
#endif //RAMBo/MiniRambo option
-
- ULTIMATE 3D JEDI
- Posts: 1407
- Joined: Sun May 11, 2014 6:18 pm
Re: Digipot Math
Why would you want to limit your torque? Reduced torque would cause increased skipping steps.
R-Max V2
Eris
Folger Tech FT-5 R2
Eris
Folger Tech FT-5 R2
-
- Printmaster!
- Posts: 43
- Joined: Fri Aug 12, 2016 3:20 pm
Re: Digipot Math
I'm upgrading from an EZStruder to a BondTech extruder. There seems to be a bug in slicer or elsewhere where the first layer nozzle offsets are not consistent. I've read many posts about it, but no definitive answer. I have the same problem, which in my case doesn't really affect my parts quality that much, but will cause the EZStruder to skip steps. I've wedged the EZStruder to put a lot of pinch on the filament, because I don't want a damaged filament, or gummed up hob wheel. I'd rather have it skip than 1)eat filament, 2)gum up the hob gear, 3)push out the bowden tube.
I'm running my printer for my business, and trying to get the most performance out of it, and for me, that's running at the highest print speed possible without the struder skipping steps. This is at the highest nozzle temperature possible without coking up the inside of the nozzle. This means that the first layer is at risk of the bed plate obstructing the nozzle, and the struder pushing out the bowden tube, or eating through the filament.
That's why I want to limit torque on the extruder. A mechanical clutch would be a nice alternative.
I'm running my printer for my business, and trying to get the most performance out of it, and for me, that's running at the highest print speed possible without the struder skipping steps. This is at the highest nozzle temperature possible without coking up the inside of the nozzle. This means that the first layer is at risk of the bed plate obstructing the nozzle, and the struder pushing out the bowden tube, or eating through the filament.
That's why I want to limit torque on the extruder. A mechanical clutch would be a nice alternative.
Re: Digipot Math
When the nozzle becomes temporarily obstructed - for example due to a blob or curl-up in the print - then it's better for the extruder to skip steps than to grind the filament down. That way, when the obstruction is removed, extrusion will continue.Mac The Knife wrote:Why would you want to limit your torque? Reduced torque would cause increased skipping steps.
A downside is that the reduced torque will reduce the available acceleration if the motor is has a high rotor inertia and the gearing is high. So if the torque is very much higher than needed, then instead of reducing current a lot it may be better to use a shorter motor (with less rotor inertia) or reduce the gear ratio.