IP Library Granted Patent US 11,681,003
Granted Patent B1
US 11,681,003 · App. 17/549,522 · Granted Jun 20, 2023

Generating simulated waveforms for an electric meter when operating in a simulation mode

Inventor: David A. Bobick (West Lafayette, IN)
Assignee: LANDIS+GYR INNOVATIONS, INC.
G01R35/04G01R22/061
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,681,003
App. No.
17/549,522
Granted
Jun 20, 2023
Kind
B1
Abstract

Techniques for generating simulated waveforms for an electric meter include operating a meter in simulation mode without an external load device connected to the meter. Simulated waveforms are generated for a number of channels based on waveform component values. The waveforms are generated at a rate that corresponds to a sample rate of an analog to digital converter (ADC) of the meter. In simulation mode, the waveforms are provided to a meter firmware interface, instead of the waveform data obtained from the ADC.

Claims (67)

1. A method for generating simulated waveforms by an electric meter, comprising:

operating in a simulation mode, wherein while operating in the simulation mode, simulated waveforms are used instead of data from an analog to digital converter (ADC) within the electric meter;

generating the simulated waveforms for a plurality of channels using a plurality of waveform component values by:

for each channel of the plurality of channels:

accessing a set of waveform component values for the channel, wherein the waveform component values for the channel include at least a voltage or a current value, a frequency value, and a phase value; and

generating a simulated channel waveform using the set of waveform component values for the channel at a rate that corresponds to a sample rate of the ADC, wherein the sample rate of the ADC in the simulation mode matches a sample rate of the ADC in an operating mode; and

providing the simulated channel waveforms for the channels to a meter firmware interface, wherein the meter firmware interface receives waveform data obtained from the ADC during the operating mode.

2. The method of claim 1 , wherein generating a simulated channel waveform comprises:

generating a sine wave using a least squares fit of a 9 th -order polynomial of a sine function over an interval.

3. The method of claim 2 , wherein the simulated channel waveform includes a plurality of samples, further comprising increasing a phase for a sample over a phase for a previous sample.

4. The method of claim 1 , wherein the waveform component values include a plurality of harmonic numbers, a magnitude for each of the harmonic numbers, and a phase for each of the harmonic numbers, and wherein generating a simulated channel waveform comprises:

for each harmonic number:

multiplying the harmonic number by an accumulated phase;

adding the phase for the harmonic number;

generating a sine wave using a least squares fit of a 9 th -order polynomial of a sine function; and

adjusting a magnitude of the sine wave by the magnitude for the harmonic number to generate a sine wave with harmonics; and

summing the sine waves with harmonics for the harmonic numbers.

5. The method of claim 1 , further comprising:

for at least a selected one of the channels:

accessing a set of event component values for the selected channel; and

generating an event for the selected channel, wherein the event has an event magnitude and an event duration, and a magnitude of the simulated channel waveform for the selected channel is adjusted by the event magnitude for a time corresponding to the event duration.

6. The method of claim 1 , further comprising:

determining that a housing of the electric meter is removed from a base of the electric meter; and

in response to determining that a housing of the electric meter is removed, operating in the simulation mode.

7. The method of claim 1 , wherein the method further comprises:

accessing a second plurality of waveform component values for a second plurality of channels;

generating a second set of simulated channel waveforms; and

providing the second set of simulated channel waveforms to the meter firmware interface.

8. The method of claim 1 , wherein accessing the plurality of waveform component values comprises receiving the waveform component values from a simulation interface component connected to the electric meter.

9. The method of claim 1 , wherein the plurality of channels include at least one voltage channel and at least one current channel.

10. A meter comprising:

an ADC that operates at a sampling rate during an operating mode; and

meter firmware comprising:

a waveform simulator configured to generate waveforms for a plurality of channels using a plurality of waveform component values when the meter is in a simulation mode by:

for each channel of the plurality of channels:

