Znaleziono 6 wyników

autor: k-m-r1
15 maja 2015, 22:18
Forum: LinuxCNC (dawniej EMC2)
Temat: Problem z kimenatyką
Odpowiedzi: 9
Odsłony: 3037

micges, pomógł w ustawieniach.

Swoją drogą zaufałem Stepconfig i wyprowadził mnie w ...

tomcat65,

Na podobną informacje trafiłem drążąc temat.

Informacje pomocne będą potomnym
http://wiki.linuxcnc.org/cgi-bin/wiki.p ... wing_Error

Kod: Zaznacz cały

Following Error Definition

While an axis is in motion, the EMC sends commands for current position. We call this commanded position. It is where the axis is supposed to be. Whenever a drive receives a velocity command it takes a bit for it to get up to that velocity and move to the commanded position. The difference between commanded and actual is following error. Commanded and actual position ought to be the same for an ideal machine. Inertia and such get in the way and add to following error.

EMC checks to see whether the commanded position is within range of the actual position. If this error is out of range, you get an error message something like:

Joint 0 following error.

When this error pops up you can be pretty certain that there are problems with the way you ini file is set.

Following Error Trip Ramp

The EMC ini file uses two variables, FERROR and MIN_FERROR to define acceptable following error for each axis. Think of MIN_FERROR as the following error allowed at very low velocity and FERROR as the distance allowed during rapid moves.

The graph shown below approximates what the following error trip line looks like when FERROR is set to 1 and MIN_FERROR is set to 0.01. MAX_Velocity for this graph has been set to 500. I did not set any units here and that is deliberate. My first reason is that the meaning of trip line will follow the units used for velocity, which follows the units that are defined for the axis in the ini. If that unit is inches, then the velocity is in inches per second and the trip line is related to that unit. The second reason I didn't assign units to the graph is that I am not completely certain what the units of Ferror and Min_Ferror.

You should think of any following error to the left of the diagonal line as acceptable for that velocity . If you look at 250 units velocity (the green lines) any following error less than half way between FERROR and MIN_FERROR is acceptable and will not trip out axis motion. If you increase the velocity to 400 and draw a similar pair of lines there, it will include all acceptable following errors at that velocity.

In my thinking, I simply assume that the ferror numbers are a percent of the unit value defined in the ini file. In the case of this graph and the numbers I assigned to generate it, I'd assume one percent of 500 for the permitted following error during a rapid move. If the unit defined for this axis is mm, then following error at rapid could be as much as 5 mm. If inches, then these would permit as much as five inches. (We should get one of the code gurus to give us an interpretation of the actual computation done for this)

Correction: The units of Ferror and Min_Ferror are the same as the units of length used for that axis. So if your axis is in inches, and your Ferror is 1, that means an error of 1 inch will cause it to trip. Likewise, if Min_Ferror is 0.01, then an error of 0.01 inches will trip it at low speed.

I hear someone asking, "Do you consider 5 inches off from commanded to be acceptable. Hey even the enhanced GPS that's being used to guide field tractors is more accurate than that." The whole point of the following error trip as set up in the EMC is to constrain following error and cause the machine to fail if it's error is greater than some known value. By using both FERROR and MIN_FERROR the integrator is able to define values that are acceptable for their machine. I know that I'd want my own machines to be closer than 5 inches at most any speed.

Following Error and Stepper Driven Machines

The concept of a following error is funny when talking about stepper motors. Since they are an open loop system, there is no position feedback to let you know if you actually are out of range.

following errors usually have 2 causes on steppers

1. too little ferror or min_ferror

2. the RT pulsing can't keep up with the speed needed

2.a. BASE_PERIOD set incorrectly or (requested step rate is not possible at this BASE_PERIOD)

2.b. max velocity too high

2.c. max acceleration too high 
autor: k-m-r1
14 maja 2015, 17:19
Forum: LinuxCNC (dawniej EMC2)
Temat: Problem z kimenatyką
Odpowiedzi: 9
Odsłony: 3037

Obecnie robot działa czyli ramiona poruszają się podczas sterowania ręcznego w lewo i prawo

Po wykonaniu bazowania i G1 X12 F12 pojawia sie komunikat

Błąd w napędzie 1
Podobnie dzieje sie z innymi osiami i podobne komunikaty są.


Silnik szarpnie i na ekranie wyłączone zostaje" napięcie" ikonka ON

Gdzie jest problem?

[ Dodano: 2015-05-14, 18:15 ]
Obrazek
autor: k-m-r1
01 maja 2015, 22:08
Forum: LinuxCNC (dawniej EMC2)
Temat: Problem z kimenatyką
Odpowiedzi: 9
Odsłony: 3037

Komp to stacjonarka stary ibm z Pentium4 LPT jest na płycie.

Ostatnio sporo czytałem o linuxicnc i na dziś mi styknie bo literki uciekają.

Teraz już mam jasną sytuacja. Będę jeszcze dopytywało kompilacje gdy odpale robota.
autor: k-m-r1
01 maja 2015, 21:16
Forum: LinuxCNC (dawniej EMC2)
Temat: Problem z kimenatyką
Odpowiedzi: 9
Odsłony: 3037

robot sterowany jest z windows + klon arduino, prosty program gdzie podajesz punkty i jedzie z punktu do punktu nic więcej
taka pokazowa maszynka

Robot to 2 silniki krokowe + sterowniki

Chce osiągnąć sterowanie i wykonywanie prostego g-kodu g0 g1 g2 g3... w płaszczyźnie x-y +marker znaczący ścieżkę poruszania ramienia po kartce.

Tyle na początek to takie minimum.

[ Dodano: 2015-05-01, 21:18 ]
Może to dziwne ale jestem ciekaw i odpowiedź wpisz tak i siak jest OK jednak ciekawość mnie zjada i draże temat dlatego szukam pliku kinematyki bo może sam będę chciał coś zmienić dopisać, wykombinować za jakiś czas :)
autor: k-m-r1
01 maja 2015, 20:28
Forum: LinuxCNC (dawniej EMC2)
Temat: Problem z kimenatyką
Odpowiedzi: 9
Odsłony: 3037

A gdzie jest plik którego szukam?
autor: k-m-r1
01 maja 2015, 16:35
Forum: LinuxCNC (dawniej EMC2)
Temat: Problem z kimenatyką
Odpowiedzi: 9
Odsłony: 3037

Problem z kimenatyką

Mam pewien problem gdyż mam robot scara którym chce sterować prze linuxa tylko nie potrafię znaleźć plików kinematyki gdyż opisy są do EMC a teraz jest linuxcnc i nie widzę tych plików na dysku.

Szukałem katalogów, szukałem lików...

Kod: Zaznacz cały

kinematics$ ls
blend.fig     genhexkins.h  pumakins.c    tc.c          trivkins.c
cubic.c       genserkins.c  pumakins.h    tc.h
cubic.h       genserkins.h  rotatekins.c  tp.c
gantrykins.c  kinematics.h  scarakins.c   tp.h
genhexkins.c  maxkins.c     Submakefile   tripodkins.c
i porostu nie ma lub ja czegoś nie wiem.
Z opisu do EMC wynika że scarakins.c zawiera dane członów robota i ja muszę zmienić długość ramion na 280.

Wróć do „Problem z kimenatyką”