a5-ppt pdf

22
ENERGY MEASUREMENT USING ARDUINO UNDER THE GUIDANCE OF K.SIREESHA (ASST.PROF) G.SRI KAVYA REDDY S.GOUTHAMI B.SIVA NANDINI R.S.PRANATHI G.SRUTHI

Upload: edi-sukriansyah

Post on 14-Nov-2015

255 views

Category:

Documents


0 download

DESCRIPTION

hfjf yguyfu yfuf yd ufuygkfkjhg kiufkjhgyfg ug kgk giukhih fuiyhih ufgoihgoi

TRANSCRIPT

  • ENERGY MEASUREMENT USING

    ARDUINO

    UNDER THE GUIDANCE OF

    K.SIREESHA (ASST.PROF)

    G.SRI KAVYA REDDY

    S.GOUTHAMI

    B.SIVA NANDINI

    R.S.PRANATHI

    G.SRUTHI

  • CONTENTS. . .

    Introduction

    Power

    Energy

    Components

    About arduino

    Project info.

    Hardware

    Results

  • INTRODUCTION. . .

    The arduino based energy measurement aims to measure

    energy consumption.

    The need of providing such data to the user is to reduce

    the energy consumption.

  • POWER. . .

    Power is the rate at which energy is generated or consumed.

    Real power is the actual energy consumed by the load.

    Reactive power is stored in and discharged by inductive loads.

    Power quality determines the fitness of electrical power to consumer devices.

    Synchronization of voltage, frequency & phase allows electrical systems to function in their intended manner.

    Without proper power an electrical device may not operate at all.

  • ENERGY

    The amount of energy used (or supplied)

    depends on the power and the time for

    which it is used.

    Energy=Power*Time

    Energy is found in different forms, such as

    light, heat, sound, and motion.

  • COMPONENTS:

    ARDUINO (MEGA 2560)

    RESISTIVE LOAD

    DIODES

    POTENTIAL TRANSFORMERS

    CURRENT TRANSFORMERS

  • ABOUT ARDUINO

    Arduino is an open-source single-board microcontroller.

    It is an electronics prototyping platform based on flexible

    and easy to use hardware cum software.

    Arduino MEGA 2560 is used in this project.

  • Arduino Board Mega 2560

  • PROJECT INFO. . .

    In this project power measurement is carried out

    using Arduino MEGA.

    The input signals are given to arduino analog input

    pins and the programming is done in such a way that

    power and energy is obtained at the output.

  • Hardware

  • PROGRAM

    void setup()

    {

    Serial.begin(9600);

    pinMode(A0,INPUT);

    pinMode(A1,INPUT);

    pinMode(A2,INPUT);

    pinMode(A3,INPUT);

    pinMode(A4,INPUT);

    pinMode(A5,INPUT);

    pinMode(A6,INPUT);

    pinMode(A7,INPUT);

  • pinMode(A8,INPUT);

    pinMode(A9,INPUT);

    pinMode(A10,INPUT);

    pinMode(A11,INPUT);

    }

    void loop()

    {

    float power =0;

  • float vp1=0,vp2=0,vp3=0;

    float cp1=0,cp2=0,cp3=0;

    float vn1=0,vn2=0,vn3=0;

    float cn1=0,cn2=0,cn3=0;

    float vac1=0,vac2=0,vac3=0;

    float cac1=0,cac2=0,cac3=0;

    float v1=0,v2=0,v3=0;

    float c1=0,c2=0,c3=0;

    float vr1=0,vr2=0,vr3=0;

    float cr1=0,cr2=0,cr3=0;

  • float time=0;

    float energy=0;

    for(int i=0; i

  • cp2 =(( analogRead(A6)*(0.0048)*(3.03)));

    vn2=

    ((analogRead(A5)*(0.0048)*(76.667)));

    cn2 = ((

    analogRead(A7)*(0.0048)*(3.03)));

    vp3 = analogRead(A8)*0.0048*76.667;

    cp3 =((

    analogRead(A10)*(0.0048)*(3.03)));

    vn3= ((

    analogRead(A9)*(0.0048)*(76.667)));

  • cn3 = (( analogRead(A11)*(0.0048)*(3.03)));

    vac1=sq(vp1-vn1);

    cac1=sq(cp1-cn1);

    v1=v1+vac1;

    c1=c1+cac1;

    vac2=sq(vp2-vn2);

    cac2=sq(cp2-cn2);

    v2=v2+vac2;

    c2=c2+cac2;

    vac3=sq(vp3-vn3);

  • cac3=sq(cp3-cn3);

    v3=v3+vac3;

    c3=c3+cac3;

    }

    vr1 = sqrt(v1*0.025);

    cr1 = sqrt(c1*0.025);

    vr2 = sqrt(v1*0.025);

    cr2 = sqrt(c1*0.025);

    vr3 = sqrt(v1*0.025);

    cr3 = sqrt(c1*0.025);

  • power = (vr1*cr1+vr2*cr2+vr3*cr3);

    Serial.println("power");

    Serial.println(power);

    time= millis();

    energy=power*time*(0.001/(3600));

    Serial.println("energy");

    Serial.println(energy);

    }

  • OUTPUT

  • VISUAL OUTPUT

  • Conclusion

    Arduino energy measurement is an advanced method of

    determining energy and this method is more

    advantageous than other softwares.

    Arduino is an open source software and can be

    extended by experienced programmers such as C and

    C++. Arduino has simple and clear programming

    environment.

  • THANK YOU