accessing a set of waveform component values for the channel, wherein the waveform component values for the channel comprise at least a voltage value or a current value, a frequency value, and a phase value; and

generating a simulated channel waveform using the set of waveform component values for the channel at a rate that corresponds to a sample rate of the ADC, wherein the sample rate of the ADC in the simulation mode matches a sample rate of the ADC in an operating mode;

an event simulator configured to generate an event for at least one channel, wherein the event includes a magnitude and a duration; and

a meter firmware interface configured to receive the simulated channel waveforms from the waveform simulator when the meter operates in the simulation mode and to receive waveform data obtained from the ADC during the operating mode.

11. The meter of claim 10 , wherein the waveform simulator is configured to generate a simulated waveform channel by generating a sine wave using a least squares fit of a 9 th -order polynomial of a sine function over an interval.

12. The meter of claim 10 , wherein the meter is configured to connect to an external simulation interface component and to receive the plurality of waveform component values from the external simulation interface component.

13. The meter of claim 12 , wherein the waveform simulator is configured to:

receive, from the external simulation interface component, a second plurality of waveform component values for a second plurality of channels;

generate a second set of simulated channel waveforms; and

provide the second set of simulated channel waveforms to the meter firmware interface.

14. The meter of claim 10 , wherein the waveform component values comprise a plurality of harmonic numbers, a magnitude for each of the harmonic numbers, and a phase for each of the harmonics numbers, and wherein the waveform simulator is configured to generate a simulated channel waveform by:

for each harmonic number:

multiplying the harmonic number by an accumulated phase;

adding the phase for the harmonic number;

generating a sine wave using a least squares fit of a 9 th -order polynomial of a sine function; and

adjusting a magnitude of the sine wave by the magnitude for the harmonic number to generate a sine wave with harmonics; and

summing the sine waves with harmonics for the harmonic numbers.

15. The meter of claim 10 , wherein the meter firmware is configured to provide the simulated channel waveforms from the waveform simulator when the meter is operating in simulation mode and to provide waveform data obtained from the ADC when the meter is operating in the operating mode.

16. The meter of claim 10 , wherein the plurality of channels comprises at least one voltage channel and at least one current channel.

17. A system comprising:

a simulation interface component configured to transmit a plurality of waveform component values to a meter; and

the meter capable of operating in an operating mode or a simulation mode, wherein while operating in the operating mode, an ADC operates at a sampling rate and provides data to a meter firmware interface, wherein while operating in the simulation mode, the meter is configured to generate simulated waveforms for a plurality of channels by:

for each channel of the plurality of channels:

receiving, from the simulation interface component, a set of waveform component values for the channel, wherein the waveform component values for the channel comprise at least a voltage or a current value, a frequency value, and a phase value; and

generating a simulated channel waveform using the set of waveform component values for the channel at a rate that corresponds to a sample rate of the ADC, wherein the sample rate of the ADC in the simulation mode matches the sampling rate of the ADC in the operating mode; and

providing the simulated channel waveforms for the channels to the meter firmware interface.

18. The system of claim 17 , wherein the meter is configured to generate a simulated channel waveform by generating a sine wave using a least squares fit of a 9 th -order polynomial of a sine function over an interval.

19. The system of claim 17 , wherein the meter is configured to:

receive, from the simulation interface component, a second plurality of waveform component values for a second plurality of channels;

generate a second set of simulated channel waveforms; and

provide the second set of simulated channel waveforms to the meter firmware interface.

20. The system of claim 17 , wherein the plurality of channels includes at least one voltage channel and at least one current channel.

Assignments (2)
MERGER Recorded Oct 27, 2023
From: LANDIS+GYR INNOVATIONS, INC.
To: LANDIS+GYR TECHNOLOGY, INC.
Reel/Frame 065383/0151 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 13, 2021
From: BOBICK, DAVID A.
To: LANDIS+GYR INNOVATIONS, INC.
Reel/Frame 058375/0703 →