New Stepper Motor Controller

Huge math and physics problems

  • 1
  • 2
  • Page 1 of 2
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

New Stepper Motor Controller

 · 
Posted: 07.10.2011 - 15:48  ·  #1
Hallo Leute,

wir haben seit einiger Zeit einen Stepper Motor Treiber für den AVRco implementiert. Dieser basiert auf das fantastische gute chip von ST "L6470". Dieses Ding beherrscht so ziemlich alles was man sich von so einem Teil wünschen kann.
Beschleunigen, Abbremsen mit festlegbaren Parametern
Position Anfahren, absolut und relativ.
Single Steps etcetc.
bis zu 35V und bis zu 3Amp

Soweit so gut. Hier wird ein vollkommen (für ICs) neues Verfahren benutzt. Das Back-EMF (bemf). Auf deutsch die Gegen-EMK. Hiermit lässt sich ein konstantes Drehmoment über alle Bereiche erzeugen. Wirklich genial das Teil!

Der Haken daran ist, dass beim Init dazu bis zu 9 Parameter berechnet werden müssen anhand von Motor Daten, welche oft garnicht bekannt sind.

Lange Rede, kurzer Sinn: diverse User, Miparo, Gunter und ich, haben uns die Zähne daran ausgebissen. Alle Funktionen laufen Problemlos. Wir haben es allerdings nicht geschafft die Parameter für einen bestimmten Motor (2Ohm, 1.25Amp) so einzustellen dass dieser auch bei hohen Drehzahlen ein vernünftiges Drehmoment erreicht. Ganz zu schweigen davon einen stärkeren Motor (>2Amp) richtig zu betreiben. Versuche mit verschiedenen Parametern haben absolut nichts gebracht.

Frage: wer hat Lust, Interesse und das notwendige knowhow (math, phys) dieses Monster zu bändigen? Es wird absolut nicht einfach sein. Wie gesagt, es haben sich schon mehrere daran versucht. Einige Stepper Freaks, wie z.B. ich, wären da sehr dankbar.

rolf
Attachments
Filename: L6470.zip
Filesize: 624.1 KB
Title: Stepper Controller
Download counter: 15
miparo
Administrator
Avatar
Gender:
Location: Germany
Age: 59
Posts: 956
Registered: 09 / 2007
Subject:

Re: New Stepper Motor Controller

 · 
Posted: 07.10.2011 - 19:31  ·  #2
Quote

Lange Rede, kurzer Sinn: diverse User, Miparo, Gunter und ich, haben uns die Zähne daran ausgebissen. Alle Funktionen laufen Problemlos.


Mich darf man nicht dazu zählen. Ich habe nur den Treiber geschrieben aber Null Ahnung von Steppern. Die drehen sich für mich nur im Kreis O-)
nwrightson
Benutzer
Avatar
Gender:
Location: Newcastle
Age: 62
Homepage: nweha.homeserver.c…
Posts: 362
Registered: 08 / 2003
Subject:

Re: New Stepper Motor Controller

 · 
Posted: 08.10.2011 - 07:09  ·  #3
No idea what the above says.

An english title with german content.
And don't say run it through the translator, something is always lost in the translation.

Neil.
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: New Stepper Motor Controller

 · 
Posted: 08.10.2011 - 16:48  ·  #4
Hello Neil, ok, here it is:

Some weeks ago we implemented a new Stepper Motor driver fo the AVRco. It is based on the new, fantastic powerful chip from ST "L6470". This thing provides all and everything what one could expect from an uptodate stepper controller.
Acceleration and decceleration with definable parameters.
Got to a position, absolute and relative. Single Steps etcetc.
Upto 35V and upto 3Amp

Here an absolutely new (for ICs) processing is used. The back-EMF (bemf). With this a constant torque can be achieved under all conditions. Really brilliant!

The crux is that at init time for a specific motor upto 9 parameters must be calculated based on oftenly unknown motor datas.

The long and the short of it: some users, Miparo, Gunter and I, had a long and heavy fight with this monster. All implemented functions are working perfect. But we didn't manage it to select specific parameters for specific motors (2.0Ohm/1.25Amp, 1.8Ohm/1.8Amp, 0.4Ohm/3Amp) so that these motors gain a constant torque also at high step rates. The big motor with 3Amp didn't execute not a single step. Using different parameters didn't show any success. Its a mysterium.

Question: which user is interested and has the necessary knowhow (math, phys) to tame this monster? Of course it will be no simple task. As I wrote there were several people who tried it. Some stepper freaks like me will be very thankful.

rolf
nwrightson
Benutzer
Avatar
Gender:
Location: Newcastle
Age: 62
Homepage: nweha.homeserver.c…
Posts: 362
Registered: 08 / 2003
Subject:

Re: New Stepper Motor Controller

 · 
Posted: 08.10.2011 - 22:51  ·  #5
Hi Rolf,
Thanks for the update. So much clearer now.

Why are you such a stepper freak ? :-)
What do you use stepper motors for ?

Neil.
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: New Stepper Motor Controller

 · 
Posted: 08.10.2011 - 23:01  ·  #6
nwrightson
Benutzer
Avatar
Gender:
Location: Newcastle
Age: 62
Homepage: nweha.homeserver.c…
Posts: 362
Registered: 08 / 2003
Subject:

Re: New Stepper Motor Controller

 · 
Posted: 09.10.2011 - 01:47  ·  #7
Cool :-)

I'd love one of those :love:
ThomasW69
 
Avatar
 
Subject:

Re: New Stepper Motor Controller

 · 
Posted: 27.10.2011 - 13:15  ·  #8
ist de rtreiber shcon public? Hab da nichts in der Doku gefunden. Oder war ich nur mal wieder zu blind?
  • 1
  • 2
  • Page 1 of 2
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 16 · Cache Hits: 15   139   154 · Page-Gen-Time: 0.034318s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI