File Exchange

image thumbnail


version 1.0 (801 KB) by

Finds optimum TDS and PSM settings for Over-Current relays.



View License

When a fault occurs in any portion of the power system network, the primary relay must act first. But to be on the safer side a 'Back-Up' relay to the 'Primary' relay is also provided with a proper discrimination time in their operation. Discrimination time is provided so as to allow the primary relay to act first. In case if it fails, then the back-up relay acts. This is done so as to isolate the healthy portion from the faulty portion.

Time of operation is basically determined by the following relay settings:
1. Plug Setting Multiplier (PSM), and,
2. Time Dial Setting (TDS)
So for a given fault current we have a desired 'Time of Operation' for both the primary as well as back up relay.
But, since the settings available are often discrete, so obtaining desired time of operation is not always possible.Then by using trial and error we need to choose PSM and TDS, which is not always the optimum choice.

This small simple MATLAB code, finds the optimum set of PSM and TDS so as to give the best possible time of operation to the relay.

This code is only a representation to the algorithm I have used. I have considered 7SJ61 Numerical OC Relay settings as an example in the code.

The Inputs are stored in 'INPUTS.xls' and MATLAB reads data from it. The output is stored in 'OUTPUT.xls'

I have considered a small margin to get a flexibility in the choice of PSM. It is known as Over Load Factor. Also I have considered the discrimination time between primary and backup relay to be 0.3 seconds.

For any further suggestion or query please mail me at:
or contact me at:
00 91 7829 000 165

Comments and Ratings (6)

hossien shad

pk jadav

plase give me if you have program for relay coordination using genetic algorithams

hopefully this file will help me to finish my school-project about OCR setting with fuzzy logic, thank you


Housam (view profile)


hossam (view profile)

it is very fantastic

MATLAB Release
MATLAB 7 (R14)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Over Current Relay Co-ordination/