As an Amazon Associate we earn from qualifying purchases.
A prepaid energy meter works like a prepaid phone: the customer pays first and then uses electricity until the balance runs out. This project combines that idea with two other features that matter to a utility, detection of electricity theft and detection of faults on overhead power lines. The system is demonstrated in a Proteus simulation, and the two videos below show it running.
Why a prepaid energy meter?
With a conventional meter, a utility reads the meter, issues a bill and then waits for payment. Readings can be late or wrong, and unpaid bills pile up. A prepaid meter removes much of this work because the customer’s account is charged as the energy is used.
- The customer can see the remaining balance and control spending.
- The utility does not need to chase late payments.
- Supply is cut automatically when the balance reaches zero.
- Manual meter reading is no longer needed.
The same electronics can also watch for theft and line faults, which is why this project bundles all three functions.
How the system works
The project has two parts: a consumer-side unit installed at the customer’s home, and a pole-side unit that monitors the distribution line and each customer’s connection.
Consumer side: prepaid billing
On the consumer side, a microcontroller measures the energy a home consumes with the help of an energy meter. The meter’s output goes to the microcontroller through an opto-coupler. The opto-coupler isolates the mains side from the low-voltage electronics, which protects the circuit and the user from electric shock.
The microcontroller then deducts money from the user’s account in proportion to the energy consumed. The process runs in a loop:
- The energy meter measures consumption and passes the data to the microcontroller.
- The microcontroller converts the consumption into a cost and reduces the account balance.
- When the balance is about to run out, the user receives a warning.
- When the balance reaches zero, the microcontroller switches off the supply using a relay.
- The user recharges the account with a coupon or flexi (a mobile-style top-up), and the supply is restored.
In a simulation, the balance, warnings and recharge entry are usually shown on a display and entered with a keypad. If you want to build those parts yourself, our guides on the Arduino and LCD simulation in Proteus and keypad interfacing with 8051 cover the basics.
Power line fault detection
Overhead distribution lines suffer many problems, such as falling trees and vehicle crashes. Finding where a fault happened can take a long time if crews have to patrol the line or wait for customer complaints.
The proposed remote system speeds this up. A voltage sensor detects the fault, and the information is sent to KSEB (the Kerala State Electricity Board) through a GSM modem. The utility can then take suitable action without waiting for someone to report the outage.
Electricity theft detection
The system also checks for electricity theft. For each customer, one current sensor is placed on the pole side and another on the user side. Under normal conditions both sensors should read about the same current. If the pole-side sensor reads noticeably more than the user-side sensor, power is being drawn somewhere between the two, for example through an illegal tapping of the line or a bypassed meter.
The pole-side controller receives the user-side reading over Bluetooth. If it detects theft, it cuts the supply to that user with a relay.
Main components
The original project description does not list exact part numbers, so the list below covers the building blocks the text describes.
- Energy meter: measures the energy used by the household.
- Opto-coupler: isolates the meter output from the microcontroller.
- Microcontroller: handles billing, balance, warnings and relay control on both sides.
- Relay: disconnects the load when the balance is zero or theft is detected.
- Voltage sensor: detects a fault on the power line.
- Current sensors: one on the pole side and one on the user side, used for theft detection.
- GSM modem: sends fault information to the utility.
- Bluetooth module: carries the user-side data to the pole-side controller.
Why simulate it in Proteus first?
Mains-connected projects can be dangerous to build and test. Simulating the circuit in Proteus lets you check the logic first: whether the balance is deducted correctly, whether the warning appears, and whether the relay switches at the right time. Mistakes in code or wiring can be fixed on screen before any real hardware is connected.
Keep in mind that a simulation cannot reproduce everything. Real current sensors are noisy, wireless links can drop, and real meters have their own pulse and calibration characteristics. Treat the simulation as a proof of concept rather than a finished product.
Related projects
If you are exploring metering and theft detection further, these projects take a similar approach with different communication methods:
- A smart digital energy meter that sends readings over the power line instead of a wireless link.
- A simulation of GSM based power theft detection using Arduino in Proteus.
- A design for power line communication based energy billing combined with home automation.
Hardware
The hardware implementation has not been published yet. Check back for the circuit and build details.
Frequently asked questions
What is a prepaid energy meter?
It is an electricity meter that works on advance payment. The user adds credit to an account, the meter deducts the cost of the energy used, and the supply is cut off when the credit runs out.
How does the system detect power theft?
It compares the current measured by a sensor on the pole side with the current measured by a sensor on the user side. A mismatch suggests that power is being taken before it reaches the customer’s meter, and the pole-side controller then disconnects that customer with a relay.
How are line faults reported to the utility?
A voltage sensor detects the fault on the line, and a GSM modem sends the information to the utility, KSEB in this project, so that action can be taken quickly.
How does the user recharge the meter?
The user recharges the account with a coupon or flexi. Once the balance is positive again, the microcontroller switches the relay back on and supply resumes.