# US 6,717,394 B2 · Method and apparatus for determining frequency of an alternating current signal of an electric power system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 6,717,394 B2
- Document ID: US6717394B2
- Status: Granted
- Kind: B2
- Application number: 10/103,064
- Filed: 2002-03-21
- Published: 2003-09-25
- Granted: 2004-04-06
- Earliest claimed: 2002-03-21
- Assignees: Eaton Corporation
- Inventors: Robert T. Elms
- Web page: https://patentgrep.com/patent/US6717394B2

## CPC

- G01R 23/00: Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
- H02H 3/46: responsive to frequency deviations
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- H02H: EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS (indicating or signalling undesired working conditions G01R, e.g. G01R31/00, G08B; locating faults along lines G01R31/08; emergency protective devices H01H)

## Abstract

A protective relay determines frequency of an AC signal of an electric power system. The protective relay includes a circuit measuring the AC signal period between zero crossings to provide a measured period value. A microprocessor includes a random access memory having a five-element array, which collects five consecutive values of the measured period values. A microprocessor routine chooses a median from the measured period values and generally determines the frequency based upon the median. The median is ignored and the previously determined line cycle period is adjusted to determine the new line cycle period if: an absolute value of a difference between a last value of the measured period values and a previously determined line cycle period is not less than a predetermined value; and the last value of the measured period values is within the limits of the array.

## Claims

### Claim 1

An apparatus for determining frequency of an alternating current (AC) signal of an electric power system, said AC signal having a period between zero crossings thereof, said apparatus comprising:
means for measuring the period of said AC signal between one of said zero crossings and a subsequent one of said zero crossings to provide a measured period value; and
a processor comprising:
a memory collecting at least five consecutive values of said measured period values, and
a routine choosing a median value from said measured period values and determining said frequency based upon said median value.

### Claim 2 (depends on 1)

The apparatus of claim 1 wherein the routine of said processor further sets a new line cycle period equal to a previously determined line cycle period plus a function of the previously determined line cycle period.

### Claim 3 (depends on 2)

The apparatus of claim 2 wherein said function of the previously determined line cycle period is the previously determined line cycle period divided by a first constant minus a second constant.

### Claim 4 (depends on 1)

The apparatus of claim 1 wherein the routine of said processor further employs said median value to determine a new line cycle period if: (i) an absolute value of a difference between a last value of said measured period values and a previously determined line cycle period is less than a predetermined value; or (ii) said last value of said measured period values is greater than or equal to or less than or equal to all of said measured period values; and, otherwise, adjusts said previously determined line cycle period to determine said new line cycle period.

### Claim 5 (depends on 4)

The apparatus of claim 4 wherein said routine predetermines said predetermined value from the previously determined line cycle period divided by a first constant minus a second constant.

### Claim 6

A method for determining frequency of an alternating current (AC) signal of an electric power system, said AC signal having a period between zero crossings thereof, said method comprising:
measuring the period of said AC signal between one of said zero crossings and a subsequent one of said zero crossings to provide a measured period value;
collecting at least five consecutive values of said measured period values;
choosing a median value from the consecutive values of said measured period values; and
determining said frequency based upon said median value.

### Claim 7 (depends on 6)

The method of claim 6 further comprising
employing said median value to determine a new line cycle period if:
(i) an absolute value of a difference between a last value of said measured period values and a previously determined line cycle period is less than a predetermined value; or (ii) said last value of said measured period values is greater than or equal to or less than or equal to all of said measured period values; and
otherwise, adjusting said previously determined line cycle period to determine said new line cycle period.

### Claim 8

A method for determining frequency of an alternating current (AC) signal of an electric power system, said AC signal having a period between zero crossings thereof, said method comprising:
measuring the period of said AC signal between one of said zero crossings and a subsequent one of said zero crossings to provide a measured period value;
collecting at least five of said measured period values;
determining at least two highest values of said measured period values;
determining at least two lowest values of said measured period values; and
determining said frequency based upon said measured period values excluding said at least two highest values and said at least two lowest values.

### Claim 9 (depends on 8)

The method of claim 8 further comprising
employing an odd count of said measured period values.

### Claim 10 (depends on 9)

The method of claim 9 further comprising
employing five as said odd count of said measured period values;
determining a median value of said measured period values; and
determining said frequency based upon said median value.

### Claim 11 (depends on 9)

The method of claim 9 further comprising
employing at least seven as said odd count of said measured period values;
determining a median value of said measured period values; and
determining said frequency based upon said median value.

### Claim 12 (depends on 9)

The method of claim 9 further comprising
employing at least seven as said odd count of said measured period values;
determining three values closest to a median of said measured period values;
determining an average value of said three values; and
determining said frequency based upon said average value.

