User Manual
22/06/2016 MicroduinoQuadcopterTutorialMicroduinoWikipedia
4/15
Duringtherotation,itwillformanantitorqueoppositetotherotationduetoairresistance.Yawingrotationisrealizedbyusingthe
reversetorque.Whentheaircraftsuspends,thespeedofthefourmotorsisthesame,whichcanoffsettorqueinbothhorizontaland
verticaldirection,andachievebalance.Whenthespeedofthefourmotorsisdifferent,unbalancedantitorquewillcausehorizontal
rotationandtheaircraftwilldeviatefromtheroute.Asthepictureshows,byincreasingthespeedofthemotor1and2,and
decreasingthatofthemotor3and4,theclockwiseantitorquegeneratedbythemotor1and2willbelargerthanthecounter
clockwiseantitorquegeneratedbythemotor3and4,causingclockwiserotationoftheaircrafthorizontallyandgeneratingno
verticaldisplacementwhenthereisnochangeinthethrustupside.
PitchandRollMotion
PitchmotionreferstotherotationintheYaxisdirectionwhiletherollmotionreferstotherotationintheXaxisdirection.
Asthepictureshows,byincreasingthespeedofthemotor1anddecreasingthatofthemotor2,andkeepingthesameofthe
variablequantityaswellasthespeedofthemotor3and4:Thethrustoftheheadislargerthanthatoftherear.Theunbalanced
torquemakesthebodyrise.Similarly,therollmotionisrealizedbyreducingthespeedofthemotor1andincreasingthatofthemotor
2,generatingatorqueforward.
Theprincipleoftherollandpitchmotionisthesameduetosymmetryinthemiddle.Bykeepingthespeedofthemotor1and2
unchanged,andchangingthespeedofmotor3and4,it'llgenerateunbalancedtorqueandmaketheaircraftrotatearoundtheXaxis
direction.
ControlProcedure
Theremotecontrollersendsoutcontrolcommand,suchastakeofforflyingleft.Thecontrolsignalisreceivedwirelessly.
Aremotecontrolsignalreceivingmodulereceivesacontrolsignal,whichisconvertedintoPWM,PPMorothersignalsand
thentransmittedtotheflightcontroller.
Microcontrollerusestheremotecontrolsignalandthesensor'svalue(thecurrentstateoftheaircraft,suchasacceleration,
directionandotherinformation)tocontrolthefourmotorandachievethedesiredactionthroughthePWM.
Sincethefourmotorcombinationcontrolcanonlyreachtosixdirections,whichisanunderactuatedsystem.Soherewemusthave
aflightcontrollertocontrolthewholesystem.
Intheflightcontrollers,sensorssuchasgyroscopeandacceleratoraredispensable.Microcontrollercancalculatedatafromthetwo
sensors,getthecurrentaircraft'sattitudeandthenadjusttherotationratewithalgorithmssuchPIDtokeepthestability.Sureyoucan
addanelectroniccompasstogetthedirectionoraGPSmoduletogetthegeographiclocation.Simplyspeaking,thequadcopteris