fyp mid ppt ed

Upload: engr-zubair-anwar-wada

Post on 08-Apr-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/6/2019 FYP Mid Ppt ed

    1/19

  • 8/6/2019 FYP Mid Ppt ed

    2/19

    THE INVERTED PENDULUM

    Created By

    Safia RafiqWaseem Nazak

    Zubair Anwar Wada

    BEE(Electronics) - 8

  • 8/6/2019 FYP Mid Ppt ed

    3/19

    CONTENTS:

    1. Overview

    2. Control or Balancing

    3.Tools and technique

    4. Designing the Compensator

    5. Out puts

    6. References

  • 8/6/2019 FYP Mid Ppt ed

    4/19

    OVERVIEW:

    An inverted pendulum (also called a cart and pole) consists of a thin rod whichhas its mass above its pivot point and attached at the bottom to a mobile cart

    that can move horizontally. Unlike a normal pendulum which is stable when

    hanging downwards, an inverted pendulum is inherently unstable. Inverted

    pendulums must be actively balanced to remain erect.

    The objective of our project is to balance an inverted pendulum, using PID

    Controller.

  • 8/6/2019 FYP Mid Ppt ed

    5/19

    Control or Balancing

    The inverted pendulum is a classic problem in dynamics and control theory andis widely used as a benchmark for testing control algorithms (PIDcontrollers, neural networks, fuzzy control, genetic algorithms, etc).

    There are many ways to balance an inverted pendulum, we are using PID

    Controller.

  • 8/6/2019 FYP Mid Ppt ed

    6/19

    Analog controllers can be of the following forms:

    1. PI( Proportional integral)

    2. PD(Proportional derivative)

    3. PID(Proportional integral derivative)

    PI PD PID

  • 8/6/2019 FYP Mid Ppt ed

    7/19

    Block Diagram of Compensated System

  • 8/6/2019 FYP Mid Ppt ed

    8/19

    What is PID Controller ?

    A proportionalintegralderivative controller (PID controller) is ageneric control loop feedback mechanism.

    A PID controller calculates an "error" value as the difference between ameasured process variable and a desired set point. The controllerattempts to minimize the error by adjusting the process control inputs.

    The PID controller calculation (algorithm) involves three separateconstant parameters, and is accordingly sometimes called three-termcontrol: the proportional, the integral and derivative values, denoted P,I, and D.

  • 8/6/2019 FYP Mid Ppt ed

    9/19

    BLOCK DIAGRAM OF PID:

  • 8/6/2019 FYP Mid Ppt ed

    10/19

  • 8/6/2019 FYP Mid Ppt ed

    11/19

  • 8/6/2019 FYP Mid Ppt ed

    12/19

  • 8/6/2019 FYP Mid Ppt ed

    13/19

    Software used

    We have used the following software:

    1. MatLab: for plotting the root-locus and designing the compensator2. MultiSim: for the circuit

  • 8/6/2019 FYP Mid Ppt ed

    14/19

    Mathematical Model

    A transfer function is a mathematical representation of the relation between

    the input and output of a system.

    The transfer function of the system (motor + cart & pendulum), was foundout, by calculations, to be:

    This transfer function is used to plot the root-locus and to design thecompensator.

  • 8/6/2019 FYP Mid Ppt ed

    15/19

    Root-Locus

    The compensator is designed using Root-Locus method.

    The Root-Locus plot of the uncompensated system (motor + cart andpendulum) is:

    Since there is a real pole in the right-half plane, the system is unstable.

  • 8/6/2019 FYP Mid Ppt ed

    16/19

    Compensator designPoles and Zeros are placed, so that all the roots are in the left-half plane ofthe axes, which indicates that the system is stable.

  • 8/6/2019 FYP Mid Ppt ed

    17/19

    The circuit for the PID Controller which is used in the project is:

  • 8/6/2019 FYP Mid Ppt ed

    18/19

    Continuing work

    So far, the designing of the circuit is complete. We are developing the

    hardware, which is expected to reach completion soon.

    After it is developed, the circuit will be tested to balance the pendulum.

    Once the pendulum is balanced, we will go a step further to balance theDouble Inverted Pendulum.

  • 8/6/2019 FYP Mid Ppt ed

    19/19

    References1. Design of Feedback Control Systems by Stefani, Shahian, Savant and

    Hostetter, Fourth Edition

    2. http://lims.mech.northwestern.edu/~design/mechatronics/2004/Team11/index.html

    3. Inverted Pendulum: Analysis, Design and Implementation. IIEE Visionaries,Document version 1.0

    4. http://en.wikipedia.org/wiki/Inverted_pendulum