I-DSpower servo motor ivamise ukulawulwa ngePulse Width Modulation (PWM). Le ndlela yokulawula ikuvumela ukuthi ubeke kahle i-shaft yokukhipha i-servo ngokushintsha ububanzi bama-pulse kagesi athunyelwe ku-servo. Nansi indlela esebenza ngayo:
I-Pulse Width Modulation (PWM): I-PWM yindlela ehlanganisa ukuthumela uchungechunge lwama-pulses kagesi ngefrikhwensi ethile. Ipharamitha engukhiye ububanzi noma ubude besikhathi sokushaya kwenhliziyo ngakunye, okuvamise ukukalwa ngama-microsecond (µs).
Indawo Emaphakathi: Ku-servo evamile, ukushaya kwenhliziyo okungama-millisecond angu-1.5 (ms) kubonisa indawo emaphakathi. Lokhu kusho ukuthi ishaft yokuphuma kwe-servo izoba maphakathi nendawo.
Ukulawula Ukuqondisa: Ukulawula isiqondiso lapho i-servo ijika khona, ungalungisa ububanzi be-pulse. Ngokwesibonelo:
Ukushaya kwenhliziyo okungaphansi kuka-1.5 ms (isb, 1.0 ms) kungabangela i-servo ukuthi ijike iye ohlangothini olulodwa.
Ukushaya kwenhliziyo okukhulu kuno-1.5 ms (isb, 2.0 ms) kungabangela i-servo ukuthi ijike iye kolunye uhlangothi.
Ukulawulwa Kwesikhundla: Ububanzi be-pulse ethile buhlobana ngokuqondile nendawo ye-servo. Ngokwesibonelo:
I-pulse engu-1.0 ms ingase ihambisane namadigri angu-90 (noma enye i-engeli ethile, kuye ngokucaciswa kwe-servo).
I-pulse engu-2.0 ms ingase ihambisane no-+90 degrees.
Ukulawula Okuqhubekayo: Ngokuthumela ngokuqhubekayo amasiginali e-PWM ngobubanzi obuhlukahlukene be-pulse, ungenza i-servo ijikelezise kunoma iyiphi i-engeli oyifunayo ngaphakathi kwebanga layo elishiwo.
I-DSpower Servo Update Rate: Isivinini othumela ngaso lezi zimpawu ze-PWM singathinta indlela i-servo ephendula ngayo ngokushesha nokuthi ihamba kahle kangakanani. Ama-Servo ngokuvamile aphendula kahle kumasiginali e-PWM ngamafrikhwensi ebangeni lika-50 kuya ku-60 Hertz (Hz).
I-Microcontroller noma i-Servo Driver: Ukuze ukhiqize futhi uthumele amasiginali we-PWM ku-servo, ungasebenzisa i-microcontroller (njenge-Arduino) noma imojuli yomshayeli we-servo ozinikele. Lawa madivayisi akhiqiza amasiginali adingekayo e-PWM asuselwa kokokufakayo okunikezayo (isb, i-engeli oyifunayo) kanye nokucaciswa kwe-servo.
Nasi isibonelo kukhodi ye-Arduino ukukhombisa ukuthi ungayilawula kanjani i-servo usebenzisa i-PWM:
Kulesi sibonelo, kwakhiwa into ye-servo, enamathiselwe kwiphinikhodi ethile, bese umsebenzi wokubhala usetshenziselwa ukusetha i-engeli ye-servo. I-servo iya kuleyo engeli ngokuphendula isignali ye-PWM ekhiqizwe i-Arduino.
Isikhathi sokuthumela: Oct-18-2023