### Claim 13 (depends on 9)

The method of claim 9 further comprising
determining an average value of said measured period values excluding said at least two highest values and said at least two lowest values; and
determining said frequency based upon said average value.

### Claim 14 (depends on 9)

The method of claim 9 further comprising
determining a median value of said measured period values;
employing said median value to determine a new line cycle period if:
(i) an absolute value of a difference between a last value of said measured period values and a previously determined line cycle period is less than a predetermined value; or (ii) said last value of said measured period values is greater than or equal to or less than or equal to all of said measured period values; and
otherwise, adjusting said previously determined line cycle period to determine said new line cycle period.

### Claim 15 (depends on 9)

The method of claim 9 further comprising
determining a median value of said measured period values;
employing said median value to determine a new line cycle period if:
(i) an absolute value of a difference between a last value of said measured period values and a previously determined line cycle period is less than a function of said previously determined line cycle period; or (ii) said last value of said measured period values is greater than or equal to or less than or equal to all of said measured period values; and
otherwise, adjusting said previously determined line cycle period to determine said new line cycle period.

### Claim 16 (depends on 8)

The method of claim 8 further comprising
employing an even count of said measured period values.

### Claim 17 (depends on 16)

The method of claim 16 further comprising
employing at least six as said even count of said measured period values;
determining two values closest to a median of said measured period values;
determining an average value of said two values; and
determining said frequency based upon said average value.

### Claim 18 (depends on 16)

The method of claim 16 further comprising
determining an average value of said measured period values excluding said at least two highest values and said at least two lowest values; and
determining said frequency based upon said average value.

### Claim 19 (depends on 16)

The method of claim 16 further comprising
determining an average value of said measured period values excluding said at least two highest values and said at least two lowest values; and
employing said average value to determine a new line cycle period if:
(i) an absolute value of a difference between a last value of said measured period values and a previously determined line cycle period is less than a predetermined value; or (ii) said last value of said measured period values is greater than or equal to or less than or equal to all of said measured period values; and
otherwise, adjusting said previously determined line cycle period to determine said new line cycle period.

### Claim 20

An apparatus for determining frequency of an alternating current (AC) signal of an electric power system, said AC signal having a period between zero crossings thereof, said apparatus comprising:
means for measuring the period of said AC signal between one of said zero crossings and a subsequent one of said zero crossings to provide a measured period value;
a processor comprising:
a memory collecting at least five consecutive values of said measured period values,
a routine choosing a median value from said measured period values and determining said frequency based upon said median value; and
wherein the routine of said processor further employs said median value to determine a new line cycle period if: (i) an absolute value of a difference between a last value of said measured period values and a previously determined line cycle period is less than a predetermined value; or (ii) said last value of said measured period values is greater than or equal to or less than or equal to all of said measured period values; and, otherwise, adjusts said previously determined line cycle period to determine said new line cycle period.

### Claim 21

A method for determining frequency of an alternating current (AC) signal of an electric power system, said AC signal having a period between zero crossings thereof, said method comprising:
measuring the period of said AC signal between one of said zero crossings and a subsequent one of said zero crossings to provide a measured period value;
collecting at least five consecutive values of said measured period values;
choosing a median value from the consecutive values of said measured period values;
determining said frequency based upon said median value;
employing said median value to determine a new line cycle period if:
(i) an absolute value of a difference between a last value of said measured period values and a previously determined line cycle period is less than a predetermined value; or (ii) said last value of said measured period values is greater than or equal to or less than or equal to all of said measured period values; and
otherwise, adjusting said previously determined line cycle period to determine said new line cycle period.

### Claim 22

A method for determining frequency of an alternating current (AC) signal of an electric power system, said AC signal having a period between zero crossings thereof, said method comprising:
measuring the period of said AC signal between one of said zero crossings and a subsequent one of said zero crossings to provide a measured period value;
collecting at least five of said measured period values;
determining at least two highest values of said measured period values;
determining at least two lowest values of said measured period values;
determining said frequency based upon said measured period values excluding said at least two highest values and said at least two lowest values;
employing an odd count of said measured period values;
determining a median value of said measured period values;
employing said median value to determine a new line cycle period if:
(i) an absolute value of a difference between a last value of said measured period values and a previously determined line cycle period is less than a predetermined value; or (ii) said last value of said measured period values is greater than or equal to or less than or equal to all of said measured period values; and
otherwise, adjusting said previously determined line cycle period to determine said new line cycle period.

### Claim 23

