Vous êtes sur la page 1sur 3

Assignment on Numerical relay

In this project you will implement a numerical overcurrent relay with the specifications
given below. Assignment consists of two parts.
1. Software simulation and testing (Pre-lab)
2. Implementation in hardware

For software simulation you will be using Proteus with Arduino Nano microcontroller.
How to create a Proteus project with microcontroller support is described in Step 1 (a). The
ACS712 20A Hall Effect sensor will be used to measure AC current. Output of ACS712 will
fed in to the microcontroller through ADC0. Relay algorithm specified in the Step 1 will be
implemented in the microcontroller. Trip signal output from the microcontroller will be send to
a LED to indicate Tripping (by turning LED ON). To implement DFT algorithm you can use
Arduino FFT library or any other library as indicated in Step 1 (d).
The software implementation and simulation needs to be carried out before come to
the lab.
During the lab actual hardware will be used to test the performance of the system.
You will create the setup as instructed in the lab, upload the code you have already written
to the Arduino Nano board and Test the performance as instructed in Step 3.

Block diagram if the Setup

System Current

ACS712 20A ADC 0

Hall Effect
Sensor Arduino
Trip Signal

Numerical over-current relay has the following specifications:

 Nominal current 1 A
 Fault current up to 5 A
 Plug setting 2 A
 Characteristic – Standard Inverse
Step 1: Implement the following algorithms in Proteus,

Relay algorithm

DFT algorithm to determine rms value of current

a. Creating Proteus project with Arduino Mega board support.

In Proteus select File  New Project.
Select a name for the project and path to save the project
Select “From Development Board”
Select “Arduino Nano 3.X” from the development board list and press
You will see the “Schematic Capture” tab with the Arduino Nano
development board and the “Source Code” tab to develop the code.

b. Use ACS712 20A Hall Effect current sensor to sense the current.
c. Use one of the analog inputs in the Arduino board to measure the output of the Hall
Effect sensor.
d. Implement the algorithm in the Arduino board
To implement the DFT algorithm to determine rms values you can use
Arduino FFT library found in the below link or any other suitable librariy
e. Use and LED to simulate the Trip signal
If Trip turn on the LED.

Step 2: Test the operation of the relay under different currents (2.5 A, 3 A, 3.5 A, 4 A, 4.5 A
and 5 A rms)

Step 3: Implement the relay in Arduino board with ACS712 5A Hall Effect sensor for current
measurements and evaluate its performance under different fault currents