Quantcast
Channel: Reprap Forum - Stepper Motors, Servo Motors, DC Motors
Viewing all 2228 articles
Browse latest View live

Z Motors turning on retract/unretract

$
0
0
I'm not trying to cross post, but I'm really being stymied by a problem and I didn't see this particular section before posting to the printing section.

On retract/unretract my z motors are turning which after some time causes my print to fail miserably. This started happening very suddenly a few days ago. Normal extrusion doesn't cause any issues.

Please see my original posts in this topic

Re: Z Motors turning on retract/unretract

$
0
0
Ok, seems this is a firmware issue after all. There appears to be a bug in Marlin related to UBL. If I disable UBL, the problem goes away.

Solid State Relays / Question to the experts

$
0
0
Hi guys,

I want to controll a hydraulic bi-directional servo-motor 12V DC. The motor has 3 wires: 1.) Ground 2. 12V clockwise 3.) 12 V counterclockwise

I recon the Motor is always running in the same direction, only the internal hydraulic valves are responsible for the direction.

I am not very familiar with Mosfet-Switches, therefore my question to the Experts:

Do you think this would work? (see attachment)
of course there is only one Mosfet-switch active at the same time! (either No. 1 or No. 2)

Regards from Germany,

Elvis

Re: Solid State Relays / Question to the experts

$
0
0
this is still not 3d printer or reprap related

Re: Solid State Relays / Question to the experts

Re: Solid State Relays / Question to the experts

$
0
0
OK, now it's a 3-D printer topic B)

If my posting really bothers you, please tell me how to move to the right topic.

Thanks + best best regards from good old Gdermany :)

A4988 and 1/8 step resolution MightyBoard.

$
0
0
I'm attempting to replace 1stepper driver on a Mightyboard with a A4988 to which I will solder the pins.

As you probably know the pins on the A4988 carrier board as fitted to a mightyboard are inverted, the chip is on the pin side of the carrier. Good fun that's were the potentiometer is going to be but that's another issue.

According to ReplicatorG Sailfish 7.7 directly references microstepping at a resolution of 1/8 so I'd like to set the driver to 1/8 stepping.

The only "how to" I've found requires that I leave out the MS3 pin and bridge MS2 to MS3 with a blob of solder this will apparently give a resolution of 1/16 stepping.

What would I need to do to set a 1/8 stepping?

Apparently for 1/8 I need :-

MS1 high,..... MS2 high,..... MS3 low ....... and if they are all high then I get 1/16 stepping.

So if I don't bridge MS2 to MS3 will MS3 be low?

Thanks All. Aamcle.


Ps. I picked up an offer and bought very cheaply a board/display/driver package that will run Ramps or. Marlin and I'm so tempted to fit it.

Calculating stepper driver settings

$
0
0
I'm curious about the max amperage we should use when setting stepper voltages. If I have a stepper motor that according to the specs is rated at 1.2A, at a rated 2V. Do we have to do any conversion on those values? I'm thinking that we run our stepper motors at 5V, or am I incorrect? If we calculate based on 5V, then that seems like the max amperage becomes .48A (using P = I * E). That doesn't seem right and of course, I'm no electronics engineer.

So can someone clarify how we should interpret these numbers that we get in the specs for stepper motors as it relates to setting our stepper driver voltages?

I understand how to set the voltages just fine, I just need to know how we come up with the target amperage.

Re: Calculating stepper driver settings

$
0
0
Don't worry about the coil voltage. Most people use 80% of max. current and calculate Vref accordingly.
You've registered 4 years ago, so I won't bother you with links to our Wiki or suggest 'searching' the forum ;)

Re: Calculating stepper driver settings

$
0
0
Quote
o_lampe
Don't worry about the coil voltage. Most people use 80% of max. current and calculate Vref accordingly.
You've registered 4 years ago, so I won't bother you with links to our Wiki or suggest 'searching' the forum ;)

Thanks o_lampe. That answers my question just fine.

Stepper Motor Adjustment

$
0
0
In research of the RepRap Mendel, I found the resolution of this printer to be 100 microns. How many cycles of the stepper motor are required to reach this resolution, and can this be reduced through the software to improve the resolution of the device?

(Another) TMC2130 Short To Ground Topic

$
0
0
So, i am aware that it has been posted thousands of times by now, but no matter what i try, i can't seem to get my TMC2130's to work. I am starting with a brand new MKS Gen 1.4 and steppers that are SPI enabled, i am using 5 of them, the one on the E1 is being used an a second Z axis. I am trying to set up Marlin 1.1.9 but i can't seem to get it to work, i get a short to ground on the Y axis as well as all the steppers read as 0:8:00:00:00 except the Y which reads FFF:FFF:FFF or whatever....Not sure what to do or where to go from here. I am using the standard pin configuration online, am i supposed to set those pins in the Marlin firmware somehow? I am about to create a new harness for the steppers so once i am done with that, i will post a pronterface debug to see if that resolved any issues.

Re: (Another) TMC2130 Short To Ground Topic

$
0
0
Y driver error detected:
overtemperature
short to ground (coil A)
short to ground (coil B)
X Y Z E0
Enabled false false false false
Set current 800 800 800 800
RMS current 1436 795 1436 1436
MAX current 2025 1121 2025 2025
Run current 25/31 25/31 25/31 25/31
Hold current 12/31 12/31 12/31 12/31
CS actual 0/31 31/31 0/31 0/31
PWM scale 0 255 0 0
vsense 0=.325 1=.18 0=.325 0=.325
stealthChop false true false false
msteps 256 0 256 256
tstep 1048575 4294967295 1048575 1048575
pwm
threshold 0 0 0 0
[mm/s] - - - -
OT prewarn false true false false
OT prewarn has
been triggered false false false false
off time 0 15 0 0
blank time 16 54 16 16
hysteresis
-end -3 12 -3 -3
-start 1 8 1 1
Stallguard thrs 8 8 8 0
DRVSTATUS X Y Z E0
stallguard X
sg_result 0 1023 0 0
fsactive X
stst X X X X
olb X
ola X
s2gb X
s2ga X
otpw X
ot X
Driver registers: X = 0x80:00:00:00
Y = 0xFF:FF:FF:FF
Z = 0x80:00:00:00
E0 = 0x80:00:00:00
Error:Printer halted. kill() called!
[ERROR] Error:Printer halted. kill() called!