A method for determining frequency of an alternating current (AC) signal of an electric power system, said AC signal having a period between zero crossings thereof, said method comprising:
measuring the period of said AC signal between one of said zero crossings and a subsequent one of said zero crossings to provide a measured period value;
collecting at least five of said measured period values;
determining at least two highest values of said measured period values;
determining at least two lowest values of said measured period values;
determining said frequency based upon said measured period values excluding said at least two highest values and said at least two lowest values;
employing an even count of said measured period values;
determining an average value of said measured period values excluding said at least two highest values and said at least two lowest values;
employing said average value to determine a new line cycle period if:
(i) an absolute value of a difference between a last value of said measured period values and a previously determined line cycle period is less than a predetermined value; or (ii) said last value of said measured period values is greater than or equal to or less than or equal to all of said measured period values; and
otherwise, adjusting said previously determined line cycle period to determine said new line cycle period.

### Claim 24

An apparatus for determining frequency of an alternating current (AC) signal of an electric power system, said AC signal having a period between zero crossings thereof, said apparatus comprising:
means for measuring the period of said AC signal between one of said zero crossings and a subsequent one of said zero crossings to provide a measured period value;
a processor comprising:
a memory collecting at least five consecutive values of said measured period values;
a routine choosing a median value from said measured period values and determining said frequency based upon said median value;
wherein the routine of said processor further employs said median value to determine a new line cycle period if: (i) an absolute value of a difference between a last value of said measured period values and a previously determined line cycle period is less than a predetermined value; or (ii) said last value of said measured period values is greater than or equal to said predetermined value and is not within array limits;
wherein said array limits are determined by the maximum and minimum values of N consecutive median values where N is an integer; and
otherwise, adjusts said previously determined line cycle period to determine said new line cycle period.

### Claim 25

An apparatus for determining frequency of an alternating current (AC) signal of an electric power system, said AC signal having a period between zero crossings thereof, said apparatus comprising:
means for measuring the period of said AC signal between one of said zero crossings and a subsequent one of said zero crossings to provide a measured period value;
a processor comprising:
a memory collecting at least five consecutive values of said measured period values;
a routine choosing a median value from said measured period values and determining said frequency based upon said median value;
wherein the routine of said processor further employs said median value to determine a new line cycle period if: (i) an absolute value of a difference between a last value of said measured period values and a previously determined line cycle period is less than a predetermined value; or (ii) said last value of said measured period values is greater than or equal to said predetermined value and is not within array limits; and
wherein said array limits are determined by the maximum and minimum values of N consecutive median values where N is an integer.

### Claim 26

An apparatus for determining frequency of an alternating current (AC) signal of an electric power system, said AC signal having a period between zero crossings thereof, said apparatus comprising:
means for measuring the period of said AC signal between one of said zero crossings and a subsequent one of said zero crossings to provide a measured period value;
a processor comprising:
a memory collecting N consecutive values of said measured period values where N is greater than one and odd;
a routine choosing a median value from said measured period values and determining said frequency based upon said median value;
wherein the routine of said processor further employs said median value to determine a new line cycle period if: (i) an absolute value of a difference between a last value of said measured period values and a previously determined line cycle period is less than a predetermined value; or (ii) said last value of said measured period values is greater than or equal to said predetermined value and is not within array limits;
wherein said array limits are determined by the maximum and minimum values of N consecutive median values, where N is an integer; and
otherwise, adjusts said previously determined line cycle period to determine said new line cycle period.

### Claim 27

An apparatus for determining frequency of an alternating current (AC) signal of an electric power system, said AC signal having a period between zero crossings thereof, said apparatus comprising:
means for measuring the period of said AC signal between one of said zero crossings and a subsequent one of said zero crossings to provide a measured period value;
a processor comprising:
a memory collecting N consecutive values of said measured period values where N is greater than one and odd;
a routine choosing a median value from said measured period values and determining said frequency based upon said median value;
wherein the routine of said processor further employs said median value to determine a new line cycle period if: (i) an absolute value of a difference between a last value of said measured period values and a previously determined line cycle period is less than a predetermined value; or (ii) said last value of said measured period values is greater than or equal to or less than or equal to said predetermined value and is not within array limits; and
wherein said array limits are determined by the maximum and minimum values of N consecutive median values, where N is an integer.

### Claim 28

An apparatus for determining frequency of an alternating current (AC) signal of an electric power system, said AC signal having a period between zero crossings thereof, said apparatus comprising:
means for measuring the period of said AC signal between one of said zero crossings and a subsequent one of said zero crossings to provide a measured period value;
a processor comprising:
a memory collecting N consecutive values of said measured period values where N is greater than one and odd, and
a routine choosing a median value from said measured period values and determining said frequency based upon said median value.
