DSpower servo mota inowanzodzorwa kuburikidza nePulse Width Modulation (PWM). Iyi nzira yekudzora inobvumidza iwe kunyatso kumisa iyo servo yekubuda shaft nekusiyanisa hupamhi hwemagetsi emagetsi anotumirwa kune servo. Heino mashandiro azvinoita:
Pulse Width Modulation (PWM): PWM inyanzvi inosanganisira kutumira nhevedzano yemagetsi emagetsi pane imwe frequency. Iyo kiyi paramende ihupamhi kana nguva yepuru yega yega, iyo inowanzoyerwa mumamicroseconds (µs).
Center Position: Mune yakajairika servo, kupomba kweanenge 1.5 milliseconds (ms) inoratidza nzvimbo yepakati. Izvi zvinoreva kuti servo yekubuda shaft ichave iri pakati payo.
Kudzora Kudzora: Kuti udzore kwainotenderera servo, unogona kugadzirisa pulse hupamhi. Semuyenzaniso:
Kurova kuri pasi pe1.5 ms (semuenzaniso, 1.0 ms) kwaizokonzera kuti servo itendeuke munzira imwe.
Kupomba kwakakura kudarika 1.5 ms (semuenzaniso, 2.0 ms) kwaizoita kuti servo itendeuke ichienda kune rimwe divi.
Position Control: Iyo chaiyo pulse hupamhi inopindirana zvakananga nenzvimbo ye servo. Semuyenzaniso:
A 1.0 ms pulse inogona kuenderana ne -90 madhigirii (kana imwe kona chaiyo, zvichienderana nezvinodiwa neservo).
2.0 ms pulse inogona kuenderana ne +90 degrees.
Kuramba Kudzora: Nekuramba uchitumira masaini ePWM pahupamhi hwekupuruzira, unogona kuita kuti servo itenderere kune chero kona yaunoda mukati meiyo yakatarwa.
DSpower Servo Yekuvandudza Rate: Iko kumhanya kwaunotumira aya masaini ePWM kunogona kukanganisa kuti servo inokurumidza sei kupindura uye kuti inofamba zvakanaka sei. MaServo anowanzo pindura zvakanaka kumasaini ePWM ane ma frequency ari pakati pe50 kusvika 60 Hertz (Hz).
Microcontroller kana Servo Driver: Kugadzira uye kutumira masaini ePWM kune servo, unogona kushandisa microcontroller (seArduino) kana yakatsaurirwa servo driver module. Zvishandiso izvi zvinogadzira masaini anodiwa ePWM zvichibva pane yaunopa yaunopa (semuenzaniso, kona yaunoda) uye zvakatemwa zve servo.
Heino muenzaniso muArduino kodhi kuratidza maitiro aungaita servo uchishandisa PWM:
Mumuenzaniso uyu, chinhu che servo chinogadzirwa, chakasungirirwa kune imwe pini, uye ipapo basa rekunyora rinoshandiswa kugadzirisa kona ye servo. Iyo servo inoenda kune iyo kona mukupindura kune iyo PWM chiratidzo chinogadzirwa neArduino.
Nguva yekutumira: Oct-18-2023