Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Trinamic TMC2100 #34

Open
trilitheum opened this issue Sep 1, 2016 · 2 comments
Open

Feature: Trinamic TMC2100 #34

trilitheum opened this issue Sep 1, 2016 · 2 comments

Comments

@trilitheum
Copy link

I have been using the DRV8825 and the A4988 for a long time. I have a set of the TMC2100 drivers on the way and would be really interested in how their behaviour compares.

I am fairly well acquainted with the TMC2100 datasheet, my electromechanics is pretty rusty so I don't know if I can be much help with the simulation.

@rcarlyle
Copy link
Owner

rcarlyle commented Sep 1, 2016

Last time I checked the TMC2100 sheet, I don't think the description of the adaptive decay algorithm (SpreadCycle) was detailed enough to make a complete model. So it's hard and might require quite a bit of guesswork and oscilloscope monitoring to check the results. I don't really have time to do either at the moment.

The main thing is figuring out the exact timing of how the on/slow/fast/slow sequence changes with coil conditions. I've considered comparing multiple TMC datasheets for drivers that use SpreadCycle to see if they have enough info together, but haven't tried it.

In THEORY, a well-designed adaptive decay driver like the TMC2100, DRV8846, or A5984 should have pretty close to "perfect" current control. It may be temporarily wrong and thus over/under-shoot for a few PWM cycles, but should quickly self-correct and get to the desired current waveform. So, there's a workaround for not having sheets for those drivers: whenever you want to check the drivetrain performance of an adaptive driver, just plug it into another sheet that has nearly "perfect" current control, like the THB6128. It should get you pretty close to the right answer. No promises though.

The silent StealthChop mode on the TMC2100 is out of the question to simulate, it's a fundamentally different control scheme from the current PWM in the other drivers.

@trilitheum
Copy link
Author

I agree the StealthChop is a completely different control scheme, and really it isn't that useful for most applications with the positional error and the low available torque.

When my drivers arrive I will take a look with my oscilloscope and see how they compare to the DRV8825 or the THB6128.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants