top of page

   POSTS    

Search

df/dt (ROCOF) Relay Testing: How to Test Rate-of-Change-of-Frequency Protection with an Automatic Relay Test Kit

7 days ago
11 min read

KPM ENGINEERING SOLUTIONS  ·  TECHNICAL BLOG

df/dt protection, also called ROCOF (rate of change of frequency) protection or ANSI 81R, is one of the fastest-acting frequency protections in a power system. It is widely used for load shedding, generator protection and loss-of-mains (islanding) protection at solar, wind and captive power plants. It is also one of the harder functions to test, because a static injection cannot prove it: the relay must see the frequency actually changing.

This article explains why df/dt protection is needed, how a numerical relay calculates df/dt, and, step by step, how to test a df/dt relay using an automatic relay test kit: pickup, operating time, direction, blocking and reset, with the mistakes that most often spoil the results.

df/dt (ROCOF)
Figure 1. The faster the frequency falls, the sooner df/dt protection needs to act.


1. What is df/dt (ROCOF) protection?

df/dt means the rate of change of frequency with time, measured in hertz per second (Hz/s). A df/dt relay calculates this rate continuously from the measured voltage and trips when it exceeds a set value for a set time.

•     Negative df/dt: frequency falling, typically after a loss of generation.

•     Positive df/dt: frequency rising, typically after a loss of load.

•     Zero df/dt: frequency steady, even if it is not exactly 50 Hz.

Where it is used:

•     Load-shedding schemes, to drop load early when frequency is collapsing fast.

•     Loss-of-mains (islanding) protection on solar plants, wind farms, captive and co-generation plants.

•     Generator protection and grid-code compliance at power stations.

•     Industrial and railway networks with their own generation.


2. Why is df/dt protection required?

At every moment, generation and load in a power system must balance. When they do, the frequency stays close to 50 Hz in India. When a large generator trips, the remaining generators supply the shortfall at first from the kinetic energy stored in their rotating masses. They slow down, and the frequency falls.

Condition

Generation

Load

Result

Balanced

1,000 MW

1,000 MW

Frequency steady at 50 Hz

300 MW generator trips

700 MW

1,000 MW

300 MW deficit: frequency falls, df/dt negative

300 MW load disconnects

1,000 MW

700 MW

300 MW surplus: frequency rises, df/dt positive

How fast the frequency moves depends on the size of the imbalance and the inertia of the connected machines. With less rotating inertia on the grid, as solar and wind replace conventional generation, the same imbalance produces a faster frequency change. An under-frequency relay waits for the frequency to reach a level; a df/dt relay acts on the slope, so it can respond within the first few hundred milliseconds.

Note: the real frequency response also depends on governor action, load response and other grid controls. The examples in this article are illustrative, not measured grid data.


3. How df/dt is calculated: a worked example

df/dt = (f₂ − f₁) / (t₂ − t₁)

If the frequency falls from 50.0 Hz to 49.5 Hz in 0.5 s:

df/dt = (49.5 − 50.0) / 0.5 = −1 Hz/s

If it rises from 50.0 Hz to 50.5 Hz in 0.5 s, df/dt = +1 Hz/s. The sign tells the relay the direction; the size tells it how severe the imbalance is.


4. How a numerical relay measures df/dt

A relay does not measure df/dt directly. It works it out in stages:

1.     Measures the voltage from the VT (PT) secondary.

2.     Calculates the frequency from the voltage waveform. At 50 Hz one cycle lasts 1/50 = 0.02 s, or 20 ms.

3.     Calculates df/dt by comparing frequency values over a measuring window, usually several cycles, to filter out noise.

4.     Compares the result with its setting, in the enabled direction, and checks any supervision conditions such as minimum voltage and permitted frequency band.

5.     Trips when the condition persists for the set time delay, energising the trip contact that opens the breaker or sheds load.

Because frequency is calculated from a distorted, noisy real-world waveform, relays protect against false trips with filtering, measuring windows, time delays, undervoltage blocking and frequency band limits. The exact methods differ between manufacturers, so always test against the relay's own manual and settings.

Why testing matters: a df/dt setting that is too sensitive causes nuisance tripping and unnecessary load shedding during ordinary grid disturbances. One that is too slow, or blocked by a wrong supervision setting, fails to disconnect an islanded plant. Only a dynamic secondary injection test proves which you have.


5. What you need to test a df/dt relay

A df/dt relay cannot be tested with a fixed voltage and a fixed frequency. You need an automatic relay test kit (secondary injection test set) that can:

•     Inject three-phase voltages at nominal level, with frequency adjustable in fine steps.

•     Change frequency at a controlled, linear rate in Hz/s, with a continuous phase: no jumps when the frequency starts or stops changing.

•     Run a state sequence: prefault, ramp and post-trip states with automatic transitions.

•     Time the trip contact on a binary input, with a filter for contact bounce.

•     Store results and generate a test report automatically.

What you need to test a df/dt relay
Figure 2. A KPM automatic relay test kit connected to the laptop running the relay testing software.

The KPM relay testing software provides the modules needed for this job on its startup page: Frequency Test, Ramping and State Sequencer. The Frequency Test module tests under-frequency pickup, operating time and df/dt rate-of-change response, along with the undervoltage and undercurrent latch behaviour. The State Sequencer can apply a linear df/dt within a state, which is exactly what an operating-time test needs.


KPM relay testing software
Figure 3. KPM Relay Test System software: the Frequency Test, Ramping and State Sequencer modules used for df/dt testing.

6. How to test a df/dt relay: step by step

Step 1: Prepare and isolate

Work under your site's permit-to-work rules. Isolate the relay's trip outputs from the breaker or load-shedding circuits through the test block, and isolate the VT secondary so that test voltages cannot be back-fed into the VT.

Step 2: Record the relay settings

Setting to note

Why it matters for the test

df/dt pickup (Hz/s) and direction (negative, positive or both)

Defines the test points and which directions must trip

Time delay

Part of the expected operating time

Measuring window (cycles), if settable

Adds to the operating time and sets the minimum ramp duration

Undervoltage block (minimum voltage)

Must be proved: below it, df/dt must not trip

Frequency band / start frequency, if used

Some relays enable df/dt only inside a frequency window

Under/over-frequency (81U/81O) settings

These may trip during a long ramp and must be told apart from 81R

Output contact assignment

Tells you which contact to wire to which binary input

Step 3: Connect the relay test kit

Connect the test kit's three voltage outputs and neutral to the relay's VT inputs. Wire the df/dt trip contact to one binary input and the under-frequency trip or pickup contact to another, so the results show which element operated.


Connect the relay test kit
Figure 4. Connection concept for a df/dt test.

Step 4: Configure the test software

In the test object, enter the nominal voltage and nominal frequency (50 Hz), and the relay's df/dt settings. Select the power-amplifier output for conventional analogue injection, and set the binary input debounce (deglitch) time so that contact bounce is ignored without hiding a genuine trip. In the KPM software the deglitch filter is set from 0 to 25 ms on the test object.


Configure the test software
Figure 5. Output and binary input configuration in the KPM relay testing software.

Step 5: Check stability at nominal frequency

Inject nominal voltage at 50.00 Hz for several seconds. The relay must not trip, and its displayed frequency should match the injected value within its stated accuracy. A trip here points to a wiring, setting or measurement problem that must be fixed before going further.


Step 6: Prove the df/dt pickup

Apply linear frequency ramps at rates just below and just above the setting, each starting from a steady 50 Hz prefault. For a −2 Hz/s setting, for example, −1.8 Hz/s (0.9 × setting) must not trip and −2.2 Hz/s (1.1 × setting) must trip. To find the actual pickup, step the rate in small increments using the Frequency Test or Ramping module.


 Prove the df/dt pickup
Figure 6. Pickup test points either side of the setting.

Keep each ramp long enough for the relay to complete its measuring window and time delay, but short enough that the frequency does not reach the under-frequency setting first. For example, at −2.2 Hz/s the frequency falls 0.55 Hz in 0.25 s and 1.1 Hz in 0.5 s.


Step 7: Measure the operating time with a state sequence

Build a three-state sequence:

1.     Prefault: nominal voltage at 50 Hz, typically 1 to 2 seconds, so the relay locks on and fills its measuring window.

2.     Ramp: a linear df/dt at a clear margin above the setting, for example 1.2 to 2 × setting, ending on the trip binary input or a maximum time.

3.     Post-trip: hold or return to nominal, so the relay can reset.

The operating time is measured from the start of the ramp state to the trip contact. Compare it with the relay's set delay plus its df/dt measuring time, against the manufacturer's stated tolerance. Use the state sequencer, not the ramp module, for times you will report: in the KPM software, the trip time shown in a ramp result is for reference only.


Operating-time test as a state sequence.
Figure 7. Operating-time test as a state sequence.

Step 8: Test both directions

If positive df/dt is enabled, repeat Steps 6 and 7 with a rising frequency. If only the negative direction is enabled, a rising frequency at well above the setting must not trip; that proves the direction setting.


Step 9: Prove the blocking conditions

•     Undervoltage block: repeat a tripping ramp with the voltage below the minimum-voltage setting. The relay must not trip.

•     Frequency band: if df/dt is enabled only within a frequency window, start a ramp outside it and confirm no trip.

•     Unbalanced or missing phase: if the relay blocks on VT failure, check that it does.


Step 10: Check reset and record the results

After a trip, return the frequency to a steady value and confirm the relay resets and the contact opens. Save every test result and generate the test report, so the next test of the same relay can be compared with this one.


Check reset and record the results
Figure 8. Automatic test report in the KPM relay testing software.

7. Example df/dt test plan

For a relay set to −2.0 Hz/s, 100 ms delay, undervoltage block at 50% of nominal (illustrative settings):

Test

Injection

Expected result

Stability

100% V, 50.00 Hz, 5 s

No trip; relay reads 50.00 Hz

Pickup, below

100% V, ramp −1.8 Hz/s

No trip

Pickup, above

100% V, ramp −2.2 Hz/s

Trip on the df/dt contact

Operating time

100% V, prefault 2 s, ramp −3.0 Hz/s

Trip within delay + measuring time, inside tolerance

Direction

100% V, ramp +3.0 Hz/s

No trip (negative direction only enabled)

Undervoltage block

40% V, ramp −3.0 Hz/s

No trip

Reset

Return to 50.00 Hz after a trip

Relay resets; contact opens


8. Common mistakes in df/dt relay testing

Symptom

Likely cause

Fix

Relay trips as soon as the test starts

Phase or frequency jump at the state change looks like a huge df/dt

Use a kit with phase-continuous frequency change; lengthen the prefault state

Under-frequency element trips instead of df/dt

Ramp ran too long and crossed the 81U setting

Shorten the ramp; wire 81U and 81R to separate binary inputs

No trip although the rate is above setting

Ramp shorter than the measuring window plus delay, or undervoltage block active

Lengthen the ramp; check injected voltage against the block setting

Trip times scatter widely

Prefault too short, or contact bounce

Lengthen the prefault; set a suitable debounce (deglitch) time

Reported times disagree with the relay record

Times taken from a ramp test

Use a state sequence for timing


9. Why choose KPM automatic relay test kits for df/dt testing

•     Dedicated Frequency Test module for under-frequency and df/dt testing, plus Ramping and State Sequencer modules for pickup searches and timing.

•     Linear df/dt within a state for clean operating-time tests.

•     Test templates you can build offline at a desk and reuse across relays of the same type.

•     Automatic reports with parameters, results and pass/fail assessment.

•     Application support from KPM's engineers, who help you plan the test for your specific relay.

See the full range of KPM relay test kits, or call 0124 4001088 for a demonstration.


10. Frequently asked questions ( FAQ)

What is df/dt protection in a relay?

df/dt protection, also called ROCOF (rate of change of frequency) protection and ANSI device 81R, trips when the power system frequency changes faster than a set rate, in hertz per second. It reacts to the slope of the frequency, so it can act on a sudden loss of generation or load before the frequency itself reaches an under- or over-frequency limit.

How do you test a df/dt relay?

Inject three-phase nominal voltage from a relay test kit, hold it at 50 Hz long enough for the relay to settle, then change the frequency at a controlled, linear rate. Apply rates just below and just above the setting to prove the pickup, use a state sequence to measure the operating time from the start of the frequency change to the trip contact, and check the undervoltage block, both directions and reset.

Can a df/dt relay be tested with a single-phase test kit?

