Design and Manufacturing of Quadcopter

Download as pdf or txt
Download as pdf or txt
You are on page 1of 47

GANPAT UNIVERSITY

U. V. Patel College of Engineering


Ganpat University, Kherva-382711 Ta & Dist.: Mehsana (North Gujarat) Ph.: 02762-286805, 286081 Fax (D): 286080 E-mail: [email protected] Web: www.uvpce.ac.in

Design and Manufacturing of Quadcopter Project Report


Darshil Thakkar (09MC121) Hario V!as (09MC12") Nisha Cha#$hr! (09MC129)

Page | 1

CERTIFICATE
Towards partial fulfillment of requirement for the award of Degree of Bachelor of MECHATR%NICS ENGINEERING& of GANPAT UNIVERSITY&. This is the record of candidates own work carried out b them under our super!ision " guidance. #n our opinion the work submitted has reached a le!el required for being accepted for e$am. The matter embodied in this pro%ect has not been submitted to an other uni!ersit or institute.

Pro%ect &eport on Design and 'anufacturing of (uadcopter)

S#' i(()$ *!+


Darshil Thakkar (09MC121) Hariom Vyas (09MC126) Nisha Chaudhry (09MC129)

GUIDE+ Prof. *.+.Thakkar ,ssistant Professor'echatronics Department 0.1. Patel 2ollege of /ngineering

C%UNTERSIGNED+ Prof. +. P. Patel .ead of Department'echatronics /ngg. 0.1. Patel 2ollege of /ngineering
Page | 2

ACKNOWLEDGMENTS :Our project has been a result of our own hard work but this project could not have become a reality without the support and help of many of our friends and faculty members. We take this opportunity to acknowledge their help and thank them for their good will. We would like to thank our Head of Department PROF. J. P Patel for his unwavering support and kind co-operation. He has been a great teacher and true mentor to us throughout our degree. We would also like to express our special thanks of gratitude to our PROF N.J.Thakkar for his support and conceptual help at various technical problems. Weve had the opportunity of being his students during three semesters and have learnt a great deal from him. The very concept of the project as well as its realization would not have been possible without him. We would also like to special thanks of gratitude to our PROF. D.A.Patel as well as our project COORDINATOR who gave us the golden opportunity to do this wonderful project on the topic of Design and Manufacturing of Quad copter which also helped us to doing a lot of Research. Lastly we would like to thank all the faculty members of Mechatronics department for their support throughout the year. Apart from our faculty members weve also gained a lot of experience and expertise from interacting with our classmates and friends. We would like to thank them all for being with us in this journey and making it memorable.

Darshil Thakkar. (09MC121) Hariom Vyas. (09MC126) Nisha Chaudhary. (09MC129)

Page | 3

ABSTRACT:The military use of unmanned aerial vehicles (UAVs) has grown because of their ability to operate in dangerous locations while keeping their human operators at a safe distance. The larger UAVs also provide a reliable long duration, cost effective, platform for reconnaissance as well as weapons. They have grown to become an indispensable tool for the military. The question we posed for our project was whether small UAVs also had utility in military and commercial/industrial applications. We postulated that smaller UAVs can serve more tactical operations such as searching a village or a building for enemy positions. Smaller UAVs, on the order of a couple feet to a meter in size, should be able to handle military tactical operations as well as the emerging commercial and industrial applications and our project is attempting to validate this assumption. To validate this assumption, my team considered many different UAV designs before we settled on creating a Quad copter. The payload of our Quad copter design includes a camera and telemetry that will allow us to watch live video from the Quad copter on a laptop that is located up to 2 miles away. We are presently in the final stages of building the Quad copter but we still improving our design to allow us to have longer flight times and better maneuverability. We are currently experimenting with new software so that we will not have to control the Quad copter with an RC controller but will instead operate by sending commands from a remote laptop. Our project has verified that it is possible to build a small-scale Quad copter that could be used for both military and commercial use. Our most significant problems to date have been an ambitious development schedule coupled with very limited funds. These constraints have forced compromise in components selected and methods used for prototype development.

Page | 4

INDEX
1. Introduction 1.1. Block Diagram of the system 1.2. Circuit Diagram of the system 7 7 9

2. Literature survey

10

3. Quad Copter concepts 3.1. Quad Copter Theory 3.2. The kinetic Principle of Quad Copter 3.3. Propellers 3.3.1. Airfoil 3.3.2. Structure of an Airfoil 3.3.3. Principle and working 3.3.4. Aerodynamic forces acting on the airfoil 3.3.5. Pitch of a propeller 3.4. Propellers used

14 14 16 17

20

4. Modulation 4.1. Pulse Width Modulation (PWM) 4.2. Pulse Position Modulation (PPM) 4.3. PWM to PPM conversion in a Quad Copter 4.4. Chip used for conversion (PWM TO PPM) 4.5. Block Diagram 4.6. Radio Transmitter and Receiver 4.6.1. Transmitter (TX) 4.6.2. Receiver (RX) 4.6.3. Fly Sky 6 channel Transmitter 4.6.4. Modes of a Transmitter 4.7. Fly Sky 6 channel Receiver

21 21 22 22 23 23 24

26

5. ARDU-IMU 5.1. What is arduino? 5.2. Ardu-IMU 5.3. IMU (Inertial Measure Unit) 5.4. AHRS (Attitude Heading Reference System) 5.5. Features 5.6. Theory operation 5.6.1. Direction cosine matrix (DCM) 5.6.2. Rotation Matrix 5.6.3. Coordinate transform: Rotation of axes 5.7. Sensors 5.7.1. Gyroscope

26 26 27 27 28 28 29

31
Page | 5

5.7.2. Accelerometer 5.7.2.1. Physical Principles 5.7.2.2. Structure

6. Motors 6.1. DC Motors 6.2. Brushed DC Motor 6.3. Flemings left hand rule 6.4. Brushless DC Motor 6.5. Left hand rule for the coils 6.6. Brushless vs. Brushed DC Motor 6.7. Out Runner Motor 6.8. Electronic Speed Controller (ESC) 6.8.1. Function 6.8.2. How is speed varied? 6.8.3. Switching circuit for Motors

32 32 33 33 34 34 35 35 36

7. 808 HD car key Micro Cameras 7.1. How the 808 HD car key Micro cameras originated 7.2. Specifications 7.3. Memory Card 7.4. Charging 7.5. Video Recording 7.6. Taking Pictures 7.7. How to connect with computer 7.8. PC Camera Mode 7.9. Recording videos while charging 7.10. In camera formatting

39 39 39 39 40 40 40 40 41 41 42

8. Lithium Polymer Battery 8.1. Application of LIPO Battery 8.2. Storage 8.3. Lithium Polymer Charger 8.4. LIPO Battery Used 8.5. LIPO battery Charger Used

42 42 43 43 43 44

9. Conclusion & Scope for future Enhancement 9.1. Conclusion 9.2. Scope for future enhancement

45 45 45

Page | 6

1. INTRODUCTION:Humans are fascinated by levitation. The reason is probably that the world we are living in is three-dimensional. However, human beings live and move mainly in two dimensions. It seems that humans have a very strong drive to overcome their biological limits. This leads to build machines that enable them to move in three-dimensional space, e.g., airplanes and helicopters. No matter how complicated the geographical feature is, it doesnt become a trouble if it flies in the air. Whats more, it is possible to use it even in a considerably severe region. And it can be controlled remotely to carry out a wide range of investigations. Unmanned Aerial Vehicles (UAVs) are crafts capable of flight without an onboard pilot. They can be controlled remotely by an operator or can be controlled autonomously via pre-programmed flight paths. A quad-rotor helicopter (i.e. QUADCOPTER) is an aircraft whose lift is generated by four rotors. Control of such a craft is accomplished by varying the speeds of the four motors relative to each other. Quad-rotor crafts naturally demand a sophisticated control system in order to allow for balanced flight. Uncontrolled flight of a quad-rotor would be virtually impossible by one operator, as the dynamics of such a system demand constant adjustment of four motors simultaneously. The goal of our project is to design and construct a Spy copter, quad-copter capable of Indoor-outdoor flight and hover with an onboard wireless camera used for remote surveillance and control. Through the use of an integrated control system, this vehicle would be capable of autonomous operation, including take-off, hover, and landing capabilities, controlled remotely by an operator and let the view the real-time footage captured by the camera.

1.1. BLOCK DIAGRAM OF THE SYSTEM:The working of the system is as follows as explained through figure 1.1 and figure 1.2: When the system is switched on, the receiver starts listening to the transmitting frequency (here 2.4 GHz).The transmitter gives commands for throttle. Yaw, pitch and roll which is interpreted by the 4 channels of the receiver used. The PWM signals are forwarded to an 8 channel PWM to PPM convertor. The PPM signal from the converter is send to the ARDUIMU at pin no.12. This PPM signal is processed by the IMU controller n 4 PWM outputs for the four motors are output from pin no.14, 15, 16and 17. This PWM signals are given to Electronic Speed Controller which also receive a battery connection each of
Page | 7

11 volts. The ESC switches the supply across the motor coils to run it at a specified speed. The sensors continuously monitor the orientation of the Quad copter in air. Accelerometer and Gyroscope are in build on the ARDUIMU and Magnetometer is added externally. Whenever a tilt is encountered it is compensated using Tilt compensation algorithm. The speeds of the motors are varied accordingly to stabilize the Quad copter. The camera transmits a video on 1.2 GHz channel which is received and displayed on a laptop or computer using a T.V Tuner card. This video can also be recorded.

Page | 8

FIGURE 1.1: BLOCK DIAGRAM OF THE SYSTEM

1.2. CIRCUIT DIAGRAM OF THE SYSTEM:Page | 9

FIGURE 1.2: CIRCUIT DIAGRAM OF THE SYSTEM

2. LITERATURE SURVEY:-

Page | 1:

According to Samir Bouabdallahs paper on Design and Control of an Indoor Micro Quad rotor, recent progress in sensor technology, data processing and integrated actuators has made the development of miniature monitoring robots fully possible. Micro VTOL1 systems represent a useful class of flying robots because of their strong capabilities for small-area monitoring and building exploration. This paper describes the approach that has been taken to micro VTOL evolving towards full autonomy, and presents the mechanical design, dynamic modelling, sensing, and control of indoor VTOL autonomous robot OS43.

FIGURE 2.1: COAXIAL QUADCOPTER According to X Dengs paper on Attitude Control for a Micro mechanical Flying Insect Including Thorax and Sensor Models, recent development on the design of the flight Simulation and control system for a Micromechanical Flying Insect (MFI). High level attitude control is considered. Compared to previous works, here the recently developed dynamical model for the thorax actuators and various sensor models to close the control loop. Specifically, a new wing kinematic parameterization method was developed to generate feasible wing motions based on the available thorax model. Compared to our previous method, this parameterization schemes ensures the boundedness and smoothness of the thorax input torques while decoupling the average roll, pitch, yaw torques in the body frame. A nominal state-space LTI model in hover was identified through linear estimation and a LQG controller was designed. Sensor models such as haltered, magnetic compass, and ocelli were included inside the closed loop system and the simulations shows stable hovering and steering manoeuvres.
Page | 11

According to Wei Wang and Gang Song, et al [2006] paper on Autonomous Control for Micro-Flying Robot and Small Wireless Helicopter X.R.B, autonomous control for Micro-Flying Robot and small helicopter X.R.B. In case of natural disaster like earthquake, a MAV will be very effective for surveying the site and environment in dangerous area or narrow space, where human cannot access safely. In addition, it will be a help to prevent secondary disaster. This paper is concerned with autonomous hovering control, guidance control of, and automatic takeoff and landing control of X.R.B. According to Felipe Bohorquez, paper on Design, Analysis and Hover performance of a Rotary Wing Micro Air Vehicle, an initial design concept for a microcoaxial rotorcraft using custom manufacturing techniques and commercial offtheshelf components is discussed. Issues associated with the feasibility of achieving hover and fully functional flight controls at small scale for a coaxial rotor configuration are addressed. Results from this initial feasibility study suggest that it is possible to develop a small scale coaxial rotorcraft weighing approximately 100 gm, and that moment control is sufficient for roll, yaw and lateral trim. A prototype vehicle was built and its rotors were tested in a custom hover stand used to measure thrust and power. A blade element momentum theory (BEMT) model of the rotor was implemented, and airfoil characteristics were estimated from the rotor tests. The model showed that profile drag accounts for 45% of the losses as opposed to 30% in fullscale helicopters. The radio controlled vehicle was flown untethered with its own onboard power source and exhibited good flight stability and control dynamics.

FIGURE 2.2: SCHEMATIC DRIVING AND FLYING MODES

Page | 12

FIGURE 2.3: ACTUAL MODEL SHOWING DRIVING AND FLYING MODES According to Seung Ho Jeong and Seul Jung, et al [2010], Novel Design and Position Control of an Omni-directional Flying Automobile, this paper presents a new concept of a flying and driving vehicle with a quad rotor structure. Design and control of an Omni-directional quad rotor vehicle called Omni-Fly mobile are presented. It is a form of a quad rotor copter with four wheels known as a kind of a quad rotor helicopter which has four actuating fans. Omni-Fly mobile is designed for both the capability of flying in the air and driving on the ground. The Omni-Fly mobile can be transformed into a vehicle that navigates on the ground. A tilting mechanism of the Omni-Fly mobile allows converting a flying mode to a driving mode or vice versa. Manoeuvring control of the Omni-quarto Fly mobile can be performed by controlling speed of each fan. Experimental studies of the Omni-Fly mobile are presented to show the feasibility of a flying and driving vehicle as a future concept car. According to Bora Erginer and Erdin Altu, et al [2007] , paper on Modelling and PD control of a quad rotor VTOL vehicle present a model of a four rotor vertical take-off and landing (VTOL) unmanned air vehicle known as quad rotor aircraft. And we explained its control architecture including vision based control. Quad rotors have generated considerable interest in both the control community due to their complex dynamics and military because of their advantages over regular air vehicles. The proposed dynamical model which comprises gyroscopic effects and its control strategies can be source for future works. According to Hun-ok Lim and Shoji Machida, et al [2010] paper on Mechanism and Control of Coaxial Double Contra-Rotation Flying Robot, describes the design and implementation of an on-line fingerprint verification system which operates in two stages: minutia extraction and minutia matching which is much faster and more reliable, is implemented for extracting features from an input fingerprint image captured with an online inkless scanner. For minutia matching, an alignment-based elastic matching algorithm has been developed. This algorithm is capable of finding the correspondences between minutiae in the input image and the stored template without resorting to exhaustive search and has the ability of adaptively compensating for the nonlinear
Page | 13

deformations and inexact pose transformations between fingerprints. The system has been tested on two sets of fingerprint images captured with inkless scanners. The verification accuracy is found to be acceptable. According to Madani, T, Benallegue, al [2006] paper on Back stepping Control for a Quad rotor Helicopter, this paper presents a nonlinear dynamic model for a quad rotor helicopter in a form suited for back stepping control design. Due to the underactuated property of quad rotor helicopter, the controller can set the helicopter track three Cartesian positions (x,y,z) and the yaw angle to their desired values and stabilize the pitch and roll angles. The system has been presented into three interconnected subsystems. The first one representing the under-actuated subsystem, gives the dynamic relation of the horizontal positions (x,y) with the pitch and roll angles. The second fully-actuated subsystem gives the dynamics of the vertical position z and the yaw angle. The last subsystem gives the dynamics of the propeller forces. A back stepping control is presented to stabilize the whole system. The design methodology is based on the Lyapunov stability theory. Various simulations of the model show that the control law stabilizes a quad rotor with good tracking. Kvrak, Arda Ozgur s Thesis reviews the Design of Control Systems for a Quad rotor Flight Vehicle Equipped with Inertial Sensors in detail. The control system is developed in Matlab/Simulink and real time implementation is achieved by using Simulink Real Time Windows Target utility. Linear Quadratic Regulator is designed for the stabilization of the attitude and shown to work in real time. The hardware consists of the data acquisition card, DC motor drivers, sensor set, the DC motors, and the Dragan Flyer V Ti structure.

Page | 14

FIGURE 2.4: DRAGAN FLYER

3. QUAD-COPTER CONCEPTS:3.1. QUAD-COPTER THEORY:Our Quad-copter uses four propellers, each controlled by its own motor and electronic speed controller. Using accelerometers we are able to measure the angle of the Quad-copter in terms of X, Y, and Z and accordingly adjust the RPM of each motor in order to self-stabilize its self. The Quad-copter platform provides stability as a result of the counter rotating motors which result in a net moment of zero at the center of the Quad-copter.

FIGURE 3.1: SHOWS NET MOMENT AT F3=0 Using this principle we are able to adjust the speed (RPM as a function of the voltage provided to the motor) of each individual motor in order to correctly manipulate Quad-copters yaw, pitch, and roll. Pitch and roll can be controlled by changing the speed of the appropriate motors, while yaw control involves delicate balancing of all four motor functions in order to change the moment force applied to the quad. YAW ANGLE: The angle between an aircrafts longitudinal axis and its line of travel, as seen from above. PITCH ANGLE: The angle between line perpendicular to its orbital plane. an objects rotational axis, and a

ROLL ANGLE: The angle of rotation of a vehicle about its longitudinal axis.
Page | 15

FIGURE 3.2: SHOWS PITCH, ROLL & YAW FOR AIRCRAFT

FIGURE 3.3: SHOWS DIRECTION OF ROTATION OF MOTORS


Page | 16

As you can see from the above given figure 3, two of the motors i.e. motor 1 and 3 are rotating in a clockwise direction and the other two motors i.e. motor 2 and 4 are rotating in anti-clockwise direction so as to ensure the perfect balance at the center of the quad-copter. Unlike common helicopters that have variable pitch angle, the quad copter obtains the expected speed by its fix pitch rotors whose speed is variable. The basic kinetic diagram is shown below. The vertical movement of quad copter could be realized by adjustments of the speeds of all four rotors at the same time. The movement along the X direction depends on the inclination on Y whose angle could be adjust by slowing down the speeds of rotors 1 and 2, speeding up rotors 3 and 4.The inclination also generate the acceleration along X direction.

3.2. THE KINETIC PRINCIPLE OF QUAD-COPTER:The movement along the Y direction depends on the inclination on X analogously.

FIGURE 3.4: SHOWS THE UPWARD THRUST PRODUCED BY ALL MOTORS Yaw movement is achieved by imbalance of the moments generated by the four rotors. The common helicopter has a stroke oar which could balance the moment generated by the main rotor. However, the quad copter could balance the moments only by each other. The imbalance of the moments, if calculated precisely, could generate expected yaw movement. For example, if we want the quad copter turn clockwise, the speeds of rotor 2 and 4 should be accelerate to overcome the moments generated by rotor
Page | 17

1 and 3. A good controller should meet the requirement that the quad copter should remain its altitude and pitch angle when the yaw angle is turning to its expected value.

3.3. PROPELLERS:A propeller is a type of fan that transmits power by converting rotational motion into thrust. A pressure difference is produced between the forward and rear surfaces of the airfoil-shaped blade, and air or water is accelerated behind the blade. Propeller dynamics can be modelled by both Bernoullis principle and Newtons third law. A propeller is often colloquially known as screw both in aviation and maritime. Aircraft propellers convert rotary motion from piston engines or turboprops to provide propulsive force. They may be fixed or variable pitch. Early aircraft propellers were carved by hand from solid or laminated wood with later propellers being constructed from metal. The most modern propeller designs use high-technology composite materials.

3.3.1. AIRFOIL:An airfoil or aero foil is the shape of a wing or blade (of a propeller, rotor or turbine) or sail as seen in cross-section. An airfoil-shaped body moved through a fluid produces an aerodynamic force. The component of this force perpendicular to the direction of motion is called lift. The component parallel to the direction of motion is called drag. Subsonic flight airfoils have a characteristic shape with a rounded leading edge, followed by a sharp trailing edge, often with asymmetric camber. Foils of similar function designed with water as the working fluid are called hydrofoils. The lift on an airfoil is primarily the result of its angle of attack and shape (in particular its camber). When either is positive, the resulting flow field about the airfoil has a higher average velocity on the upper surface than on the lower surface. This velocity difference is necessarily accompanied by a pressure difference, via Bernoullis principle for incompressible in viscid flow, which in turn produces the lift force. The lift force can also be related directly to the average top/bottom velocity difference, without invoking the pressure, by using the concept of circulation and the Kutta-Joukowski theorem.

3.3.2. STRUCTURE OF AN AIRFOIL:Angle of attack is the angle between the lifting bodys reference line (chord) and the oncoming flow. The chord of an airfoil is the imaginary straight line drawn through the airfoil from its leading edge to its trailing edge. Camber is the asymmetry between the top and the bottom surfaces of an airfoil. The trailing edge is the back of the airfoilthe place at which the airflow over the upper surface of the airfoil joins the airflow over the lower surface of the airfoil. The leading edge is the front of the airfoilthe portion that meets the air first.
Page | 18

FIGURE 3.5: STRUCTURE OF AIRFOIL

3.3.3. PRINCIPLE AND WORKING:The principle and working of a propeller is based on Bernoullis Principle & Newtons Third Law. Bernoullis principle states that for an in viscid flow, an increase in the speed of the fluid occurs simultaneously with a decrease in pressure or a decrease in the fluids potential energy. Newtons third law states that every action has an equal and opposite reaction.

FIGURE 3.6: AIR SPEED VARIATIONS ON AN AIRFOIL

Page | 19

An aerofoil is shaped so that air flows faster over the top than under the bottom. There is, therefore, a greater pressure below the aerofoil than above it. This difference in pressure produces the lift. Lift coefficient is a dimensionless coefficient that relates the lift generated by an aerodynamic body such as a wing or complete aircraft, the dynamic pressure of the fluid flow around the body, and a reference area associated with the body.

3.3.4. AERODYNAMIC FORCES ACTING ON THE AIRFOIL:-

FIGURE 3.7: FORCES ACTING ON AN AIRFOIL Lift and drag are considered to be the two aerodynamic forces that are acting upon the airfoil as shown in the above figure. Lift is defined to be the component of this force that is perpendicular to the oncoming flow direction. Drag is defined to be the component of the surface force parallel to the flow direction. In fluid dynamics, drag (sometimes called air resistance or fluid resistance) refers to forces that oppose the relative motion of an object through a fluid (a liquid or gas).

3.3.5. PITCH OF A PROPELLER:Pitch of a propeller is normally described as the distance travelled per rotation, assuming there is no slip. Low pitch yields good low speed acceleration (and climb rate in an aircraft) while high pitch optimizes high speed performance and economy. Blade pitch or simply pitch refers to turning the angle of attack of the blades of a propeller or helicopter rotor into or out of the wind to control the production or absorption of power. Wind turbines use this to adjust the rotation speed and the generated power. A propeller of a ship uses this effect to control the ships speed without changing the rotation of the shaft and to increase the efficiency of streaming fluids. In aircraft, blade pitch is usually described as coarse for a high angle of attack, and fine for a low angle of attack. Blade pitch is normally described in units of distance/rotation assuming no slip. Blade pitch acts much like the gearing of the final drive of a car.
Page | 2:

FIGURE 3.8: PITCH OF A PROPELLER Low pitch yields good low speed acceleration (and climb rate in an aircraft) while high pitch optimizes high speed performance and economy. Because the velocity of a propeller blade varies from the hub to the tip, they must be of twisted form in order for the pitch to remain constant along the length of the blade. This is typical of all but the crudest propellers. It is quite common in aircraft for the propeller to be designed to vary pitch in flight, optimizing both cruise and takeoff performance.

3.4. PROPELLERS USED:We have used 2 Blade, 94.7 pitch rotating and counter rotating propellers. We are using two different kinds of blades one rotating in clockwise directions and other rotating in anti-clockwise direction, thus producing force in opposite directions.

FIGURE 3.9: 2 Blade PROP 9 x 4.7

4. MODULATION:4.1. PULSE WIDTH MODULATION (PWM):Page | 21

Pulse Width Modulation is a way of simulating an analog output by varying HIGH and LOW signals at intervals proportional to the value. Width of each pulse varies according to the amplitude of the analog signal.

FIGURE 4.1: PULSE WIDTH MODULATION Pulse-width modulation, or pulse-duration modulation, is a commonly used technique for controlling power to inertial electrical devices, made practical by modern electronic power switches. The term duty cycle describes the proportion of on time to the regular interval or period of time; a low duty cycle corresponds to low power, because the power is off for most of the time. Duty cycle is expressed in percent, 100% being fully on. The average value of voltage (and current) fed to the load is controlled by turning the switch between supply and load on and off at a fast pace. The longer the switch is on compared to the off periods, the higher the power supplied to the load is. Duty Cycle:In a periodic event, duty cycle is the ratio of the duration of the event to the total period.

Page | 22

FIGURE 4.2: DUTY CYCLE

4.2. PULSE POSITION MODULATION (PPM):Pulse-position modulation is a form of signal modulation in which M message bits are encoded by transmitting a single pulse in one of 2M possible time-shifts. This is repeated every T seconds, such that the transmitted bit rate is M/T bits per second. Pulse position modulation (PPM) is a pulse modulation technique that uses pulses that are of uniform height and width but displaced in time from some base position according to the amplitude of the signal at the instant of sampling.

FIGURE 4.3: PULSE POSITION MODULATION

4.3. PWM TO PPM CONVERSION IN A QUAD-COPTER:PWM refers to a pulse width modulation signal, where the width of each pulse changes according to the amplitude of an analog signal. PPM on the other hand refers to a pulse position modulation signal, where the width of each pulse remains the same, but each pulse is displaced by a certain position based on the analog signal amplitude. The basic need for conversion of a PWM signal received from a transmitter into a PPM signal arises due to the fact that the main controller board used (ArduIMU) on a quad-copter
Page | 23

cant process a PWM signal and hence a converter is required to convert a PWM signal to a PPM signal. The conversion of a PWM signal to a PPM signal is as explained in the below figure -:

FIGURE 4.4: PWM TO PPM CONVERSION

4.4. CHIP USED FOR CONVERSION (PWM TO PPM):The best way to read RC signals is PPM, which is a sequential stream where each channel is output in turn on a single wire. Paparazzi team designed a board that will convert up to 8 channels of regular PWM servo signals to one PPM signal, with no RC hacking required. This improved & reduced PPM encoder board, based on a paparazzi design, plugs into the servo output ports on an R/C receiver and encodes them into a PPM pulse suitable for the paparazzi autopilot.

4.5. BLOCK DIAGRAM:Integration of atmega328p encoder (PWM TO PPM) with the main board (ARDUIMU V2). Atmega328p converts the PWM signal received from RC transmitter into a PPM signal and sends it as input to main board as shown in the figure below.

F IGURE 4.5: BLOCK DIAGRAM FOR PWM TO PPM CONVERSION

4.6. RADIO TRANSMITTER AND RECEIVER:4.6.1. TRANSMITTER (TX):Page | 24

In electronics and telecommunications a radio transmitter is an electronic device which, with the aid of an antenna, produces radio waves. The transmitter itself generates a radio frequency alternating current, which is applied to the antenna. When excited by this alternating current, the antenna radiates radio waves. The term transmitter is usually limited to equipment that generates radio waves for communication purposes; or radiolocation, such as radar and navigational transmitters. A transmitter can be a separate piece of electronic equipment, or an electrical circuit within another electronic device. A transmitter and receiver combined in one unit is called a transceiver. The term transmitter is often abbreviated XMTR or TX in technical documents. The purpose of most transmitters is radio communication of information over a distance. The information is provided to the transmitter in the form of an electronic signal, such as an audio (sound) signal from a microphone, a video (TV) signal from a TV camera, or in wireless networking devices a digital signal from a computer. The transmitter combines the information signal to be carried with the radio frequency signal which generates the radio waves, which is often called the carrier. This process is called modulation. A radio transmitter is an electronic circuit which transforms electric power from a battery or electrical mains into a radio frequency alternating current, which reverses direction millions to billions of times per second. The energy in such a rapidly-reversing current can radiate off a conductor (the antenna) as electromagnetic waves (radio waves).

4.6.2. RECEIVER (RX):A radio receiver is an electronic circuit that receives its input from an antenna, uses electronic filters to separate a wanted radio signal from all other signals picked up by this antenna, amplifies it to a level suitable for further processing, and finally converts through demodulation and decoding the signal into a form usable for the consumer, such as sound, pictures, digital data, measurement values, navigational positions, etc. Demodulation is the act of extracting the original information-bearing signal from a modulated carrier wave. A demodulator is an electronic circuit that is used to recover the information content from the modulated carrier wave. The receiver in information theory is the receiving end of a communication channel. It receives decoded messages/information from the sender, who first encoded them. Sometimes the receiver is modelled so as to include the decoder. Real-world receivers like radio receivers cannot be expected to receive as much information as predicted by the noisy channel coding theorem.

4.6.3. FLYSKY 6 CHANNEL TRANSMITTER:HKT6A transmitter is used is 6 channel, FM modulating with a 2.4 GHz frequency band, the frequency at which it transmits the modulated signal. The signal transmitted by the transmitter is received by a HKT6A receiver which de-modulates the signal to get the original signal.

SPECIFICATIONS:

6 CHANNEL
Page | 25

FM MODULATION TYPE 2.4GHZ FREQUENCY BAND POWER RESOURCE 1.5V * 8 AA BATTERY GFSK PROGRAM TYPE LED VOLTAGE DISPLAY WEIGHT : 575g SIZE : 189*97*218 mm 26 mm ANTENNA LENGTH

4.6.4. MODES OF A TRANSMITTER:Modes of a transmitter hk-t6a specify the working of the transmitter, where the left gauge upward movement specifies the throttle necessary for the lift. The left gauge left-right movement specifies the yaw angle. Further the right gauge upward movement is for controlling the pitch and the left-right movement to control the roll. All the above explained specifies the modes of transmitter necessary for controlling the quad-copter in the air. The mode has been specified in the figure 4.7.

FIGURE 4.6: FLYSKY 6 CHANNEL TRANSMITTER MODE OF OPERATION A radio transmitter is an electronic circuit which transforms electric power from a battery or electrical mains into a radio frequency alternating current, which reverses direction millions to billions of times per second. The energy in such a rapidly-reversing current can radiate off a conductor (the antenna) as electromagnetic waves (radio waves). Transmitter is used to modulate a original signal onto the carrier wave, thus generating radio waves that are transmitted to the receiver, which upon receive Demodulates the signal and retrieve the original intended signal.
Page | 26

4.7. FLYSKY 6 CHANNEL RECEIVER:-

FIGURE 4.7: FLYSKY 6 CHANNEL RECEIVER

SPECIFICATIONS:

6 CHANNEL FM MODULATION TYPE 2.4GHZ FREQUENCY BAND POWER RESOURCE 1.5V * 4 AA BATTERY GFSK PROGRAM TYPE WEIGHT : 12g SIZE : 45*23*13.5 mm

5. ARDU-IMU:5.1. WHAT IS ARDUINO?:Arduino is an open-source single-board microcontroller, descendant of the opensource Wiring platform, designed to make the process of using electronics in multidisciplinary projects more accessible. The hardware consists of a simple open hardware design for the Arduino board with an Atmel AVR processor and on-board I/O support. The software consists of a standard programming language compiler and the boot loader that runs on the board.

Page | 27

FIGURE 5.1: ARDUINO

5.2. Ardu-IMU:ArduIMU is an Inertial Measure Unit (sensors and hardware filter circuitry) plus an Arduino-compatible processor that can run our Attitude Heading Reference System (AHRS) code, based on Bill Premerlanis DCM algorithm. This hardware consists of a 3 axis accelerometer and three gyro sensors, dual power regulator (3.3v and 5v), GPS port, an Atmega328@16mhz and a lot of status LEDs. Its the cheapest IMU-AHRS on the market!

5.3. IMU (Inertial Measure Unit):An inertial measurement unit, or IMU, is an electronic device that measures and reports on a crafts velocity, orientation, and gravitational forces, using a combination of accelerometers and gyroscopes. IMUs are typically used to maneuver aircraft, including UAVs, among many others, and spacecraft, including shuttles, satellites and Landers. The IMU is the main component of inertial navigation systems used in aircraft, spacecraft, watercraft, and guided missiles among others. In this capacity, the data collected from the IMUs sensors allows a computer to track a crafts position, using a method known as dead reckoning.

Page | 28

FIGURE 5.2: arduiMU

5.4. AHRS (Attitude Heading Reference System):An Attitude Heading Reference System consists of sensors on three axes that provide heading, attitude and yaw information for aircraft. They are designed to replace traditional mechanical gyroscopic flight instruments and provide superior reliability and accuracy. AHRS consist of either solid-state or MEMS gyroscopes, accelerometers and magnetometers on all three axes. The key difference between an IMU and an AHRS is the addition of an on-board processing system in an AHRS which provides solved attitude and heading solutions versus an IMU which just delivers sensor data to an additional device that solves the attitude solution. AHRS have proven themselves to be highly reliable and are in common use in commercial and business aircraft. AHRS are typically integrated with Electronic Flight Information Systems (EFIS) (which are the central part of so-called glass cockpits) to form the Primary Flight Display. AHRS can be combined with air data computers to form an air data, attitude and heading reference systems (ADAHRS), which provide additional information such as airspeed, altitude and outside air temperature.

5.5. FEATURES:

Flat Design. Low cost. 3 Axis Accelerometer. 3 Axis Gyroscopes. Arduino Compatible. Source Code included and Open Source! Power LED (Green).
Page | 29

Status LEDs (Red, Blue, Yellow). 1 SPI port. 1 I2C port (possible expansion shield with magnetometers). Two PWM outputs (for servos). GPS port. Protection diode. Serial port output with servo standard connector for easy interface with any device (Ground, 5V, TX-OUT)

FIGURE 5.3: arduimu v2 PIN DESCRIPTION

5.6. THEORY OPERATION:ArduIMU uses gyros, accelerometers, and magnetometer to maintain a model of the boards orientation in space. This is not as simple a problem as integrating the roll rates from the gyros. As a simple illustrative example, consider an airplane flying level to the north that first bank (rolls) 90 degrees to the right and then pitches 90 degrees. Mathematical algorithm called the Direction Cosine Matrix (DCM) to take sensor data from the gyros, accelerometers. The airplane would be flying horizontally to the east in a 90 degree bank orientation. If instead the airplane pitched up 90 degrees first, then banked 90 degrees the airplane would be flying straight up. We cannot just keep track of how much roll and pitch have occurred and know the orientation of the aircraft. For this simplified explanation here are the essential components of the algorithm.

The Direction Cosine Matrix is a 3 by 3 numerical matrix (array)


Page | 3:

The gyro data is used in a time step integration to update the DCM matrix Data from the accelerometers and magnetometer is used to correct for errors that creep in to the DCM matrix. These errors arise from drift in the gyros as well as numerical errors due to quantization of the gyro signals and rounding errors in the computations. Pitch, roll and yaw can be computed from the elements of the direction cosine matrix. ArduIMU outputs a serial data stream.

5.6.1. DIRECTION COSINE MATRIX (DCM):The orientation of a body in 3 dimensions is represented with respect to orthogonal right-handed triad and of unit vectors fixed to its body (representing the three axes of the objects coordinate system) using direction cosine matrix. An example where rotation representation is used is in computer vision, where an automated observer needs to track a target. Lets consider a rigid body, with an orthogonal right, and of unit vectors fixed to its body (representing the three axes of the objects coordinate system). The basic problem is to specify the orientation of this triad, and hence the rigid body, in terms of the reference coordinate system (in our case the observers coordinate system).

5.6.2. ROTATION MATRIX:The above mentioned triad of unit vectors is also called a basis. Specifying the coordinates (scalar components) of this basis in its current (rotated) position, in terms of the reference (non-rotated) coordinate axes, will completely describe the rotation. The three unit vectors, and which form the rotated basis each consist of 3 coordinates, yielding a total of 9 parameters. These parameters can be written as the elements of a matrix, called a rotation matrix. Typically, the coordinates of each of these vectors are arranged along a column of the matrix.

5.6.3. COORDINATE TRANSFORM: ROTATION OF AXES:Consider counter clockwise (positive) rotation, R (q), about z-axis (out of paper). The components of x and y in terms of the old x and y are given by the direction cosines, (Think of x, or y, as just some vector). For coordinate transforms, R (q) = a, it is easiest to remember what the appropriate Direction cosines, aij, are from the following aid:

With, a11=axx=cos xx a12=axy=cos xy a21=ayx=cosyx a22=ayy=cos yy (1) (2) (3) (4)


Page | 31

5.7. SENSORS:A sensor is a device that measures a physical quantity and converts it into a signal which can be read by an observer or by an instrument. For example, a mercury-in-glass thermometer converts the measured temperature into expansion and contraction of a liquid which can be read on a calibrated glass tube. A thermocouple converts temperature to an output voltage which can be read by a voltmeter. For accuracy, most sensors are calibrated against known standards. 5.7.1. GYROSCOPE:A gyroscope is a device for measuring or maintaining orientation, based on the principles of conservation of angular momentum. The first commercially available surface-micro machined angular rate sensors with integrated electronics, they are smallerwith lower power consumption, and better immunity to shock and vibration than any gyros having comparable functionality. This genuine breakthrough is possible only because of the Analog Devices proprietary integrated micro electro-mechanical system (iMEMS) process, proven by use in millions of automotive accelerometers. Gyroscopes are used to measure angular ratehow quickly an object turns. The rotation is typically measured in reference to one of three axes: yaw, pitch, or roll. 5.7.2. ACCELEROMETER:An accelerometer is a device that measures the proper acceleration of the device. This is not necessarily the same as the coordinate acceleration (change of velocity of the device in space), but is rather the type of acceleration associated with the phenomenon of weight experienced by a test mass that resides in the frame of reference of the accelerometer device. For an example of where these types of acceleration differ, an accelerometer will measure a value when sitting on the ground, because masses there have weights, even though they do not change velocity. However, an accelerometer in gravitational free fall toward the center of the Earth will measure a value of zero because, even though its speed is increasing, it is in an inertial frame of reference, in which it is weightless. 5.7.2.1. PHYSICAL PRINCIPLES:An accelerometer measures proper acceleration, which is the acceleration it experiences relative to free-fall and is the acceleration felt by people and objects. Put another way, at any point in space-time the equivalence principle guarantees the existence of a local inertial frame, and an accelerometer measures the acceleration relative to that frame. Such accelerations are popularly measured in terms of g-force. 5.7.2.2. STRUCTURE:Conceptually, an accelerometer behaves as a damped mass on a spring. When the accelerometer experiences acceleration, the mass is displaced to the point that the spring is able to accelerate the mass at the same rate as the casing. The displacement is then measured to give the acceleration.

Page | 32

FIGURE 5.4: WORKING OF ACCELEROMETER Capacitive accelerometers typically use a silicon micro-machined sensing element. Their performance is superior in the low frequency range and they can be operated in servo mode to achieve high stability and linearity. 6. MOTORS:6.1. DC MOTORS:A DC motor is an electric motor that runs on direct current (DC) electricity. In any electric motor, operation is based on simple electromagnetism. A current-carrying conductor generates a magnetic field; when this is then placed in an external magnetic field, it will experience a force proportional to the current in the conductor, and to the strength of the external magnetic field. As you are well aware of from playing with magnets as a kid, opposite (North and South) polarities attract, while like polarities (North and North, South and South) repel. The internal configuration of a DC motor is designed to harness the magnetic interaction between a current-carrying conductor and an external magnetic field to generate rotational motion. A dc motor can be broadly classified into two distinguished types of motors namely -:

Brushed dc motor Brushless dc motor

As per our project we will be concentrating more on the concept of brushless dc motor.
Page | 33

6.2. BRUSHED DC MOTOR:A brushed DC motor is an internally commutated electric motor designed to be run from a DC power source. The brushed dc electric motor generates torque directly from DC power supplied to the motor by using internal commutation, stationary permanent magnets, and rotating electrical magnets. Like all electric motors or generators, torque is produced by the principle of Lorentz force, which states that any current-carrying conductor placed within an external magnetic field experiences a torque or force known as Lorentz force. When a current passes through the coil wound around a soft iron core, the side of the positive pole is acted upon by an upwards force, while the other side is acted upon by a downward force. According to Flemings left hand rule, the forces cause a turning effect on the coil, making it rotate. To make the motor rotate in a constant direction, direct current commutators make the current reverse in direction every half a cycle (in a twopole motor) thus causing the motor to continue to rotate in the same direction. When a current passes through the coil wound around a soft iron core, the side of the positive pole is acted upon by an upwards force, while the other side is acted upon by a downward force. According to Flemings left hand rule, the forces cause a turning effect on the coil, making it rotate. To make the motor rotate in a constant direction, direct current commutators make the current reverse in direction every half a cycle (in a twopole motor) thus causing the motor to continue to rotate in the same direction. A problem with the motor shown above is that when the plane of the coil is parallel to the magnetic fieldi.e. when the rotor poles are 90 degrees from the stator polesthe torque is zero. In the pictures above, this occurs when the core of the coil is horizontalthe position it is just about to reach in the last picture on the right. The motor would not be able to start in this position. However, once it was started, it would continue to rotate through this position by inertia. 6.3. FLEMINGS LEFT HAND RULE:Flemings left hand rule (for motors), is a visual mnemonics that is used for working out which way an electric motor will turn. The term was coined by John Ambrose Fleming in the late 19th century. When an electric current flows in a wire, and an external magnetic field is applied across that flow, the wire experiences a force perpendicular both to that field, and to the direction of the current flow. A left hand can be held, as shown in the illustration, so as to represent three mutually orthogonal axes on the thumb, first finger and middle finger. It is then just a question of remembering which finger represents which quantity (electric current, magnetic field and mechanical force), and whether the right hand should be used instead of the left. The figure 6.1 explains the working of a brushed DC Motor:

Page | 34

FIGURE 6.1: WORKING OF BRUSHED MOTORS

6.4. BRUSHLESS DC MOTOR:Brushless DC motors (BLDC motors, BL motors) also known as electronically commutated motors (ECMs, EC motors) are synchronous electric motors powered by direct-current (DC) electricity and electronic commutation systems, rather mechanical commutators and brushes. The current-to-torque and frequency-to-speed relationships of BLDC motors are linear. BLDC motors may be described as stepper motors, with fixed permanent magnets and possibly more poles on the rotor than the stator, or reluctance motors. The latter may be without permanent magnets, just poles that are induced on the rotor then pulled into alignment by timed stator windings. However, the term stepper motor tends to be used for motors that are designed specifically to be operated in a mode where they are frequently stopped with the rotor in a defined angular position; this page describes more general BLDC motor principles, though there is overlap. Now the movement of the magnet in the center depends on the direction of flow of current in the coil as shown in the above figure. The continuous movement of the magnet is ensured by Left hand rule for the coils. 6.5. LEFT HAND RULE FOR THE COILS:The left hand rule states that Grasp the coil in your left hand, with your finger wrapped around in the direction of the current. Your thumb will point towards the north pole of the coil.

6.6. BRUSHLESS VS BRUSHED DC MOTOR:Page | 35

Limitations of brushed DC motors overcome by BLDC motors include lower efficiency and susceptibility of the commutator assembly to mechanical wear and consequent need for servicing, at the cost of potentially less rugged and more complex and expensive control electronics. A BLDC motor has permanent magnets which rotate and a fixed armature, eliminating the problems of connecting current to the moving armature. An electronic controller replaces the brush/commutator assembly of the brushed DC motor, which continually switches the phase to the windings to keep the motor turning. The controller performs similar timed power distribution by using a solidstate circuit rather than the brush/commutator system. BLDC motors offer several advantages over brushed DC motors, including more torque per weight and efficiency, reliability, reduced noise, longer lifetime (no brush and commutator erosion), elimination of ionizing sparks from the commutator, more power, and overall reduction of electromagnetic interference (EMI). With no windings on the rotor, they are not subjected to centrifugal forces, and because the windings are supported by the housing, they can be cooled by conduction, requiring no airflow inside the motor for cooling. This in turn means that the motors internals can be entirely enclosed and protected from dirt or other foreign matter. The maximum power that can be applied to a BLDC motor is exceptionally high, limited almost exclusively by heat, which can weaken the magnets. A BLDC motors main disadvantage is higher cost, which arises from two issues. First, BLDC motors require complex electronic speed controllers to run. Brushed DC motors can be regulated by a comparatively simple controller, such as a rheostat (variable resistor). However, this reduces efficiency because power is wasted in the rheostat. Second, some practical uses have not been well developed in the commercial sector. For example, in the Radio Control (RC) hobby, even commercial brushless motors are often hand-wound while brushed motors use armature coils which can be inexpensively machine-wound. BLDC motors are often more efficient at converting electricity into mechanical power than brushed DC motors. This improvement is largely due to the absence of electrical and friction losses due to brushes. The enhanced efficiency is greatest in the noload and low-load region of the motors performance curve. Under high mechanical loads, BLDC motors and high-quality brushed motors are comparable in efficiency. 6.7. OUT-RUNNER MOTOR:The term out-runner refers to a type of brushless motor primarily used in electrically propelled, radio-controlled model aircraft. This type of motor spins its outer shell around its windings, much like motors found in ordinary CD-ROMs computer drives. In fact, CD-ROM motors are frequently rewound into brushless out-runner motors for small park flyer aircraft. Parts to aid in converting CD-ROM motors to aircraft use are commercially available. Out-runners spin much slower than their in-runner counterparts with their more traditional layout (though still considerably faster than ferrite motors) while producing far more torque. This makes an out-runner an excellent choice for directly driving electric aircraft propellers since they eliminate the extra weight, complexity, inefficiency and noise of a gearbox.

Page | 36

Out-runner motors have quickly become popular and are now available in many sizes. They have also become popular in personal, electric transportation applications such as electric bikes and scooters due to their compact size and favourable power-toweight ratios. The stationary (stator) windings of an out-runner motor are excited by conventional DC brushless motor controllers. A direct current (switched on and off at high frequency for voltage modulation) is typically passed through three or more nonadjacent windings together, and the group so energized is alternated electronically based upon rotor position feedback. The number of permanent magnets in the rotor does not match the number of stator poles, however. The difference between the number of magnet poles and the number of stator poles provides an effect that can be understood as similar to planetary gearing. The number of magnet poles divided by 2 gives the ratio of magnetic field rotation speed to motor rotation speed. Consequently the advance of the electromagnetic impulse around the motor axis proceeds much faster than the rotor turns. With more magnet poles the maximum torque is increased, while the speed of rotor advance is decreased in proportion to the ratio of magnet poles to stator poles.In an out-runner the outer shell constituting the magnets are rotated around the windings (coils). An out runner is mounted below the surface of the quad consolidating the centre of gravity and providing more stability. The out runner is basically used to counter the inverse pendulum problem due to which if any stacking or mounting is done on top of the quad copter it can be stabilized thru out runners.

FIGURE 6.5: OUTRUNNER MOTOR 6.8. ELECTRONIC SPEED CONTROLLER:The purpose of a motor speed controller is to take a signal representing the demanded speed, and to drive a motor at that speed. With the purpose to vary an electric motors speed and direction ESCs are often used on electrically-powered radio controlled models. An ESC can be a stand-alone unit which plugs into the receivers throttle control
Page | 37

channel or incorporated into the receiver itself, as is the case in most toy-grade R/C vehicles. Some R/C manufacturers that install proprietary hobby-grade electronics in their entry-level vehicles, vessels or aircraft use onboard electronics that combine the two on a single circuit board. 6.8.1. FUNCTION:Regardless of the type used, an ESC interprets control information not as mechanical motion as would be the case of a servo, but rather in a way that varies the switching rate of a network of field effect transistors, or FETs. The rapid switching of the transistors is what causes the motor itself to emit its characteristic high-pitched whine, especially noticeable at lower speeds. It also allows much smoother and more precise variation of motor speed in a far more efficient manner than the mechanical type with a resistive coil and moving arm once in common use.Most modern ESCs incorporate a battery eliminator circuit (or BEC) to regulate voltage for the receiver, removing the need for receiver batteries. BECs are usually either linear or switched mode voltage regulators. DC ESCs in the broader sense are PWM controllers for electric motors. The ESC generally accepts a nominal 50 Hz PWM servo input signal whose pulse width varies from 1 ms to 2 ms. When supplied with a 1 ms width pulse at 50 Hz, the ESC responds by turning off the DC motor attached to its output. A 1.5 ms pulse-width input signal results in a 50% duty cycle output signal that drives the motor at approximately half-speed. When presented with 2.0 ms input signal, the motor runs at full speed due to the 100% duty cycle (on constantly) output. 6.8.2. HOW IS SPEED VARIED? :When we watch a film in the cinema, or the television, what we are actually seeing is a series of fixed pictures, which change rapidly enough that our eyes just see the average effect movement. Now by switching the motors supply on and off very quickly. If the switching is fast enough, the motor doesnt notice it, it only notices the average effect. As the amount of time that the voltage is on increases compared with the amount of time that it is off, the average speed of the motor increases this on-off switching is performed by power MOSFETs. A MOSFET (Metal-Oxide-Semiconductor Field Effect Transistor).It is a device that can turn very large currents on and off under the control of a low signal level voltage. If the supply voltage is switched fast enough, it wont have time to change speed much, and the speed will be quite steady. This is the principle of switch mode speed control. Thus the speed is set by PWM Pulse Width Modulation. The graph above shows the speed of a motor that is being turned on and off fairly slowly: Each switching on and off of the speed controller MOSFETs results in a little power loss. Therefore the greater the time spent switching compared with the static on and off times, the greater will be the resulting switching losses in the MOSFETs. The higher the switching frequency, the more stable is the current waveform in the motors. The connection below shows the motor, esc and the battery.

Page | 38

FIGURE 6.6: SPEED OF MOTOR THAT IS BEING TURNED ON AND OFF SLOWLY 6.8.3. SWITCHING CIRCUIT FOR MOTORS:Figure shows how the stator coils are magnetized on supply of current

FIGURE 6.7: COIL LAYOUT and MAGNETIC ORIENTATION

Page | 39

7. 808 HD Car Key Micro Cameras:7.1. How the 808 HD Car Key Micro Cameras originated:In 2010 Tom Frank created a thread, http://www.rcgroups.com/forums/showthread.php?t=1362692, in the RC Groups which was dedicated to information exchange and sample videos relating to the very popular camera and RC planes. This thread was so successful and full of tips and ideas for improvements that he decided to design the based on what users would like to see improved. Tom has now started a new thread dedicated to the new model, the 808 HD Car Key Micro Cameras; you will find a lot of helpful information about it in the following article.

7.2. Specifications: 1/4 CMOS WXGA HD Sensor / H.264/AVC1 DSP / Hynix 512M DDR2 / Built in Audio Codec Built in Rechargeable LIPO Battery (200mah), with Battery Charger Manage IC Video: 1280 x 720 HD, 30FPS, optional 848 x 480 30FPS; 640 x 480 30FPS Video Format: .MOV (and optional .AVI) Photo: JPG 1280*960 Snap Photo: JPG 1280*720 Supports up to 32GB micro SD / SDHC memory cards Supports various user settings through configuration tool. Supports in-camera formatting Supports updating firmware when its available USB2.0 (MSDC/PCCAM) Buttons: Power / Shutter / Reset Indicator LED Light: Green / Red / Yellow

7.3. Memory Card:1. This camera has no built in memory. It needs an extra micro SD memory card (Not included in the camera) to work. The camera supports up to 32GB micro SDHC card. Class 4 or above is recommended. 2. The micro SD / SDHC card, also called TF card, is 15mm x 11mm in size and has 8 pins. It is commonly used in cell phones, digital cameras, media players and USB flash disk, etc. 3. Insert the TF card into the TF card slot. Please make sure the side with the 8 gold pins is inserted upwards, with the pins facing the buttons. Use your fingernail to push the card in until you hear a click. The card should then be securely latched. 4. Removing the TF card: Push the TF card inwards about 1 mm using your fingernail. This will release the spring latch and the TF card will be ejected.
Page | 4:

7.4. Charging:1. Please charge the camera before using it for the first time. 2. Connect the camera using the USB cable to your computer or use a generic USB charger for charging. 3. Charging time is approx. 2.5 hours. The green indicator light is on when charging and off when fully charged.

7.5. Video Recording:1. Make sure the TF card is correctly inserted. 2. Press and hold the Power button approx. 2 secs. until the yellow indicator light turns on. The camera is now turned on and is in video recording standby mode. Yellow light on = video recording standby. 3. Briefly press the Shutter button. The yellow indicator light flashes three times and then turns off. Video recording has started. 4. Press the Shutter button again, and the yellow indicator light will turn on. The video recording stops and the video file is saved. 5. If you briefly press the Power button during video recording, you will take a snapshot (photo). 6. Press and hold the Power button for about 3 seconds. The red light flashes 3 times and the camera is turned off.

7.6. Taking Pictures:1. Make sure the TF card is correctly inserted. 2. Press and hold the Power button approx 2 secs. until the yellow indicator light turns on. The camera is now turned on and is in video recording standby mode. Press the Power button again, and the red light will turn on indicating that the camera is in photo standby mode. Red light on = Photo standby mode. 3. Briefly press the Shutter button, the yellow indicator light flashes. One photo is taken and the file is saved. Continue to press the Shutter button to take and save more photos. 4. Briefly press the Power button to return to video recording standby mode.

7.7. How to Connect with Computer / Removable Disk Mode:1. The camera is Plug and Play and will work on most computer systems. There is no need to install any driver. 2. Connect the camera, with memory card inserted, to your computer using a standard USB cable. Press and hold the power button for around 2 seconds. The
Page | 41

camera will be recognized by the computer as a Removable Disk. 3. It is recommended to move or copy the files from the camera onto the hard drive for editing, viewing etc. Note:-the LED will flash during data transfer. 4. If the camera is already turned on and in standby mode, it will enter into removable disk mode when connected to the computer. 5. If the camera is already turned on and is recording video, it will continue to record using USB power and at the same time will also charge the battery.

7.8. PC Camera (web cam) Mode:1. The camera is Plug and Play and will work on most computer systems. There is No need to install any drivers. 2. Remove the memory card from the camera. 3. Turn the camera on before or after connecting it to the computer. Wait a few seconds, the computer system will recognize the camera as a USB PC Camera. 4. You will need a webcam program, such as AMCAP, or another program that can stream video from an external device. Many video editing programs and online messaging utilities also have this capability. If you see no video from the camera in your program, check the program's list of devices and confirm the USB PC Camera device is selected. If the USB PC Camera device does not appear in the list of devices, leave the camera in webcam mode and restart the program. The USB PC Camera device should now show up as a device, and you can select it to enable the video stream. Note: there is no audio when this camera using as a webcam.

7.9. Recording videos while charging:1. This camera supports recording videos while charging, which enables you to record long videos by using an external power source. 2. The camera will work with any standard USB DC 5V output power source, such as USB car charger, USB wall charger, external power pack with USB output or USB computer port. 3. When using the USB computer port, video recording has to be started before connecting the camera to the computer. When using an external charger or power pack , video recording can be started before or after connecting the power source to the camera. Any Standard USB data cable may be used, a special cable is not needed.

Page | 42

7.10. In camera formatting:This camera supports in-camera formatting. The camera will work with various micro SD / SDHC memory cards formatted as FAT32. To avoid any possible memory card compatibility issue, its strongly recommended to use in-camera formatting to format memory cards. The procedure as below, 1. 2. 3. 4. Connect the Camera as a Removable disk. Press and hold Shutter button. DO NOT RELEASE the button. Disconnect the camera from the computer. Keep holding shutter button until indicator light flashes and then turns off, indicating that formatting is completed. This will take approx 5 seconds.

8. Lithium Polymer Battery:8.1. APPLICATION OF LIPO BATTERY:A compelling advantage of Li-poly cells is that manufacturers can shape the battery almost however they please, which can be important to mobile phone manufacturers constantly working on smaller, thinner, and lighter phones. Li-poly batteries are also gaining favour in the world of radio-controlled aircraft as well as radio-controlled cars, where the advantages of both lower weight and greatly increased run times can be sufficient justification for the price. Some air soft gun owners have switched to LiPo batteries due to the above reasons and the increased rate of fire they provide. However, lithium polymer-specific chargers are required to avoid fire and explosion. Explosions can also occur if the battery is short-circuited, as tremendous current passes through the cell in an instant. Radio-control enthusiasts take special precautions to ensure their battery leads are properly connected and insulated. Furthermore fires can occur if the cell or pack is punctured. Radio-controlled car batteries are often protected by durable plastic cases to prevent puncture. Specially designed electronic motor speed controls are used to prevent excessive discharge and subsequent battery damage. This is achieved using a low voltage cut-off (LVC) setting that is adjusted to maintain cell voltage greater than (typically) 3 V per cell. Li-poly batteries are also gaining ground in PDAs and laptop computers, such as Apples Mac Book family, Amazons Kindle, Lenovos Think pad X300 and Ultra bay Batteries, the OQO series of palmtops, the HP Mini and Dell products featuring D-bay batteries. They can be found in small digital music devices such as iPods, Zunes, and other MP3 players and the Apple iPhone and iPad, as well as gaming equipment like Sonys PlayStation 3 wireless controllers. They are desirable in applications where small form factors and energy density outweigh cost considerations.

8.2. STORAGE:Page | 43

Unlike certain other types of batteries, lithium polymer batteries can be stored for one or two months without significantly losing charge. However, if storing for long periods, manufacturers recommend discharging the battery to 40% of full charge. In addition, other sources recommend refrigerating (but not freezing) the cell. 8.3. LITHIUM POLYMER CHARGER:LiPoly batteries must be charged carefully. The basic process is to charge at constant current until each cell reaches 4.2 V; the charger must then gradually reduce the charge current while holding the cell voltage at 4.2 V until the charge current has dropped to a small percentage of the initial charge rate, at which point the battery is considered 100% charged. Some manufacturers specify 2%, others 3%, but other values are also possible. The difference in achieved capacity is minute. 8.4. LIPO BATTERY USED:-

FIGURE 8.1: LIPO BATTERY BATTERY SPECIFICATION:

Page | 44

TABLE 8.1: LIPO BATTERY SPECIFICATIONS 8.5. LIPO BATTERY CHARGER USED:Lipo charger is used for charging the 1 to 6 cells lipo battery with a dedicated slot for each type. The display shows the amount of charge left in the battery and allows selecting the current required to charge the battery. The maximum current depends on the power source used, which may vary from 0.1A to 5A.

FIGURE 8.2: LIPO BATTERY CHARGER There are two sets of wires provided with the charger. The battery can be charged in 3 modes that are,

Normal mode in this mode the battery charging occurs using the specified current at a moderate rate. It maintains the partial balance. Fast mode here the battery is charged at a faster rate. Balanced mode maintains a perfect balance between all the three cells being charged.

FEATURES:

Microprocessor controlled Delta-peak sensitivity


Page | 45

Individual cell balancing Li-ion, LiPo and LiFe capable Ni-Cd and NiMH capable Large range of charge currents Store function, allows safe storage current Time limit function Input voltage monitoring. (Protects car batteries at the field) Data storage (Store up to 5 packs in memory)

SPECIFICATIONS:

Input Voltage: 11~18v Circuit power: Max Charge: 50W / Max Discharge: 5W Charge Current Range: .1~5.0A Discharge current range: .1~1.0A Ni-MH/NiCd cells: 1~15 Li-ion/Poly cells: 1~6 Pb battery voltage: 2~20v Weight: 277g Dimensions: 133x87x33mm

9. CONCLUSION AND SCOPE FOR FUTURE ENHANCEMENTS:9.1. CONCLUSION:As per the design specifications, the quad copter self stabilizes using the array of sensors integrated on it. It attains an appropriate lift and provides surveillance of the terrain through the camera mounted on it. It acts appropriately to the user specified commands given via a remote controller. Its purpose is to provide real time audio/video transmission from areas which are physically in-accessible by humans. Thus, its functionality is monitored under human supervision, henceforth being beneficial towards military applications. It is easy to maneuver, thereby providing flexibility in its movement. It can be used to provide surveillance at night through the usage of infrared cameras. The system can further be enhanced for future prospects. 9.2. SCOPE FOR FUTURE ENHANCEMENTS:Future of a quad-copter is quite vast based on various application fields it can be applied to. Quad-copter can be used for conducting rescue operations where its humanly impossible to reach. In terms of its military applications it can be more widely used for surveillance purposes, without risking a human life. As more automated quad-copters are being developed, there range of applications increases and hence we can ensure there commercialization. Thus quad-copter can be used in day to day working of a human life, ensuring their well-being. With further study and advancement in technology, designers are quite sure that a quad-copter can be used for construction of huge towers and buildings. The main advantage in the future use of a quad-copter for various purposes is that risk to human

Page | 46

life, may it be because of war or due to commercial accidents can be greatly avoided. The future of quad-copter sure is bright and not far ahead. REFERENCES 1. Design and Control of an Indoor Micro Quadrotor, recent progress in sensor technology, Samir Bouabdallahs. 2. Attitude Control for a Micromechanical Flying Insect Including Thorax and Sensor Models, X Dengs. 3. Autonomous Control for Micro-Flying Robot and Small Wireless Helicopter X.R.B, Wei Wang and Gang Song, et al[2006]. 4. Design, Analysis and Hover performance of a Rotary Wing Micro Air Vehicle, Felipe Bohorquez. 5. Novel Design and Position Control of an Omni-directional Flying Automobile, Seung Ho Jeong and Seul Jung, et al [2010]. 6. Modelling and PD control of a quad rotor VTOL vehicle present a model of a four rotor vertical take-off and landing (VTOL) unmanned air vehicle known as quad rotor aircraft,Bora Erginer and Erdin Altu, et al [2007]. 7. Mechanism and Control of Coaxial Double Contra-Rotation Flying Robot,Hun-ok Lim and Shoji Machida, et al [2010]. 8. Back stepping Control for a Quad rotor Helicopter,Madani, T, Benallegue, A., et al [2006]. 9. Design of Control Systems for a Quad rotor Flight Vehicle Equipped with Inertial Sensors in detail, Kvrak, Arda zgr s 10. T. Dierks and S. Jagannathan, Output feedback control of a quadrotor UAV using Neural Networks, 11. A.Das, , K. Subbarao, and F. Lewis, Dynamic inversion with zero-dynamics stabilization for quadrotor control 12. Y. Bouktir, M. Haddad, and T. Chettibi, Trajectory planning for a quadrotor helicopter, Mediterranean Conf. on Control andAutomation 13. http://www.analog.com 14. http://honeywell.com/Products-Services/Pages/aerospace-defense.aspx 15. http://www.st.com/internet/analog/home/home.jsp " http://www.wikipedia.org/

Page | 47

You might also like