• iphepha_ibhena

Iindaba

Ingaba i-servo ilawulwa njani nge-PWM?

I-DSpower servo motor idla ngokulawulwa ngePulse Width Modulation (PWM). Le ndlela yokulawula ikuvumela ukuba ubeke ngokuchanekileyo i-shaft yokuphuma kwe-servo ngokutshintsha ububanzi beepulse zombane ezithunyelwe kwi-servo. Nantsi indlela esebenza ngayo:

I-Pulse Width Modulation (PWM): I-PWM bubuchule obubandakanya ukuthumela uthotho lwee-pulses zombane kwi-frequency ethile. Iparamitha engundoqo bububanzi okanye ubude bexesha lokubetha kwentliziyo nganye, eqhele ukulinganiswa ngee-microseconds (µs).

Isikhundla seZiko: Kwi-servo eqhelekileyo, i-pulse ejikeleze i-1.5 milliseconds (ms) ibonisa indawo ephakathi. Oku kuthetha ukuba i-shaft yemveliso ye-servo iya kuba kwindawo yayo ephakathi.

Ulawulo lomkhombandlela: Ukulawula ulwalathiso apho i-servo ijika khona, unokuhlengahlengisa ububanzi be-pulse. Njengokuba:

I-pulse engaphantsi kwe-1.5 ms (umz., 1.0 ms) inokubangela ukuba i-servo ijike kwicala elinye.
I-pulse enkulu kuno-1.5 ms (umz., 2.0 ms) inokubangela ukuba i-servo ijike kwelinye icala.
Ulawulo lweNdawo: Ububanzi be-pulse ethile buhambelana ngokuthe ngqo nendawo ye-servo. Umzekelo:

I-1.0 ms pulse inokuhambelana no -90 degrees (okanye enye i-engile ethile, ngokuxhomekeke kwiinkcukacha ze-servo).
I-2.0 ms pulse inokuhambelana ne +90 degrees.
Ulawulo oluqhubekayo: Ngokuthumela ngokuqhubekayo imiqondiso ye-PWM kububanzi be-pulse obahlukeneyo, unokwenza i-servo ijikeleze kuyo nayiphi na i-angle efunekayo ngaphakathi koluhlu oluchaziweyo.

Izinga loHlaziyo lwe-DSpower Servo: Isantya othumela ngaso ezi zibonakaliso ze-PWM sinokuchaphazela indlela i-servo ephendula ngayo ngokukhawuleza kunye nendlela ehamba kakuhle ngayo. Ii-Servo zidla ngokuphendula kakuhle kwiisignali ze-PWM ezinezandi ezisuka kuma-50 ukuya kuma-60 eHertz (Hz).

I-Microcontroller okanye i-Servo Driver: Ukuvelisa kunye nokuthumela iimpawu ze-PWM kwi-servo, ungasebenzisa i-microcontroller (njenge-Arduino) okanye imodyuli yomqhubi we-servo ozinikeleyo. Ezi zixhobo zivelisa imiqondiso ye-PWM efunekayo ngokusekelwe kwigalelo osinike lona (umzekelo, i-engile efunekayo) kunye neenkcukacha ze-servo.

Nanku umzekelo kwikhowudi yeArduino ukubonisa indlela onokuyilawula ngayo i-servo usebenzisa i-PWM:

DSpower PWM servo

Kulo mzekelo, into ye-servo yenziwe, ifakwe kwiphini elithile, kwaye emva koko umsebenzi wokubhala usetyenziselwa ukuseta i-angle ye-servo. I-servo ishukuthela kuloo angle ngokuphendula umqondiso we-PWM owenziwe yi-Arduino.


Ixesha lokuposa: Oct-18-2023