AC Power Measurement Meter using PIC Microcontroller

In our day-to-day life, we consume electrical energy for various purposes such as for powering electrical appliances, gadgets, devices, machines, and so on. So, it is essential to measure the amount of power consumed to generate electricity bill which is usually done by energy meters. In general, AC power is measured using various techniques, here in this article let us discuss about AC power measurement meter using PIC microcontroller.

Power Measurement

The electrical power can be AC power or DC power, energy meter is used for measuring power. There are various types of energy meters, which are classified as digital energy meter, electronic energy meter, watt meter, three phase energy meter, single phase energy meter, AC power measurement meter, and so on.
The AC power is given by the product of RMS voltage value across the load, RMS current across the load, and power factor of the load. This can be represented as shown in the equation below.
AC Power
Now, AC power measurement can be defined as the measurement of voltage, measurement of current, and measurement of power factor. So, to measure power consumption using PIC microcontroller, it is essential to measure voltage using PIC microcontroller, measure current using PIC microcontroller, and measure power factor using PIC microcontroller.

AC Voltage Measurement using PIC Microcontroller

The microcontrollers generally operated and manufactured to work with voltage ratings less than or equal to 5V. So, it is not possible to directly measure AC voltage greater than 230V by giving high input voltages to microcontrollers which may cause temporary or permanent damage to microcontrollers.
AC Voltage Measurement using PIC Microcontroller
AC Voltage Measurement using PIC Microcontroller

Hence, it is required to step down the high AC voltage around 230V to 5V for measuring voltage using microcontrollers. The AC voltage measurement using PIC microcontroller can be done using a difference amplifier or potential transformer. The difference amplifier or potential transformer is used to step-down the voltage and then by using analog to digital converter or rectifier the voltage reading is displayed on LCD display.

AC Current Measurement using PIC Microcontroller

AC Current Measurement using PIC Microcontroller
AC Current Measurement using PIC Microcontroller

The PIC microcontroller can be used for measuring AC current with the help of difference amplifier, shunt resistor, and analog to digital converter. Shunt resistors are used as transducers for converting current into voltage as microcontroller directly can not read current. Thus, the voltage across the shunt resistor can be measured using PIC microcontroller which is again converted into current using Ohm’s law. Thus, the measured AC current is displayed on LCD display.

Power Factor Measurement using PIC Microcontroller

The inductor & capacitor cause lagging & leading power factor, current lags voltage by some angle & current leads voltage by some angle respectively. Thus, power factor can be defined as the cosine of the angle between current and voltage and is given as

Power factor

To measure power factor using PIC microcontroller, the time difference between the voltage and current is determined using zero crossing detection with the help of a microcontroller external interrupt pin. The interrupt is generated by whenever voltage waveform’s zero crossing is detected and internal timer of microcontroller is used for measuring time. Similarly, whenever current waveform interrupt is generated, then the timer stops counting and thus time difference is calculated.
This process repeated for a number of times (say 20 to 30) and the average value is taken for better results. Hence, the time difference is used to determine the phase angle difference between voltage and current. Thus, power factor can be calculated using PIC microcontroller.
Now, by substituting the values of voltage, current, power factor in the above power equation we can measure AC power. The meter used for measuring power factor can be called as power factor meter.

Solar Energy Measurement System Conveyed over RF using a PIC Microcontroller

Solar Energy Measurement System Conveyed over RF using a PIC microcontroller by Edgefxkits.com
Solar Energy Measurement System Conveyed over RF using a PIC microcontroller 

The main aim of this project is solar energy measurement using multiple sensor data acquisition. The project utilizes a solar panel that changes its direction according to sunlight. The solar panel parameters such as intensity of light, temperature, voltage, and current are monitored and also sent to PC using RF.
Solar Energy Measurement System Conveyed over RF using a PIC microcontroller Project Block Diagram by Edgefxkits.com
Solar Energy Measurement System Conveyed over RF using a PIC microcontroller Project Block Diagram 

The project block diagram shown in the above figure consists of various blocks, including solar panel, temperature sensor, light sensor, voltage sensor and current sensor interfaced with the PIC microcontroller. The sensors are used for measuring temperature, light, voltage, and current and is sent to the PC using RF, the same data is displayed over the LCD display.
Solar Energy Measurement System Conveyed over RF using a PIC microcontroller Block Diagram by Edgefxkits.com
Solar Energy Measurement System Conveyed over RF using a PIC microcontroller Block Diagram 

