Stall Guard does turn off Motor immediately

Stall Guard does turn off Motor immediately

Postby Philippoh » 16 Aug 2007, 18:01

Hello

I use an PD3-110-42 in binary mode. I'd like to setup a stall guard so i used the stall guard profile to see if there is my preferred speed of 20 is ok. the lines from 0 to 50 are green.
after this i used the StallGuard Adjusting Tool to find the perfect settings.

but there is no setting that works fine for me. after trying to rotate the motor it stops immediately by the stallguard, because the red bar is at full level.

I just use the motor on my table with no attached mechanical devices. what do I wrong?

here is the binary code I'm using (all other settings are left at the default values):

disable mixed decay
1 5 CB 0 0 0 8 0 D9

set acceleration
1 5 5 0 0 0 0 3 0E

set max speed
1 5 4 0 0 0 0 14 1E

setup stall guard
1 5 CD 0 0 0 0 7 DA

ROR
1 1 0 0 0 0 0 14 16

thanks for help
Philippoh
User
User
 
Posts: 3
Joined: 14 Aug 2007, 11:49

If motor does actually lose steps then StallGuard is correct

Postby Andrew » 19 Aug 2007, 18:33

Stall Guard Profiler is only an aproximate tool. Please search this forum for explanation how it works:
http://www.trinamic.com/ttdg/viewtopic. ... tall+guard

A bit more insight here:
http://www.trinamic.com/ttdg/viewtopic. ... tall+guard
(See the middle of my message.)
And a few unresolved questions here:
http://www.trinamic.com/ttdg/viewtopic. ... tall+guard
(Perhaps not relevant to this topic.)

The thread below explains why you might have to adopt far slower speeds, or completely different speeds than those indicated by profiler:
http://www.trinamic.com/ttdg/viewtopic. ... tall+guard

You need to test your chosen speed and acceleration manually. Check if a motor actually loses steps at this speed. If it does, then you cannot do much about the resonance at this speed. Except maybe trying to jump over it, or under it. ... All as described here:
http://www.trinamic.com/ttdg/viewtopic.php?t=263

The topic above explains another possible cause. It lurks in the parameter a_max.
Due to a bug in TMCL you need to set it the last among parameters defining a ramp, or speed.
The example of a faulty code is here:
http://www.trinamic.com/ttdg/viewtopic.php?t=561

One more trivial problem might be the wiring broken, or messed up.

To be merged with #263
Andrew
 


Return to ICs / stallGuard and coolStep related issues

Who is online

Users browsing this forum: No registered users and 1 guest

cron