Only if the relay measures frequency from a single phase voltage and the manufacturer allows it. Many numerical relays use three-phase or positive-sequence voltage and may block on unbalanced or missing voltages, so a three-phase test kit that ramps all three voltages together is the reliable choice.

Why does my df/dt relay trip when the test kit changes state?

Usually because the injected voltage jumps in phase or frequency at the state change. A sudden step looks to the relay like a very high df/dt, or a vector shift. Use a test kit that changes frequency smoothly with a continuous phase, and give the relay a long enough prefault state at nominal frequency.

What is the difference between df/dt (81R) and under-frequency (81U) protection?

Under-frequency protection trips when the frequency falls below a set value. df/dt protection trips when the frequency is changing faster than a set rate, whatever its value. They are often used together, for example in load-shedding and loss-of-mains schemes, and should be tested on separate binary inputs so you know which element operated.

Why is ROCOF protection important for solar and captive power plants?

When a generator, solar plant or captive plant becomes islanded from the grid, the frequency in the island usually starts to drift. ROCOF protection detects that drift quickly and disconnects the plant, which protects equipment and people working on a line they believe is dead. Settings have to balance fast detection against nuisance trips during normal grid disturbances, so they must be tested accurately.


Conclusion

df/dt protection acts on how fast the frequency is changing, which makes it one of the most valuable protections on a grid with more solar, wind and captive generation, and one of the easiest to get wrong. Testing it properly takes a test kit that can ramp frequency smoothly and time the trip accurately, and a test plan that proves the pickup, timing, direction, blocking and reset.

Talk to a KPM application engineer. Planning df/dt, under-frequency or load-shedding tests? KPM's engineers will help you choose the right automatic relay test kit and set up the test for your relay. Call 0124 4001088 or visit www.kpmtek.com.

Publishing notes for the website team (do not publish this section)

Item

Value

Page title (SEO)

df/dt (ROCOF) Relay Testing with a Relay Test Kit | KPM

Meta description

How df/dt (ROCOF, 81R) protection works and how to test df/dt relays step by step with an automatic relay test kit: pickup, operating time, direction and blocking.

URL

/blog/df-dt-rocof-relay-testing

H1

df/dt (ROCOF) Relay Testing: How to Test Rate-of-Change-of-Frequency Protection with an Automatic Relay Test Kit

Main search terms

df/dt relay testing, ROCOF relay testing, rate of change of frequency relay test, 81R relay testing, how to test df/dt relay, df/dt protection, ROCOF protection, frequency relay testing, relay test kit, automatic relay test kit, secondary injection relay test kit

Internal links

All 'relay test kit' links go to https://www.kpmtek.com/relay-testing-kit. Add a link back to this blog from that page.


Pictures and alt text

Upload the pictures to the Wix Media Manager with the filenames unchanged, place each where it appears above, and paste the alt text into Wix's alt-text field.

Fig.

File

Alt text

1

df-dt-rocof-protection-frequency-slope.png

Graph of system frequency falling at -0.5, -1 and -2 Hz per second after a generator trip, compared with an under-frequency setting

2

kpm-automatic-relay-test-kit-laptop-connection.png

KPM automatic relay test kit connected to a laptop by Ethernet cable for relay testing

3

kpm-relay-test-kit-software-frequency-test-state-sequencer-modules.png

KPM relay test system software start page showing Frequency Test, Ramping and State Sequencer modules used for df/dt relay testing

4

df-dt-relay-test-kit-connection-diagram.png

Connection diagram for df/dt relay testing: test kit voltage outputs to relay VT inputs and relay trip contacts to test kit binary inputs

5

kpm-relay-test-kit-software-output-configuration.png

KPM relay test kit software system configuration screen for selecting power amplifier output and binary input type

6

df-dt-relay-pickup-test-points.png

Chart of df/dt relay pickup test points showing no trip below and trip above a 2 Hz per second setting in both directions

7

df-dt-relay-test-state-sequence-trip-time.png

State sequence for df/dt relay trip time test: prefault at 50 Hz, frequency ramp at 2.2 Hz per second, and trip contact timing

8

kpm-relay-test-kit-software-automatic-test-report.png

Automatic test report generated by KPM relay testing software with test parameters, results and pass or fail assessment


 
 
 

Comments


bottom of page