Digital Control: Keywords - Open Loop, Stepper Motor, and Angle
Digital Control: Keywords - Open Loop, Stepper Motor, and Angle
- Closed loop:
Función de transferencia.
𝑌(𝑠)
𝐺(𝑠) =
𝑋(𝑠)
Corriente.
Pasos
270°
= 0.26 Ilustración 2. Linealizacion potenciómetro (50KΩ).
1023
IV. CONCLUSIONS
From practice, it is understood that an open loop is
where the output signal does not affect the operation
of the total system. However, disturbances and
changes in calibration cause errors, and the output
may be different from that desired. Therefore, a
linearization of the potentiometer and a step
calculation were carried out, so that an offset was
avoided when the command signal was sent.
BIBLIOGRAYPH
[1] Anonymous, "TT MOTOR," 2017. [Online]. Available:
http://www.usattmotor.com/news/what-s-the-difference-
between-dc-servo-step-8387158.html.
[2] W. Verdugo, "SonRobots," 2018. [Online]. Available:
http://sonrobots.com/arduinos/motores-servomotores-y-
motores-paso-a-paso/.
[3] MECAFENIX, "CONTROL SYSTEM," 25 febrary 2019.
[Online]. Available:
https://www.ingmecafenix.com/automatizacion/sistema-
de-control/. [Accessed 11 september 2019].
Anexos
START
Include Libraries
Serial.begin(115200);
pinMode(p1,OUTPUT);
pinMode(p2,OUTPUT);
pinMode(p3,OUTPUT);
pinMode(p4,OUTPUT);
A=analogRead(A0)*0.35;
rA=round(angle);
resultado=A-actual;
A
F
resultado>0
derecha();
actual+=1;
F
resultado<0
izquierda();
actual-=1;
A
0 1 2
digitalWrite(p1,HIGH);digitalWrite(p2,LOW);digitalWrite(p3,LOW);digitalWrite(p4,LOW);
digitalWrite(p2,HIGH);digitalWrite(p1,LOW);digitalWrite(p3,LOW);digitalWrite(p4,LOW);
digitalWrite(p3,HIGH);digitalWrite(p2,LOW);digitalWrite(p1,LOW);digitalWrite(p4,LOW);
digitalWrite(p4,HIGH);digitalWrite(p2,LOW);digitalWrite(p3,LOW);digitalWrite(p1,LOW);
delayMicroseconds(timee);
0 1 2
d
i
g
i
digitalWrite(p4,HIGH);digitalWrite(p2,LOW);digitalWrite(p3,LOW);digitalWrite(p1,LOW);
t
digitalWrite(p3,HIGH);digitalWrite(p2,LOW);digitalWrite(p1,LOW);digitalWrite(p4,LOW);
a
digitalWrite(p2,HIGH);digitalWrite(p1,LOW);digitalWrite(p3,LOW);digitalWrite(p4,LOW);
l
digitalWrite(p1,HIGH);digitalWrite(p2,LOW);digitalWrite(p3,LOW);digitalWrite(p4,LOW);
W
r
i
t
e
(
p
1
,
H END
I
G
H
)
;