The power supply block, RF transceiver, PC, max232, 555 timer, and buzzer blocks are connected as shown in the above block diagram. The solar energy measurement can be achieved by measuring the factors such as temperature and light intensity that affect energy generation.

There are various types of meters that include power factor meter, digital energy meter, electronic energy meter, three phase power measurement, energy meter reading over internet, prepaid energy meter with GSM interface, programmable energy meter for electrical load survey.


Are you interested in designing electronics projects using the PIC microcontroller? Then, post your queries or ideas in the comments section below for technical help regarding project solutions.
Previous
Next Post »
My photo

Hi, I`m Sostenes, Electrical Technician and PLC`S Programmer.
Everyday I`m exploring the world of Electrical to find better solution for Automation. I believe everyday can become a Electrician with the right learning materials.
My goal with BLOG is to help you learn Electrical.
Related Posts Plugin for WordPress, Blogger...

Label

KITAIFA NEWS KIMATAIFA MICHEZO BURUDANI SIASA TECHNICAL ARTICLES f HAPA KAZI TU. LEKULE TV EDITORIALS ARTICLES DC DIGITAL ROBOTICS SEMICONDUCTORS MAKALA GENERATOR GALLERY AC EXPERIMENTS MANUFACTURING-ENGINEERING MAGAZETI REFERENCE IOT FUNDAMENTAL OF ELECTRICITY ELECTRONICS ELECTRICAL ENGINEER MEASUREMENT VIDEO ZANZIBAR YETU TRANSDUCER & SENSOR MITINDO ARDUINO RENEWABLE ENERGY AUTOMOBILE SYNCHRONOUS GENERATOR ELECTRICAL DISTRIBUTION CABLES DIGITAL ELECTRONICS AUTOMOTIVE PROTECTION SOLAR TEARDOWN DIODE AND CIRCUITS BASIC ELECTRICAL ELECTRONICS MOTOR SWITCHES CIRCUIT BREAKERS MICROCONTROLLER CIRCUITS THEORY PANEL BUILDING ELECTRONICS DEVICES MIRACLES SWITCHGEAR ANALOG MOBILE DEVICES CAMERA TECHNOLOGY GENERATION WEARABLES BATTERIES COMMUNICATION FREE CIRCUITS INDUSTRIAL AUTOMATION SPECIAL MACHINES ELECTRICAL SAFETY ENERGY EFFIDIENCY-BUILDING DRONE NUCLEAR ENERGY CONTROL SYSTEM FILTER`S SMATRPHONE BIOGAS POWER TANZIA BELT CONVEYOR MATERIAL HANDLING RELAY ELECTRICAL INSTRUMENTS PLC`S TRANSFORMER AC CIRCUITS CIRCUIT SCHEMATIC SYMBOLS DDISCRETE SEMICONDUCTOR CIRCUITS WIND POWER C.B DEVICES DC CIRCUITS DIODES AND RECTIFIERS FUSE SPECIAL TRANSFORMER THERMAL POWER PLANT cartoon CELL CHEMISTRY EARTHING SYSTEM ELECTRIC LAMP ENERGY SOURCE FUNDAMENTAL OF ELECTRICITY 2 BIPOLAR JUNCTION TRANSISTOR 555 TIMER CIRCUITS AUTOCAD C PROGRAMMING HYDRO POWER LOGIC GATES OPERATIONAL AMPLIFIER`S SOLID-STATE DEVICE THEORRY DEFECE & MILITARY FLUORESCENT LAMP HOME AUTOMATION INDUSTRIAL ROBOTICS ANDROID COMPUTER ELECTRICAL DRIVES GROUNDING SYSTEM BLUETOOTH CALCULUS REFERENCE DC METERING CIRCUITS DC NETWORK ANALYSIS ELECTRICAL SAFETY TIPS ELECTRICIAN SCHOOL ELECTRON TUBES FUNDAMENTAL OF ELECTRICITY 1 INDUCTION MACHINES INSULATIONS ALGEBRA REFERENCE HMI[Human Interface Machines] INDUCTION MOTOR KARNAUGH MAPPING USEUL EQUIATIONS AND CONVERSION FACTOR ANALOG INTEGRATED CIRCUITS BASIC CONCEPTS AND TEST EQUIPMENTS DIGITAL COMMUNICATION DIGITAL-ANALOG CONVERSION ELECTRICAL SOFTWARE GAS TURBINE ILLUMINATION OHM`S LAW POWER ELECTRONICS THYRISTOR USB AUDIO BOOLEAN ALGEBRA DIGITAL INTEGRATED CIRCUITS FUNDAMENTAL OF ELECTRICITY 3 PHYSICS OF CONDUCTORS AND INSULATORS SPECIAL MOTOR STEAM POWER PLANTS TESTING TRANSMISION LINE C-BISCUIT CAPACITORS COMBINATION LOGIC FUNCTION COMPLEX NUMBERS ELECTRICAL LAWS HMI[HUMANI INTERFACE MACHINES INVERTER LADDER DIAGRAM MULTIVIBRATORS RC AND L/R TIME CONSTANTS SCADA SERIES AND PARALLEL CIRCUITS USING THE SPICE CIRCUIT SIMULATION PROGRAM AMPLIFIERS AND ACTIVE DEVICES BASIC CONCEPTS OF ELECTRICITY CONDUCTOR AND INSULATORS TABLES CONDUITS FITTING AND SUPPORTS CONTROL MOTION ELECTRICAL INSTRUMENTATION SIGNALS ELECTRICAL TOOLS INDUCTORS LiDAR MAGNETISM AND ELECTROMAGNETISM PLYPHASE AC CIRCUITS RECLOSER SAFE LIVING WITH GAS AND LPG SAFETY CLOTHING STEPPER MOTOR SYNCHRONOUS MOTOR AC METRING CIRCUITS APPS & SOFTWARE BASIC AC THEORY BECOME AN ELECTRICIAN BINARY ARITHMETIC BUSHING DIGITAL STORAGE MEMROY ELECTRICIAN JOBS HEAT ENGINES HOME THEATER INPECTIONS LIGHT SABER MOSFET NUMERATION SYSTEM POWER FACTORS REACTANCE AND IMPEDANCE INDUCTIVE RESONANCE SCIENTIFIC NOTATION AND METRIC PREFIXES SULFURIC ACID TROUBLESHOOTING TROUBLESHOOTING-THEORY & PRACTICE 12C BUS APPLE BATTERIES AND POWER SYSTEMS ELECTROMECHANICAL RELAYS ENERGY EFFICIENCY-LIGHT INDUSTRIAL SAFETY EQUIPMENTS MEGGER MXED-FREQUENCY AC SIGNALS PRINCIPLE OF DIGITAL COMPUTING QUESTIONS REACTANCE AND IMPEDANCE-CAPATIVE RECTIFIER AND CONVERTERS SEQUENTIAL CIRCUITS SERRIES-PARALLEL COMBINATION CIRCUITS SHIFT REGISTERS BUILDING SERVICES COMPRESSOR CRANES DC MOTOR DRIVES DIVIDER CIRCUIT AND KIRCHHOFF`S LAW ELECTRICAL DISTRIBUTION EQUIPMENTS 1 ELECTRICAL DISTRIBUTION EQUIPMENTS B ELECTRICAL TOOL KIT ELECTRICIAN JOB DESCRIPTION LAPTOP THERMOCOUPLE TRIGONOMENTRY REFERENCE UART WIRELESS BIOMASS CONTACTOR ELECTRIC ILLUMINATION ELECTRICAL SAFETY TRAINING FILTER DESIGN HARDWARE INDUSTRIAL DRIVES JUNCTION FIELD-EFFECT TRANSISTORS NASA NUCLEAR POWER SCIENCE VALVE WWE oscilloscope 3D TECHNOLOGIES COLOR CODES ELECTRIC TRACTION FEATURED FLEXIBLE ELECTRONICS FLUKE GEARMOTORS INTRODUCTION LASSER MATERIAL PID PUMP SEAL ELECTRICIAN CAREER ELECTRICITY SUPPLY AND DISTRIBUTION MUSIC NEUTRAL PERIODIC TABLES OF THE ELEMENTS POLYPHASE AC CIRCUITS PROJECTS REATORS SATELLITE STAR DELTA VIBRATION WATERPROOF