Re: Fysetc TMC 2130 v1.0 in standalone/stealthchop mode on RAMPS 1.4?

$
0
0
Quote
JoeK1973
Anyway, plugged it in ... without the stepper motor connected and set vRef (initially 1.1v). Then I connected the motor and got a 'driver overtemperature' warning.

How did you get the overtemperature warning without SPI? Are you sure it wasn't just noise on the wire?

It seems like if you're running them in standalone mode, you shouldn't set the TMC flags in Marlin, because there's no way to receive feedback or anything. It should just treat them as drv8825s, or a4998s (except maybe some of the new timing stuff could be better tuned).

Also, thank you for this information, I was able to get mt TMC2130s that used to be in Marlin hooked up to a grbl control board (which is Grbl_ESP32 based and doesn't have the SPI/TMC2130 stuff in it).

Re: Stepper Motor Adjustment

$
0
0
Replacing the steppers with 0.9° versions would double up the resolution.
Using smaller GT2-pulleys where possible would help, too ( 16 tooth vs 20 tooth )
Or leadscrews with finer pitch.
Then there are stepper drivers with upto 128 microstepping vs 16 microsteps, but that's no reliable improvement.
You have to make sure, your mechanics run without play, backlash or binding to help steppers to really reach ( and hold ) these fine microsteps.

Re: Stepper Motor Adjustment

$
0
0
@LVerh

X or Y steps/mm = {motor steps per rev * driver microstep} / {belt pitch * pulley number of teeth)

Most reprap steppers are 200 steps/revolution (1.8 degree)
Most use 16 microstep
belt pitch is 2mm
pully with 20 teeth

(200 * 16) / (2 * 20) = 80.0 steps/mm

so theoretical resolution of 1/80mm ie 0.0125 per step. But you can't get accurate positioning with microstepping. Use a max of 1/4 micro stepping for accurate positioning.

no this cannot be improved with software, you need to change the hardware

use 0.9 degree steppers, or geared steppers
use pulleys with less teeth eg 16

Re: TMC2130 on MKS GEN 1.4, high pitch noise only on y axis

$
0
0
So after a lot of swearing and googling every single parameter I found something interesting about the PWM Scale (Y Axis Overdriving and Blowing Driver)

One of those guys got in touch with Watterott and was told that the USB Cable (more the 5 Volts) which is connected to a raspberry Pi in my case, can cause some wierd stuff on the Y driver (high current... just read it yourself). So I thought what can I lose ordered a new MKS Gen1.4 and connected everything except the Raspberry.

And now everything works just fine and this damn y-motor is quiet. :D

Re: TMC2130 on MKS GEN 1.4, high pitch noise only on y axis

$
0
0
To bad you can't feed the MKS bords from the RasPi. AFAIR, it's 5V regulator is much beefier than the faintharded Arduino stuff.

Is there any reason for missed steps only at low speed

$
0
0
Is there any likelihood that a stepper motor would miss steps at low step rates when it runs without missing steps at high rates and during acceleration and deceleration? I am hoping that somebody knows of a logical reason why this should happen. Further details below.

The system is intended to swap the heads of a 3D printer and the main part is a NEMA11 stepper motor driving a 20:1 worm gearbox. Both ends of travel are limited by microswitches. The drive for the system is provided by a Pololu type A4988 stepper driver board, supplied 24V and current limited to 0.3A and used in a full step mode. The drive pulse and direction signals are provided by a PIC16F1824 and the program provides an initial function of determining the number of pulses from one limit switch to the other and then using this distance in operational moves to check for any loss of calibration. Measuring the distance is done by jigging out a short distance at a low speed (16 pulses at 80pps) and returning at the same speed until the microswitch is triggered - this establishes a start point. The motor is then accelerated over 265 pulses from the same low speed to a little over 10 times as fast, driven forward for about 1460 pulses and decelerated back to the low speed over 256 pulses. Following this the motor is driven forward at the low speed until the other microswitch is triggered. A second run returns the motor to its original position and the number of pulses from switch to switch in each direction is counted.

This is where it gets wierd:

A run from the clockwise position to the anticlockwise position and back to the clockwise position will count the same number of pulses each way plus or minus 1 pulse.
A run from the anticlockwise position to the clockwise position and back to the anticlockwise position again will again count the same number of pulses each way.
BUT the numbers starting from anticlockwise will not be the same as clockwise - typically from 30 to 40 counts different.

Although I have ordered an encoder to see if I can find the missing steps but it will be a week or so before it comes all I have at the moment is the following: during acceleration, fast movement and deceleration the sound is clean but during the final phase at low speed the sound is quite rough.

The program has been re-written several times and the move command is fed only the direction to go and the microswitch to look for.

So if anybody has an idea why this could be it will save an inofensive brick wall from being further pummeled by my head.

Mike

Re: Is there any reason for missed steps only at low speed

$
0
0
How can you be sure your microswitches behave the same way when actuated fast or slow ?

To ascertain it is the stepper/driver, do fast identical forward/ backward mvt, slow forward/ backward, a mix ..... Mark the shaft, the moving part, measure with a caliper whatever ...to see if you come back at the same spot.
Viewing all 2228 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>