WO1998005013A1 - An integrated circuit design automatic utility meter: apparatus and method - Google Patents

An integrated circuit design automatic utility meter: apparatus and method Download PDF

Info

Publication number
WO1998005013A1
WO1998005013A1 PCT/US1997/013243 US9713243W WO9805013A1 WO 1998005013 A1 WO1998005013 A1 WO 1998005013A1 US 9713243 W US9713243 W US 9713243W WO 9805013 A1 WO9805013 A1 WO 9805013A1
Authority
WO
WIPO (PCT)
Prior art keywords
utility meter
samples
data
voltage
meter
Prior art date
Application number
PCT/US1997/013243
Other languages
French (fr)
Inventor
Thomas R. Turino
Keith William Bergevin
Daniel Charles Opperman
Tony Lee Werner
Original Assignee
Sacramento Municipal Utility District
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sacramento Municipal Utility District filed Critical Sacramento Municipal Utility District
Priority to AU38168/97A priority Critical patent/AU3816897A/en
Publication of WO1998005013A1 publication Critical patent/WO1998005013A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D4/00Tariff metering apparatus
    • G01D4/002Remote reading of utility meters
    • G01D4/004Remote reading of utility meters to a fixed location
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F15/00Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
    • G01F15/06Indicating or recording devices
    • G01F15/061Indicating or recording devices for remote indication
    • G01F15/063Indicating or recording devices for remote indication using electrical means
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R22/00Arrangements for measuring time integral of electric power or current, e.g. electricity meters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02B90/20Smart grids as enabling technology in buildings sector
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S20/00Management or operation of end-user stationary applications or the last stages of power distribution; Controlling, monitoring or operating thereof
    • Y04S20/30Smart metering, e.g. specially adapted for remote reading

Definitions

  • the present invention relates generally to an automatic utility meter apparatus, and in particular, to an integrated circuit design automatic utility meter apparatus which is a one for one replacement of existing utility meters and which provides collection, calculation, storage, display and transmission of consumption of utility commodities such as electric power, gas, water and the like.
  • both the utility company and the consumer would benefit from a more accurate and efficient meter that would allow for multi-utility data collection, calculation, storage, a display of consumption in units of real time and a communication medium which allows for data transmission to and from a central billing computer.
  • a meter which provides, inter alia, the above attributes would represent a marked improvement over prior art utility meters.
  • a direct meter replacement would solve the problems associated with retro-fitting existing meters.
  • U.S. Patent No. 3,842,206 to Barsellotti, et al. teach the use of an outbound (a system which is initiated at a central location remote from the customer's site) system requiring a meter interface unit.
  • the system requires the retrofit of existing electromechanical meters with reed switches sensing the least significant digit wheel as a measure of usage. The usage is stored in memory and this memory is released to a secondary storage network upon the receipt of a signal received over the phone line.
  • This data is then encoded and transmitted in sequence over a special trunk line to a data processor.
  • This system includes three sections: (1) the data processing section; (2) the meter sensor and transmitter section; and (3) the interface unit between these two sections.
  • the system is referred to as a transponder.
  • U.S. Patent No 3,922,492 to Lumsden teaches an outbound system requiring a transponder.
  • the system requires the retrofit of an existing meter with an L.E.D. photo pickup or contact closure for monitoring every revolution of a least significant digit wheel as a measure of consumption. This consumption is stored as a pulse data in a cascade of counters. The data from the counters is downloaded to a computer at the central billing office upon receipt of a signal from the computer at the central office.
  • U.S. Patent No. 4,086,434 to Bocchi teaches an inbound system that is a meter interface unit. The system requires the use of contact closure meters (electric, gas and water).
  • the system communicates via standard telephone lines to central offices for the various utilities, and also to the appropriate authorities in case of emergency.
  • the contact closures represent an indication of a measured amount of usage (typically the least significant digit wheel or one revolution of a disc within the meter). This contact closure is represented as a stored pulse and is typically calculated at the central billing center.
  • a contact closure represents a variety of home protection devices as well as medical or fire information.
  • a calling cycle is initiated to call the central office of the company supervising the installation and operation of the home units, which may or may not be the same as one of the utility companies.
  • U.S. Patent No. 4,254,472 to Juengel, et al. teaches the use of a meter interface unit which can be used with a variety of known devices which provide a pulse-like output whose frequency is proportional to the quantity being sensed.
  • a peripheral interface adapter provides the necessary interface between circuitry, a display unit and a microprocessor.
  • U.S. Patent No. 4,337,466 to Spahn teaches a system for providing tamper protection. Tamper protection is provided for a meter and for a transmission line carrying energy usage information to a transponder such that any interruption of the circuit path causes an alarm to be generated.
  • the circuitry includes an encoder associated with each remote meter to be protected and a centrally located decoder for receiving the signal transmitted by the encoder. Any interruptions of the circuit path which could be caused by disconnecting the meter or tampering with the line connected thereto will interrupt the pulsed carrier signal and cause pulses corresponding to the interruptions to be placed on the line.
  • the class of tampers which can be detected includes open and shorted lines, and the series or parallel connection of additional resistance to the lines.
  • U.S. Patent No. 4,495,596 to Sciulli teaches the use of a transponder with a battery back-up for a time of day clock.
  • U.S. Patent No. 4,504,831 to Jahr, et al. teaches the use of meter interface unit (MIU) that collects meter data through a meter encoder and can transmit this data either by a cable or telephone to a central data processor.
  • MIU meter interface unit
  • U.S. Patent No. 4,578,536 to Oliver, et al. teaches the use of an outbound system requiring a meter interface unit powered by the phone line.
  • the system requires a pulse output from the existing meters through a meter interface device which stores the data.
  • This data is then transmitted over the customer's phone line when an interrogation signal is sent from the telephone company's computer to the multiplexer (centerpoint) which can accommodate up to 100 telephone lines.
  • the data received is either by pulse width modulation or dual-tone modulation and is demodulated by the telephone company and translated to digital information representative of actual usage.
  • U.S. Patent No. 4,654,868 to Shelley teaches the use of an outbound system requiring a meter interface unit.
  • the system comprises a telephone company computer, a time independent data transmission device (TIDTD) and a data set
  • TIDTD time independent data transmission device
  • the system is activated at the telephone company's computer which connects the TIDTD to the data set using a one ring burst to not interfere with the customer's phone use.
  • the one ring burst is suppressed so as not to notify the customer as a false ring and still obtain the data from the data set.
  • U.S. Patent No. 4,672,602 to Hargrave, et al. teaches the use of an information transport system for providing data services over existing telephone lines without interference with existing voice services supported by the telephone network.
  • the system includes equipment that is located at the subscriber's premises, equipment at the central exchange, and adapters for interconnecting the central exchange equipment with the individual subscribers' lines This system allows the transportation of data over the existing phone line without having to go through the telephone company's main switch.
  • U.S. Patent No. 4,713,837 to Gordon teaches the use of a communications network for transmitting information originating from a receiving and transmitting station and destined for another receiving and transmitting station over telecommunication channels.
  • U.S. Patent No. 4,720,851 to Smith teaches an outbound system utilizing ring detection to initiate several voltage supplies across different size zener diodes to determine the actual dial indicator for the meter to be read.
  • U.S. Patent No. 4,782,287 to Marx teaches the use of a watt-hour meter in which the pulse width modulated signals, representing the voltage supplied to a load, serve as chopping signals that modulate a waveform representing current to produce an output indicative of power. A series of pulses is spaced on the basis of the power signal and the number of pulses connected as a measure of energy.
  • U.S. Patent No. 4,804,957 to Selph, et al. teaches the use of a utility meter which is a microprocessor-based circuit using Hall effect electric current sensors to measure power usage by residential and commercial customers. An analog signal from the Hall effect sensor is converted to a digital signal which is fed to the microprocessor for analysis and storage in random access memory. Using a real time clock, the microprocessor determines time of use information which is also stored in random access memory.
  • the memory may be remotely interrogated via a telephone line or serial communication link.
  • the system requires a MRAC at the telephone central switch for communication so that the utility can contact the meter for data.
  • the system is an outbound system, that is, a system that is initiated at the utility to acquire the data.
  • the system utilizes an operational amplifier which generates a DC level output proportional to the time integral of the power sensed by the current sensor which is then fed into a voltage to frequency converter. The conversion is made by sampling the output for a fixed time interval and counting the number of pulses or oscillations produced.
  • U.S. Patent No. 4,833,618 to Verma, et al. teaches the use of a system requiring a meter interface unit.
  • the system comprises a remote data unit (meter interface), a utility data processor and a digital communication interface.
  • the system is designed to count each rotation of the least significant dial of one or more utility meters at a particular premise and to store the sum of each utility usage in a separate register allocated to a particular utility, i.e., gas, water, electric. Each utility usage is accumulated in the assigned register.
  • the remote data unit calls the utility data processor and transmits the utility usage information from the remote data unit to the utility data processor.
  • U.S. Patent No. 4,850,101 to Stanbury, et al. teaches the use of a telemetry terminal which utilizes a utility management terminal (UMT) and is used for load shedding and remote metering from pulse meters.
  • UAT utility management terminal
  • U.S. Patent No. 4,862,493, to Venkataraman, et al. teaches the use of a remote data recorder which connects to a pulse-type meter. Enclosed within the recorder is a modem, non-volatile memory and a CPU to count the pulses.
  • U.S. Patent No. 5,018,192 to Smith teaches the use of an interface unit specifically designed for data transmission over the customer's phone line.
  • the meters are connected to an interrogation device and are signaled from the telephone interface unit, all of which are connected together.
  • U.S. Patent No. 5,056,107 to Johnson, et al. teaches the use of a radio communication network for transmitting data from a number of remote stations to a central station.
  • the system requires a retrofit of existing meters using a photo diode to determine the number of revolutions of the disc in a electromechanical meter.
  • the output of the photo diode creates a pulse and this pulse represents a known value of usage.
  • the usage is stored into memory until called upon by a radio transmitter receiver and downloaded into a computer base.
  • U.S. Patent No. 5,079,715 to Venkataraman, et al. teaches the use of an electronic data recorder.
  • the system comprises an electronic remote data recorder which records pulses representing utility usage from a number of consumers.
  • the system is powered from the consumer's home phone line.
  • U.S. Patent No. 5,197,095 to Bonnet, et al. teaches the use of a system for remote transfer and collection of data.
  • the system is an outbound system requiring a meter interface unit.
  • the system comprises a storage and transmission unit at the meter, a transmitter, a collection means and a data processor.
  • U.S. Patent No. 5,204,896 to Oliver teaches the use of an outbound telemetry device type of meter interface unit.
  • the system includes a processor which is capable of collecting consumption information at the subscriber's site.
  • the processor draws electrical power from the phone line in an electrically isolated fashion.
  • U.S. Patent No. 5,239,575 to White, et al. teaches the use of a meter interface unit (MIU) termed a remote data unit (RDU).
  • MIU meter interface unit
  • RDU remote data unit
  • This RDU is a telephone inbound unit with a modem and real time clock.
  • the unit can be interfaced with meters that provide a pulse output or an absolute encoder.
  • U.S. Patent No. 5,243,644 to Garland, et al. teaches the use of a telemetry access arrangement requiring a meter interface unit. The system requires an interface with the phone company's central office, the utility and the customer's interface unit.
  • U.S. Patent No. to McClelland, et al. teach the use of an interface with an electric meter which facilitates storing water usage data.
  • U.S. Patent No. 5,311,581 to Merriam, et al. teaches the use of an outbound remote meter reading system requiring telephone test trunks and switching to access the customer's pulse meter.
  • the dial indicator of the rotary hand type which represents the lease significant digit is replaced with a rotary two-pole permanent magnet.
  • a Wiegand sensor is disposed adjacent the rotary magnet and generates two alternating pulses for each revolution of the rotary magnet.
  • U.S. Patent No. 5,369,691 to Cain, et al. teaches the use of a telephone communications infrastructure designed to provide an information transmission path between customer locations and remote locations deriving the information. The information is transmitted out of band to a local distribution point then retransmitted to in-band signals for further transmission.
  • U.S. Patent No. 5,381,462 to Larson, et al. teaches the use of a meter interface unit (MIU) described as a meter reader terminal requiring a pulse type meter to acquire data and then transmits this data over the customer's phone line.
  • MIU meter interface unit
  • U.S. Patent No. 5,434,911 to Gray, et al. teaches the use of a meter interface unit (MIU) for remotely reading utility meters, including data processing.
  • MIU meter interface unit
  • This system is an inbound system which is designed to interface with two encoder type utility meters.
  • One primary function of the present invention is to measure, calculate, store and provide a visual readout of electricity, gas, and water usage and send this data to a central computer for automatic billing.
  • the primary method utilized to transfer the data is via the residential phone line, although because of its modular and open architectural design, a variety of commercially available communications medium may be incorporated to transfer the data, such as a radio transceiver, power line carrier or fiberoptic coupler.
  • the meter calculates kilowatt-hours (KWHs), volt- amperes (VAs), volt-amperes reactive (VARs), and power factor angle.
  • the present invention uses direct read circuitry to sample and calculate power directly from the input voltage and current waveforms.
  • the sampled waveforms are converted to digital signals suitable for processing by the meter's central processing unit.
  • This data is stored and accumulated in memory devices until a periodic transfer to a central computer via modem.
  • the meter is designed to accept measurements from gas and water meters with the capability to transfer digital signal levels to the central office.
  • the memory devices are powered by conventional and capacitive-backup circuitry to ensure data retention.
  • Data retention circuitry is designed to meet a minimum of 15 hours without conventional power.
  • the voltage and current sinusoids entering the residential dwellings shall be transformed to values within ranges acceptable for processing by the meter's microelectronic circuits.
  • a voltage transformer and a current sensor are the two devices used to achieve voltage and current reduction.
  • the meter will measure the values on the secondary side of these waveforms to determine power consumption.
  • the current sensors will transform the current by a ratio of 1:1000 to generate values on the secondary side in the milliampere range.
  • the voltage transformer will convert 240V RMS to approximately 10V RMS.
  • the RMS voltage will also be used to provide power to the microelectronic circuits in addition to being sampled for power consumption calculations.
  • the meter shall sample the secondary side sinusoidal voltage and current analog waveforms for conversion to digital values. These values shall subsequently be used to perform power usage calculations.
  • One primary component to perform these steps is an eight channel twelve bit analog-to- digital converter (A/D).
  • a secondary winding of the voltage transformer provides a secondary waveform which is directed to the A/D converter for sampling.
  • the secondary currents from the current sensors are directed through precision resistance branches to generate voltage waveforms for sampling by the analog-to- digital converter (A/D).
  • the outputs from A/D are digital values that shall be transferred to a hardware multiplier via a field programmable gate array for rapid multiplication.
  • the voltage values are also read by the microcontroller for VAR calculations.
  • KWHs KWHs, KVAs, and VARs.
  • the sampled voltage and current values are sampled, stored, and accessed for continuous calculations.
  • KW & KWH The sampled voltage and current values are multiplied with the results summed and then accumulated in memory. These results are summed over periodic intervals. This summed result is divided by the number of multiplications to derive the average value over the given intervals. This average value represents watts. Watts are accumulated over seconds, minutes, hours, etc. to calculate KW-Seconds, KW-Minutes, and KW-Hours.
  • KVAR - The current samples are multiplied by voltage samples taken 90 degrees earlier to calculate VARS.
  • the results of the multiplications are continuously summed over time. The summed result is divided by the number of multiplications to derive VARS.
  • VA The calculated values of watts and vars can now be used to calculate volt-amps.
  • the VA value is the square root of (Watts squared + VAR squared).
  • Data Storage - The present invention contains memory capability both on a microcontroller and an external SRAM. The values of the calculations derived in KW and KWH and VA are initially stored in the microcontroller memory. These values are transferred to SRAM every 5, 10, or 15 minutes (programmable by the utility company). This SRAM is capacitively backed-up to ensure data retention during power outages.
  • Modem - The present invention includes modem capability designed onto the module for transfer of data to and from a central computer.
  • the modem module (Ull) consists of a modem and data access arrangement (DAA) to interface to the phone line.
  • the DAA consists of a transformer built into the module to provide isolation from the phone line as required per FCC Part 68.
  • the microcontroller initiates transfers to and from the modem via serial ports.
  • the microcontroller commands the modem to initiate calls to a central office at programmed intervals.
  • the modem accepts digital data retrieved from memory by the microcontroller and transferred to the modem. This data consists of an identification number (ID#) unique to the residential customer, the central office phone number, and data representing the power consumption.
  • a telephone line status detector which functions as a current sensor on the phone line to detect the status of the customers phone. This function is necessary to detect an off-hook status of the residential phone indicating a requirement by the customer to place a phone call.
  • the status detector detects current changes due to a phone going into an off-hook condition.
  • a signal is sent via an off hook detect output OHD to the microcontroller to provide notification of the customer's requirement to use the phone.
  • the microcontroller immediately stores existing data and takes the modem off line. This releases the phone line for immediate customer use.
  • Tamper Switch - A motion sensitive tamper switch is designed to ensure that the meter is not tampered with by unauthorized individuals.
  • the microcontroller immediately detects release of the motion switch via an interrupt signal to the microcontroller.
  • the microcontroller immediately initiates a call to the central office emergency number stored in memory. The time and date of the tamper is also recorded.
  • the meter of the present invention includes a real time clock which provides time and date from 1/ 100th of a second to years, including leap years.
  • the microcontroller accesses the real time clock at programmable intervals for functions requiring time and date.
  • the microcontroller continually updates capacitively backed memory with data from the real time clock.
  • the meter uses the real time clock for numerous functions. These include time /date to upload data to the central computer, time of power outages, and time-of-use for different rate structures.
  • the meter includes an LCD display to present usage data.
  • the LCD displays power consumption accumulated to date for the most recent billing period.
  • the meter contains a supervisory circuit and associated components to ensure power is retained to the essential components of the electronic circuits for a minimum of fifteen hours.
  • This supervisory circuit operates using a very large value capacitor, to store and release energy sufficient to retain data in the memory and real time clock.
  • the capacitor is charged via the line voltage and held at full charge until power (Vcc) drops low or off.
  • the supervisory circuit detects a drop of Vcc below a set threshold level which is sufficient to ensure power levels to the essential components. When this occurs the supervisory circuit switches the power source to the back-up power capacitor.
  • a signal is sent to the microcontroller notifying the device to go into standby mode to save data and conserve power.
  • the capacitor provides current to the SRAM containing the consumption data and to the real time clock. Due to the requirement to update consumption data to the SRAM every 5, 10, or 15 minutes (utility company programmable), these are the maximum time intervals respectively for which data would be lost.
  • the primary object of the present invention is to provide a new and novel utility meter free from the problems of the prior art.
  • Another object of the present invention is to provide a meter as characterized above which allows for multi-utility data collection, calculation, storage and transmission for utility billing purposes.
  • Another further object of the present invention is to provide a meter as characterized above wherein the power usage shall be obtained through direct read components that shall allow the usage to be calculated in kilowatts, kilowatt hours and kilowatt amps.
  • Another further object of the present invention is to provide a meter as characterized above which is capable of bi-directional communication and can be remotely programmable via a telephone line, without interference to the normal use of the telephone line.
  • Another further object of the present invention is to provide a meter as characterized above which has a self-diagnostic feature that shall initiate a trouble call for any present or anticipated problems.
  • Another further object of the present invention is to provide a meter as characterized above which has a local real time display capable of displaying accumulated power usage, time, and date, continuously or on demand.
  • Another further object of the present invention is to provide a meter as characterized above which includes a back-up power source to avoid memory loss and to provide power for a real time clock and outage/tamper reporting.
  • Another further object of the present invention is to provide a meter as characterized above which includes a discrete non-volatile identification number.
  • Another further object of the present invention is to provide a meter as characterized above which is provided with surge protection for protecting the electronics of the meter from high voltage transient signals.
  • Another further object of the present invention is to provide a meter as characterized above which accepts viable digital and pulse encoded data from external meters or systems.
  • Another further object of the present invention is to provide a meter as characterized above which is capable of sensing power outages for a duration of longer than sixty seconds and to report such outages via a telephone line.
  • Another further object of the present invention is to provide a meter as characterized above which includes tamper detection capabilities for physical intrusion and power disruption and initiates a tamper call via a telephone line.
  • Another further object of the present invention is to provide a meter as characterized above which is capable of compiling, calculating and storing all of the data samples and including time of use data in a non-volatile memory means.
  • Another further object of the present invention is to provide a meter as characterized above which contacts a host computer via an existing telephone line.
  • Another further object of the present invention is to provide a meter as characterized above in which the electronics are an open architecture design to allow for further developments, such as remote disconnect, demand side load management and a variety of communication means.
  • Another further object of the present invention is to provide a meter as characterized above which includes automatic calibration.
  • Another further object of the present invention is to provide a meter as characterized above which upon installation calls a host billing computer for initial data such as time, date and instructions.
  • Another further object of the present invention is to provide a meter as characterized above which automatically converts to a maintenance mode upon a problem report and will display KWs and KVARs on the LCD.
  • a utility meter comprising in combination: means for sensing incoming data correlative of a product received from a utility company; means connected to the sensing means for sampling the sensed data; means for storing and accumulating the sampled data; a transmission media; means for transmitting the stored accumulated sampled data at a predetermined interval to the utility company from the meter via the transmission media; and means for acknowledging receipt of the transmitted data by the utility company.
  • a utility meter comprising in combination: means for transforming voltage across and current through a first and a second power supply line; means for sampling the transformed voltage and current for providing voltage samples and current samples; a processing means; an interface means operatively coupled to the sampling means and to the processing means; the interface means receiving the voltage samples and the current samples from the sampling means and retaining both the samples until the processing means reads the voltage samples and current samples from the interface means.
  • an object of the present invention to provide an automatic utility meter, comprising in combination: a power supply circuit, means for sensing voltage and current waveforms received from a utility company; an analog-to-digital converter connected to the power supply circuit and operatively coupled to the sensing means for receiving and digitizing the voltage and current waveforms into voltage and current samples; a field programmable gate array connected to the power supply circuit and operatively coupled to the analog- to-digital converter for controlling the analog-to-digital converter and for receiving and retaining the voltage and current samples; a processing means connected to the power supply circuit and operatively coupled to the field programmable gate array for reading the digitized voltage and current samples from the field programmable gate array.
  • a utility meter comprising in combination: a power supply circuit; a voltage transformer having a primary operatively coupled across a first power supply line and a second power supply line; the voltage transformer having a first secondary operatively coupled to the power supply circuit and a second secondary outputting a first voltage signal; a first current transformer and a second current transformer respectively coupled in line with the first and the second power supply line; a first converter circuit operatively coupled to the first current transformer for generating a second voltage signal proportional to a current in the first power supply line; a second converter circuit operatively coupled to the second current transformer for generating a third voltage signal proportional to a current in the second power supply line; sampling means operatively coupled to the first converter circuit, the second converter circuit and to the secondary of the voltage transformer wherein the sampling means samples the first voltage signal, the second voltage signal and the third voltage signal; a control means connected to the power supply circuit; the control means operatively coupled to the sampling
  • Figure 1 is an elevational view of a utility meter according to the present invention which is shown disposed on a side of a building to which utilities are being supplied.
  • Figure 2 is a plan front view of a conventional electric utility box showing electric utility lines entering and exiting the utility box.
  • Figure 3 is a first side view of the utility meter according to the present invention.
  • Figure 4 is a top plan view of a pair of current sensors and a voltage sensor according to the present invention.
  • Figure 5 is a top plan view of the utility meter according to the present invention.
  • Figure 6 is a front plan view of a display means according to the present invention.
  • Figure 7 is a second side view of the utility meter according to the present invention.
  • Figure 7A is a top plan view of a middle module shown in figure 7.
  • Figure 7B is a side view of that which is shown in figure 7A.
  • Figure 7C is a bottom plan view of that which is shown in figure 7A.
  • Figure 7D is a top plan view of a bottom module shown in figure 7.
  • Figure 7E is a side view of that which is shown in figure 7D.
  • Figure 8 is as bottom plan view of a base plate of the utility meter according to the present invention.
  • Figure 9 is a partial sectional view taken along lines 8-8 and rotated 90 degrees in a clockwise direction.
  • Figure 10A is a front plan view of a first current sensor according to the present invention.
  • Figure 10B is a front plan view of a second current sensor according to the present invention.
  • Figure IOC is a second side view of that which is shown in figure 10 A.
  • Figure 10D is a second side view of that which is shown in figure 10B.
  • Figure 11 A is a top plan view of a first coil according the present invention.
  • Figure 11B is a top plan view of a second coil according to the present invention.
  • Figure 11C is a side plan view of that which is shown in figure 11 A.
  • Figure 1 ID is a side plan view of that which is shown in figure 11B.
  • Figure 12 is a block diagram detailing the electronics associated with the utility meter.
  • Figure 13 is a master schematic of the electronics associated with the utility meter.
  • Figure 14 is a portion of the master schematic shown in figure 13 detailing a pair of current sensors, a step down transformer and a power supply circuit.
  • Figure 15 is a section of the master schematic showing an analog to digital converter.
  • Figure 16 is a section of the master schematic showing a field programmable array.
  • Figure 17 is a section of the master schematic showing a microcontroller.
  • Figure 18 is a block diagram of the microcontroller shown in figure 17.
  • Figure 18A is a diagram of a buffer used in an interrupt algorithm for calculating VARS.
  • Figure 19 is an example of a timing diagram for the microcontroller according to the present invention.
  • Figure 20 is a section of the master schematic showing a real time clock, a memory means, and a power back-up circuit according to the present invention.
  • Figure 21 is a section of the master schematic showing a hardware multiplier, a LCD display, a negative voltage converter, a modem, and a telephone line status detector circuit.
  • Figure 22 is a block diagram of the microcontroller to analog to digital converter interface.
  • Figure 23 is a flow chart detailing the field programmable gate array interfacing the microcontroller with the analog to digital converter.
  • Figure 24 is a block diagram of the field programmable gate array interfacing the microprocessor with the hardware multiplier.
  • Figure 25 is a flow chart of the field programmable gate array interfacing the microcontroller with the hardware multiplier.
  • Figure 26 is a block diagram of the field programmable gate array interfacing the microcontroller with a memory means.
  • Figure 27 is a flow chart of the operation of the field programmable gate array interfacing the microcontroller with the memory means.
  • Figure 28 is a block diagram of the field programmable gate array interfacing the microcontroller with a display means.
  • Figure 29 is a flow chart of the operation of the field programmable gate array interfacing the microcontroller with the display means.
  • Figure 30 is a system start-up flow diagram according to the present invention.
  • Figure 31 is a sampler interrupt flow diagram according to the present invention.
  • Figure 32 is a second interrupt flow diagram according to the present invention.
  • Figure 33 is a X-minutes interrupt flow diagram according to the present invention.
  • Figure 34 is a main background flow diagram according the present invention.
  • Figure 35 is a flow diagram of an initialization of a modem.
  • Figure 36 is a flow diagram of how the microcontroller controls the modem for transmitting and receiving data therebetween.
  • Figure 37 is a flow diagram of a send report routine.
  • Figure 38 is a flow diagram of a wright EEPROM routine according to the present invention.
  • Figure 39 is an overview of a top level control/data flow according the present invention.
  • reference numeral 10 is directed to the utility meter according to the present invention.
  • the utility meter 10 includes a transformer 160 having a primary 162 and a first and a second secondary 168, 169 respectively.
  • the primary 162 is operatively coupled across a first and second power supply line 62, 64.
  • the first secondary is operatively coupled to a DC power supply circuit 180 which powers electronic circuitry of the meter 10.
  • the second secondary 169 of the transformer 160 provides a first voltage waveform.
  • the utility meter 10 includes a first and a second current sensor 110, 130 each respectively coupled in line with the first power line 62 and the second power supply line 64.
  • the outputs of the current sensors 110, 130 are coupled to a first and second converter circuit 210, 220 respectively.
  • the converter circuits 210, 220 output a second and a third voltage waveform proportional to the current in the first and second power line 62, 64.
  • An analog-to-digital converter (ADC) U4 is operatively coupled to the second secondary 169 and to the first and second converter circuit 210, 220 for receiving the corresponding voltage waveforms therefrom.
  • the voltage waveforms are converted to digital samples which will subsequently be used to perform power usage calculations.
  • a field programmable gate array (FPGA) U2 interfaces the analog-to-digital converter U4 to a processing means Ul.
  • the FPGA U2 receives the digital samples and retains them in registers until they are read by the processing means Ul.
  • the digital samples are processed by the processing means into an X and Y operand format and then written to the FPGA U2.
  • a hardware multiplier U3 is operatively coupled to the FPGA U2 and receives the X and Y operands therefrom.
  • the multiplier U3 multiplies the X operands by the Y operands to form product samples which are transferred to the FPGA U2.
  • the FPGA U2 retains the product samples until they are read by the processing means.
  • the processing means stores, accumulates and processes the product samples to obtain a watt-time values, for example, a KW-seconds.
  • the digital samples are processed by the processing means to obtain X and Y operands which are 90 degrees out of phase. These out of phase operands are multiplied together as delineated supra and are stored, accumulated and processed by the processing means to obtain VARs.
  • a data storage means (SRAM) is operatively coupled to the FPGA and the processing means.
  • the KW and VAR data is transferred to the SRAM under the control of the FPGA.
  • a modem Ull is operatively coupled to the processing means Ul and a communication line for transferring data to and from a remote computer.
  • the processing means initiates the transfer of, inter alia, data correlative to power consumption and commands the modem to upload the data to the remote computer.
  • a real time clock is coupled to the processing means and accessed at programmable intervals for functions requiring time and date.
  • An alphanumeric display is operatively coupled to the FPGA and under its control displays, inter alia, data correlative to power consumption.
  • a tamper switch provides tamper protection and a power backup supply provides a back-up power source to B, inter alia, the SRAM U6 in case of a utility power outage.
  • the utility meter 10 is shown operatively coupled to a conventional utility box 20.
  • the utility box 20 is mounted on the side of a home or other building 40 to which electrical power is being supplied.
  • the electrical power is supplied to the building 40 via high voltage AC power lines 42 which feed into a primary side 44 of a step-down transformer 46 shown mounted on power line pole 50.
  • a secondary side 48 of the step-down transformer 46 is operatively coupled to a service drop cable 60 which may include one or more hot conductors and neutral conductors. Typically, there are two hot conductors 62, 64 and one neutral conductor 66 (please see figure 2).
  • the conductors 62, 64 and 66 enter an upper end 70 of a riser conduit 72 and pass through to a lower end 74 where the conductors exit into and couple to the utility box 20.
  • the lower end 74 of the riser conduit 72 is coupled to utility box 20.
  • AC power is branched from the utility box 20 to a circuit panel 30 via a main circuit breaker 32 or the like, for further distribution throughout building 40.
  • a telephone service wire 51 extends from the power line pole 50 to the building 40 where the wire 51 couples to a telephone service box 53.
  • the telephone service box 53 is preferably mounted on the building 40 and operatively couples the telephone service wire 51 with the meter 10 via a telephone service line 52.
  • the preferred method utilized to transfer data from the meter 10 to a host billing computer 76 is via the telephone service wire 51.
  • a gas meter 54 associated with building 40 is preferably provided with an encoder 54a to digitally encode amounts of gas used by the consumer.
  • a signal cable 55 couples the encoder 54a to the meter 10.
  • a water meter 56 associated with the building 40 is preferably provided with an encoder 56a to digitally encode the water usage by the consumer.
  • a signal cable 57 connects the encoder 56a to the meter 10.
  • the conventional utility box 20 includes a four jaw socket having sockets 22, 24, 26 and 28.
  • the utility meter 10 directly couples with the four socket 22, 24, 26 and 28 of the utility box 20.
  • hot conductor 62 is coupled to socket 22 and hot conductor 64 is coupled to socket 24.
  • Hot conductors 62 and 64 are reestablished at sockets 26 and 28 respectively and are both ultimately wired to the main breaker 32.
  • conductors 62, 64 and 66 are wired to a circuit breaker panel 30 for further distribution throughout building 40.
  • standard 120 volt outlets are then operatively coupled between conductor 62 and /or conductor 64 and the neutral conductor 66.
  • a 220-volt outlet may be operatively coupled across hot conductors 62 and 64.
  • the conductors coupled to socket 22 and 24 are both hot conductors carrying currents which may be out of phase.
  • a sealed enclosure 80 protects the electronic components and associated hardware of the meter 10 from the environmental elements and from being tampered with.
  • the enclosure 80 preferably includes a base plate 82 and a glass or plastic housing 92 extending therefrom.
  • a collar 98 detachable couples the housing 92 to the base plate 82.
  • the base plate 82 includes an opening 86 such that a connection cable may be routed through for operatively interconnecting the meter
  • the opening 86 is C-bored from both a back surface 82a and a front surface 82b of the base plate 82. Furthermore, the opening 86 is preferably inclined away from the front surface 82b of the base plate 82. Preferably, the opening 86 is inclined at an angle from the front surface 82b of the base plate 82 of approximately 45 degree (please see figure 9).
  • the connection cable is allowed to enter the enclosure 80 without being pinched between the back surface 82a and the utility box 20 when the meter 10 is coupled thereto.
  • the connection cable is a five pair twisted cable including a pigtail connection.
  • the meter 10 includes two current sensors 110, 130 which are substantially internal to the enclosure 80 of the meter 10 and are preferably mounted on base plate 82 of meter 10.
  • Each current sensor 110, 130 includes a pair of stabs 112, 114 and 132, 134 respectively which are silver soldered to solid conductor 116 and 136, respectively.
  • the four stabs 112, 114, 132 and 134 extend beyond the enclosure 80 via similarly sized openings 84a, 84b, 84c and 84d disposed in the base plate 82 (please see figure 8).
  • the openings 84a, 84b, 84c and 84d are disposed in a pattern which correlates with the sockets of the utility box 20 such that the stabs 112, 114, 132, 134 may pass through the openings 84a-d and plug directly into the corresponding sockets 22, 24, 26, 28 of the utility box 20.
  • Each pair of stabs 112, 114 and 132, 134 are interconnected by a single conductive branch.
  • a first branch 116 interconnects stab 112 with stab 114 and a second conductive branch 136 interconnects stab 132 with stab 134.
  • These conductive branches 116, 136 are preferably internal to the enclosure 80.
  • a first inductive coil 118 circumscribes branch 116 and a second conductive coil 138 circumscribes branch 136.
  • each inductive coil 118, 138 preferably includes a ferrous ring 120, 140 which is wrapped with one thousand (1,000) turns of wire 122, 142.
  • the current sensors 110 and 130 transform the current by a ratio of 1:1000 to generate values on the leads 124, 126 and 144, 146 which are in the milliampere range. Utilizing this scaling factor eliminates the need for additional components to achieve the desired range used in the microelectronics of the meter 10.
  • Wire wrap 122 and 142 each respectively include leads 124, 126 and 144, 146. Preferably, the ends of all leads are tinned.
  • Each wire wrap 122, 142 is preferably tape wrapped with cloth tape 128, 148 and epoxy-coated.
  • each conductive branch is preferably dip-coated with insulation which is approximately fifteen thousandths (0.015) of an inch thick.
  • a voltage transformer 160 is operatively coupled between stabs 112 and 132. Specifically, a primary side 162 is coupled to stabs 112 and
  • the voltage transformer 160 is a step down transformer which reduces a high voltage value of approximately 240-volts RMS induced on the primary side 162 to approximately 10-volts RMS induced on each of the secondary coils 168, 169. Voltage is outputted from a first secondary coil 168 via leads 170, 171 and also from a second secondary coil 169 via leads 172, 173. Note these voltages are isolated from each other. Therefore, the voltage and current waveforms entering the meter 10 are transformed by the current sensors 110, 130 and voltage transformer 160 to values within ranges acceptable for powering, processing and measuring by the electronic circuitry of the meter 10.
  • the electronic circuitry coupled to current sensors 110, 130 and the voltage transformer 160 are disposed in a modular format.
  • more or less modules may be provided. These modules are coupled together and to the base plate 82 of the enclosure 80 via bolts 156 and stand-off 158.
  • Module 154 preferably includes a liquid crystal display (LCD) 320 and an associated driver board 321 (please see figures 5 and 6).
  • module 152 preferably includes a DC power supply circuit 180 (figure 14), communications circuitry comprising a telephone receptacle 350 (figure 7B), a modem Ull and a telephone line status detector U12.
  • module 150 preferably includes an analog-to-digital conversion means U4, a field programmable gate array U2 having a perimeter of input-output blocks, a core array of configurable logic blocks and resources for interconnection, a microcontroller Ul, a hardware multiplier U3, a negative voltage regulator U18 and associated discrete electronic components.
  • the voltage transformer 160 is preferably mounted on module 150 (figure 7E).
  • the voltage transformer scales the 240-volt RMS voltage received from the power lines to a pair of 10-volt RMS voltages used in determining power consumption and for transforming into a DC signal needed to power the electronic circuitry of the meter 10.
  • the DC power supply circuit 180 includes a four-way bridge rectifier 182, a plurality of discrete capacitors Cl , C2 and C3 and preferably an IC-voltage regulator 192.
  • the four-way bridge rectifier 182 has input leads 184, 186 operatively coupled to the secondary leads 170, 171 respectively of the voltage transformer 160.
  • a transient suppressor 176 parallels these leads to protect against high voltage transients.
  • the transient suppressor is a metal oxide varistor (MOV) 176 which clips transients to some maximum voltage that is well within the range tolerated by the DC power supply circuit 180.
  • MOV metal oxide varistor
  • the output leads 188, 190 of the four-way bridge rectifier 182 are operatively coupled to the input 194 of the voltage regulator 192 and to circuit ground 200, respectively.
  • Capacitor Cl is coupled in a parallel fashion across the output leads 188, 190 of the bridge rectifier 182.
  • Capacitor Cl is a filter capacitor whose job is to maintain the DC voltage level and minimize any AC ripple voltage riding on the DC voltage level output of the bridge rectifier 182.
  • Capacitor C2 is coupled across the output leads 188, 190 of the bridge rectifier 182 but is preferably coupled close enough to the IC voltage regulator 192 so that it may also filter the DC voltage level outputted by bridge rectifier 182 to ensure a pure DC voltage level and to also suppress the transient noise that sometimes enters the DC power supply circuit 180 from external sources. These noise pulses can interrupt the operation of the regulator 192 and also affect its reliability. Thus, to prevent this problem, C2 is preferably mounted as close as possible to the IC voltage regulator 192. Capacitor C2 is often mounted directly to the device. The job of the voltage regulator 192 is to keep the output voltage constant despite changes in input voltage, and changes in input load current requirements.
  • a typical three-terminal IC regulator such as a 7805 manufactured by National Semiconductor is used for the voltage regulator 192.
  • Capacitor C3 is operatively coupled between the output 196 (Vcc) of the voltage regulator 192 and circuit ground 200.
  • the purpose of capacitor C3 is also to suppress any transient noise that enters the DC power supply from external sources.
  • capacitor C3 may smooth out variations in the output voltage that are caused by sudden changes in the load current demand by the electronic circuitry which is coupled thereto.
  • the DC power supply circuit 180 provides a stable 5- volt signal output between the voltage regulator output 196 (Vcc) and circuit ground 200. The power requirements of the electronic circuitry is provided by this DC power supply circuit 180.
  • a voltage signal VIN1 developed across the second secondary coil 169 of the transformer 160 is one variable used in determining power consumption.
  • the voltage signal VIN1 is delivered, via line 198, to pin 16 of the analog-to-digital converter (ADC) U4 for sampling and conversion.
  • ADC analog-to-digital converter
  • the output current II from the inductive coil 118 of the current sensor 110 is directed to a first precision resistance branch 210 to generate a voltage signal VIN2 at line 230.
  • VIN2 is coupled via line 230 to pin 17 of the ADC U4 for sampling and conversion.
  • the output current 12 from the inductive coil 138 is directed to a second precision resistance branch 220 to generate voltage signal VIN3 at line 232.
  • VIN3 is coupled via line 232 to pin 18 of the ADC U4 for sampling and conversion.
  • the first precision resistance branch 210 preferably includes a resistor R2 and a resistor R3, both preferably having a 50 ohm value, coupled in series with each other and in parallel across leads 124, 126 of the inductive coil 118.
  • the common connection between R2 and R3 is operatively coupled to circuit ground 200.
  • the second precision resistance branch 220 preferably includes a resistor R4 and a resistor R5, both preferably having a 50 ohm value, coupled in series with each other and in parallel across leads 144, 146 of the inductive coil 138.
  • the common connection between R4 and R5 is operatively coupled to circuit ground 200.
  • Voltage signals VIN1 line 198, VIN2 line 230 and VIN3 line 232 are single ended analog inputs having a voltage input range of plus or minus 10 volts.
  • the analog-to-digital converter U4 is an eight-channel 12-bit data acquisition system.
  • the analog-to-digital converter U4 may be implemented using an AD7890-10 manufactured by Analog Devices.
  • ADC U4 One function of the ADC U4 is to translate the analog sinusoidal waveforms VIN1, VIN2 and VIN3 to 16-bit serial digital data streams representative of the magnitude of the current and voltage supplied to building 40. These 16-bit serial digital data streams consist of one leading zero, preceding the three address bits of the control register and the twelve bits of conversion data.
  • the output coding from the ADC U4 is 2's complement.
  • the 16-bit serial digital data stream output from pin 10 of the ADC U4 is transferred, via line 240, to pin 60 (designated D5-1048) of the field programmable gate array (FPGA) U2.
  • FPGA field programmable gate array
  • the power Vcc for the A/D converter U4 is provided by the DC power supply circuit 180 via line 196 which is operatively coupled to Pin 12 which has the designation of VDD.
  • Pin 1 (AGND1) of U4 is an analog ground and is operatively coupled to the circuit ground 200.
  • DGND digital ground Pin 3
  • all on-used analog input channels are also operatively coupled to circuit ground 200.
  • Capacitor C4 operatively couples Pin 24 to circuit ground 200.
  • Pin 24 has the designation of REF Out- REF In and is the voltage reference input/output port.
  • Capacitor C4 decouples Pin 24 from Pin 15 which is second analog ground having the designation AGND2.
  • Pins 13 and 14 of U4 have the respective designation of MUX Out and SHA In and are preferably connected together as a result of there being no requirement for an external anti-aliasing filter.
  • the field programmable gate array U2 which in turn transfers the data to the hardware multiplier U3 so that rapid multiplication operations may be performed thereon.
  • the voltage values VIN1, VIN2 and VIN3 are also read by the microcontroller Ul for VAR calculations.
  • the field programmable gate array (FPGA) U2 controls the operation of the analog- to-digital converter (ADC) U4. Specifically, FPGA U2 sends a 16-bit serial stream of instructions to communicate with the ADC U4. These instructions are received at Pin 11 (designated Data-in) of U4. Furthermore, the analog-to-digital conversion process and the clocking input are also controlled by the FPGA U2. The FPGA U2 sends a clocking input along line 244 which is received at Pin 6 (CLK_IN) of U4. The signal to begin the analog-to-digital conversion process is sent from the FPGA U2 along line 246 and is received at Pin 5 which has the designation of CONVST which represents the terms "Convert Start".
  • ADC analog- to-digital converter
  • An analog-to-digital conversion interface enable signal is sent from the FPGA U2 along line 250 to Pin 8 and Pin 9 of U4.
  • Pin 8 is the transmit frame synchronization pulse pin and Pin 9 is the receive frame synchronization pulse pin.
  • Pins 8 and 9 are connected together as shown in figure 15.
  • the operation of the FPGA U2 interfacing between the microcontroller Ul and the ADC U4 is outlined in the block diagram of figure 22 and the flow chart of figure 23. Specifically, after the meter has been initialized (figure 30), it remains in an idle mode at step SI (figure 23), waiting for the next instruction. In this idle mode the FPGA U2 allows the microcontroller Ul general access to the multiplier U3, the LCD 320 and the SRAM U6 until an interrupt occurs.
  • the meter 10 determines if a sampler interrupt (figure 35) has occurred at step S2. If the sampler interrupt has occurred, the ADC U4 begins the conversion process under the instruction of the FPGA U2. Specifically, at step S3, the voltage VIN1 from the second secondary side 169 of the voltage transformer 160 is sampled from channel 1 of the ADC U4. At step S4, the sample is stored into registers of the FPGA U2. This process continues and at step S5 the voltage VIN2 is sampled from channel 2 of the ADC U4 which is correlative to the current II from current sensor
  • step S6 This sample is stored at step S6 into the registers of the FPGA U2.
  • step S7 the voltage VIN3 at channel 3 of the ADC U4 is sampled at step S7.
  • the voltage VIN3 at channel 3 of the ADC U4 is correlative to the current 12 from current sensor 130.
  • the meter 10 Prior to storing the sample provided from channel 3, the meter 10 ensures that the voltage VIN2 has been read and stored from channel 2. If this is the case, the voltage VIN3 sampled from channel 3 is stored in the registers of the FPGA U2 at step S9.
  • step S10 the meter 10 determines if the sample from channel 3, voltage VIN3 of the ADC U4 has been read and stored and if the sample from channel 1, voltage VIN1 has been read and stored. When this criteria has been met, the meter 10 returns to the idle mode at step SI.
  • the FPGA U2 protects against data loss by restricting register access at step S8 and at step S10 until the microcontroller Ul has read the sampled data.
  • the microcontroller Ul accesses all components of the sampled data as memory mapped input/output.
  • the data is sampled at a rate which allows accurate measurement intervals for associating the voltage and current signals at 90-degrees interval.
  • the rate of sampling is set at an even multiple of 4 per cycle and specifically at a rate of 84 times per cycle.
  • the interrupt counter will maintain the time relation between samples.
  • the sampled voltage VIN1 will be moved to a forward wrapping buffer B with a buffer- size N equal to [(samples per cycle/4)].
  • the buffer B is a wrap-around buffer.
  • This buffer size reflects the 90-degrees interval between the sampled voltage VIN1 and sampled current VIN2, VIN3 required to calculate VARS.
  • the sampled current will be multiplied by the sampled voltage and the resulting watt- sample will be summed to a single buffer location.
  • the sum will later be divided by the number of samples per second to obtain watt-seconds, and/or divided by the proper conversion to obtain watt-minutes, watt-hours, kilowatt-hours, etc. 4)
  • the 90-degree buffer location of sampled voltage will be multiplied by the sampled current and the resulting VARS sample will be summed to a single buffer location.
  • the sum will later (at the cycle rate) be divided to obtain the average VARS per cycle.
  • the field programmable gate array (FPGA) U2 provides the interface between the microcontroller Ul, the analog-to-digital converter U4, the hardware multiplier
  • the FPGA U2 performs the function of a custom large scale integrated circuit, but is user programmable and even re-programmable within the system.
  • a serial configuration PROM U5 is used to configure the FPGA U2.
  • the field programmable gate array (FPGA) U2 is an XC3042PC84 IC and U5 is implemented using an XC1736 IC both manufactured by Xilinx located in San Jose, California.
  • a design idea or schematic is configured into a data file using a development system software program running on a computer or workstation and then this data file is loaded into U5.
  • the serial configuration PROM U5 is a one-time programmable device used to store the field programmable gate array (FPGA) configuration bit stream.
  • FPGA field programmable gate array
  • the serial configuration PROM U5 provides a simple way to configure the FPGA U2 device using only four device pins.
  • Using this method allows the configuration bit stream file to be loaded into the FPGA U2 where it is stored in latches arranged to resemble one long shift register. The data content of these latches customizes the FPGA U2 to perform the intended digital functions.
  • These configuration bits control or define the combinatorial circuitry, flip-flops, interconnect structure and the input/output buffers.
  • the FPGA U2 Upon power-up, the FPGA U2 waits for the voltage Vcc to reach an acceptable level, then clears the configuration memory, holds all internal flip-flops reset, and 3-states almost all outputs but activates their weak pull-up resistors. The device then initiates configuration, either as a master, clocking the serial PROM U5 to receive the serial bit stream, or as a slave, accepting an external clock and serial or 8-bit parallel data from an external source.
  • the serial configuration PROM U5 is used to configure the FPGA U2.
  • the VCC and VPP designated pins of PROM U5 are coupled to the output of the DC power supply circuit 180 via line 196.
  • the GND (ground) designated pin of PROM U5 is coupled to circuit ground 200.
  • the four pins of PROM U5 used to configure FPGA U2 are designated as Data, CCLK, RST and CE.
  • the Data designated pin of PROM U5 is coupled to the DIN designated pin (pin 72) of FPGA U2 via line 373.
  • the configuration clock pin (CCLK) of U5 is coupled to the configuration clock pin 74 (CCLK) of FPGA U2 via line 374.
  • the RST pin of U5 is connected to the INIT pin (pin 42) of FPGA U2 via line 375 and the CE pin of U5 is connected to the DONE pin (pin 55) of FPGA U2 via line 376.
  • CCLK pin (pin 74) of FPGA U2 drives the CCLK pin of PROM U5 which in turn causes the serial bit stream to be outputted at the pin designated
  • the user can re-configure FPGA U2 at any time by pulling the DONE pin (pin 55) of FPGA U2 low which instigates a new configuration sequence.
  • the reset pin designated as RST on PROM U5
  • RST on PROM U5 sends a high output to the INIT pin (pin 42) of FPGA U2 for the initialization of U2.
  • the INIT pin (pin 42) of FPGA U2 is an active low open drain output which is held low during the power stabilization and internal clearing of the configuration memory.
  • This pin may be used to indicate status to a configuring device or, as a wired "and" of several slave mode devices, a hold-off signal for a master mode device. After configuration, this pin becomes a user programmable input /output pin.
  • the coupling of the FPGA U2 with the hardware multiplier U3 includes latch enable lines 280, 282 and 284, output enable lines 286 and 288, a 16-bit X operand line 290, a 16-bit Y operand line and a 32-bit product line 292.
  • the 32-bit product line also doubles as the 16-bit Y operand line 292.
  • the 16-bit X operand line 290 is also operatively coupled to the address inputs A0 - A12 of the SRAM U6 (figure 20) and to the LCD display (figure 21).
  • the hardware multiplier U3 is operatively coupled to the DC power supply circuit 180 via line 196 to pins 17, 18, 19 and 20 which have the designations VCC1, VCC2, VCC3 and VCC4, respectively.
  • Pins 53 and 54 of hardware multiplier U3, which have the designations GND2 and GND1, respectively, are coupled to circuit ground 200.
  • U3 is a high speed, low power 16-by-16 bit parallel CMOS multiplier-accumulator which is ideally suited for real-time digital signal processing. Because of such stringent sampling rates, utilizing U3 allows the minimization of software computing time.
  • CMOS multiplier-accumulator is manufactured by Integrated Device Technologies, Inc., and distributed under part number IDT 7210L.
  • the FPGA U2 also interfaces the microcontroller Ul with the hardware multiplier U3. The coupling of the microcontroller Ul with the FPGA U2 has been delineated supra.
  • the operation of the interface between the microcontroller Ul and the hardware multiplier U3 is delineated in a block diagram and a flow chart, respectively.
  • the meter 10 is in the idle mode at step SI.
  • the meter 10 determines if an interrupt has occurred. If no interrupt has occurred, the meter 10 determines if there has been a request for access of the multiplier at step Sll. If a request has been made to access the multiplier it is determined at step S12 whether this access is to read data from the multiplier U3 or to write data to the multiplier U3.
  • the X operand and the Y operand data is loaded from the microcontroller Ul to the field programmable gate array U2 at step S13. Then, the FPGA U2 transfers the X operand data and the Y operand data to the hardware multiplier U3 where it is latched in the multiplier at step S14. At step S15, the multiplier computes the product of the 16-bit X operand data and the 16-bit Y operand data.
  • the meter 10 returns to step SI, the idle mode.
  • the microcontroller Ul is preferably a Motorola MC68HC11E9LCC52 IC or equivalent. As designated in figure 17, the input and output pins of the microcontroller Ul have been labeled with their customary mnemonic designations.
  • External crystal U13 (figure 20) provides a 12-megahertz time base and is operatively coupled to the EXTAL pin (pin 7) of Ul via line 260. The external crystal U13 is powered by the DC power supply circuit 180 via line 196 and is grounded using circuit ground 200.
  • the microcontroller Ul communicates with a bi-directional address /data bus
  • memory means U6 is a static RAM (SRAM) device. This device may be implemented using an MCM6264C chip which an 8K by 8 bit fast static RAM device manufactured by Motorola. The operation and interfacing of the SRAM U6 will be discussed, infra.
  • SRAM static RAM
  • microcontroller Ul is also operatively coupled to the FPGA U2 via a read /write line 264, the clock line 260, an address strobe line 266 and an E-clock line 268. Ul is also operatively coupled to the DC power supply circuit 180 via line 196 coupling to pin 26 of Ul and to circuit ground 200 at pin 1.
  • Figure 19 shows an example of the timing relationship between the clock line 260, the address strobe line 266 and the E-clock line 268.
  • the FPGA U2 is also operatively coupled to the analog-to-digital converter U4 via the ADC interface enable line 250, the configuration command line or instruction line 242 and data out line 240.
  • the read /write line 264 is also operatively coupled between the microcontroller Ul and a write enable pin of the SRAM U6.
  • the field programmable gate array U2 also controls the operation of interfacing the microprocessor Ul with the static RAM U6.
  • the read/write line 264 operatively couples the microcontroller Ul with the read /write pin (pin 27) of the Static RAM U6.
  • the 8-bit data bus line 262a which interconnects the microcontroller Ul with the FPGA U2 is also used to couple the microcontroller Ul with the data input pins of the SRAM U6.
  • a memory enable line 300 is coupled between the field programmable gate array U2 and the static RAM U6 such that the FPGA U2 controls the enabling of the memory of the static RAM U6.
  • the FPGA U2 is shown controlling the interface between the microcontroller Ul and the SRAM U6.
  • the meter 10 is in the idle mode at step SI and at step S2, is determining whether an interrupt has occurred. If no interrupt has occurred, the meter 10 determines at step Sll if access has been requested to the multiplier U3, the static RAM U6 or to the LCD display.
  • step SI 7 If a static RAM access is requested, then at least one address from the microcontroller Ul is loaded into the registers of the field programmable gate array U2 at step SI 7.
  • the FPGA U2 provides a memory enable signal to the static RAM U6 via line 300 .
  • the FPGA U2 outputs a 13-bit address via line 290 to direct the data from the microcontroller Ul to the static RAM U6.
  • the data is transferred from the microcontroller Ul to the SRAM U6 via the 8-bit data bus line 262a.
  • the meter returns to the idle mode, step Si.
  • Figure 28 shows the block diagram of the FPGA U2 interfacing the microcontroller Ul with a display 320.
  • the display is a liquid crystal - 2" -
  • the LCD 320 is preferably implemented using a DMC-20434 display manufactured by (?) and includes 20-characters by 4 lines and 5 by 8 dot display fonts.
  • the FPGA U2 enables the LCD 320 via latch enable line 322.
  • the data type is controlled by the FPGA U2 and sends a data type signal to the LCD display via line 324.
  • An 8-bit character/control data line 290 transfers data from the FPGA U2 to the LCD display 320.
  • step Sll if a display access has been requested at step Sll, the character and control data is loaded from the microcontroller Ul to the FPGA U2 at step S20. In turn, the data is latched into the display at step S21 from the FPGA U2 and displayed by the LCD 320. After completion of step S21, the meter 10 returns to the idle mode, step SI.
  • the FPGA U2 also controls the operation of interfacing between the microcontroller Ul and the analog-to-digital converter U4 is outlined in the block diagram of figure 22 and the flow chart of figure 23. Specifically, after the meter has been initialized (figure 30), it remains in an idle mode at step SI (figure 23), waiting for the next instruction. In the idle mode, the FPGA U2 allows the microcontroller Ul general access to the multiplier U3, the LCD display and the SRAM U6 until an interrupt occurs. The meter 10 determines if a sampler interrupt (figure 35) has occurred at step
  • the analog-to-digital converter U4 begins the conversion process under the instruction of the FPGA U2. Specifically, at step
  • the voltage VIN1 from the voltage transformer 160 is sampled from channel 1 of the analog-to-digital converter U4.
  • the sample is stored into the registers of the field programmable gate array U2.
  • the voltage VIN2 is sampled from channel 2 of the analog-to-digital converter U4 which is correlative to the current II from current sensor 110.
  • This sample is stored at step S6 into the registers of the FPGA U2.
  • the voltage VIN3 at channel 3 of the analog-to-digital converter U4 is sampled at step S7.
  • the voltage at channel 3 of the analog-to-digital converter is correlative to the current 12 from current sensor
  • the meter 10 Prior to storing the sample provided from channel 3, the meter 10 insures that the voltage VIN2, which is indicative of the current II, has been read and stored from channel 2. If this is the case, the voltage sampled from channel 3, which is indicative of current 12, is stored in the registers of the FPGA U2 at step S9. At step S10, the meter 10 determines if the sample from channel 3, voltage VIN3 of the analog-to-digital converter U4 has been read and stored and if the sample from channel 1, voltage VIN1 has been read and stored. When this criteria has been met the meter 10 returns to the idle mode at step SI.
  • the field programmable gate array U2 protects against data loss by restricting register access at step S8 and at step S10 until the microcontroller Ul has read the sampled data.
  • the microcontroller Ul accesses all components of the sampled data as memory mapped input/output.
  • the 32-bit product is transferred at step S16 to the microcontroller Ul via the FPGA U2.
  • the meter 10 After completion of the read access, the meter 10 returns to the idle mode, step SI.
  • the results of the hardware multiplier U3 are used to calculate the average (real) power in units of kilowatt-hours (KWHs), apparent power in units of kilovolt amperes (KVAs) and reactive power in units of VARS.
  • KWHs kilowatt-hours
  • KVAs apparent power in units of kilovolt amperes
  • VARS reactive power in units of VARS.
  • the sampled voltage and current values are sampled, stored and accessed for continuous calculations.
  • the kilowatts and kilowatt-hours are obtained by multiplying the sampled voltage and current values, summing the results and then accumulating the results in memory.
  • the results are preferably summed over periodic intervals.
  • the summed result is divided by the number of multiplications to derive the average value over the given intervals.
  • This average value represents watts. Watts are preferably accumulated over seconds, minutes and hours to respectively calculate kilowatt-seconds, kilowatt-minutes and kilowatt-hours. Longer intervals may be incorporated in these calculations.
  • VARS are calculated by taking the current samples and multiplying them by voltage samples which have been taken 90-degrees earlier. The results of the multiplications are continuously summed over time and are divided by the number of multiplications to derive the magnitude of VARS. The calculated values of watts and VARS may now be used to calculate volt- amps (VA). The volt-amp value is the square root of the sum of watt squared and VARS squared.
  • the meter 10 includes memory capability both on the microcontroller Ul and on the external SRAM U6.
  • the values of the calculations derived for the kilowatt-hours, the kilovolt-amps and VARS are initially stored in the memory of the microcontroller Ul. These values are transferred to the SRAM over a predetermined period of time, preferably five, ten or fifteen minutes. This time period is re-programmable by the utility company.
  • the SRAM U6 is preferably coupled to a power backup means 400 to insure data retention during any power outage.
  • the meter 10 includes internal modem capability designed within to transfer data to or from a host computer 52 remote from the meter 10.
  • the modem Ull is preferably implemented by using a CH1785 chip manufactured by Cermeteck Microelectronics.
  • the CHI 785 is the smallest, highly integrated full function 2400 bps modem, comprised of a modulator/demodulator, a controller and a FCC part 68 approved telephone interface (also referred to as a data access arrangement or DAA).
  • the microcontroller Ul initiates transfer to and from the modem via serial ports.
  • the microcontroller Ul commands the modem to initiate calls to the remote central host computer 76 at programmed intervals.
  • the modem Ull accepts digital data retrieved from memory by the microcontroller Ul and transferred to the modem Ull.
  • the data includes an I.D. number unique to the particular residential customer, a central office number where the host computer 76 is located and data representing the power, gas and water consumption by the particular customer.
  • the pin designated VCC of the modem is operatively coupled to the DC power supply circuit 180 via line 196 and the pin designated GND is operatively coupled to circuit ground 200.
  • the designated pin RxD and TxD of the modem are respectively coupled to serial ports PAO/IC3 (pin 34) via lines 342 and PA4/OC4/OC1 (pin 30) of Ul via line 344. Because of the inherent characteristics and physical design of Ul to achieve a 2400 bps transmission and to ensure compatibility with modem Ull, a software routine is used to accomplish a transmission speed of 2400 bps. The software routine is discussed infra.
  • the TXD pin of the modem Ull is a serial transmit data input and the RXD pin of the modem Ull is a serial received data input.
  • the TXA mnemonic designated pin of the modem VII is coupled to line 196 of DC power supply circuit 180 via a resistor R6.
  • the designated pin AUT, an input pin, of the modem Ull is directly coupled to line 196 of DC power supply circuit 180.
  • the designated pins TIP and RING are operatively coupled to a telephone line status detector U12.
  • the designated pin TIP of the modem VII is operatively coupled to a designated pin TIP OUT of the telephone line status detector U12 and the designated pin RING of the modem Ull is operatively coupled to the designated RING pin of the telephone line status detector U12.
  • line 346 couples the
  • the DTR pin is a data terminal ready input which is active when driven low. Switching the DTR off can either return the modem Ull to a command state, disconnect a phone call or reset the modem Ull. The default is for the modem to ignore DTR.
  • the DTR pin should be set low when not used.
  • the telephone line status detector U12 is a CH1808 chip manufactured by Cermateck Microelectronics.
  • the telephone line status detector U12 functions as a current sensor on the phone line to detect the status of the customer's phone. This function is necessary to detect an off-hook status of the phone indicating a requirement by the customer to place a phone call.
  • the telephone line status detector U12 detects current changes due to the phone going into an off-hook condition and immediately signals the microcontroller Ul to provide notification of the customer's requirement to use the phone.
  • the designated pin OHD (off-hook detect) of U12 outputs a signal to the microcontroller Ul via line 348.
  • the microcontroller Ul immediately stores existing data and cuts the modem Ull off-line. This frees up the phone line for immediate customer use.
  • the analog output signal correlative to power, gas and water usage is sent to the telephone lines via lines RJ111 and RJ112.
  • the meter 10 incorporates a real time clock U9 to provide time and date from one one-hundredth of a second to years, including leap years.
  • a real time clock U9 to provide time and date from one one-hundredth of a second to years, including leap years.
  • an MC68HC68T1 real time clock manufactured by Motorola is provided.
  • the real time clock U9 is driven by a crystal U10 and associated components as shown in figure 20.
  • the microcontroller Ul accesses the real time clock at programmable intervals for functions requiring time and date.
  • the microcontroller Ul continually updates the power backed-up memory (SRAM U6) with data from the real time clock U9.
  • SRAM U6 power backed-up memory
  • the functions for use of the real time clock U9 include the time and date to upload data to the remote host computer 76, marking power outages with a time and date stamp and time of use for different rate structures correlating to a particular monetary value of the power or other utility at any given time.
  • pin 8 of the real time clock U9 is operatively coupled to circuit ground 200.
  • Pins 2, 3, 10, 11, 12 and 16 are operatively coupled to line 196 of DC power supply circuit 180.
  • Pins 14 and 15 are operatively coupled to the crystal U10.
  • Pins 4, 5 and 6 of U9 are operatively coupled to the microcontroller Ul (figure 17) via respective lines 366, 364 and 362.
  • Pin 7 of U9 is operatively coupled to the FPGA Ul via line 360.
  • the designated pin SCK of U9 is coupled to the designated pin SCK of Ul via line 366.
  • the designated pins MOSI and MISO of U9 are operatively coupled via respective lines 364, 362 to pins having the same designations MISO and MOSI on the microcontroller Ul.
  • the designated pin SS of U9 is operatively coupled to the field programmable gate array U2 via line 360.
  • the MISO and MOSI pins are serial data pins which are used for transmitting and receiving data serially. MISO stands for "master in/slave out” and MOSI stands for “master out/slave in.”
  • the SCK designated pin is used to synchronize the movement of data both in and out of the device through the MOSI and MISO pins.
  • the SCK pin is an output when the synchronous serial peripheral interface (SPI) is configured as a master and an input when the SPI is configured as a slave.
  • SPI synchronous serial peripheral interface
  • the SCK is derived from the internal microcontroller bus clock.
  • the SS pin behaves differently on master devices than on slave devices. On a slave, this pin is used to enable the SPI slave for a transfer.
  • the SS pin is normally pulled high externally. Note that the connection between the SS pin of Ul and the SS pin of U9 is via the field programmable gate array U2. Line 360 couples U9 with U2 and line 370 couples U2 with Ul.
  • a motion sensitive tamper switch U14 is operatively coupled via line 380 to the XIRQ designated pin of the microcontroller Ul to ensure that the meter 10 is not tampered with by unauthorized individuals.
  • the microcontroller Ul immediately detects release of the motion switch via an interrupt signal to a microcontroller Ul. In turn, it immediately initiates a call to a emergency number stored in memory.
  • the rea l time clock U9 allows this tampering to be time and date stamped and this time and date stamped tampering is recorded in memory.
  • the tamper switch U14 is a tilt switch manufactured by Durakool.
  • the tilt switch makes a connection when an electrode of the switch is tilted below a horizontal and breaks the connection when tilted above the horizontal.
  • the total travel from the make to break is the maximum included angle and the component to which the switch is attached must have a total tilt angle greater than the maximum included angle for proper operation.
  • a unique power backup circuit 400 insures power is retained to the essential components of the meter 10 for preferably, a minimum of fifteen hours.
  • the power backup circuit 400 is centered around a microprocessor supervisory circuit U7.
  • U7 is a MAX6902A which is manufactured by Maxim.
  • the power backup circuit employs a very large value capacitor C4 to store and release energy sufficient to retain the power consumption data in the SRAM U6 and to operate the real time clock U9.
  • Capacitor C4 is initially charged through diode Dl which operatively couples, via line 196, the capacitor to Vcc output of the DC power supply circuit 180 (figure 14). Once the capacitor has become fully charged, the current is routed to circuit ground 200 through diode resistor R10.
  • U7 includes eight pins. Pins 3 and 4 are operatively coupled to circuit ground 200, pins 5 and 6 are preferably left open and pin 7 is a reset pin which is operatively coupled via line 402 to the Reset designated pin of the microcontroller Ul (figure 17). Pin 8 of U7 is operatively coupled to a first lead of the capacitor while a second lead of the capacitor is coupled to circuit ground 200. In addition, pin 8 of U7 is coupled via a resistor R20 and line 406 to the VSTBY designated pin of Ul. Thus, a signal is sent to the microcontroller Ul notifying the microcontroller to go into a standby mode for saving values and conserving power. The capacitor C4 is held at full charge until power drops below a predetermined threshold voltage.
  • Pin 2 of U7 monitors the Vcc voltage output of the DC power supply circuit 180.
  • U7 detects a drop of Vcc below a set threshold level sufficient to insure power levels to the devices, it switches the power source to the backup power capacitor.
  • Power from the backup capacitor C4 is outputted at pin 1 of U7.
  • Pin 1 of U7 is operatively coupled to the VCC designated pin of U6 and the Vbatt designated pin of U9 by way of line 404.
  • power is supplied by the capacitor to the static RAM U6 for maintaining the consumption data and also to U9 for maintaining the real time clock function.
  • pin 1 of U7 is coupled to pin 7 of U7 via a resistor Rll.
  • a unique temperature compensation circuit 420 is operatively coupled to the LCD 320.
  • the purpose of the temperature compensation circuit 420 is to extend the operating temperature of the LCD display 320. For example, when direct sunlight hits the meter 10, data outputted on the LCD display may not be viewable. Therefore, means for extending the temperature range such that data may be viewed at high temperatures is accomplished by using the unique temperature compensation circuit 420.
  • the temperature compensation circuit includes means for providing a negative supply voltage from the positive supply voltage Vcc outputted at line 196.
  • the temperature compensation circuit includes a positive to negative voltage converter and associated components.
  • the positive to negative voltage converter U18 is a LTC1046 monolithic CMOS switched capacitor voltage converter manufactured by Linear Technology.
  • the switched capacitor voltage converter U18 includes eight pins. Pins 1, 6 and 7 are preferably left open. Pin 2 is capacitively coupled to pin 4 via capacitor C5. Pin 3 is operatively coupled to circuit ground 200. Pin 8 of U18 is operatively coupled to the power supply voltage Vcc via line 196.
  • the output of the temperature compensation circuit is connected to pin 5 of U18. Pin 5 is also capacitively coupled to ground using capacitor C6.
  • the output of the temperature compensation circuit is resistively coupled to pin 1 and pin 3 of the LCD display 320.
  • a variable resistor R14 is used to provide a negative voltage between pins 1 and 3 of the LCD display.
  • the voltage between pins 1 and pin 3 of the LCD display may be varied from circuit ground 200 to a negative 5 volts.
  • Port D is cleared, and the data direction of the pins on Port D are set for the Serial Peripheral Interface (SPI) and the Serial Communications Interface (SCI).
  • SPI Serial Peripheral Interface
  • SCI Serial Communications Interface
  • the DDRD is set for I/O to the RTC.
  • Bits 0 and 1 are the RxD and TxD lines, respectively, for the SCI.
  • Bit 2 is Master input/slave output (MISO).
  • Bit 3 is Master output/slave input (MOSI).
  • Bit 4 is the Serial Clock (SCK).
  • Bit 5 is the Slave Select (SS) input to the slave RTC.
  • the SPI is configured for operation with the RTC.
  • the SPI interrupts are disabled.
  • the SPI is set on.
  • the SPI is set in the Master Mode with Normal CMOS outputs.
  • the SPI is set to use the E clock divided by two with latching on positive E clock polarity and center E clock phase.
  • Bits 2 and 7 of the Pulse Accumulator Control Register are set to configure bits 3 and 7 of Port A as output pins.
  • Bit 3 provides Data Terminal Ready (DTR) to the Modem and bit 7 provides the sampling interrupt to the hardware.
  • TTL 1 Timer Control 1 Register
  • TOC4 Timer Output Compare 4 Register
  • TTL2 Timer Control 2 Register
  • TIC3 Timer Output Compare 3 Register
  • TTL2 Timer Control 2 Register
  • TIC3 Timer Input Compare 3 Register
  • Toggle bit 7 of the Output Compare 1 Data Register (OC1D). This will cause a transition of the output of bit 7 of Port A. The transition of bit 7 of Port A will cause the sampling interrupt to be detected by the FPGA U2. Set the bit 7 of the Output Compare 1 Mask (OC1M) so that the output of bit 7 of Port A is enabled.
  • CCR Condition Control Register
  • XIRQ External Interrupt Request pin
  • the XIRQ pin provides the tamper interrupt.
  • Chip RAM The first part of Chip RAM ($00-$FF, single byte addressing) has been reserved for a Sampler Routine (figure 31). The first long word is reserved for general applications where a short address is required for the instruction mode.
  • Static RAM U6 The first part of Static RAM U6 has been reserved for the values of all the microcontroller Ul registers at the time of a major failure interrupt. These values are moved from a stack to the reserved location and saved for an attempt to report to an external interface (Serial Port) at a later time. The order of the registers from the stack have been rearranged to make the order consistent with debuggers and more easily interpreted.
  • the Static Ram (SRAM) U6 is used to maintain the accumulation of the raw data and final report data until the data can be officially reported.
  • the SRAM is provided with a power back-up by the power back-up circuit 400 to prevent any loss of data during main power outages.
  • the data will be double buffered and a semaphore will be used to indicate that the background has priority use of the buffered data until it has been reported to the host computer 52.
  • the SRAM handlers for the background and foreground are provided here to insure the proper control of the SRAM.
  • RdSRAM/WtSRAM subroutines perform the requirements for the hardware interfacing with the SRAM U6.
  • the interface is via the Field Programmable Gate Array (FPGA) U2 which controls the data latching (see Sampler routine, figure 31).
  • FPGA Field Programmable Gate Array
  • TOC1 Set Foreground Initialization Requests and Enable Foreground Interrupt: Now that all the resources have been set up, set the foreground initialization requests (if appropriate) and enable the foreground interrupt, Timer Output Compare One (TOC1). The foreground will perform its own initialization, when requested.
  • Schedule Background Processing Now schedule the background processing in a continuous loop. The scheduling will utilize a table of the background processes to allow for easy expansion of the background processing.
  • Figure 34 shows a flow chart of a main background scheduler routine.
  • the routine is an infinite loop which checks various flags and schedules background processing contingent on the values of those flags.
  • a function call is initiated to start a serial communication routine.
  • the function receives the phone number designated for regular usage reporting. Upon completion, control is returned to the main scheduler.
  • the call writeEEPROM routine is a function call to
  • the call sendReport routine is a function call to the serial communication routine.
  • the function is passed the phone number designated for problem reporting.
  • control is returned to the main scheduler (figure 34).
  • the initialization modem routine (figure 35), is executed at installation and after a power outage. Also, certain internal error conditions within the meter may necessitate a call to this routine.
  • the Train Modem routine matches the modem Ull in the meter 10 to the speed and parity of the microcontroller Ul in the meter 10.
  • the status is read by calling an assembly receive handler.
  • the handler stores incoming bytes in a wrap around buffer.
  • the Status is then determined.
  • a good status is represented by "OCR”. This means the command has been executed. If the status is good, the init flag is cleared by setting the init flag to zero. Then, return to the main background scheduler. If the status is not good, the initialization is retried up to a total of five tries.
  • the sendReport routine includes processing for regularly scheduled usage report and as needed problem reporting.
  • the report is prefaced with a header.
  • the host may request EEPROM changes during a session.
  • the modem sends back status on every command.
  • the status for a valid connection between meter and host is "10CR”. This signifies a carrier has been detected at 2400 baud.
  • the modem changes to data mode.
  • the meter transmits data through an assembly transmit handler.
  • the data is transmitted serially from Port A.
  • the header is first built in the background because the data for the header is stored in several different locations in memory.
  • the background sits in an infinite loop waiting for the host to send back the header data. All infinite loops in the background have time-outs incorporated so that the background does not hang.
  • the background does a byte by byte comparison of the host data to the header. If each byte matches, the header is verified. If one or more bytes do not match, the meter retries the header transmission and verification for up to five tries. If the header is not verified in five tries, the modem session is aborted.
  • the report includes both usage data and test byte information.
  • the background sits in an infinite loop waiting for the host to send back the report data. As the bytes of report data are received by the meter, the background does a byte by byte comparison of the host data to the report. If each byte matches, the report is verified. If one or more bytes do not match, the meter retries the report transmission and verification for up to five tries. If the report is not verified in five tries, the background proceeds to EEPROM changes.
  • the background sits in an infinite loop waiting for a data stream from the host.
  • the data stream may consist of an EEPROM image or a message stating that no EEPROM changes are requested for this session.
  • the meter sends the EEPROM image data back to the host.
  • the host does a string comparison of the meter data and the EEPROM image. If the strings match, the host sends a verification message to the meter. If the EEPROM image is not verified, the host retries the EEPROM image transmission and verification for up to five tries. If the EEPROM image is not verified in five tries, the host sends an appropriate message to the meter and the background software in the meter hangs up and returns from the function call to the main background scheduler (figure 34).
  • the preferred method to write to the EEPROM is to first erase the bytes and then write the new data values.
  • An erased byte of EEPROM is $FF.
  • EEPROM may be erased a byte at a time - a row at a time (16 bytes) - or as a block (512 bytes).
  • the CONFIG register when set, controls the erase and programming modes for the EEPROM.
  • the new data values are written to the desired EEPROM locations.
  • a programming voltage is set to a high voltage 20 volts to program the EEPROM. This voltage is controlled by the CONFIG register. The high voltage must be maintained for a minimum of 10 msec. A delay of longer than 10 msec will work, but may decrease the life span of the EEPROM.
  • the Programming Voltage is turned off and the CONFIG register is cleared. Then, the CONFIG Register is set to the Read Mode and the foreground notified that EEPROM is Released and the semaphore flag is cleared. Control is then returned to the main background scheduler (figure 34).
  • a Sampler Interrupt Service Routine is an assembly Interrupt Service
  • ISR Intelligent Routine
  • the allowed processing cycles per interrupt 595. This was calculated by assuming the use of a 3 Mhz clock and a sample rate of 84 * 60 per second.
  • Multiply and Sum for a 16 x 16 multiply and summation will consume more thari 170 cycles for each call. Therefore, the measurement of the current and the voltage could not be implemented, if a 16 bit external hardware multiply were not provided.
  • One cycle of time consumed at this level is equivalent to 5040 cycles at the one second priority interrupt level.
  • the time constraints for this code are highly stringent and are reflected in the structuring of the code to minimize extended and indexed addressing.
  • CCR Condition Code Register
  • PC Program Counter next instruction
  • Sampler is the ISR point of entry.
  • OC1I bit 7 of TMSK1
  • the OC1F flag was set high due to a successful compare of the Timer Output Compare 1 (TOC1) register with the free running clock.
  • TOC1 Timer Output Compare 1
  • the OC1F must be cleared and OC1I must remain high for the next Sampler interrupt to occur.
  • the OC1 interrupt has already initiated the analog-to-digital converter U4 to convert the voltage (VIN 1) and current samples (VIN 2, VIN 3) to digital format.
  • This method requires the ISR, servicing the interrupt, to calculate the compare value for the next interrupt and move that value to an Output Comparator's register (OCR) before exiting the ISR.
  • OCR Output Comparator's register
  • TOC1 + E/Rate TOC1 + 3000000/5040 or
  • TOCR TOC1 + 595.2380952381 cycles per interrupt Because only integers can be added to TOC1, the ISR will have to keep track of the fractional error and correct periodically for the inaccuracy due to truncation. If no correction is implemented the accumulation error would be 34.56 sec per day.
  • the OC1 interrupt will be enabled for the next interrupt only after completed and successful data processing and just prior to exiting this ISR (RTI).
  • Seconds Interrupt Service Routine Once samples have been accumulated for a complete Second move the accumulated data from the Sample's buffer to the Second's buffer, unlock the buffer and enable the Seconds Interrupt Service Routine to continue processing the data at the seconds rate. Before writing into the Seconds buffer, check to make sure the buffer has been left locked. If it is unlocked, Seconds could have overrun its allocated frame time, or Seconds processing has failed. If no problem exists, the buffering will occur once every second.
  • the Seconds Interrupt Service Routine (Seconds Interrupt (OC2I) 60/min) is dedicated to calculating and displaying KW, KWH, and KVA. It is a foreground routine situated one priority level below the Sampler routine, but it takes priority over all other foreground and over all background processing. The following registers have been pushed onto the stack prior to entry (this operation requires 12 cycles):
  • CCR Condition Code Register
  • PC Program Counter
  • the global interrupt bit, 1, in the Condition Code Register, has been set to disable all maskable interrupts. These two happenings will be utilized later to enable or disable the foreground and/or priority background Interrupt Servicing when executing the Return-from-Interrupt (RTI) Instruction.
  • RTI Return-from-Interrupt
  • This ISR is paced from the Sampler routine and will process buffered data from the Sampler routine once every second. This ISR is entered via an Output Compare 2 Interrupt (OC2I), which is forced at the completion of every second by the Sampler ISR.
  • OC2I Output Compare 2 Interrupt
  • Enable Foreground Interrupts Set the OC2D (bit 6 of TMSK1) low to acknowledge the interrupt and prevent another interrupt from occurring, before unmasking all interrupts. Before processing any data, enable all maskable interrupts to allow the foreground interrupt to occur without disruption by clearing the I bit of the condition code register (CCR).
  • CCR condition code register
  • the radix of the 32 bit Sum 1_V * 1 is B14 and the radix of KW_Factor is B22, the radix of the 48 bit result will be B36. in order to maintain maximum accuracy and force the product of the scaling to a byte boundary, the KW_Factor will be multiplied by an additional 1 /10 B4. This KW_Factor will produce a product of 1/lOth KW and KVA scaled B40.
  • the KW_.l Factor is determined as follows:
  • the maximum count of 15 for Xmax_Cnt is set in Startup as a default power-on value. The maximum count is reset in other routines according to the demands of the current system situations by the host 76.
  • the data that is to be buffered is the completed portion of the ASCII final report, SecReport.
  • the report resides in direct RAM and is to be copied to the report section of RAM for X-minute processing. Before buffering to the next processing level, make sure that the buffer has been locked.
  • the X-minutes Interrupt (every 5, 10 or 15 minutes) is an assembly Interrupt Service Routine dedicated to organizing the 5, 10 or 15 minute reports and storing the reports to SRAM for power backup until the background software can report the information to the host 52.
  • Enable Foreground Interrupts setting the OC3D (bit 5 of TMSK1) low to acknowledge the interrupt and to prevent another interrupt from occurring, before unmasking all interrupts.
  • OC3D bit 5 of TMSK1
  • report time is determined from the time set in the EEPROM during installation. If it is time to report the usage and the last report has been sent and delivery has been verified, copy the report to the background buffer. The EEPROM time is added to the time of the last report sent from background and compared to the time stamp in the report from seconds. If the last report has not been sent and the new report is due to be sent, then the report is stored in SRAM, if the time of the last report added to the EEPROM time is less than the time stamp on the latest report from seconds.

Abstract

An automatic utility meter as shown in the figure is provided for collecting, calculating, storing and displaying data correlative of consumption of utility commodities such as electric power, gas, water and the like. The utility meter includes a communication means (51, 53) which allows bi-directional communication of data to and from a remote computer (76). The automatic utility meter is a direct replacement for existing electric utility meters and uses direct read circuitry (U4) to sample and calculate power directly from the input voltage and current waveforms received from an electric utility company.

Description

AN INTEGRATED CIRCUIT DESIGN AUTOMATIC UTILITY METER: APPARATUS & METHOD
Government Related Invention
This invention was made in the performance of a cooperative research and development agreement with the Department of the Air Force. The invention may be manufactured and used by or for the Government of the United States for all government purposes without the payment of any royalty.
Technical Field
The present invention relates generally to an automatic utility meter apparatus, and in particular, to an integrated circuit design automatic utility meter apparatus which is a one for one replacement of existing utility meters and which provides collection, calculation, storage, display and transmission of consumption of utility commodities such as electric power, gas, water and the like.
Background Art Interest in automatic meter reading has existed for over twenty-five years.
Reasons for automatic meter reading, such as lower cost, lost time by a meter reader due to injuries from dog bites, inaccessibility to meters, irate customers, undesirable neighborhoods, the ability to control theft and destruction are all valid reasons for automatic meter reading. The industry, however, has not been able to provide any system that could compete in cost to the existing electromechanical meter. Thus, automatic meters were only considered for hard-to-read situations. Most systems require additional infrastructures which increases the overall cost of the system, and is therefore not at all cost effective for a system-wide implementation.
Systems are presently on the market which retrofit the existing electromechanical meter with pulse generating devices such as contact closures, reed switches or photo diodes which generate pulses for every revolution of a least significant digital wheel or revolution of a disk. Typically, this pulse data is stored and retrieved via a remote handheld radio transmitter, the customer's phone line, power line carrier generator or fiber optic photo coupler. This pulsed data is then downloaded to a computer and then uploaded to a central billing computer. In addition, these systems require the use of a meter interface unit (MIU) which is an external device to retrieve and store gas and water usage. The MIU is also used to house the mode of communication. The MIU fails to offer any visual display to the consumer. These systems are relatively accurate for their method by which data is collected, stored and downloaded to a utilities computer for billing purposes. However, there are several downsides to this technology. For example, utilizing these pulse generating devices can lead to error introductions due to mechanical shock, electrostatic charge or the addition of external light sources in the case of photo diodes. This introduction of possible errors means the meter must be read more often to ensure that no error introduction has occurred, thereby defeating the purpose of automatic reading.
Hence, both the utility company and the consumer would benefit from a more accurate and efficient meter that would allow for multi-utility data collection, calculation, storage, a display of consumption in units of real time and a communication medium which allows for data transmission to and from a central billing computer. A meter which provides, inter alia, the above attributes would represent a marked improvement over prior art utility meters. Furthermore, a direct meter replacement would solve the problems associated with retro-fitting existing meters.
The following prior art reflects the state of the art of which applicant is aware and is included herewith to discharge applicant's acknowledged duty to disclose relevant prior art. It is stipulated, however, that none of these references teach singly nor render obvious when considered in any conceivable combination the nexus of the instant invention as disclosed in greater detail hereinafter and as particularly claimed.
PATENT NO. ISSUE DATE INVENTOR
3,842,206 October 15, 1974 Barsellotti, et al
3,922,492 November 25, 1975 Lumsden
4,086,434 April 25, 1978 Bocchi
4,254,472 March 3, 1981 Juengel, et al
4,337,466 June 29, 1982 Spahn
4,495,596 January 22, 1985 Sciull
4,504,831 March 12, 1985 Jahr, et al
4,578,536 March 25, 1986 Oliver, et al
4,639,728 January 27, 1987 Swanson
4,654,868 March 31, 1987 Shelley
4,672,602 June 9, 1987 Hargrave, et al.
4,713,837 December 15, 1987 Gordon
4,720,851 January 19, 1988 Smith
4,782,287 November 1, 1988 Marx
4,803,632 February 7, 1989 Frew, et al.
4,804,957 February 14, 1989 Selph, et al.
4,833,618 May 23, 1989 Verma, et al.
4,850,010 July 18, 1989 Stanbury, et al.
4,856,054 August 8, 1989 Smith
4,862,493 August 29, 1989 Venkataraman, et al.
5,018,192 May 21, 1991 Smith
5,056,107 October 8, 1991 Johnson, et al. 5,079,715 January 7, 1992 Venkataraman, et al.
5,197,095 March 23, 1993 Bonnet, et al.
5,202,916 April 13, 1993 Oliver
5,204,896 April 20, 1993 Oliver 5,239,575 August 24, 1993 White, et al.
5,243,644 September 7, 1993 Garland, et al.
5,283,572 February 1, 1994 McClelland, et al.
5,311,581 May 10, 1994 Merriam, et al.
5,369,691 November 29, 1994 Cain, et al. 5,381,462 January 10, 1995 Larson, et al.
5,434,911 July 18, 1995 Gray, et al.
5,451,937 September 19, 1995 Olson, et al.
OTHER PRIOR ART (Including Author. Title. Date. Pertinent Pages. F.tr Equimeter Incorporated, "Meter Reading Technologies for Taking the Measure of Tomorrow", June, 1990, entire brochure.
Landis & Gyr, "The RDS3 Reactive Demand Meter" (Product Brochure), March,
1993, entire brochure. Process Systems Inc., "PSI Product News", April, 1993, entire brochure. Landis & Gyr, "DX" (Product Brochure), June, 1993, entire brochure. General Electric, "GE UCNet System, Understanding the UCNet System",
September, 1993, entire brochure. Landis & Gyr, "Service Limiter Meter" (Product Brochure), October, 1993, entire brochure. Intertec, Transmission & Distribution (T&D Automation Expo '93 Program), "Integrated Communications Enhances Automated Customer Information
Systems", October, 1993, entire brochure. General Electric, "The Phase3 Electronic Meter with Internal Modem" (Product
Brochure), December, 1993, entire brochure. Ekstrom Industries, Inc., "AMR-7000 Block Diagram, Flow Chart for Metering Point Unit", 1994, entire brochure.
American Innovations, Inc., "The AIMetering System - Advanced Metering
System" (Product Brochure), February, 1994, entire brochure. Landis & Gyr, "TouchRead" (Product Brochure). Itron, "Commercial ERT Module" (Product Brochure). Itron, "The Electric Meter AMR Kit" (Product Brochure).
Nertec, "Making Contact" (Product Brochure).
U.S. Patent No. 3,842,206 to Barsellotti, et al. teach the use of an outbound (a system which is initiated at a central location remote from the customer's site) system requiring a meter interface unit. The system requires the retrofit of existing electromechanical meters with reed switches sensing the least significant digit wheel as a measure of usage. The usage is stored in memory and this memory is released to a secondary storage network upon the receipt of a signal received over the phone line. This data is then encoded and transmitted in sequence over a special trunk line to a data processor. This system includes three sections: (1) the data processing section; (2) the meter sensor and transmitter section; and (3) the interface unit between these two sections. The system is referred to as a transponder.
U.S. Patent No 3,922,492 to Lumsden teaches an outbound system requiring a transponder. The system requires the retrofit of an existing meter with an L.E.D. photo pickup or contact closure for monitoring every revolution of a least significant digit wheel as a measure of consumption. This consumption is stored as a pulse data in a cascade of counters. The data from the counters is downloaded to a computer at the central billing office upon receipt of a signal from the computer at the central office. U.S. Patent No. 4,086,434 to Bocchi teaches an inbound system that is a meter interface unit. The system requires the use of contact closure meters (electric, gas and water). The system communicates via standard telephone lines to central offices for the various utilities, and also to the appropriate authorities in case of emergency. In the case of a utility the contact closures represent an indication of a measured amount of usage (typically the least significant digit wheel or one revolution of a disc within the meter). This contact closure is represented as a stored pulse and is typically calculated at the central billing center. In the case of an emergency, a contact closure represents a variety of home protection devices as well as medical or fire information. A calling cycle is initiated to call the central office of the company supervising the installation and operation of the home units, which may or may not be the same as one of the utility companies.
U.S. Patent No. 4,254,472 to Juengel, et al. teaches the use of a meter interface unit which can be used with a variety of known devices which provide a pulse-like output whose frequency is proportional to the quantity being sensed. A peripheral interface adapter provides the necessary interface between circuitry, a display unit and a microprocessor.
U.S. Patent No. 4,337,466 to Spahn teaches a system for providing tamper protection. Tamper protection is provided for a meter and for a transmission line carrying energy usage information to a transponder such that any interruption of the circuit path causes an alarm to be generated. The circuitry includes an encoder associated with each remote meter to be protected and a centrally located decoder for receiving the signal transmitted by the encoder. Any interruptions of the circuit path which could be caused by disconnecting the meter or tampering with the line connected thereto will interrupt the pulsed carrier signal and cause pulses corresponding to the interruptions to be placed on the line. The class of tampers which can be detected includes open and shorted lines, and the series or parallel connection of additional resistance to the lines.
U.S. Patent No. 4,495,596 to Sciulli teaches the use of a transponder with a battery back-up for a time of day clock. U.S. Patent No. 4,504,831 to Jahr, et al. teaches the use of meter interface unit (MIU) that collects meter data through a meter encoder and can transmit this data either by a cable or telephone to a central data processor.
U.S. Patent No. 4,578,536 to Oliver, et al. teaches the use of an outbound system requiring a meter interface unit powered by the phone line. The system requires a pulse output from the existing meters through a meter interface device which stores the data. This data is then transmitted over the customer's phone line when an interrogation signal is sent from the telephone company's computer to the multiplexer (centerpoint) which can accommodate up to 100 telephone lines. The data received is either by pulse width modulation or dual-tone modulation and is demodulated by the telephone company and translated to digital information representative of actual usage.
U.S. Patent No. 4,654,868 to Shelley teaches the use of an outbound system requiring a meter interface unit. The system comprises a telephone company computer, a time independent data transmission device (TIDTD) and a data set
(meter interface unit). The system is activated at the telephone company's computer which connects the TIDTD to the data set using a one ring burst to not interfere with the customer's phone use. The one ring burst is suppressed so as not to notify the customer as a false ring and still obtain the data from the data set. U.S. Patent No. 4,672,602 to Hargrave, et al. teaches the use of an information transport system for providing data services over existing telephone lines without interference with existing voice services supported by the telephone network. The system includes equipment that is located at the subscriber's premises, equipment at the central exchange, and adapters for interconnecting the central exchange equipment with the individual subscribers' lines This system allows the transportation of data over the existing phone line without having to go through the telephone company's main switch.
U.S. Patent No. 4,713,837 to Gordon teaches the use of a communications network for transmitting information originating from a receiving and transmitting station and destined for another receiving and transmitting station over telecommunication channels.
U.S. Patent No. 4,720,851 to Smith teaches an outbound system utilizing ring detection to initiate several voltage supplies across different size zener diodes to determine the actual dial indicator for the meter to be read. U.S. Patent No. 4,782,287 to Marx teaches the use of a watt-hour meter in which the pulse width modulated signals, representing the voltage supplied to a load, serve as chopping signals that modulate a waveform representing current to produce an output indicative of power. A series of pulses is spaced on the basis of the power signal and the number of pulses connected as a measure of energy. U.S. Patent No. 4,803,632 to Frew, et al. teaches the use of an electronic meter that utilizes a power line carrier or optical probe to obtain data. Features include a remote readout, credit card slot and cost of utilities and samples at 16.67 times a cycle or 1024 times a second. It is not remote but requires a meter reader. U.S. Patent No. 4,804,957 to Selph, et al. teaches the use of a utility meter which is a microprocessor-based circuit using Hall effect electric current sensors to measure power usage by residential and commercial customers. An analog signal from the Hall effect sensor is converted to a digital signal which is fed to the microprocessor for analysis and storage in random access memory. Using a real time clock, the microprocessor determines time of use information which is also stored in random access memory. The memory may be remotely interrogated via a telephone line or serial communication link. The system requires a MRAC at the telephone central switch for communication so that the utility can contact the meter for data. The system is an outbound system, that is, a system that is initiated at the utility to acquire the data. The system utilizes an operational amplifier which generates a DC level output proportional to the time integral of the power sensed by the current sensor which is then fed into a voltage to frequency converter. The conversion is made by sampling the output for a fixed time interval and counting the number of pulses or oscillations produced. U.S. Patent No. 4,833,618 to Verma, et al. teaches the use of a system requiring a meter interface unit. The system comprises a remote data unit (meter interface), a utility data processor and a digital communication interface. In effect, the system is designed to count each rotation of the least significant dial of one or more utility meters at a particular premise and to store the sum of each utility usage in a separate register allocated to a particular utility, i.e., gas, water, electric. Each utility usage is accumulated in the assigned register. At a specific predetermined time during one day of the billing cycle or period, the remote data unit calls the utility data processor and transmits the utility usage information from the remote data unit to the utility data processor. U.S. Patent No. 4,850,101 to Stanbury, et al. teaches the use of a telemetry terminal which utilizes a utility management terminal (UMT) and is used for load shedding and remote metering from pulse meters.
U.S. Patent No. 4,862,493, to Venkataraman, et al. teaches the use of a remote data recorder which connects to a pulse-type meter. Enclosed within the recorder is a modem, non-volatile memory and a CPU to count the pulses.
U.S. Patent No. 5,018,192 to Smith teaches the use of an interface unit specifically designed for data transmission over the customer's phone line. The meters are connected to an interrogation device and are signaled from the telephone interface unit, all of which are connected together. U.S. Patent No. 5,056,107 to Johnson, et al. teaches the use of a radio communication network for transmitting data from a number of remote stations to a central station. The system requires a retrofit of existing meters using a photo diode to determine the number of revolutions of the disc in a electromechanical meter. The output of the photo diode creates a pulse and this pulse represents a known value of usage. The usage is stored into memory until called upon by a radio transmitter receiver and downloaded into a computer base.
U.S. Patent No. 5,079,715 to Venkataraman, et al. teaches the use of an electronic data recorder. The system comprises an electronic remote data recorder which records pulses representing utility usage from a number of consumers. The system is powered from the consumer's home phone line.
U.S. Patent No. 5,197,095 to Bonnet, et al. teaches the use of a system for remote transfer and collection of data. The system is an outbound system requiring a meter interface unit. The system comprises a storage and transmission unit at the meter, a transmitter, a collection means and a data processor.
U.S. Patent No. 5,202,916 to Oliver teaches the use of a signal processing circuit for use in a meter interface unit (MIU).
U.S. Patent No. 5,204,896 to Oliver teaches the use of an outbound telemetry device type of meter interface unit. The system includes a processor which is capable of collecting consumption information at the subscriber's site. The processor draws electrical power from the phone line in an electrically isolated fashion.
U.S. Patent No. 5,239,575 to White, et al. teaches the use of a meter interface unit (MIU) termed a remote data unit (RDU). This RDU is a telephone inbound unit with a modem and real time clock. The unit can be interfaced with meters that provide a pulse output or an absolute encoder.
U.S. Patent No. 5,243,644 to Garland, et al. teaches the use of a telemetry access arrangement requiring a meter interface unit. The system requires an interface with the phone company's central office, the utility and the customer's interface unit. U.S. Patent No. to McClelland, et al. teach the use of an interface with an electric meter which facilitates storing water usage data.
U.S. Patent No. 5,311,581 to Merriam, et al. teaches the use of an outbound remote meter reading system requiring telephone test trunks and switching to access the customer's pulse meter. The dial indicator of the rotary hand type which represents the lease significant digit is replaced with a rotary two-pole permanent magnet. A Wiegand sensor is disposed adjacent the rotary magnet and generates two alternating pulses for each revolution of the rotary magnet.
U.S. Patent No. 5,369,691 to Cain, et al. teaches the use of a telephone communications infrastructure designed to provide an information transmission path between customer locations and remote locations deriving the information. The information is transmitted out of band to a local distribution point then retransmitted to in-band signals for further transmission.
U.S. Patent No. 5,381,462 to Larson, et al. teaches the use of a meter interface unit (MIU) described as a meter reader terminal requiring a pulse type meter to acquire data and then transmits this data over the customer's phone line.
U.S. Patent No. 5,434,911 to Gray, et al. teaches the use of a meter interface unit (MIU) for remotely reading utility meters, including data processing. This system is an inbound system which is designed to interface with two encoder type utility meters.
U.S. Patent No. 5,451,937 to Olson, et al. teaches the use of a module interface for a variety of metering pulse generators which converts an analog pulse to a digital pulse.
The other prior art listed above, but not specifically discussed, further catalog the prior art of which the applicant is aware. These references diverge even more starkly from the references specifically distinguished above.
Disclosure of Invention
One primary function of the present invention is to measure, calculate, store and provide a visual readout of electricity, gas, and water usage and send this data to a central computer for automatic billing. The primary method utilized to transfer the data is via the residential phone line, although because of its modular and open architectural design, a variety of commercially available communications medium may be incorporated to transfer the data, such as a radio transceiver, power line carrier or fiberoptic coupler. The meter calculates kilowatt-hours (KWHs), volt- amperes (VAs), volt-amperes reactive (VARs), and power factor angle.
The present invention uses direct read circuitry to sample and calculate power directly from the input voltage and current waveforms. The sampled waveforms are converted to digital signals suitable for processing by the meter's central processing unit. This data is stored and accumulated in memory devices until a periodic transfer to a central computer via modem. In addition, the meter is designed to accept measurements from gas and water meters with the capability to transfer digital signal levels to the central office.
The memory devices are powered by conventional and capacitive-backup circuitry to ensure data retention. Data retention circuitry is designed to meet a minimum of 15 hours without conventional power.
Voltage and Current Transformation - The voltage and current sinusoids entering the residential dwellings shall be transformed to values within ranges acceptable for processing by the meter's microelectronic circuits. A voltage transformer and a current sensor are the two devices used to achieve voltage and current reduction. The meter will measure the values on the secondary side of these waveforms to determine power consumption. The current sensors will transform the current by a ratio of 1:1000 to generate values on the secondary side in the milliampere range. The voltage transformer will convert 240V RMS to approximately 10V RMS. The RMS voltage will also be used to provide power to the microelectronic circuits in addition to being sampled for power consumption calculations.
Input Power Sampling - The meter shall sample the secondary side sinusoidal voltage and current analog waveforms for conversion to digital values. These values shall subsequently be used to perform power usage calculations. One primary component to perform these steps is an eight channel twelve bit analog-to- digital converter (A/D). A secondary winding of the voltage transformer provides a secondary waveform which is directed to the A/D converter for sampling. The secondary currents from the current sensors are directed through precision resistance branches to generate voltage waveforms for sampling by the analog-to- digital converter (A/D). The outputs from A/D are digital values that shall be transferred to a hardware multiplier via a field programmable gate array for rapid multiplication. The voltage values are also read by the microcontroller for VAR calculations.
Sampling Rates - The input waveforms to the analog-to-digital converter are sampled at a periodic and frequent rate to ensure accurate measurement. Both current and voltage waveforms are 60 Hz sinusoids that are preferably sampled 84 times per cycle. The sampling rate is thus 84 X 60 = 5040 times per second. Power Calculations - Results of the hardware multiplier are used to calculate
KWHs, KVAs, and VARs. The sampled voltage and current values are sampled, stored, and accessed for continuous calculations.
KW & KWH - The sampled voltage and current values are multiplied with the results summed and then accumulated in memory. These results are summed over periodic intervals. This summed result is divided by the number of multiplications to derive the average value over the given intervals. This average value represents watts. Watts are accumulated over seconds, minutes, hours, etc. to calculate KW-Seconds, KW-Minutes, and KW-Hours.
KVAR - The current samples are multiplied by voltage samples taken 90 degrees earlier to calculate VARS. The results of the multiplications are continuously summed over time. The summed result is divided by the number of multiplications to derive VARS.
VA - The calculated values of watts and vars can now be used to calculate volt-amps. The VA value is the square root of (Watts squared + VAR squared). Data Storage - The present invention contains memory capability both on a microcontroller and an external SRAM. The values of the calculations derived in KW and KWH and VA are initially stored in the microcontroller memory. These values are transferred to SRAM every 5, 10, or 15 minutes (programmable by the utility company). This SRAM is capacitively backed-up to ensure data retention during power outages.
Modem - The present invention includes modem capability designed onto the module for transfer of data to and from a central computer. The modem module (Ull) consists of a modem and data access arrangement (DAA) to interface to the phone line. The DAA consists of a transformer built into the module to provide isolation from the phone line as required per FCC Part 68.
The microcontroller initiates transfers to and from the modem via serial ports. The microcontroller commands the modem to initiate calls to a central office at programmed intervals. The modem accepts digital data retrieved from memory by the microcontroller and transferred to the modem. This data consists of an identification number (ID#) unique to the residential customer, the central office phone number, and data representing the power consumption.
A telephone line status detector is provided which functions as a current sensor on the phone line to detect the status of the customers phone. This function is necessary to detect an off-hook status of the residential phone indicating a requirement by the customer to place a phone call. The status detector detects current changes due to a phone going into an off-hook condition. Immediately a signal is sent via an off hook detect output OHD to the microcontroller to provide notification of the customer's requirement to use the phone. Should the modem currently be in a sending/receiving mode, the microcontroller immediately stores existing data and takes the modem off line. This releases the phone line for immediate customer use.
Tamper Switch - A motion sensitive tamper switch is designed to ensure that the meter is not tampered with by unauthorized individuals. The microcontroller immediately detects release of the motion switch via an interrupt signal to the microcontroller. The microcontroller immediately initiates a call to the central office emergency number stored in memory. The time and date of the tamper is also recorded.
Real Time Clock - The meter of the present invention includes a real time clock which provides time and date from 1/ 100th of a second to years, including leap years. The microcontroller accesses the real time clock at programmable intervals for functions requiring time and date. The microcontroller continually updates capacitively backed memory with data from the real time clock. The meter uses the real time clock for numerous functions. These include time /date to upload data to the central computer, time of power outages, and time-of-use for different rate structures.
LCD Display - The meter includes an LCD display to present usage data. The LCD displays power consumption accumulated to date for the most recent billing period.
Battery Backup - The meter contains a supervisory circuit and associated components to ensure power is retained to the essential components of the electronic circuits for a minimum of fifteen hours. This supervisory circuit operates using a very large value capacitor, to store and release energy sufficient to retain data in the memory and real time clock. The capacitor is charged via the line voltage and held at full charge until power (Vcc) drops low or off. The supervisory circuit detects a drop of Vcc below a set threshold level which is sufficient to ensure power levels to the essential components. When this occurs the supervisory circuit switches the power source to the back-up power capacitor. In addition, a signal is sent to the microcontroller notifying the device to go into standby mode to save data and conserve power. The capacitor provides current to the SRAM containing the consumption data and to the real time clock. Due to the requirement to update consumption data to the SRAM every 5, 10, or 15 minutes (utility company programmable), these are the maximum time intervals respectively for which data would be lost.
Industrial Applicability
The industrial applicability of this invention shall be demonstrated through discussion of the following objects of the invention.
The primary object of the present invention is to provide a new and novel utility meter free from the problems of the prior art.
Another object of the present invention is to provide a meter as characterized above which allows for multi-utility data collection, calculation, storage and transmission for utility billing purposes.
Another further object of the present invention is to provide a meter as characterized above wherein the power usage shall be obtained through direct read components that shall allow the usage to be calculated in kilowatts, kilowatt hours and kilowatt amps.
Another further object of the present invention is to provide a meter as characterized above which is capable of bi-directional communication and can be remotely programmable via a telephone line, without interference to the normal use of the telephone line. Another further object of the present invention is to provide a meter as characterized above which has a self-diagnostic feature that shall initiate a trouble call for any present or anticipated problems.
Another further object of the present invention is to provide a meter as characterized above which has a local real time display capable of displaying accumulated power usage, time, and date, continuously or on demand.
Another further object of the present invention is to provide a meter as characterized above which includes non-volatile data memory which is updated on predetermined programmable intervals. Another further object of the present invention is to provide a meter as characterized above which is capable of calling a plurality of programmable telephone numbers and sending discrete data transmissions to each.
Another further object of the present invention is to provide a meter as characterized above which includes a back-up power source to avoid memory loss and to provide power for a real time clock and outage/tamper reporting.
Another further object of the present invention is to provide a meter as characterized above which includes a discrete non-volatile identification number.
Another further object of the present invention is to provide a meter as characterized above which is provided with surge protection for protecting the electronics of the meter from high voltage transient signals.
Another further object of the present invention is to provide a meter as characterized above which accepts viable digital and pulse encoded data from external meters or systems.
Another further object of the present invention is to provide a meter as characterized above which is capable of sensing power outages for a duration of longer than sixty seconds and to report such outages via a telephone line.
Another further object of the present invention is to provide a meter as characterized above which includes tamper detection capabilities for physical intrusion and power disruption and initiates a tamper call via a telephone line. Another further object of the present invention is to provide a meter as characterized above which is capable of compiling, calculating and storing all of the data samples and including time of use data in a non-volatile memory means.
Another further object of the present invention is to provide a meter as characterized above which contacts a host computer via an existing telephone line. Another further object of the present invention is to provide a meter as characterized above in which the electronics are an open architecture design to allow for further developments, such as remote disconnect, demand side load management and a variety of communication means. Another further object of the present invention is to provide a meter as characterized above which includes automatic calibration.
Another further object of the present invention is to provide a meter as characterized above which upon installation calls a host billing computer for initial data such as time, date and instructions.
Another further object of the present invention is to provide a meter as characterized above which automatically converts to a maintenance mode upon a problem report and will display KWs and KVARs on the LCD.
Viewed from a first vantage point, it is an object of the present invention to provide a utility meter, comprising in combination: means for sensing incoming data correlative of a product received from a utility company; means connected to the sensing means for sampling the sensed data; means for storing and accumulating the sampled data; a transmission media; means for transmitting the stored accumulated sampled data at a predetermined interval to the utility company from the meter via the transmission media; and means for acknowledging receipt of the transmitted data by the utility company.
Viewed from a second vantage point, it is an object of the present invention to provide a method for surveying utility output, comprising the steps of: interposing a meter at a product input from the utility adjacent a consuming site; coupling the meter to a communication means; periodically reporting from the consuming site to a remote site via the communication means.
Viewed from a third vantage point, it is an object of the present invention to provide a utility meter, comprising in combination: means for transforming voltage across and current through a first and a second power supply line; means for sampling the transformed voltage and current for providing voltage samples and current samples; a processing means; an interface means operatively coupled to the sampling means and to the processing means; the interface means receiving the voltage samples and the current samples from the sampling means and retaining both the samples until the processing means reads the voltage samples and current samples from the interface means.
Viewed from a fourth vantage point, it is an object of the present invention to provide an automatic utility meter, comprising in combination: a power supply circuit, means for sensing voltage and current waveforms received from a utility company; an analog-to-digital converter connected to the power supply circuit and operatively coupled to the sensing means for receiving and digitizing the voltage and current waveforms into voltage and current samples; a field programmable gate array connected to the power supply circuit and operatively coupled to the analog- to-digital converter for controlling the analog-to-digital converter and for receiving and retaining the voltage and current samples; a processing means connected to the power supply circuit and operatively coupled to the field programmable gate array for reading the digitized voltage and current samples from the field programmable gate array.
Viewed from a fifth vantage point it is an object of the present invention to provide a utility meter, comprising in combination: a power supply circuit; a voltage transformer having a primary operatively coupled across a first power supply line and a second power supply line; the voltage transformer having a first secondary operatively coupled to the power supply circuit and a second secondary outputting a first voltage signal; a first current transformer and a second current transformer respectively coupled in line with the first and the second power supply line; a first converter circuit operatively coupled to the first current transformer for generating a second voltage signal proportional to a current in the first power supply line; a second converter circuit operatively coupled to the second current transformer for generating a third voltage signal proportional to a current in the second power supply line; sampling means operatively coupled to the first converter circuit, the second converter circuit and to the secondary of the voltage transformer wherein the sampling means samples the first voltage signal, the second voltage signal and the third voltage signal; a control means connected to the power supply circuit; the control means operatively coupled to the sampling means for controlling the sampling means and receiving the first, the second, and the third voltage samples from the sampling means; a processing means connected to the power supply circuit and operatively coupled to the control means; the processing means reading the first voltage samples and reading and summing the second and the third voltage samples together to obtain resultant samples; a hardware multiplier connected to the power supply circuit and operatively coupled to the control means; the control means receiving the first voltage samples and the resultant samples from the processing means and transferring the first voltage samples and the resultant samples to the multiplier wherein the multiplier multiplies the first voltage samples by the resultant samples to form product samples; the control means receiving the product samples from the multiplier, and the processing means reading the product samples from the control means wherein the product samples are processed by the processing means to obtain a watt time value.
These and other objects will be made manifest when considering the following detailed specification when taken in conjunction with the appended drawing figures.
Brief Description of Drawings ., _
Figure 1 is an elevational view of a utility meter according to the present invention which is shown disposed on a side of a building to which utilities are being supplied.
Figure 2 is a plan front view of a conventional electric utility box showing electric utility lines entering and exiting the utility box.
Figure 3 is a first side view of the utility meter according to the present invention.
Figure 4 is a top plan view of a pair of current sensors and a voltage sensor according to the present invention. Figure 5 is a top plan view of the utility meter according to the present invention.
Figure 6 is a front plan view of a display means according to the present invention.
Figure 7 is a second side view of the utility meter according to the present invention.
Figure 7A is a top plan view of a middle module shown in figure 7. Figure 7B is a side view of that which is shown in figure 7A. Figure 7C is a bottom plan view of that which is shown in figure 7A. Figure 7D is a top plan view of a bottom module shown in figure 7. Figure 7E is a side view of that which is shown in figure 7D.
Figure 8 is as bottom plan view of a base plate of the utility meter according to the present invention.
Figure 9 is a partial sectional view taken along lines 8-8 and rotated 90 degrees in a clockwise direction. Figure 10A is a front plan view of a first current sensor according to the present invention.
Figure 10B is a front plan view of a second current sensor according to the present invention.
Figure IOC is a second side view of that which is shown in figure 10 A. Figure 10D is a second side view of that which is shown in figure 10B.
Figure 11 A is a top plan view of a first coil according the present invention.
Figure 11B is a top plan view of a second coil according to the present invention.
Figure 11C is a side plan view of that which is shown in figure 11 A. Figure 1 ID is a side plan view of that which is shown in figure 11B.
Figure 12 is a block diagram detailing the electronics associated with the utility meter.
Figure 13 is a master schematic of the electronics associated with the utility meter. Figure 14 is a portion of the master schematic shown in figure 13 detailing a pair of current sensors, a step down transformer and a power supply circuit.
Figure 15 is a section of the master schematic showing an analog to digital converter. Figure 16 is a section of the master schematic showing a field programmable array.
Figure 17 is a section of the master schematic showing a microcontroller.
Figure 18 is a block diagram of the microcontroller shown in figure 17.
Figure 18A is a diagram of a buffer used in an interrupt algorithm for calculating VARS.
Figure 19 is an example of a timing diagram for the microcontroller according to the present invention.
Figure 20 is a section of the master schematic showing a real time clock, a memory means, and a power back-up circuit according to the present invention. Figure 21 is a section of the master schematic showing a hardware multiplier, a LCD display, a negative voltage converter, a modem, and a telephone line status detector circuit.
Figure 22 is a block diagram of the microcontroller to analog to digital converter interface. Figure 23 is a flow chart detailing the field programmable gate array interfacing the microcontroller with the analog to digital converter.
Figure 24 is a block diagram of the field programmable gate array interfacing the microprocessor with the hardware multiplier.
Figure 25 is a flow chart of the field programmable gate array interfacing the microcontroller with the hardware multiplier.
Figure 26 is a block diagram of the field programmable gate array interfacing the microcontroller with a memory means.
Figure 27 is a flow chart of the operation of the field programmable gate array interfacing the microcontroller with the memory means. Figure 28 is a block diagram of the field programmable gate array interfacing the microcontroller with a display means.
Figure 29 is a flow chart of the operation of the field programmable gate array interfacing the microcontroller with the display means.
Figure 30 is a system start-up flow diagram according to the present invention.
Figure 31 is a sampler interrupt flow diagram according to the present invention.
Figure 32 is a second interrupt flow diagram according to the present invention. Figure 33 is a X-minutes interrupt flow diagram according to the present invention.
Figure 34 is a main background flow diagram according the present invention. Figure 35 is a flow diagram of an initialization of a modem.
Figure 36 is a flow diagram of how the microcontroller controls the modem for transmitting and receiving data therebetween.
Figure 37 is a flow diagram of a send report routine.
Figure 38 is a flow diagram of a wright EEPROM routine according to the present invention.
Figure 39 is an overview of a top level control/data flow according the present invention.
Best Mode(s) for Carrying Out the Invention
Considering the drawings, wherein like reference numerals denote like parts throughout the various drawing figures, reference numeral 10 is directed to the utility meter according to the present invention.
In essence, and referring to figures 1, 2 and 12, the utility meter 10 includes a transformer 160 having a primary 162 and a first and a second secondary 168, 169 respectively. The primary 162 is operatively coupled across a first and second power supply line 62, 64. The first secondary is operatively coupled to a DC power supply circuit 180 which powers electronic circuitry of the meter 10. The second secondary 169 of the transformer 160 provides a first voltage waveform.
In addition, the utility meter 10 includes a first and a second current sensor 110, 130 each respectively coupled in line with the first power line 62 and the second power supply line 64. The outputs of the current sensors 110, 130 are coupled to a first and second converter circuit 210, 220 respectively. The converter circuits 210, 220 output a second and a third voltage waveform proportional to the current in the first and second power line 62, 64.
An analog-to-digital converter (ADC) U4 is operatively coupled to the second secondary 169 and to the first and second converter circuit 210, 220 for receiving the corresponding voltage waveforms therefrom. The voltage waveforms are converted to digital samples which will subsequently be used to perform power usage calculations.
A field programmable gate array (FPGA) U2 interfaces the analog-to-digital converter U4 to a processing means Ul. The FPGA U2 receives the digital samples and retains them in registers until they are read by the processing means Ul. The digital samples are processed by the processing means into an X and Y operand format and then written to the FPGA U2. A hardware multiplier U3 is operatively coupled to the FPGA U2 and receives the X and Y operands therefrom. The multiplier U3 multiplies the X operands by the Y operands to form product samples which are transferred to the FPGA U2. The FPGA U2 retains the product samples until they are read by the processing means. The processing means stores, accumulates and processes the product samples to obtain a watt-time values, for example, a KW-seconds.
Moreover, the digital samples are processed by the processing means to obtain X and Y operands which are 90 degrees out of phase. These out of phase operands are multiplied together as delineated supra and are stored, accumulated and processed by the processing means to obtain VARs.
A data storage means (SRAM) is operatively coupled to the FPGA and the processing means. The KW and VAR data is transferred to the SRAM under the control of the FPGA.
A modem Ull is operatively coupled to the processing means Ul and a communication line for transferring data to and from a remote computer. The processing means initiates the transfer of, inter alia, data correlative to power consumption and commands the modem to upload the data to the remote computer.
Furthermore, a real time clock is coupled to the processing means and accessed at programmable intervals for functions requiring time and date.
An alphanumeric display is operatively coupled to the FPGA and under its control displays, inter alia, data correlative to power consumption.
Furthermore, a tamper switch provides tamper protection and a power backup supply provides a back-up power source to B, inter alia, the SRAM U6 in case of a utility power outage.
More specif icaly, and referring to figure 1, the utility meter 10 is shown operatively coupled to a conventional utility box 20. Typically, the utility box 20 is mounted on the side of a home or other building 40 to which electrical power is being supplied. The electrical power is supplied to the building 40 via high voltage AC power lines 42 which feed into a primary side 44 of a step-down transformer 46 shown mounted on power line pole 50. A secondary side 48 of the step-down transformer 46 is operatively coupled to a service drop cable 60 which may include one or more hot conductors and neutral conductors. Typically, there are two hot conductors 62, 64 and one neutral conductor 66 (please see figure 2). The conductors 62, 64 and 66 enter an upper end 70 of a riser conduit 72 and pass through to a lower end 74 where the conductors exit into and couple to the utility box 20. Preferably, the lower end 74 of the riser conduit 72 is coupled to utility box 20. AC power is branched from the utility box 20 to a circuit panel 30 via a main circuit breaker 32 or the like, for further distribution throughout building 40. Typically, a telephone service wire 51 extends from the power line pole 50 to the building 40 where the wire 51 couples to a telephone service box 53. The telephone service box 53 is preferably mounted on the building 40 and operatively couples the telephone service wire 51 with the meter 10 via a telephone service line 52. The preferred method utilized to transfer data from the meter 10 to a host billing computer 76 is via the telephone service wire 51.
In addition, a gas meter 54 associated with building 40 is preferably provided with an encoder 54a to digitally encode amounts of gas used by the consumer. A signal cable 55 couples the encoder 54a to the meter 10. Furthermore, a water meter 56 associated with the building 40 is preferably provided with an encoder 56a to digitally encode the water usage by the consumer. A signal cable 57 connects the encoder 56a to the meter 10.
Referring to figure 2, the conventional utility box 20 includes a four jaw socket having sockets 22, 24, 26 and 28. The utility meter 10 directly couples with the four socket 22, 24, 26 and 28 of the utility box 20. Preferably, hot conductor 62 is coupled to socket 22 and hot conductor 64 is coupled to socket 24. Hot conductors 62 and 64 are reestablished at sockets 26 and 28 respectively and are both ultimately wired to the main breaker 32. Ultimately conductors 62, 64 and 66 are wired to a circuit breaker panel 30 for further distribution throughout building 40. Thus, standard 120 volt outlets are then operatively coupled between conductor 62 and /or conductor 64 and the neutral conductor 66. A 220-volt outlet may be operatively coupled across hot conductors 62 and 64. Note that the conductors coupled to socket 22 and 24 are both hot conductors carrying currents which may be out of phase.
Referring to figures 3, 8 and 8A, a sealed enclosure 80 protects the electronic components and associated hardware of the meter 10 from the environmental elements and from being tampered with. The enclosure 80 preferably includes a base plate 82 and a glass or plastic housing 92 extending therefrom. Preferably, a collar 98 detachable couples the housing 92 to the base plate 82. In addition, and referring to figures 8 and 8A, the base plate 82 includes an opening 86 such that a connection cable may be routed through for operatively interconnecting the meter
10 with telephone service wire 51, the gas meter 54 and the water meter 56. Preferably, the opening 86 is C-bored from both a back surface 82a and a front surface 82b of the base plate 82. Furthermore, the opening 86 is preferably inclined away from the front surface 82b of the base plate 82. Preferably, the opening 86 is inclined at an angle from the front surface 82b of the base plate 82 of approximately 45 degree (please see figure 9). Thus, the connection cable is allowed to enter the enclosure 80 without being pinched between the back surface 82a and the utility box 20 when the meter 10 is coupled thereto. Preferably, the connection cable is a five pair twisted cable including a pigtail connection. Ref erring to figures 3 and 4, the meter 10 includes two current sensors 110, 130 which are substantially internal to the enclosure 80 of the meter 10 and are preferably mounted on base plate 82 of meter 10. Each current sensor 110, 130 includes a pair of stabs 112, 114 and 132, 134 respectively which are silver soldered to solid conductor 116 and 136, respectively. The four stabs 112, 114, 132 and 134 extend beyond the enclosure 80 via similarly sized openings 84a, 84b, 84c and 84d disposed in the base plate 82 (please see figure 8). The openings 84a, 84b, 84c and 84d are disposed in a pattern which correlates with the sockets of the utility box 20 such that the stabs 112, 114, 132, 134 may pass through the openings 84a-d and plug directly into the corresponding sockets 22, 24, 26, 28 of the utility box 20.
Each pair of stabs 112, 114 and 132, 134 are interconnected by a single conductive branch. Specifically, a first branch 116 interconnects stab 112 with stab 114 and a second conductive branch 136 interconnects stab 132 with stab 134. These conductive branches 116, 136 are preferably internal to the enclosure 80. A first inductive coil 118 circumscribes branch 116 and a second conductive coil 138 circumscribes branch 136. Referring to figures 12 and 13, each inductive coil 118, 138 preferably includes a ferrous ring 120, 140 which is wrapped with one thousand (1,000) turns of wire 122, 142. Thus, the current sensors 110 and 130 transform the current by a ratio of 1:1000 to generate values on the leads 124, 126 and 144, 146 which are in the milliampere range. Utilizing this scaling factor eliminates the need for additional components to achieve the desired range used in the microelectronics of the meter 10.
Preferably, 30-gauge wire is used for the thousand turns of wire 122 and wire 142. Wire wrap 122 and 142 each respectively include leads 124, 126 and 144, 146. Preferably, the ends of all leads are tinned. Each wire wrap 122, 142 is preferably tape wrapped with cloth tape 128, 148 and epoxy-coated. In addition, each conductive branch is preferably dip-coated with insulation which is approximately fifteen thousandths (0.015) of an inch thick.
Referring to figure 4, a voltage transformer 160 is operatively coupled between stabs 112 and 132. Specifically, a primary side 162 is coupled to stabs 112 and
132 via leads 164, 166 respectively. The voltage transformer 160 is a step down transformer which reduces a high voltage value of approximately 240-volts RMS induced on the primary side 162 to approximately 10-volts RMS induced on each of the secondary coils 168, 169. Voltage is outputted from a first secondary coil 168 via leads 170, 171 and also from a second secondary coil 169 via leads 172, 173. Note these voltages are isolated from each other. Therefore, the voltage and current waveforms entering the meter 10 are transformed by the current sensors 110, 130 and voltage transformer 160 to values within ranges acceptable for powering, processing and measuring by the electronic circuitry of the meter 10. Referring to figure 7, the electronic circuitry coupled to current sensors 110, 130 and the voltage transformer 160 are disposed in a modular format. Preferably, there are three modules 150, 152 and 154 which are disposed in a spaced-apart parallel fashion. However, more or less modules may be provided. These modules are coupled together and to the base plate 82 of the enclosure 80 via bolts 156 and stand-off 158.
Module 154 preferably includes a liquid crystal display (LCD) 320 and an associated driver board 321 (please see figures 5 and 6). Referring to figures 7A through 7C, module 152 preferably includes a DC power supply circuit 180 (figure 14), communications circuitry comprising a telephone receptacle 350 (figure 7B), a modem Ull and a telephone line status detector U12. Referring to figures 7D and 7E, module 150 preferably includes an analog-to-digital conversion means U4, a field programmable gate array U2 having a perimeter of input-output blocks, a core array of configurable logic blocks and resources for interconnection, a microcontroller Ul, a hardware multiplier U3, a negative voltage regulator U18 and associated discrete electronic components.
The voltage transformer 160 is preferably mounted on module 150 (figure 7E). The voltage transformer scales the 240-volt RMS voltage received from the power lines to a pair of 10-volt RMS voltages used in determining power consumption and for transforming into a DC signal needed to power the electronic circuitry of the meter 10.
Referring to figure 14, the DC power supply circuit 180 includes a four-way bridge rectifier 182, a plurality of discrete capacitors Cl , C2 and C3 and preferably an IC-voltage regulator 192. The four-way bridge rectifier 182 has input leads 184, 186 operatively coupled to the secondary leads 170, 171 respectively of the voltage transformer 160. In addition, a transient suppressor 176 parallels these leads to protect against high voltage transients. Preferably, the transient suppressor is a metal oxide varistor (MOV) 176 which clips transients to some maximum voltage that is well within the range tolerated by the DC power supply circuit 180. The output leads 188, 190 of the four-way bridge rectifier 182 are operatively coupled to the input 194 of the voltage regulator 192 and to circuit ground 200, respectively. Capacitor Cl is coupled in a parallel fashion across the output leads 188, 190 of the bridge rectifier 182. Capacitor Cl is a filter capacitor whose job is to maintain the DC voltage level and minimize any AC ripple voltage riding on the DC voltage level output of the bridge rectifier 182. Capacitor C2 is coupled across the output leads 188, 190 of the bridge rectifier 182 but is preferably coupled close enough to the IC voltage regulator 192 so that it may also filter the DC voltage level outputted by bridge rectifier 182 to ensure a pure DC voltage level and to also suppress the transient noise that sometimes enters the DC power supply circuit 180 from external sources. These noise pulses can interrupt the operation of the regulator 192 and also affect its reliability. Thus, to prevent this problem, C2 is preferably mounted as close as possible to the IC voltage regulator 192. Capacitor C2 is often mounted directly to the device. The job of the voltage regulator 192 is to keep the output voltage constant despite changes in input voltage, and changes in input load current requirements. Preferably, a typical three-terminal IC regulator such as a 7805 manufactured by National Semiconductor is used for the voltage regulator 192. Capacitor C3 is operatively coupled between the output 196 (Vcc) of the voltage regulator 192 and circuit ground 200. The purpose of capacitor C3 is also to suppress any transient noise that enters the DC power supply from external sources. In addition, capacitor C3 may smooth out variations in the output voltage that are caused by sudden changes in the load current demand by the electronic circuitry which is coupled thereto. Thus, the DC power supply circuit 180 provides a stable 5- volt signal output between the voltage regulator output 196 (Vcc) and circuit ground 200. The power requirements of the electronic circuitry is provided by this DC power supply circuit 180.
Referring to figures 14 and 15, a voltage signal VIN1 developed across the second secondary coil 169 of the transformer 160 is one variable used in determining power consumption. The voltage signal VIN1 is delivered, via line 198, to pin 16 of the analog-to-digital converter (ADC) U4 for sampling and conversion. In addition, the output current II from the inductive coil 118 of the current sensor 110 is directed to a first precision resistance branch 210 to generate a voltage signal VIN2 at line 230. VIN2 is coupled via line 230 to pin 17 of the ADC U4 for sampling and conversion.
Similarly, the output current 12 from the inductive coil 138 is directed to a second precision resistance branch 220 to generate voltage signal VIN3 at line 232. VIN3 is coupled via line 232 to pin 18 of the ADC U4 for sampling and conversion.
The first precision resistance branch 210 preferably includes a resistor R2 and a resistor R3, both preferably having a 50 ohm value, coupled in series with each other and in parallel across leads 124, 126 of the inductive coil 118. The common connection between R2 and R3 is operatively coupled to circuit ground 200. Likewise, the second precision resistance branch 220 preferably includes a resistor R4 and a resistor R5, both preferably having a 50 ohm value, coupled in series with each other and in parallel across leads 144, 146 of the inductive coil 138. The common connection between R4 and R5 is operatively coupled to circuit ground 200.
Voltage signals VIN1 line 198, VIN2 line 230 and VIN3 line 232 are single ended analog inputs having a voltage input range of plus or minus 10 volts. Preferably, the analog-to-digital converter U4 is an eight-channel 12-bit data acquisition system. The analog-to-digital converter U4 may be implemented using an AD7890-10 manufactured by Analog Devices.
One function of the ADC U4 is to translate the analog sinusoidal waveforms VIN1, VIN2 and VIN3 to 16-bit serial digital data streams representative of the magnitude of the current and voltage supplied to building 40. These 16-bit serial digital data streams consist of one leading zero, preceding the three address bits of the control register and the twelve bits of conversion data. The output coding from the ADC U4 is 2's complement. The 16-bit serial digital data stream output from pin 10 of the ADC U4 is transferred, via line 240, to pin 60 (designated D5-1048) of the field programmable gate array (FPGA) U2.
Referring to figures 14 and 15, the power Vcc for the A/D converter U4 is provided by the DC power supply circuit 180 via line 196 which is operatively coupled to Pin 12 which has the designation of VDD. Pin 1 (AGND1) of U4 is an analog ground and is operatively coupled to the circuit ground 200. In addition, a digital ground Pin 3 (DGND), of U4 is also operatively coupled to circuit ground 200. Preferably, all on-used analog input channels are also operatively coupled to circuit ground 200. Capacitor C4 operatively couples Pin 24 to circuit ground 200. Pin 24 has the designation of REF Out- REF In and is the voltage reference input/output port. Capacitor C4 decouples Pin 24 from Pin 15 which is second analog ground having the designation AGND2. Pins 13 and 14 of U4 have the respective designation of MUX Out and SHA In and are preferably connected together as a result of there being no requirement for an external anti-aliasing filter.
The field programmable gate array U2 which in turn transfers the data to the hardware multiplier U3 so that rapid multiplication operations may be performed thereon. The voltage values VIN1, VIN2 and VIN3 are also read by the microcontroller Ul for VAR calculations.
Referring to figure 16, the field programmable gate array (FPGA) U2 controls the operation of the analog- to-digital converter (ADC) U4. Specifically, FPGA U2 sends a 16-bit serial stream of instructions to communicate with the ADC U4. These instructions are received at Pin 11 (designated Data-in) of U4. Furthermore, the analog-to-digital conversion process and the clocking input are also controlled by the FPGA U2. The FPGA U2 sends a clocking input along line 244 which is received at Pin 6 (CLK_IN) of U4. The signal to begin the analog-to-digital conversion process is sent from the FPGA U2 along line 246 and is received at Pin 5 which has the designation of CONVST which represents the terms "Convert Start". An analog-to-digital conversion interface enable signal is sent from the FPGA U2 along line 250 to Pin 8 and Pin 9 of U4. Pin 8 is the transmit frame synchronization pulse pin and Pin 9 is the receive frame synchronization pulse pin. For applications that require that data be transmitted and received at the same time, Pins 8 and 9 are connected together as shown in figure 15.
The operation of the FPGA U2 interfacing between the microcontroller Ul and the ADC U4 is outlined in the block diagram of figure 22 and the flow chart of figure 23. Specifically, after the meter has been initialized (figure 30), it remains in an idle mode at step SI (figure 23), waiting for the next instruction. In this idle mode the FPGA U2 allows the microcontroller Ul general access to the multiplier U3, the LCD 320 and the SRAM U6 until an interrupt occurs.
The meter 10 determines if a sampler interrupt (figure 35) has occurred at step S2. If the sampler interrupt has occurred, the ADC U4 begins the conversion process under the instruction of the FPGA U2. Specifically, at step S3, the voltage VIN1 from the second secondary side 169 of the voltage transformer 160 is sampled from channel 1 of the ADC U4. At step S4, the sample is stored into registers of the FPGA U2. This process continues and at step S5 the voltage VIN2 is sampled from channel 2 of the ADC U4 which is correlative to the current II from current sensor
110. This sample is stored at step S6 into the registers of the FPGA U2. Likewise, the voltage VIN3 at channel 3 of the ADC U4 is sampled at step S7. The voltage VIN3 at channel 3 of the ADC U4 is correlative to the current 12 from current sensor 130. Prior to storing the sample provided from channel 3, the meter 10 ensures that the voltage VIN2 has been read and stored from channel 2. If this is the case, the voltage VIN3 sampled from channel 3 is stored in the registers of the FPGA U2 at step S9. At step S10, the meter 10 determines if the sample from channel 3, voltage VIN3 of the ADC U4 has been read and stored and if the sample from channel 1, voltage VIN1 has been read and stored. When this criteria has been met, the meter 10 returns to the idle mode at step SI.
It is important to note that the FPGA U2 protects against data loss by restricting register access at step S8 and at step S10 until the microcontroller Ul has read the sampled data. The microcontroller Ul accesses all components of the sampled data as memory mapped input/output. Preferably, the data is sampled at a rate which allows accurate measurement intervals for associating the voltage and current signals at 90-degrees interval. Thus, it is preferred that the rate of sampling is set at an even multiple of 4 per cycle and specifically at a rate of 84 times per cycle. Thus, sampling the 60-hertz waveforms VIN1, VIN2 and VIN3, the sampling rate is 84 * 60 = 5,040 times per second. By accomplishing this, the following interrupt algorithm is implemented with a software program.
Referring to figure 15A, the following is a detailed delineation of a WATT/VARS interrupt algorithm implemented in the software of the meter 10. 1) The interrupt counter will maintain the time relation between samples. 2) The sampled voltage VIN1 will be moved to a forward wrapping buffer B with a buffer- size N equal to [(samples per cycle/4)]. The buffer B is a wrap-around buffer. Thus, the next sample will overwrite the first sample which is lagging the present reading by 90 degrees. This buffer size reflects the 90-degrees interval between the sampled voltage VIN1 and sampled current VIN2, VIN3 required to calculate VARS. 3) The sampled current will be multiplied by the sampled voltage and the resulting watt- sample will be summed to a single buffer location. The sum will later be divided by the number of samples per second to obtain watt-seconds, and/or divided by the proper conversion to obtain watt-minutes, watt-hours, kilowatt-hours, etc. 4) The 90-degree buffer location of sampled voltage will be multiplied by the sampled current and the resulting VARS sample will be summed to a single buffer location. The sum will later (at the cycle rate) be divided to obtain the average VARS per cycle.
The field programmable gate array (FPGA) U2 provides the interface between the microcontroller Ul, the analog-to-digital converter U4, the hardware multiplier
U3, the static ram U6 and the liquid crystal display (LCD) 320. The FPGA U2 performs the function of a custom large scale integrated circuit, but is user programmable and even re-programmable within the system. Preferably, a serial configuration PROM U5 is used to configure the FPGA U2. Preferably, the field programmable gate array (FPGA) U2 is an XC3042PC84 IC and U5 is implemented using an XC1736 IC both manufactured by Xilinx located in San Jose, California.
A design idea or schematic is configured into a data file using a development system software program running on a computer or workstation and then this data file is loaded into U5. The serial configuration PROM U5 is a one-time programmable device used to store the field programmable gate array (FPGA) configuration bit stream. Thus, the serial configuration PROM U5 provides a simple way to configure the FPGA U2 device using only four device pins. Using this method allows the configuration bit stream file to be loaded into the FPGA U2 where it is stored in latches arranged to resemble one long shift register. The data content of these latches customizes the FPGA U2 to perform the intended digital functions. These configuration bits control or define the combinatorial circuitry, flip-flops, interconnect structure and the input/output buffers. Upon power-up, the FPGA U2 waits for the voltage Vcc to reach an acceptable level, then clears the configuration memory, holds all internal flip-flops reset, and 3-states almost all outputs but activates their weak pull-up resistors. The device then initiates configuration, either as a master, clocking the serial PROM U5 to receive the serial bit stream, or as a slave, accepting an external clock and serial or 8-bit parallel data from an external source. Preferably, the serial configuration PROM U5 is used to configure the FPGA U2. Referring to figure 16, the VCC and VPP designated pins of PROM U5 are coupled to the output of the DC power supply circuit 180 via line 196. The GND (ground) designated pin of PROM U5 is coupled to circuit ground 200. The four pins of PROM U5 used to configure FPGA U2 are designated as Data, CCLK, RST and CE. The Data designated pin of PROM U5 is coupled to the DIN designated pin (pin 72) of FPGA U2 via line 373. The configuration clock pin (CCLK) of U5 is coupled to the configuration clock pin 74 (CCLK) of FPGA U2 via line 374. The RST pin of U5 is connected to the INIT pin (pin 42) of FPGA U2 via line 375 and the CE pin of U5 is connected to the DONE pin (pin 55) of FPGA U2 via line 376. Thus, this combination of FPGA U2 and PROM U5 allows the FPGA U2 device to initiate the configuration as a master, clocking the serial PROM U5 to receive the serial bit stream data.
Specifically, the CCLK pin (pin 74) of FPGA U2 drives the CCLK pin of PROM U5 which in turn causes the serial bit stream to be outputted at the pin designated
Data of U5 which is in turn connected to the DIN pin (pin 72) of U2. Each rising edge of the CCLK output (pin 74) from FPGA U2 increments the serial PROM U5 internal address counter which in turn sequentially outputs the data bit on the serial configuration PROM U5 (Data) pin which is connected to the DIN pin of FPGA U2. The FPGA U2 accepts this data on the subsequent rising CCLK edge. This process continues until all of the bit stream data is loaded from U5 to FPGA U2.
One important aspect of the design of the present invention is that the user can re-configure FPGA U2 at any time by pulling the DONE pin (pin 55) of FPGA U2 low which instigates a new configuration sequence. The reset pin, designated as RST on PROM U5, sends a high output to the INIT pin (pin 42) of FPGA U2 for the initialization of U2. The INIT pin (pin 42) of FPGA U2 is an active low open drain output which is held low during the power stabilization and internal clearing of the configuration memory. This pin may be used to indicate status to a configuring device or, as a wired "and" of several slave mode devices, a hold-off signal for a master mode device. After configuration, this pin becomes a user programmable input /output pin.
Referring to figures 16 and 21, the coupling of the FPGA U2 with the hardware multiplier U3 includes latch enable lines 280, 282 and 284, output enable lines 286 and 288, a 16-bit X operand line 290, a 16-bit Y operand line and a 32-bit product line 292. Note that the 32-bit product line also doubles as the 16-bit Y operand line 292. In addition, the 16-bit X operand line 290 is also operatively coupled to the address inputs A0 - A12 of the SRAM U6 (figure 20) and to the LCD display (figure 21). The hardware multiplier U3 is operatively coupled to the DC power supply circuit 180 via line 196 to pins 17, 18, 19 and 20 which have the designations VCC1, VCC2, VCC3 and VCC4, respectively. Pins 53 and 54 of hardware multiplier U3, which have the designations GND2 and GND1, respectively, are coupled to circuit ground 200.
Preferably, U3 is a high speed, low power 16-by-16 bit parallel CMOS multiplier-accumulator which is ideally suited for real-time digital signal processing. Because of such stringent sampling rates, utilizing U3 allows the minimization of software computing time. One example of this type of hardware multiplier is manufactured by Integrated Device Technologies, Inc., and distributed under part number IDT 7210L. As mentioned, the FPGA U2 also interfaces the microcontroller Ul with the hardware multiplier U3. The coupling of the microcontroller Ul with the FPGA U2 has been delineated supra.
Referring to figures 24 and 25, the operation of the interface between the microcontroller Ul and the hardware multiplier U3 is delineated in a block diagram and a flow chart, respectively. Referring to figure 25, the meter 10 is in the idle mode at step SI. At step S2, the meter 10 determines if an interrupt has occurred. If no interrupt has occurred, the meter 10 determines if there has been a request for access of the multiplier at step Sll. If a request has been made to access the multiplier it is determined at step S12 whether this access is to read data from the multiplier U3 or to write data to the multiplier U3. If a write access is initiated at step S12, the X operand and the Y operand data is loaded from the microcontroller Ul to the field programmable gate array U2 at step S13. Then, the FPGA U2 transfers the X operand data and the Y operand data to the hardware multiplier U3 where it is latched in the multiplier at step S14. At step S15, the multiplier computes the product of the 16-bit X operand data and the 16-bit Y operand data.
Once all products of the X operand and the Y operand have been computed, the meter 10 returns to step SI, the idle mode.
Referring to figures 17 and 18, the microcontroller Ul is preferably a Motorola MC68HC11E9LCC52 IC or equivalent. As designated in figure 17, the input and output pins of the microcontroller Ul have been labeled with their customary mnemonic designations. External crystal U13 (figure 20) provides a 12-megahertz time base and is operatively coupled to the EXTAL pin (pin 7) of Ul via line 260. The external crystal U13 is powered by the DC power supply circuit 180 via line 196 and is grounded using circuit ground 200. The microcontroller Ul communicates with a bi-directional address /data bus
262a, an address bus 262b which provides 16 parallel address bits and 8 parallel data bits. The address/data bus 262a and address bus 262b operatively couples the microcontroller Ul with the FPGA U2. The address /data bus 262a also couples with data input/data output pins of SRAM U6. Preferably, memory means U6 is a static RAM (SRAM) device. This device may be implemented using an MCM6264C chip which an 8K by 8 bit fast static RAM device manufactured by Motorola. The operation and interfacing of the SRAM U6 will be discussed, infra.
Referring to figures 16 and 17, microcontroller Ul is also operatively coupled to the FPGA U2 via a read /write line 264, the clock line 260, an address strobe line 266 and an E-clock line 268. Ul is also operatively coupled to the DC power supply circuit 180 via line 196 coupling to pin 26 of Ul and to circuit ground 200 at pin 1.
Figure 19 shows an example of the timing relationship between the clock line 260, the address strobe line 266 and the E-clock line 268. In addition, and referring to figures 15 and 16, the FPGA U2 is also operatively coupled to the analog-to-digital converter U4 via the ADC interface enable line 250, the configuration command line or instruction line 242 and data out line 240. The read /write line 264 is also operatively coupled between the microcontroller Ul and a write enable pin of the SRAM U6. The field programmable gate array U2 also controls the operation of interfacing the microprocessor Ul with the static RAM U6. Referring to figures 16, 17 and 20, the read/write line 264 operatively couples the microcontroller Ul with the read /write pin (pin 27) of the Static RAM U6. In addition, the 8-bit data bus line 262a which interconnects the microcontroller Ul with the FPGA U2 is also used to couple the microcontroller Ul with the data input pins of the SRAM U6. The FPGA
U2 addresses the SRAM U6 via the address line 290 which doubles as the X operand data line. A memory enable line 300 is coupled between the field programmable gate array U2 and the static RAM U6 such that the FPGA U2 controls the enabling of the memory of the static RAM U6. Referring to figure 26 and 27, the FPGA U2 is shown controlling the interface between the microcontroller Ul and the SRAM U6. Referring to figure 27, the meter 10 is in the idle mode at step SI and at step S2, is determining whether an interrupt has occurred. If no interrupt has occurred, the meter 10 determines at step Sll if access has been requested to the multiplier U3, the static RAM U6 or to the LCD display. If a static RAM access is requested, then at least one address from the microcontroller Ul is loaded into the registers of the field programmable gate array U2 at step SI 7. The FPGA U2 in turn, provides a memory enable signal to the static RAM U6 via line 300 . At step S18 the FPGA U2 outputs a 13-bit address via line 290 to direct the data from the microcontroller Ul to the static RAM U6. The data is transferred from the microcontroller Ul to the SRAM U6 via the 8-bit data bus line 262a. When the data has been transferred from the microcontroller Ul to the SRAM U6 at step S19 the meter returns to the idle mode, step Si.
Figure 28 shows the block diagram of the FPGA U2 interfacing the microcontroller Ul with a display 320. Preferably, the display is a liquid crystal - 2" -
display (LCD) 320. The LCD 320 is preferably implemented using a DMC-20434 display manufactured by (?) and includes 20-characters by 4 lines and 5 by 8 dot display fonts.
Referring to figures 16 and 21, the FPGA U2 enables the LCD 320 via latch enable line 322. The data type is controlled by the FPGA U2 and sends a data type signal to the LCD display via line 324. An 8-bit character/control data line 290 transfers data from the FPGA U2 to the LCD display 320.
Referring to figure 29, if a display access has been requested at step Sll, the character and control data is loaded from the microcontroller Ul to the FPGA U2 at step S20. In turn, the data is latched into the display at step S21 from the FPGA U2 and displayed by the LCD 320. After completion of step S21, the meter 10 returns to the idle mode, step SI.
The FPGA U2 also controls the operation of interfacing between the microcontroller Ul and the analog-to-digital converter U4 is outlined in the block diagram of figure 22 and the flow chart of figure 23. Specifically, after the meter has been initialized (figure 30), it remains in an idle mode at step SI (figure 23), waiting for the next instruction. In the idle mode, the FPGA U2 allows the microcontroller Ul general access to the multiplier U3, the LCD display and the SRAM U6 until an interrupt occurs. The meter 10 determines if a sampler interrupt (figure 35) has occurred at step
52. If the sampler interrupt has occurred, the analog-to-digital converter U4 begins the conversion process under the instruction of the FPGA U2. Specifically, at step
53, the voltage VIN1 from the voltage transformer 160 is sampled from channel 1 of the analog-to-digital converter U4. At step S4, the sample is stored into the registers of the field programmable gate array U2. This process continues and at step S5 the voltage VIN2 is sampled from channel 2 of the analog-to-digital converter U4 which is correlative to the current II from current sensor 110. This sample is stored at step S6 into the registers of the FPGA U2. Likewise, the voltage VIN3 at channel 3 of the analog-to-digital converter U4 is sampled at step S7. The voltage at channel 3 of the analog-to-digital converter is correlative to the current 12 from current sensor
130. Prior to storing the sample provided from channel 3, the meter 10 insures that the voltage VIN2, which is indicative of the current II, has been read and stored from channel 2. If this is the case, the voltage sampled from channel 3, which is indicative of current 12, is stored in the registers of the FPGA U2 at step S9. At step S10, the meter 10 determines if the sample from channel 3, voltage VIN3 of the analog-to-digital converter U4 has been read and stored and if the sample from channel 1, voltage VIN1 has been read and stored. When this criteria has been met the meter 10 returns to the idle mode at step SI. It is important to note that the field programmable gate array U2 protects against data loss by restricting register access at step S8 and at step S10 until the microcontroller Ul has read the sampled data. The microcontroller Ul accesses all components of the sampled data as memory mapped input/output. Alternatively, if a read access has been initiated, the 32-bit product is transferred at step S16 to the microcontroller Ul via the FPGA U2. After completion of the read access, the meter 10 returns to the idle mode, step SI.
In summary, the results of the hardware multiplier U3 are used to calculate the average (real) power in units of kilowatt-hours (KWHs), apparent power in units of kilovolt amperes (KVAs) and reactive power in units of VARS. The sampled voltage and current values are sampled, stored and accessed for continuous calculations.
Specifically, the kilowatts and kilowatt-hours are obtained by multiplying the sampled voltage and current values, summing the results and then accumulating the results in memory. The results are preferably summed over periodic intervals.
The summed result is divided by the number of multiplications to derive the average value over the given intervals. This average value represents watts. Watts are preferably accumulated over seconds, minutes and hours to respectively calculate kilowatt-seconds, kilowatt-minutes and kilowatt-hours. Longer intervals may be incorporated in these calculations.
VARS are calculated by taking the current samples and multiplying them by voltage samples which have been taken 90-degrees earlier. The results of the multiplications are continuously summed over time and are divided by the number of multiplications to derive the magnitude of VARS. The calculated values of watts and VARS may now be used to calculate volt- amps (VA). The volt-amp value is the square root of the sum of watt squared and VARS squared.
As noted hereinabove, the meter 10 includes memory capability both on the microcontroller Ul and on the external SRAM U6. The values of the calculations derived for the kilowatt-hours, the kilovolt-amps and VARS are initially stored in the memory of the microcontroller Ul. These values are transferred to the SRAM over a predetermined period of time, preferably five, ten or fifteen minutes. This time period is re-programmable by the utility company. The SRAM U6 is preferably coupled to a power backup means 400 to insure data retention during any power outage.
The meter 10 includes internal modem capability designed within to transfer data to or from a host computer 52 remote from the meter 10. Referring to figures 17 and 21, the modem Ull is preferably implemented by using a CH1785 chip manufactured by Cermeteck Microelectronics. The CHI 785 is the smallest, highly integrated full function 2400 bps modem, comprised of a modulator/demodulator, a controller and a FCC part 68 approved telephone interface (also referred to as a data access arrangement or DAA). The microcontroller Ul initiates transfer to and from the modem via serial ports. The microcontroller Ul commands the modem to initiate calls to the remote central host computer 76 at programmed intervals. The modem Ull accepts digital data retrieved from memory by the microcontroller Ul and transferred to the modem Ull. The data includes an I.D. number unique to the particular residential customer, a central office number where the host computer 76 is located and data representing the power, gas and water consumption by the particular customer.
The pin designated VCC of the modem is operatively coupled to the DC power supply circuit 180 via line 196 and the pin designated GND is operatively coupled to circuit ground 200. The designated pin RxD and TxD of the modem are respectively coupled to serial ports PAO/IC3 (pin 34) via lines 342 and PA4/OC4/OC1 (pin 30) of Ul via line 344. Because of the inherent characteristics and physical design of Ul to achieve a 2400 bps transmission and to ensure compatibility with modem Ull, a software routine is used to accomplish a transmission speed of 2400 bps. The software routine is discussed infra. The TXD pin of the modem Ull is a serial transmit data input and the RXD pin of the modem Ull is a serial received data input. The designated pin RTS of the modem
Ull is operatively coupled to circuit ground 200. The TXA mnemonic designated pin of the modem VII is coupled to line 196 of DC power supply circuit 180 via a resistor R6. In addition, the designated pin AUT, an input pin, of the modem Ull is directly coupled to line 196 of DC power supply circuit 180. Furthermore, the designated pins TIP and RING are operatively coupled to a telephone line status detector U12.
Specifically, the designated pin TIP of the modem VII is operatively coupled to a designated pin TIP OUT of the telephone line status detector U12 and the designated pin RING of the modem Ull is operatively coupled to the designated RING pin of the telephone line status detector U12. In addition, line 346 couples the
DTR designated pin of Ull to the microcontroller Ul. The DTR pin is a data terminal ready input which is active when driven low. Switching the DTR off can either return the modem Ull to a command state, disconnect a phone call or reset the modem Ull. The default is for the modem to ignore DTR. The DTR pin should be set low when not used.
Preferably, the telephone line status detector U12 is a CH1808 chip manufactured by Cermateck Microelectronics. The telephone line status detector U12 functions as a current sensor on the phone line to detect the status of the customer's phone. This function is necessary to detect an off-hook status of the phone indicating a requirement by the customer to place a phone call. The telephone line status detector U12 detects current changes due to the phone going into an off-hook condition and immediately signals the microcontroller Ul to provide notification of the customer's requirement to use the phone. Specifically, the designated pin OHD (off-hook detect) of U12 outputs a signal to the microcontroller Ul via line 348. As a result, should the modem currently be in a sending /receiving mode, the microcontroller Ul immediately stores existing data and cuts the modem Ull off-line. This frees up the phone line for immediate customer use. The analog output signal correlative to power, gas and water usage is sent to the telephone lines via lines RJ111 and RJ112.
The meter 10 incorporates a real time clock U9 to provide time and date from one one-hundredth of a second to years, including leap years. Preferably, an MC68HC68T1 real time clock manufactured by Motorola is provided. The real time clock U9 is driven by a crystal U10 and associated components as shown in figure 20. The microcontroller Ul accesses the real time clock at programmable intervals for functions requiring time and date. The microcontroller Ul continually updates the power backed-up memory (SRAM U6) with data from the real time clock U9. The functions for use of the real time clock U9 include the time and date to upload data to the remote host computer 76, marking power outages with a time and date stamp and time of use for different rate structures correlating to a particular monetary value of the power or other utility at any given time.
Specifically, and referring to figure 20, pin 8 of the real time clock U9 is operatively coupled to circuit ground 200. Pins 2, 3, 10, 11, 12 and 16 are operatively coupled to line 196 of DC power supply circuit 180. Pins 14 and 15 are operatively coupled to the crystal U10. Pins 4, 5 and 6 of U9 are operatively coupled to the microcontroller Ul (figure 17) via respective lines 366, 364 and 362. Pin 7 of U9 is operatively coupled to the FPGA Ul via line 360.
Specifically, the designated pin SCK of U9 is coupled to the designated pin SCK of Ul via line 366. Likewise, the designated pins MOSI and MISO of U9 are operatively coupled via respective lines 364, 362 to pins having the same designations MISO and MOSI on the microcontroller Ul. The designated pin SS of U9 is operatively coupled to the field programmable gate array U2 via line 360.
The MISO and MOSI pins are serial data pins which are used for transmitting and receiving data serially. MISO stands for "master in/slave out" and MOSI stands for "master out/slave in." The SCK designated pin is used to synchronize the movement of data both in and out of the device through the MOSI and MISO pins. The SCK pin is an output when the synchronous serial peripheral interface (SPI) is configured as a master and an input when the SPI is configured as a slave. When the synchronous serial peripheral interface (SPI), is configured as a master, the SCK is derived from the internal microcontroller bus clock. The SS pin behaves differently on master devices than on slave devices. On a slave, this pin is used to enable the SPI slave for a transfer. On a master, the SS pin is normally pulled high externally. Note that the connection between the SS pin of Ul and the SS pin of U9 is via the field programmable gate array U2. Line 360 couples U9 with U2 and line 370 couples U2 with Ul.
Referring to figure 17, a motion sensitive tamper switch U14 is operatively coupled via line 380 to the XIRQ designated pin of the microcontroller Ul to ensure that the meter 10 is not tampered with by unauthorized individuals. The microcontroller Ul immediately detects release of the motion switch via an interrupt signal to a microcontroller Ul. In turn, it immediately initiates a call to a emergency number stored in memory. The rea l time clock U9 allows this tampering to be time and date stamped and this time and date stamped tampering is recorded in memory. Preferably, the tamper switch U14 is a tilt switch manufactured by Durakool.
The tilt switch makes a connection when an electrode of the switch is tilted below a horizontal and breaks the connection when tilted above the horizontal. The total travel from the make to break is the maximum included angle and the component to which the switch is attached must have a total tilt angle greater than the maximum included angle for proper operation.
Referring to figure 20, a unique power backup circuit 400 insures power is retained to the essential components of the meter 10 for preferably, a minimum of fifteen hours. The power backup circuit 400 is centered around a microprocessor supervisory circuit U7. Preferably, U7 is a MAX6902A which is manufactured by Maxim. The power backup circuit employs a very large value capacitor C4 to store and release energy sufficient to retain the power consumption data in the SRAM U6 and to operate the real time clock U9.
Capacitor C4 is initially charged through diode Dl which operatively couples, via line 196, the capacitor to Vcc output of the DC power supply circuit 180 (figure 14). Once the capacitor has become fully charged, the current is routed to circuit ground 200 through diode resistor R10.
U7 includes eight pins. Pins 3 and 4 are operatively coupled to circuit ground 200, pins 5 and 6 are preferably left open and pin 7 is a reset pin which is operatively coupled via line 402 to the Reset designated pin of the microcontroller Ul (figure 17). Pin 8 of U7 is operatively coupled to a first lead of the capacitor while a second lead of the capacitor is coupled to circuit ground 200. In addition, pin 8 of U7 is coupled via a resistor R20 and line 406 to the VSTBY designated pin of Ul. Thus, a signal is sent to the microcontroller Ul notifying the microcontroller to go into a standby mode for saving values and conserving power. The capacitor C4 is held at full charge until power drops below a predetermined threshold voltage. Pin 2 of U7 monitors the Vcc voltage output of the DC power supply circuit 180. When U7, at pin 2, detects a drop of Vcc below a set threshold level sufficient to insure power levels to the devices, it switches the power source to the backup power capacitor. Power from the backup capacitor C4 is outputted at pin 1 of U7. Pin 1 of U7 is operatively coupled to the VCC designated pin of U6 and the Vbatt designated pin of U9 by way of line 404. Thus, power is supplied by the capacitor to the static RAM U6 for maintaining the consumption data and also to U9 for maintaining the real time clock function. In addition, pin 1 of U7 is coupled to pin 7 of U7 via a resistor Rll.
Due to the preferred requirement to update consumption data to the static RAM every five, ten or fifteen minutes (Utility company programmable), it should be noted that these are the maximum time intervals respectively for which data may be lost. Referring to figure 21, a unique temperature compensation circuit 420 is operatively coupled to the LCD 320. The purpose of the temperature compensation circuit 420 is to extend the operating temperature of the LCD display 320. For example, when direct sunlight hits the meter 10, data outputted on the LCD display may not be viewable. Therefore, means for extending the temperature range such that data may be viewed at high temperatures is accomplished by using the unique temperature compensation circuit 420.
Specifically, the temperature compensation circuit includes means for providing a negative supply voltage from the positive supply voltage Vcc outputted at line 196. The temperature compensation circuit includes a positive to negative voltage converter and associated components. Preferably, the positive to negative voltage converter U18 is a LTC1046 monolithic CMOS switched capacitor voltage converter manufactured by Linear Technology. The switched capacitor voltage converter U18 includes eight pins. Pins 1, 6 and 7 are preferably left open. Pin 2 is capacitively coupled to pin 4 via capacitor C5. Pin 3 is operatively coupled to circuit ground 200. Pin 8 of U18 is operatively coupled to the power supply voltage Vcc via line 196. The output of the temperature compensation circuit is connected to pin 5 of U18. Pin 5 is also capacitively coupled to ground using capacitor C6. The output of the temperature compensation circuit is resistively coupled to pin 1 and pin 3 of the LCD display 320. Specifically, a variable resistor R14 is used to provide a negative voltage between pins 1 and 3 of the LCD display. Thus, the voltage between pins 1 and pin 3 of the LCD display may be varied from circuit ground 200 to a negative 5 volts. With the foregoing description of the invention in mind, the control programs will now be delineated. Referring to figure 30, the following describes the routine used to initialize and start up the meter 10.
The following code is required to configure certain elements and components of the microcontroller Ul (HCIIE9) and meter 10 of the invention from reset conditions. This software is written in assembly. At the conclusion of this code, control is transferred to the main background program which is written in the "C" programming language. From reset, the point of entry is labeled "_Startup".
Initialize Critical 68HC11E9 Processor Elements and Components: Referring to figures 18 and 30, immediately after the processor has been reset to the default conditions and processing has begun at the point of entry, the stack pointer is set to the top of the stack. Next, the BPROT register is set to allow the microcontroller EEPROM to be written.
Next, Port D is cleared, and the data direction of the pins on Port D are set for the Serial Peripheral Interface (SPI) and the Serial Communications Interface (SCI).
This is accomplished by setting the Data Direction Register for port D (DDRD). This is performed in preparation to read the Real-Time Clock (RTC) U9 which interfaces via the microcontroller SPI.
The DDRD is set for I/O to the RTC. Bits 0 and 1 are the RxD and TxD lines, respectively, for the SCI. Bit 2 is Master input/slave output (MISO). Bit 3 is Master output/slave input (MOSI). Bit 4 is the Serial Clock (SCK). Bit 5 is the Slave Select (SS) input to the slave RTC
Next, the SPI is configured for operation with the RTC. The SPI interrupts are disabled. The SPI is set on. The SPI is set in the Master Mode with Normal CMOS outputs. The SPI is set to use the E clock divided by two with latching on positive E clock polarity and center E clock phase.
Initialize the Real Time Clock:
Read the RTC Control Register to determine if the clock has lost battery power. If the Control Register does not contain the initialized value, the battery backup to the clock has been lost or the clock has failed. In either case, initialize the
RTC. Set the Battery Failed Bit Flag in the Startup Byte for the Tester software to later report the failure. Since battery power has been lost, the last recorded KWH usage in EEPROM is used to initialize the Total KWH eight byte accumulator. Clear the SPI Failed Bit Flag in the Seconds byte to allow writing to the clock. Set the Set Clock Bit Flag in the Clock Control Byte (ClockCtrl) to cause the Seconds software to later set the RTC.
Initialize the LCD so that the Liquid Crystal Display is initialized in the foreground by the Seconds routine, the Initialize Display Bits (InitDisp) are set in the Display Control Byte (DispCtrl). Initialize the Modem so that the Modem interface will later be initialized in the background, the Initialize Modem Bit (InitModem) is set in the Modem Control Byte (ModemCtrl).
Set Foreground Initialization Requests, Configure and Enable Foreground Interrupts. Set the initialization bits for Sampler (iSampler), Seconds (iSeconds), and Xminutes (iXminutes) in the initialization Control Byte (InitCtrl).
Set the data direction for bits 3, and 7 of port A as output pins. Bits 2 and 7 of the Pulse Accumulator Control Register (PACTL) are set to configure bits 3 and 7 of Port A as output pins. Bit 3 provides Data Terminal Ready (DTR) to the Modem and bit 7 provides the sampling interrupt to the hardware. Set bits 2 and 3 of the Timer Control 1 Register (TCTL 1) such that the output of the timer and the Timer Output Compare 4 Register (TOC4). Bit 4 of Port A is used as the TxD line for the serial communications interface to the Modem.
Set bits 0 and 1 of the Timer Control 2 Register (TCTL2) such that a transition of the input bit 0 of Port A from a one to zero will trigger the latching of the timer output to the Timer Output Compare 3 Register (TIC3). Bit 0 of Port A is used as the RxD line for the serial communications interface to the Modem.
Set bits 2 and 3 of the Timer Control 2 Register (TCTL2) such that a transition of the input bit 1 of Port A from a zero to a one will trigger the latching of the timer output to the Timer Input Compare 3 Register (TIC3) and also trigger an interrupt to the software for processing the Off-Hook Detection (OHD) from the Modem.
Toggle bit 7 of the Output Compare 1 Data Register (OC1D). This will cause a transition of the output of bit 7 of Port A. The transition of bit 7 of Port A will cause the sampling interrupt to be detected by the FPGA U2. Set the bit 7 of the Output Compare 1 Mask (OC1M) so that the output of bit 7 of Port A is enabled.
Now synchronize with the sampling hardware by reading the voltage and current while checking for the sampling hardware to transition to the general mode of processing. If the transition if not detected within a limited time, the FPGA 4 bit in the Sampler byte is set to later indicate to the Tester software that the hardware has failed.
Clear the Output Compare 1 Flag (OC1F) for sampling interrupts and the Output Compare 4 Flag (OC4F) for serial communication interrupts.
Set the Output Compare 1 Interrupt (OC1I) bit in the Timer Mask 1 Register (TMSK1) to enable the Sampler interrupt to be serviced in the software.
Clear the X and I bits of the Condition Control Register (CCR) to unmask the External Interrupt Request pin (XIRQ) and all the software maskable interrupts, respectively. The XIRQ pin provides the tamper interrupt.
Reserve RAM The first part of Chip RAM ($00-$FF, single byte addressing) has been reserved for a Sampler Routine (figure 31). The first long word is reserved for general applications where a short address is required for the instruction mode.
The first part of Static RAM U6 has been reserved for the values of all the microcontroller Ul registers at the time of a major failure interrupt. These values are moved from a stack to the reserved location and saved for an attempt to report to an external interface (Serial Port) at a later time. The order of the registers from the stack have been rearranged to make the order consistent with debuggers and more easily interpreted. Initialize Static RAM
The Static Ram (SRAM) U6 is used to maintain the accumulation of the raw data and final report data until the data can be officially reported. The SRAM is provided with a power back-up by the power back-up circuit 400 to prevent any loss of data during main power outages. To prevent the changing of data in the foreground while the background is reading the data, the data will be double buffered and a semaphore will be used to indicate that the background has priority use of the buffered data until it has been reported to the host computer 52. The SRAM handlers for the background and foreground are provided here to insure the proper control of the SRAM. RdSRAM/WtSRAM subroutines perform the requirements for the hardware interfacing with the SRAM U6. The interface is via the Field Programmable Gate Array (FPGA) U2 which controls the data latching (see Sampler routine, figure 31).
Set Foreground Initialization Requests and Enable Foreground Interrupt (TOC1): Now that all the resources have been set up, set the foreground initialization requests (if appropriate) and enable the foreground interrupt, Timer Output Compare One (TOC1). The foreground will perform its own initialization, when requested.
Request the foreground to initialize and start sampling data. Initialize the foreground by setting the foreground bits high in the initialization control byte,
InitCrl.
Set the data direction for Port A, as an output pin for the Output Compare 1 to start the analog to digital (A/D) sampling. Set an output Pin for the 2400 Hz clock for the modem Ull. The pulse accumulator is preferably not used. Delay for a time to allow the FPGA U2 to initialize and settle before setting the tri-state pins as output pins.
Schedule Background Processing: Now schedule the background processing in a continuous loop. The scheduling will utilize a table of the background processes to allow for easy expansion of the background processing.
Figure 34 shows a flow chart of a main background scheduler routine. The routine is an infinite loop which checks various flags and schedules background processing contingent on the values of those flags.
Determine if initialization is needed by a check of a bit flag. The bit is set by the foreground and cleared by the background. If the flag is high, initiate a function call to initialization modem routine, initModem routine (figure 35). Upon completion, control is returned to the main scheduler. If the flag is low, initialization is not required.
Call InitModem( )
Determine if it is a time to report data to the host system by a check of a bit flag. The bit is set by the foreground and cleared by the background. If the flag is high, a sendUseReport routine (figure 37) is scheduled. If the flag is low, it is not time for the regularly scheduled usage report.
If a sendReport is scheduled, a function call is initiated to start a serial communication routine. The function receives the phone number designated for regular usage reporting. Upon completion, control is returned to the main scheduler.
Next, determine if any changes to the EEPROM are required by a check of the flag. This flag is set by the background during a modem session with the host. If the host transmits EEPROM changes, the flag is set. The background clears the flag after the EEPROM changes have been written to EEPROM and verified. Referring to figure 38, the call writeEEPROM routine is a function call to
EEPROM processing. Upon completion, control is returned to the main scheduler (figure 34).
Determine if there are any failures by having the background program check the test bytes for the startup routine (figure 30), sampler routine (figure 31), seconds routine (figure 32), and X-minutes routine (figure 33). These bytes are set by the foreground program, figures 31 through 33. The background program determines if the data in these test bytes indicate a problem report should be sent to the host 52.
Referring to figure 37, the call sendReport routine is a function call to the serial communication routine. The function is passed the phone number designated for problem reporting. Upon completion, control is returned to the main scheduler (figure 34).
The initialization modem routine (figure 35), is executed at installation and after a power outage. Also, certain internal error conditions within the meter may necessitate a call to this routine. The Train Modem routine matches the modem Ull in the meter 10 to the speed and parity of the microcontroller Ul in the meter 10.
Next, select Short Format for Status Messages. The status is read by calling an assembly receive handler. The handler stores incoming bytes in a wrap around buffer. The Status is then determined. A good status is represented by "OCR". This means the command has been executed. If the status is good, the init flag is cleared by setting the init flag to zero. Then, return to the main background scheduler. If the status is not good, the initialization is retried up to a total of five tries.
Referring to figure 37, the sendReport routine includes processing for regularly scheduled usage report and as needed problem reporting. The report is prefaced with a header. Optionally, the host may request EEPROM changes during a session.
Command the modem to dial the host phone number assigned to regular usage reports or as needed problem reports. The phone numbers are stored in EEPROM of Ul.
The modem sends back status on every command. The status for a valid connection between meter and host is "10CR". This signifies a carrier has been detected at 2400 baud. The modem changes to data mode.
If the status is not a "10CR", wait for 1 minute and try to phone again up to a total of 5 tries. Other possible status values include: busy, no carrier, no dial tone, connect at the wrong baud.
The meter transmits data through an assembly transmit handler. The data is transmitted serially from Port A. The header is first built in the background because the data for the header is stored in several different locations in memory. The background sits in an infinite loop waiting for the host to send back the header data. All infinite loops in the background have time-outs incorporated so that the background does not hang. As the bytes of header data are received by the meter 10, the background does a byte by byte comparison of the host data to the header. If each byte matches, the header is verified. If one or more bytes do not match, the meter retries the header transmission and verification for up to five tries. If the header is not verified in five tries, the modem session is aborted.
Call the assembly transmit handler to serially send out the report. The report includes both usage data and test byte information. The background sits in an infinite loop waiting for the host to send back the report data. As the bytes of report data are received by the meter, the background does a byte by byte comparison of the host data to the report. If each byte matches, the report is verified. If one or more bytes do not match, the meter retries the report transmission and verification for up to five tries. If the report is not verified in five tries, the background proceeds to EEPROM changes.
The background sits in an infinite loop waiting for a data stream from the host. The data stream may consist of an EEPROM image or a message stating that no EEPROM changes are requested for this session. The meter sends the EEPROM image data back to the host. The host does a string comparison of the meter data and the EEPROM image. If the strings match, the host sends a verification message to the meter. If the EEPROM image is not verified, the host retries the EEPROM image transmission and verification for up to five tries. If the EEPROM image is not verified in five tries, the host sends an appropriate message to the meter and the background software in the meter hangs up and returns from the function call to the main background scheduler (figure 34).
The following is the processing which implements the special procedures needed to write to EEPROM. Referring to figure 38, the Foreground is notified that EEPROM is In Use.
Note that when the EEPROM is being written to, software routines can not read from the EEPROM. This is accomplished by setting a semaphore flag to prevent other software from accessing EEPROM.
The preferred method to write to the EEPROM is to first erase the bytes and then write the new data values. An erased byte of EEPROM is $FF. EEPROM may be erased a byte at a time - a row at a time (16 bytes) - or as a block (512 bytes).
The CONFIG register, when set, controls the erase and programming modes for the EEPROM. The new data values are written to the desired EEPROM locations.
A programming voltage is set to a high voltage 20 volts to program the EEPROM. This voltage is controlled by the CONFIG register. The high voltage must be maintained for a minimum of 10 msec. A delay of longer than 10 msec will work, but may decrease the life span of the EEPROM.
The Programming Voltage is turned off and the CONFIG register is cleared. Then, the CONFIG Register is set to the Read Mode and the foreground notified that EEPROM is Released and the semaphore flag is cleared. Control is then returned to the main background scheduler (figure 34).
A Sampler Interrupt Service Routine is an assembly Interrupt Service
Routine (ISR) dedicated to collecting the voltage and current readings and to pacing the analog-to-digital converter Ul, the foreground software, and priority background software.
This ISR was written in assembly because of the following:
The allowed processing cycles per interrupt = 595. This was calculated by assuming the use of a 3 Mhz clock and a sample rate of 84 * 60 per second. The
Multiply and Sum for a 16 x 16 multiply and summation (using 8 bit multiply provided by HC11) will consume more thari 170 cycles for each call. Therefore, the measurement of the current and the voltage could not be implemented, if a 16 bit external hardware multiply were not provided. One cycle of time consumed at this level is equivalent to 5040 cycles at the one second priority interrupt level. Thus, the time constraints for this code are highly stringent and are reflected in the structuring of the code to minimize extended and indexed addressing.
The following registers have been pushed onto the stack prior to entry (This operation requires 12 cycles):
Condition Code Register (CCR) - 8 bits Accumulator B (B) - 8 bits
Accumulator A (A) - 8 bits
Index Register X (IX) - 16 bits
Index Register Y (IY) - 16 bits
Program Counter next instruction (PC) - 16 bits The global interrupt bit, I, in the Condition Code Register, has been set to disable all maskable interrupts.
These two happenings will be utilized later to enable or disable the foreground and /or priority background Interrupt Servicing when executing the Return-from-Interrupt (RTI) instruction. Sampler is the ISR point of entry. In order to have reached this point of processing the OC1I (bit 7 of TMSK1) must have been set to 1. The OC1F flag was set high due to a successful compare of the Timer Output Compare 1 (TOC1) register with the free running clock. The OC1F must be cleared and OC1I must remain high for the next Sampler interrupt to occur. At the point of entry, the OC1 interrupt has already initiated the analog-to-digital converter U4 to convert the voltage (VIN 1) and current samples (VIN 2, VIN 3) to digital format.
Update TOC1 for Next Interrupt (OC1)
Now set in the output compare register the value required for the next sampled interrupt. The method to be used to pace the software for 5040 interrupts per second will use one of the microcontroller's 16-bit Timer Output Comparators.
This method requires the ISR, servicing the interrupt, to calculate the compare value for the next interrupt and move that value to an Output Comparator's register (OCR) before exiting the ISR. when E *= 3,000,000 Hz and the Rate = 84 * 60 Hz then the Output Compare Register (TOCR) =
TOC1 + E/Rate = TOC1 + 3000000/5040 or
TOCR = TOC1 + 595.2380952381 cycles per interrupt Because only integers can be added to TOC1, the ISR will have to keep track of the fractional error and correct periodically for the inaccuracy due to truncation. If no correction is implemented the accumulation error would be 34.56 sec per day.
Accumulation error = 0.238095, which is approximately: $3CF3 (integer scaled) = 0.238082
The OC1 interrupt will be enabled for the next interrupt only after completed and successful data processing and just prior to exiting this ISR (RTI).
Set end of the external interrupt to allow for the next interrupt to be detected by the FPGA U2. Force the output of PA7 low for the next interrupt to occur when the next output compare 1 is valid. Note that the PA7 designated pin of Ul is operatively coupled to U2 via line 372 (figures 16 and 17).
Service 5, 10 or 15 Minute Interruption Request (OC3I)
Service the 5, 10 or 15 Minute Interrupt Request from the Seconds Interrupt Service Routine, and enable 5, 10 and 15 Minute interrupt generated by OC3I. Check for the end of a second of processing, and if completed, force the interrupt for completed second processing. First, increment the count of samples for this present interrupt from 0 to the maximum sample rate. Define a global output buffer which will contain the minimum necessary information to allow final processing of the data at a slower rate. The intent is to postpone as much processing as possible to a slower rate. The next slower rate will occur at the end of each set of samples for a complete second of voltage and current measurements.
First, increment the count of samples, then check for wrapping of the indexing for the 90 degree voltage buffer. Next, increment the count of quadrants and wrap if necessary. Then increment the count of cycles for this present interrupt from 0 to the maximum cycle rate.
Buffer the Data to the One Second Processing Level
Once samples have been accumulated for a complete Second move the accumulated data from the Sample's buffer to the Second's buffer, unlock the buffer and enable the Seconds Interrupt Service Routine to continue processing the data at the seconds rate. Before writing into the Seconds buffer, check to make sure the buffer has been left locked. If it is unlocked, Seconds could have overrun its allocated frame time, or Seconds processing has failed. If no problem exists, the buffering will occur once every second.
Enable One Second Interrupt (OC2I) Now that the data has been moved to the next level of processing, unlock the buffer and enable the interrupt for the next level of processing. Enable the one second interrupt generated by OC21.
Check to make sure that the analog-to-digital converter U4 has completed the conversions, and if the data is good, increment the Sample count and do 16 x 16 multiply and sum the results to the Sample buffer. The analog-to-digital converter U4 and multiply interface function will have nine bytes accessible to the software as Memory Mapped Input /Output.
Read Voltage and Current If samples are invalid, do not enable the foreground interrupt, OC1I, and exit the ISR. This will leave the system operable, but in a degraded mode of operation. Disabling this foreground processing will also allow the testing and reporting to move to the foreground to provide better reporting response times.
Now read the voltage VIN 1 and the current VIN 2, VIN 3. Move the present voltage into the 90 degree wrap-around buffer and sum the product to Sample buffer.
Now multiply remaining voltages and currents and do summations. The result of summation can be rescaled at a later time, when the time restrictions are more relaxed (during seconds processing, figure 36, or the X-minutes processing, figure 33). At this point, the voltage has been saved to the 90 degree buffer. The first current has also been saved and the first product has been accumulated. Remaining calculations include:
Accumulating the second current/voltage Watt product;
Accumulating the second current/voltage 90 VARS product. The previous 90 degree voltage was saved previously;
Accumulating the first current /voltage 90 VARS product;
Execution to this juncture implies successful data processing. Enable the next local interrupt (OC1I), and enable all maskable interrupts via the RTI instruction which will restore the Interrupt Request Mask (IRQ) in the Condition Code Register (CCR) to zero.
The Seconds Interrupt Service Routine (Seconds Interrupt (OC2I) 60/min) is dedicated to calculating and displaying KW, KWH, and KVA. It is a foreground routine situated one priority level below the Sampler routine, but it takes priority over all other foreground and over all background processing. The following registers have been pushed onto the stack prior to entry (this operation requires 12 cycles):
Condition Code Register (CCR) - 8 bits
Accumulator B (B) - 8 bits
Accumulator A (A) - 8 bits Index Register X (IX) - 16 bits
Index Register Y (IY) - 16 bits
Program Counter (PC) next instruction - 16 bits
The global interrupt bit, 1, in the Condition Code Register, has been set to disable all maskable interrupts. These two happenings will be utilized later to enable or disable the foreground and/or priority background Interrupt Servicing when executing the Return-from-Interrupt (RTI) Instruction. This ISR is paced from the Sampler routine and will process buffered data from the Sampler routine once every second. This ISR is entered via an Output Compare 2 Interrupt (OC2I), which is forced at the completion of every second by the Sampler ISR.
Enable Foreground Interrupts. Set the OC2D (bit 6 of TMSK1) low to acknowledge the interrupt and prevent another interrupt from occurring, before unmasking all interrupts. Before processing any data, enable all maskable interrupts to allow the foreground interrupt to occur without disruption by clearing the I bit of the condition code register (CCR).
Now, calculate the kilowatts (KW) and kilowatt hours (KWH) and kilovolt- amperes (KVA) for this present second from the raw accumulations for this second. Voltage, Current, Watts, VA, KVA, and PF are all averaged values for the present measured second. However, the watts that are accumulated represent a scaled volt-ampere value at this level. Therefore, simply multiplying the watt accumulation by the unit conversions will yield the correct KW and KWH usage.
Now accumulate the raw Kilowatt-hours till a report is successfully sent to the host computer 76. Then, reset the accumulations, and continue. If the meter 10 is at a setting that does not allow electronic reporting, then the accumulations will continue for the life of the meter. The process of accumulation truncates the last 16 bits, therefore the scaling of the raw Total_KWH is B32, because the Raw_KWH is scaled B48 prior to truncation. Time Stamp Report with Date and Time from the real time clock U9:
Now, get the time /date from the real time clock. Then convert the BCD data to ASCII format and save the results in the SecReport. Add KWH to Report Now, write the kilowatt-hrs since last report was phoned home to the SecReport.
Convert the scaled Total_KWH to binary coded digit format. This will be accomplished by multiplying TotalJKWH by 10, truncating to the most significant digit and adding the digit to the result.
Calculate and Add KW and KVA to Report Now, multiply the first 32 bits of Sum 1_V * I with the 16 bit KW scale factor.
Because the radix of the 32 bit Sum 1_V * 1 is B14 and the radix of KW_Factor is B22, the radix of the 48 bit result will be B36. in order to maintain maximum accuracy and force the product of the scaling to a byte boundary, the KW_Factor will be multiplied by an additional 1 /10 B4. This KW_Factor will produce a product of 1/lOth KW and KVA scaled B40. The KW_.l Factor is determined as follows:
Calculate the Raw .OlKVARsq from the sum of the squares of Raw .1KW + 1 and Raw .1KVA + 1. Now get the gas and water usage and add to the report to complete the report.
Now check to see if there is a report initialization interrupt. If so, go directly to the initialization section before continuing. Check InitCtrl byte / iSeconds bit for initialization request
Initialize the Report and the LCD: The following is the initialization that will be performed by this Interrupt
Service Routine when requested by the bit set in the Initialization Control byte from Tester.
First set the seconds counter for the beginning of 5, 10 or 15 minutes. The maximum count of 15 for Xmax_Cnt is set in Startup as a default power-on value. The maximum count is reset in other routines according to the demands of the current system situations by the host 76.
Now, display the total kilowatt-hours since the last reported readings. Also display the gas and water readings. The source of these displays will be the SecReport. The destination will be the LCD. Now, check for the completion of a 0, 5, 10 or 15 minute processing interval or return from this interrupt. First, increment the count of seconds and request the interrupt if necessary.
Buffer Data to the 5, 10 or 15 minute Processing Level when the 5, 10 or 15 minute processing level. Buffer the necessary data for each specified priority interrupt level. The data that is to be buffered is the completed portion of the ASCII final report, SecReport. The report resides in direct RAM and is to be copied to the report section of RAM for X-minute processing. Before buffering to the next processing level, make sure that the buffer has been locked.
Referring to figure 33 the X-minutes Interrupt (OC3I) (every 5, 10 or 15 minutes) is an assembly Interrupt Service Routine dedicated to organizing the 5, 10 or 15 minute reports and storing the reports to SRAM for power backup until the background software can report the information to the host 52.
Enable Foreground Interrupts setting the OC3D (bit 5 of TMSK1) low to acknowledge the interrupt and to prevent another interrupt from occurring, before unmasking all interrupts. Before enabling the sampling interrupt, check for the maximum allowable lost samples per X-minute interrupt. If the maximum has not been reached, then clear the counter to allow the maximum lost samples before the next X-minute interrupt. Check for an initialization request. If requested, initialize for X-minutes processing and SRAM pointers.
Initialize Xminute Variables as follows:
Get the beginning of storage SRAM U6; Set the pointer to the same address to indicate SRAM empty;
Get the maximum possible storage;
Set the maximum storage allowed;
Now, determine the time to report usage. Note that report time is determined from the time set in the EEPROM during installation. If it is time to report the usage and the last report has been sent and delivery has been verified, copy the report to the background buffer. The EEPROM time is added to the time of the last report sent from background and compared to the time stamp in the report from seconds. If the last report has not been sent and the new report is due to be sent, then the report is stored in SRAM, if the time of the last report added to the EEPROM time is less than the time stamp on the latest report from seconds.
First determine the reporting interval and calculate the next reporting Time. Now compare the seconds report time with the calculated reporting time. If it is not time to report do nothing and return from this interrupt after cleaning up. Set a Request to Send Usage Report from Background. If report is to be sent, and the report verified semaphore has been set, copy the most recent report to the background buffer.
Specifically, save the report to SRAM in a wrap-around storage such that the size of the storage is an even multiple of the size of the usage report with the pointers to the oldest report. If the latest report has not been sent then set the request to send the report, unlock the minute buffer, and return from this interrupt (RTI).
Moreover, having thus described the invention, it should be apparent that numerous structural modifications and adaptations may be resorted to without departing from the scope and fair meaning of the instant invention as set forth hereinabove and as described hereinbelow by the claims.

Claims

Claims
I Claim:
Claim 1 - A utility meter, comprising in combination: means for sensing incoming data correlative of a product received from a utility company; means connected to said sensing means for sampling the sensed data; means for storing and accumulating the sampled data; a transmission media; means for transmitting the stored accumulated sampled data at a predetermined interval to the utility company from the meter via the transmission media; and means for acknowledging receipt of the transmitted data by the utility company.
Claim 2 - The utility meter of claim 1 wherein said sensing means includes a voltage sensor and at least one current sensor operatively coupled to a first and second power supply line.
Claim 3 - The utility meter of claim 2 further including an interface means for controlling said sampling means and interfacing said sampling means with said storing and accumulating means wherein the sampled data is received and retained by said interface means until it is transferred to said storing and accumulating means.
Claim 4 - The utility meter of claim 3 further including an alphanumeric display operatively coupled to said interface means wherein said interface means controls said alphanumeric display for displaying consumption of the product received from the utility meter.
Claim 5 - A method for surveying utility output, comprising the steps of: interposing a meter at a product input from the utility adjacent a consuming site; coupling the meter to a communication means; periodically reporting from the consuming site to a remote site via the communication means.
Claim 6 - The method of claim 5 further including the step of collecting data correlative of the product received from the utility. Claim 7 - The method of claim 6 further including the step of calculating consumption of the product received from the collected data.
Claim 8 - The method of claim 7 further including the step of storing the calculated consumption of the product received from the utility. Claim 9 - The method of claim 8 further including the step of displaying the calculated consumption of the product received from the utility.
Claim 10 - The method of claim 9 wherein the step of reporting from the consuming site to the remote site includes transmitting the calculated consumption of the product received from the utility.
Claim 11 - A utility meter, comprising in combination: means for transforming voltage across and current through a first and a second power supply line; means for sampling said transformed voltage and current for providing voltage samples and current samples; a processing means; an interface means operatively coupled to said sampling means and to said processing means; said interface means receiving said voltage samples and said current samples from said sampling means and retaining both said samples until said processing means reads said voltage samples and current samples from said interface means.
Claim 12 - The utility meter in claim 11 wherein said interface means controls said sampling means. Claim 13 - The utility meter in claim 12 further including a hardware multiplier operatively coupled to said interface means.
Claim 14 - The utility meter of claim 13 wherein said interface means controls said hardware multiplier.
Claim 15 - The utility meter of claim 14 wherein said interface means transfers said voltage samples and current samples, which are received from said processing means, to said hardware multiplier.
Claim 16 - The utility meter of claim 15 wherein said interface means enables said multiplier to multiply said voltage samples by said current samples to obtain product samples. Claim 17 - The utility meter of claim 16 wherein said interface means receives said product samples by enabling an output of said hardware multiplier.
Claim 18 - The utility meter of claim 17 wherein said processing means reads said product samples from said interface means.
Claim 19 - The utility meter of claim 18 wherein said processing means processes said product samples to obtain watt values over a specified period of time.
Claim 20 - The utility meter of claim 19 further including data storage means. Claim 21 - The utility meter of claim 20 wherein said interface means is operatively coupled to said data storage means and wherein said data storage means is operatively coupled to said processing means.
Claim 22 - The utility meter of claim 21 wherein said processing means reads data from and writes data to said data storage means.
Claim 23 - The utility meter of claim 22 wherein said interface means enables said data storage means and addresses the data storage means for locating data being read from and written to the data storage means by said processing means. Claim 24 - The utility meter of claim 23 further including a display means wherein said interface means controls said display means and transfers data correlative to the use of a utility commodity from said processing means to said display means for display.
Claim 25 - The utility meter of claim 24 further including communication means operatively coupled to said processing means and to a remote computer.
Claim 26 - The utility meter of claim 25 wherein said processing means transmits a data usage report including said watt values to said remote computer via said communication means.
Claim 27 - The utility meter of claim 26 further including a real time clock operatively coupled to said processing means wherein said real time clock provides time and date data.
Claim 28 - The utility meter of claim 27 wherein said real time clock is accessed by said processing means at programmable intervals for functions requiring time and date. Claim 29 - The utility meter of claim 28 wherein said processing means updates said data storage means with date and time data from said real time clock.
Claim 30 - The utility meter of claim 29 wherein said processing means accesses said real time clock for obtaining a date and a time for date and time stamping the data usage report sent to the remote computer. Claim 31 - The utility meter of claim 30 wherein said real time clock is used to mark power outages with a time and date stamp.
Claim 32 - The utility meter of claim 31 wherein said real time clock is used to provide a time of use for different rate structures correlating to a particular monetary value of power. Claim 33 - The utility meter of claim 32 further including a power back-up circuit operatively coupled to said data storage means and to said real time clock.
Claim 34 - The utility meter of claim 33 wherein said power back-up circuit provides a sufficient amount of power to the data storage means to retain the power consumption data stored there in. Claim 35 - The utility meter of claim 34 wherein said power back-up circuit operates the real time clock when a power outage has occurred.
Claim 36 - The utility meter of claim 35 wherein said power back-up circuit includes a supervisory circuit. Claim 37 - The utility meter of claim 36 wherein said power back-up circuit includes a capacitor and a diode which operatively couples said capacitor to said power supply circuit wherein said capacitor is charged through said diode by said power supply circuit.
Claim 38 - The utility meter of claim 37 wherein said capacitor stores and releases energy sufficient to retain the power consumption data in the data storage means and to operate the real time clock.
Claim 39 - The utility meter of claim 38 further including a tamper switch operatively coupled to said processing means wherein said tamper switch determines whether the utility meter is being tampered with and provides an interrupt signal to said processing means.
Claim 40 - The utility meter of claim 39 wherein said processing means initiates communication with said remote computer when the interrupt signal has been determined by said processing means.
Claim 41 - The utility meter of claim 40 wherein said real time clock is accessed by said processing means for sampling a time and date in which a tamper interrupt signal has been determined by said processing means.
Claim 42 - An automatic utility meter, comprising in combination: a power supply circuit, means for sensing voltage and current waveforms received from a utility company; an analog-to-digital converter connected to said power supply circuit and operatively coupled to said sensing means for receiving and digitizing the voltage and current waveforms into voltage and current samples; a field programmable gate array connected to said power supply circuit and operatively coupled to said analog-to-digital converter for controlling said analog-to-digital converter and for receiving and retaining said voltage and current samples; a processing means connected to said power supply circuit and operatively coupled to said field programmable gate array for reading said digitized voltage and current samples from said field programmable gate array.
Claim 43 - The automatic utility meter of claim 42 wherein said field programmable gate array includes registers for retaining said voltage and current samples and means for restricting access to said registers containing said voltage and current samples until said processing means has read said digitized voltage and current samples therefrom.
Claim 44 - The automatic utility meter of claim 43 further including a hardware multiplier connected to said power supply circuit and operatively coupled to said field programmable gate array.
Claim 45 - The automatic utility meter of claim 44 wherein said field programmable gate array accesses said voltage and current samples from said processing means and transfers said voltage and current samples to said hardware multiplier where both samples are latched in said hardware multiplier by said field programmable gate array sending a latch enable signal to said hardware multiplier.
Claim 46 - The automatic utility meter of claim 45 wherein said hardware multiplier computes product samples by multiplying said voltage samples by said current samples.
Claim 47 - The automatic utility meter of claim 46 wherein said hardware multiplier transfers said product samples to said field programmable gate array when said field programmable gate array sends an output enable signal to said hardware multiplier.
Claim 48 - The automatic utility meter of claim 47 wherein said processing means accesses said product samples from said field programmable gate array and processes said product samples to obtain data correlative to power consumption.
Claim 49 - The automatic utility meter of claim 48 further including a first memory means connected to said power supply circuit and operatively coupled to said field programmable gate array and to said processing means.
Claim 50 - The automatic utility meter of claim 49 wherein at least one address is loaded from said processing means to said registers of said field programmable gate array.
Claim 51 - The automatic utility meter of claim 50 wherein said field programmable gate array sends a memory enable signal and at least one said address to said memory means. Claim 52 - The automatic utility meter of claim 51 wherein the power consumption data is transferred from the processing means to at least one location in said memory means addressed by at least one said address sent to said memory means by said field programmable gate array.
Claim 53 - The automatic utility meter of claim 52 further including a display means having alphanumeric display capability.
Claim 54 - The automatic utility meter of claim 53 wherein said display means is connected to said power supply circuit and operatively coupled to said field programmable gate array. Claim 55 - The automatic utility meter of claim 54 wherein said field programmable gate array controls the memory means to transfer the consumption data to the processing means wherein the processing means writes the power consumption data to the field programmable gate array. Claim 56 - The automatic utility meter of claim 55 wherein said field programmable gate array sends the power consumption data to said display means and controls said display means for displaying the power consumption data.
Claim 57 - The automatic utility meter of claim 56 further including a positive to negative voltage converter circuit. Claim 58 - The automatic utility meter of claim 57 wherein said positive to negative voltage converter circuit is operatively coupled to said display means for extending the temperature range in which said display means is capable of displaying a viewable alphanumeric display.
Claim 59 - The automatic utility meter of claim 58 further including means for transmitting at least the power consumption data at a programmable interval to a remote location from said utility meter via a transmission media. Claim 60 - A utility meter, comprising in combination: a power supply circuit; a voltage transformer having a primary operatively coupled across a first power supply line and a second power supply line; said voltage transformer having a first secondary operatively coupled to said power supply circuit and a second secondary outputting a first voltage signal; a first current transformer and a second current transformer respectively coupled in line with the first and the second power supply line; a first converter circuit operatively coupled to said first current transformer for generating a second voltage signal proportional to a current in the first power supply line; a second converter circuit operatively coupled to said second current transformer for generating a third voltage signal proportional to a current in the second power supply line; sampling means operatively coupled to said first converter circuit, said second converter circuit and to said secondary of said voltage transformer wherein said sampling means samples said first voltage signal, said second voltage signal and said third voltage signal; a control means connected to said power supply circuit; said control means operatively coupled to said sampling means for controlling said sampling means and receiving said first, said second, and said third voltage samples from said sampling means; a processing means connected to said power supply circuit and operatively coupled to said control means; said processing means reading said first voltage samples and reading and summing said second and said third voltage samples together to obtain resultant samples; a hardware multiplier connected to said power supply circuit and operatively coupled to said control means; said control means receiving said first voltage samples and said resultant samples from said processing means and transferring said first voltage samples and said resultant samples to said multiplier wherein said multiplier multiplies said first voltage samples by said resultant samples to form product samples; said control means receiving said product samples from said multiplier, and said processing means reading said product samples from said control means wherein said product samples are processed by said processing means to obtain a watt time value.
Claim 61 - The utility meter of claim 60 wherein said processing means transfers to said control means said resultant samples and said first voltage samples which lag said resultant samples by one fourth of a number of samples taken per cycle.
Claim 62 - The utility meter of claim 61 wherein said control means transfers said resultant samples and said lagging first voltage samples received from said processing means to said hardware multiplier.
Claim 63 - The utility meter of claim 62 wherein said hardware multiplier multiplies said resultant samples by said first voltage samples which lag said resultant samples by one fourth the number of samples taken per cycle to obtain VAR product samples.
Claim 64 - The utility meter of claim 63 wherein said VAR product samples are transferred to said processing means by way of said control means. Claim 65 - The utility meter of claim 64 wherein said processing means processes said VAR product samples to obtain average VARs per cycle.
Claim 66 - The utility meter of claim 65 further including a first memory means connected to said power supply circuit and operatively coupled to said control means and to said processing means. Claim 67 - The utility meter of claim 66 wherein said control means controls said memory means for enabling said processing means to write said processed product samples and said processed VAR product samples to said first memory means. Claim 68 - The utility meter of claim 67 further including communication means connected to said power supply circuit and operatively coupled to said processing means and to a telephone line which are in communication with a remote computer. Claim 69 - The utility meter of claim 68 wherein said processing means receives said processed product samples and said processed VAR samples from said first memory means and incorporates them into a data report which is transferred to said communication means.
Claim 70 - The utility meter of claim 69 wherein said communication means initiates a communication link to the remote computer via the telephone line and transfers the report data received from said processing means to the remote computer.
Claim 71 - The utility meter of claim 70 wherein said data received by said communication means from said processing means includes an identification number representative of a location of said meter and a telephone number of the remote computer.
Claim 72 - The utility meter of claim 71 further including a telephone line status detector for detecting status of a customer's phone.
Claim 73 - The utility meter of claim 72 wherein said telephone line status detector detects current changes due to a telephone going into an off-hook condition and immediately signally said processing means of a need for the customer to use the telephone.
Claim 74 - The utility meter of claim 73 wherein said processing means internally stores any data being sent to said communication means and any data being received from said communication means prior to decoupling said communication means from the telephone line in order to allow immediate use of the telephone.
Claim 75 - The utility meter of claim 74 further including a display means connected to said power supply circuit and operatively coupled to said control means.
Claim 76 - The utility meter of claim 75 wherein said display means is a liquid crystal display having alphanumeric display capability.
Claim 77 - The utility meter of claim 76 wherein said control means interfaces said processing means to said display means. Claim 78 - The utility meter of claim 77 wherein said control means receives character and control data and said processed product samples and said processed VAR samples from said processing means.
Claim 79 - The utility meter of claim 78 wherein the character and control data is sent to the display means by said control means and is latched into the display means by a latch enable signal sent from the control means and wherein said processed product samples and said processed VAR samples are sent from said control means to said display means for display.
Claim 80 - The utility of meter of claim 79 wherein said first current transformer includes a single conductive branch and a coil having two terminals, said conductive branch is coupled in line with the first power supply line and said coil circumscribes said conductive branch.
Claim 81 - The utility meter of claim 80 wherein said first converter circuit includes a first resistance connected in series with a second resistance wherein said serially coupled resisters are operatively coupled across the two terminals of said coil of said first current transformer and the common connection between said first and said second resistance is coupled to a ground.
Claim 82 - The utility meter of claim 81 wherein said second current transformer includes a second conductive branch and a second coil having two terminals wherein said second conductive branch is coupled in line with the second power supply line and said second coil circumscribes said second conductive branch.
Claim 83 - The utility meter of claim 82 wherein said second converter circuit includes a third resistance connected in series with a fourth resistance wherein said serially coupled resisters are electrically coupled across the two terminals of said second coil of said second current transformer and the common connection between said third and fourth resistance is coupled to a ground.
PCT/US1997/013243 1996-07-31 1997-07-31 An integrated circuit design automatic utility meter: apparatus and method WO1998005013A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU38168/97A AU3816897A (en) 1996-07-31 1997-07-31 An integrated circuit design automatic utility meter: apparatus and method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US08/690,581 US5994892A (en) 1996-07-31 1996-07-31 Integrated circuit design automatic utility meter: apparatus & method
US08/690,581 1996-07-31

Publications (1)

Publication Number Publication Date
WO1998005013A1 true WO1998005013A1 (en) 1998-02-05

Family

ID=24773058

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1997/013243 WO1998005013A1 (en) 1996-07-31 1997-07-31 An integrated circuit design automatic utility meter: apparatus and method

Country Status (3)

Country Link
US (1) US5994892A (en)
AU (1) AU3816897A (en)
WO (1) WO1998005013A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000003209A2 (en) * 1998-07-13 2000-01-20 Houri, Rachid Method and device for displaying various parameters concerning water consumption in a supply conduit
SG81260A1 (en) * 1998-02-23 2001-06-19 David A Saar Water management system
EP2437071A1 (en) * 2010-09-29 2012-04-04 General Electric Company Systems, methods, and apparatus for components in ami energy meters
CN111664909A (en) * 2020-06-15 2020-09-15 叶振磊 Card-swiping type water meter box

Families Citing this family (144)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7054271B2 (en) 1996-12-06 2006-05-30 Ipco, Llc Wireless network system and method for providing same
US8982856B2 (en) 1996-12-06 2015-03-17 Ipco, Llc Systems and methods for facilitating wireless network communication, satellite-based wireless network systems, and aircraft-based wireless network systems, and related methods
US6233327B1 (en) * 1997-02-14 2001-05-15 Statsignal Systems, Inc. Multi-function general purpose transceiver
US6262672B1 (en) * 1998-08-14 2001-07-17 General Electric Company Reduced cost automatic meter reading system and method using locally communicating utility meters
US6538577B1 (en) * 1997-09-05 2003-03-25 Silver Springs Networks, Inc. Electronic electric meter for networked meter reading
US6199068B1 (en) * 1997-09-11 2001-03-06 Abb Power T&D Company Inc. Mapping interface for a distributed server to translate between dissimilar file formats
AU1935699A (en) * 1997-12-24 1999-07-19 Abb Power T & D Company Inc. Method and apparatus for detecting and reporting a power outage
US6914893B2 (en) 1998-06-22 2005-07-05 Statsignal Ipc, Llc System and method for monitoring and controlling remote devices
US6891838B1 (en) 1998-06-22 2005-05-10 Statsignal Ipc, Llc System and method for monitoring and controlling residential devices
US6437692B1 (en) 1998-06-22 2002-08-20 Statsignal Systems, Inc. System and method for monitoring and controlling remote devices
US8410931B2 (en) 1998-06-22 2013-04-02 Sipco, Llc Mobile inventory unit monitoring systems and methods
US6862563B1 (en) * 1998-10-14 2005-03-01 Arc International Method and apparatus for managing the configuration and functionality of a semiconductor design
US6240167B1 (en) * 1999-01-19 2001-05-29 Raymond Joseph Michaels Telephone-linked commodity-billing method
US7120610B1 (en) 1999-03-04 2006-10-10 Ascom Hasler Mailing Systems, Inc. Technique for effective management of resource consumption
US7650425B2 (en) 1999-03-18 2010-01-19 Sipco, Llc System and method for controlling communication between a host computer and communication devices associated with remote devices in an automated monitoring system
US6560754B1 (en) * 1999-05-13 2003-05-06 Arc International Plc Method and apparatus for jump control in a pipelined processor
US6954814B1 (en) * 1999-06-10 2005-10-11 Amron Technologies Inc. Method and system for monitoring and transmitting utility status via universal communications interface
US7185131B2 (en) * 1999-06-10 2007-02-27 Amron Technologies, Inc. Host-client utility meter systems and methods for communicating with the same
US7231482B2 (en) * 2000-06-09 2007-06-12 Universal Smart Technologies, Llc. Method and system for monitoring and transmitting utility status via universal communications interface
US6615147B1 (en) * 1999-08-09 2003-09-02 Power Measurement Ltd. Revenue meter with power quality features
US6988154B2 (en) 2000-03-10 2006-01-17 Arc International Memory interface and method of interfacing between functional entities
DE10014272B4 (en) * 2000-03-22 2008-06-05 Endress + Hauser Gmbh + Co. Kg Field device, and method for reprogramming a field device
US6940956B1 (en) 2000-05-04 2005-09-06 Amron Technologies, Inc. Electric outlet based power status notification device, system, and method
US7487282B2 (en) * 2000-06-09 2009-02-03 Leach Mark A Host-client utility meter systems and methods for communicating with the same
AU2001255270A1 (en) * 2000-06-28 2002-01-08 Schlumberger Resource Management Services, Inc. Energy history buffer
US6665766B1 (en) * 2000-08-14 2003-12-16 Xilinx, Inc. Adaptable configuration interface for a programmable logic device
US6944523B2 (en) * 2000-12-07 2005-09-13 Aqua Conserve, Inc. Recording and processing utility commodity usage
WO2002046852A1 (en) * 2000-12-07 2002-06-13 Aqua Conservation Systems, Inc. Recording and processing utility commodity usage
US6528986B2 (en) 2000-12-28 2003-03-04 Schlumberger Resource Management Services, Inc. Inner component board assembly for an electric utility meter
US6813571B2 (en) * 2001-02-23 2004-11-02 Power Measurement, Ltd. Apparatus and method for seamlessly upgrading the firmware of an intelligent electronic device
US7249265B2 (en) * 2001-02-23 2007-07-24 Power Measurement, Ltd. Multi-featured power meter with feature key
US7085824B2 (en) 2001-02-23 2006-08-01 Power Measurement Ltd. Systems for in the field configuration of intelligent electronic devices
US6871150B2 (en) * 2001-02-23 2005-03-22 Power Measurement Ltd. Expandable intelligent electronic device
US6745138B2 (en) 2001-02-23 2004-06-01 Power Measurement, Ltd. Intelligent electronic device with assured data storage on powerdown
US7596459B2 (en) 2001-02-28 2009-09-29 Quadlogic Controls Corporation Apparatus and methods for multi-channel electric metering
JP2002291078A (en) * 2001-03-22 2002-10-04 Toshiba Corp Telemetry system
US20020143482A1 (en) * 2001-03-30 2002-10-03 Rajaiah Karanam Method and apparatus for monitoring electrical usage
JP3751538B2 (en) * 2001-04-11 2006-03-01 株式会社日立製作所 Gas flow meter
US20020191024A1 (en) * 2001-06-13 2002-12-19 Timothy Huneycutt Utility metering slider bar
US6622097B2 (en) * 2001-06-28 2003-09-16 Robert R. Hunter Method and apparatus for reading and controlling electric power consumption
US6614326B2 (en) * 2001-07-10 2003-09-02 Eaton Corporation Power-line coupler having a circuit breaker form or a panelboard employing the same
WO2003025898A1 (en) * 2001-09-14 2003-03-27 Automated Energy, Inc. Utility monitoring and management system
US7385524B1 (en) 2001-09-21 2008-06-10 James Robert Orlosky Automated meter reading, billing and payment processing system
US7480501B2 (en) 2001-10-24 2009-01-20 Statsignal Ipc, Llc System and method for transmitting an emergency message over an integrated wireless network
US8489063B2 (en) 2001-10-24 2013-07-16 Sipco, Llc Systems and methods for providing emergency messages to a mobile device
US7424527B2 (en) 2001-10-30 2008-09-09 Sipco, Llc System and method for transmitting pollution information over an integrated wireless network
US7493470B1 (en) 2001-12-07 2009-02-17 Arc International, Plc Processor apparatus and methods optimized for control applications
US6801865B2 (en) * 2002-03-21 2004-10-05 Engage Networks, Inc. Meter monitoring and tamper protection system and method
US6798353B2 (en) 2002-04-24 2004-09-28 Itron Electricity Metering, Inc. Method of using flash memory for storing metering data
US20050036387A1 (en) * 2002-04-24 2005-02-17 Seal Brian K. Method of using flash memory for storing metering data
KR100818826B1 (en) * 2002-04-25 2008-04-01 에이알씨 인터내셔널 A computerized apparatus for generating a design of an integrated circuit and a method for generating a hierarchy within an integrated circuit design having a plurality of components
US7747534B2 (en) * 2002-09-24 2010-06-29 Elster Electricity, Llc Utility power meter, metering system and method
US6795787B2 (en) * 2002-09-26 2004-09-21 Agilent Technologies, Inc. Method and apparatus for calibrating a sampling circuit
US7444401B1 (en) 2002-11-18 2008-10-28 Arkion Systems Llc Method and apparatus for inexpensively monitoring and controlling remotely distributed appliances
FR2849186B1 (en) * 2002-12-23 2005-02-04 Actaris Sas DEVICE FOR DETECTING THE POSITIONING OF A MEASUREMENT MODULE ON A FLUID COUNTER
US20040243525A1 (en) * 2003-05-07 2004-12-02 Brian Forrester System and method for disconnecting utility services
US20040225626A1 (en) * 2003-05-07 2004-11-11 Brian Forrester Automated meter reading installation system and method
US20050049843A1 (en) * 2003-08-29 2005-03-03 Lee Hewitt Computerized extension apparatus and methods
US7023680B1 (en) * 2003-10-29 2006-04-04 Psg Enterprises, Inc. Transient voltage protection and ground status monitoring apparatus and method
US7802015B2 (en) 2004-01-26 2010-09-21 Tantalus Systems Corp. Communications system of heterogeneous elements
US8031650B2 (en) 2004-03-03 2011-10-04 Sipco, Llc System and method for monitoring remote devices with a dual-mode wireless communication protocol
US7756086B2 (en) 2004-03-03 2010-07-13 Sipco, Llc Method for communicating in dual-modes
JP4651620B2 (en) * 2004-07-07 2011-03-16 三菱電機株式会社 Power calculation apparatus, power calculation method, tamper resistance evaluation apparatus, and tamper resistance evaluation method
US7343255B2 (en) * 2004-07-07 2008-03-11 Itron, Inc. Dual source real time clock synchronization system and method
US7379791B2 (en) 2004-08-03 2008-05-27 Uscl Corporation Integrated metrology systems and information and control apparatus for interaction with integrated metrology systems
US7245511B2 (en) * 2004-08-25 2007-07-17 Itron, Inc. Resistor dropper power supply with surge protection
US7305310B2 (en) * 2004-10-18 2007-12-04 Electro Industries/Gauge Tech. System and method for compensating for potential and current transformers in energy meters
US7583202B2 (en) * 2004-10-19 2009-09-01 Echelon Corporation Method and apparatus for an electric meter
US7304586B2 (en) * 2004-10-20 2007-12-04 Electro Industries / Gauge Tech On-line web accessed energy meter
US7508190B2 (en) * 2004-10-20 2009-03-24 Electro Industries/Gauge Tech. Test pulses for enabling revenue testable panel meters
US9080894B2 (en) 2004-10-20 2015-07-14 Electro Industries/Gauge Tech Intelligent electronic device for receiving and sending data at high speeds over a network
US7747733B2 (en) 2004-10-25 2010-06-29 Electro Industries/Gauge Tech Power meter having multiple ethernet ports
US7271996B2 (en) * 2004-12-03 2007-09-18 Electro Industries/Gauge Tech Current inputs interface for an electrical device
WO2006081206A1 (en) 2005-01-25 2006-08-03 Sipco, Llc Wireless network protocol systems and methods
US7996171B2 (en) 2005-01-27 2011-08-09 Electro Industries/Gauge Tech Intelligent electronic device with broad-range high accuracy
US8666688B2 (en) * 2005-01-27 2014-03-04 Electro Industries/Gauge Tech High speed digital transient waveform detection system and method for use in an intelligent electronic device
US8930153B2 (en) 2005-01-27 2015-01-06 Electro Industries/Gauge Tech Metering device with control functionality and method thereof
US8190381B2 (en) * 2005-01-27 2012-05-29 Electro Industries/Gauge Tech Intelligent electronic device with enhanced power quality monitoring and communications capabilities
US8620608B2 (en) 2005-01-27 2013-12-31 Electro Industries/Gauge Tech Intelligent electronic device and method thereof
US8160824B2 (en) 2005-01-27 2012-04-17 Electro Industries/Gauge Tech Intelligent electronic device with enhanced power quality monitoring and communication capabilities
US20060253407A1 (en) * 2005-05-14 2006-11-09 Waddell Loy A Monitoring system for an evaporative credit program
US7274975B2 (en) 2005-06-06 2007-09-25 Gridpoint, Inc. Optimized energy management system
CA2558793A1 (en) * 2005-09-22 2007-03-22 Veris Industries, Llc High-density metering system
US20070103335A1 (en) * 2005-10-20 2007-05-10 Fitzgerald Aaron J Automatic detection of unusual consumption by a utility meter
US20070194949A1 (en) * 2005-11-23 2007-08-23 Quadlogic Controls Corporation Systems and methods for electricity metering
US8103389B2 (en) 2006-05-18 2012-01-24 Gridpoint, Inc. Modular energy control system
US8103563B2 (en) * 2006-06-29 2012-01-24 Carina Technology, Inc. System and method for monitoring, controlling, and displaying utility information
US20080052019A1 (en) * 2006-08-25 2008-02-28 Brennan W J Compact Data Transmission Protocol for Electric Utility Meters
US8127113B1 (en) 2006-12-01 2012-02-28 Synopsys, Inc. Generating hardware accelerators and processor offloads
US8739148B2 (en) * 2007-02-09 2014-05-27 Elster Electricity, Llc Automated meter reading system
US8587949B2 (en) 2007-03-27 2013-11-19 Electro Industries/Gauge Tech Electronic meter having user-interface and central processing functionality on a single printed circuit board
US11307227B2 (en) 2007-04-03 2022-04-19 Electro Industries/Gauge Tech High speed digital transient waveform detection system and method for use in an intelligent electronic device
US9989618B2 (en) 2007-04-03 2018-06-05 Electro Industries/Gaugetech Intelligent electronic device with constant calibration capabilities for high accuracy measurements
US10845399B2 (en) 2007-04-03 2020-11-24 Electro Industries/Gaugetech System and method for performing data transfers in an intelligent electronic device
US20130275066A1 (en) 2007-04-03 2013-10-17 Electro Industries/Gaugetech Digital power metering system
WO2009082761A1 (en) * 2007-12-26 2009-07-02 Elster Electricity, Llc. Optimized data collection in a wireless fixed network metering system
NZ586050A (en) * 2007-12-26 2013-04-26 Elster Electricity Llc An apparatus for detecting movement of a utility meter and generating an alarm
US7860672B2 (en) * 2007-12-26 2010-12-28 Elster Electricity, Llc Method and apparatus for monitoring voltage in a meter network
JP5100446B2 (en) * 2008-02-28 2012-12-19 東光東芝メーターシステムズ株式会社 Electricity meter
US8212548B2 (en) 2008-06-02 2012-07-03 Veris Industries, Llc Branch meter with configurable sensor strip arrangement
US9892663B2 (en) * 2008-07-03 2018-02-13 Chromera, Inc. Intelligent label device and method
US9471862B2 (en) * 2010-12-30 2016-10-18 Chromera, Inc. Intelligent label device and method
US10002359B2 (en) * 2008-07-03 2018-06-19 Chromera, Inc. Intelligent adaptive label device and method
US8004271B2 (en) * 2008-09-03 2011-08-23 Siemens Industry, Inc. Self contained kilowatt-hour meter integral to standard load center
MX2011004330A (en) 2008-10-27 2011-08-03 Mueller Int Llc Infrastructure monitoring system and method.
US8421639B2 (en) 2008-11-21 2013-04-16 Veris Industries, Llc Branch current monitor with an alarm
US8421443B2 (en) 2008-11-21 2013-04-16 Veris Industries, Llc Branch current monitor with calibration
US8269649B2 (en) * 2009-01-29 2012-09-18 Itron, Inc. Relative time system
US9335352B2 (en) 2009-03-13 2016-05-10 Veris Industries, Llc Branch circuit monitor power measurement
AU2010249499B2 (en) 2009-05-22 2015-01-29 Mueller International Llc Infrastructure monitoring devices, systems, and methods
CN101930060A (en) * 2009-06-22 2010-12-29 鸿富锦精密工业(深圳)有限公司 Power supply test device
US20110121647A1 (en) * 2009-09-21 2011-05-26 Renewable Energy Solution Systems, Inc. Solar power distribution system
EP2509191B1 (en) * 2009-11-30 2017-07-12 Kyocera Corporation Control system, correction apparatus, and power control method
US10002360B2 (en) * 2010-01-15 2018-06-19 Chromera, Inc. Intelligent adaptive label device and method
WO2011093109A1 (en) * 2010-02-01 2011-08-04 パナソニック株式会社 Dispersed-type power generation system
MX359282B (en) 2010-06-16 2018-09-21 Mueller Int Llc Infrastructure monitoring devices, systems, and methods.
US8379376B2 (en) * 2010-08-18 2013-02-19 General Electric Company Heat management and reduction of high temperatures exposure to components inside energy meter
US9000945B2 (en) * 2010-11-23 2015-04-07 Corinex Communications Corp. System and method for communicating over power lines
US10006948B2 (en) 2011-02-25 2018-06-26 Veris Industries, Llc Current meter with voltage awareness
US9146264B2 (en) 2011-02-25 2015-09-29 Veris Industries, Llc Current meter with on board memory
US20120249339A1 (en) * 2011-03-30 2012-10-04 General Electric Company Utility meter display system
US9329996B2 (en) 2011-04-27 2016-05-03 Veris Industries, Llc Branch circuit monitor with paging register
US8833390B2 (en) 2011-05-31 2014-09-16 Mueller International, Llc Valve meter assembly and method
US9250308B2 (en) 2011-06-03 2016-02-02 Veris Industries, Llc Simplified energy meter configuration
US9066055B2 (en) * 2011-07-27 2015-06-23 Texas Instruments Incorporated Power supply architectures for televisions and other powered devices
US8660134B2 (en) 2011-10-27 2014-02-25 Mueller International, Llc Systems and methods for time-based hailing of radio frequency devices
US8855569B2 (en) 2011-10-27 2014-10-07 Mueller International, Llc Systems and methods for dynamic squelching in radio frequency devices
MX353378B (en) 2013-03-15 2018-01-10 Mueller Int Llc Systems for measuring properties of water in a water distribution system.
US9494249B2 (en) 2014-05-09 2016-11-15 Mueller International, Llc Mechanical stop for actuator and orifice
US9565620B2 (en) 2014-09-02 2017-02-07 Mueller International, Llc Dynamic routing in a mesh network
TW201642592A (en) * 2015-04-17 2016-12-01 中心微電子德累斯頓股份公司 Digitally assisted current sense circuit and method for digitizing a sensed signal
US11041839B2 (en) 2015-06-05 2021-06-22 Mueller International, Llc Distribution system monitoring
US10830802B2 (en) * 2015-09-24 2020-11-10 Infinite Invention Inc. Electric meter with interconnection of DER and communications
US10371730B2 (en) 2015-12-28 2019-08-06 Veris Industries, Llc Branch current monitor with client level access
US10408911B2 (en) 2015-12-28 2019-09-10 Veris Industries, Llc Network configurable system for a power meter
US10274572B2 (en) 2015-12-28 2019-04-30 Veris Industries, Llc Calibration system for a power meter
US10371721B2 (en) 2015-12-28 2019-08-06 Veris Industries, Llc Configuration system for a power meter
US9804211B2 (en) * 2016-02-18 2017-10-31 Veris Industries, Llc Indicators for a power meter
US11215650B2 (en) 2017-02-28 2022-01-04 Veris Industries, Llc Phase aligned branch energy meter
US11193958B2 (en) 2017-03-03 2021-12-07 Veris Industries, Llc Non-contact voltage sensor
US10705126B2 (en) 2017-05-19 2020-07-07 Veris Industries, Llc Energy metering with temperature monitoring
US10916815B2 (en) * 2018-03-22 2021-02-09 Sensus Spectrum, Llc Battery orientation system
US11201455B1 (en) 2020-06-10 2021-12-14 Richard Lee Temporary electrical panel
US11725366B2 (en) 2020-07-16 2023-08-15 Mueller International, Llc Remote-operated flushing system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4803632A (en) * 1986-05-09 1989-02-07 Utility Systems Corporation Intelligent utility meter system
US5325051A (en) * 1989-09-25 1994-06-28 General Electric Company Electronic watthour meter
US5391983A (en) * 1991-10-08 1995-02-21 K C Corp. Solid state electric power usage meter and method for determining power usage

Family Cites Families (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA957091A (en) * 1971-12-16 1974-10-29 Itt Canada Transponder for telemetering system
US3922492A (en) * 1974-03-18 1975-11-25 James Ray Lumsden Remote meter reading transponder
US4086434A (en) * 1976-09-07 1978-04-25 Leo P. Christiansen Remote condition reporting system
US4077061A (en) * 1977-03-25 1978-02-28 Westinghouse Electric Corporation Digital processing and calculating AC electric energy metering system
US4254472A (en) * 1978-08-14 1981-03-03 The Valeron Corporation Remote metering system
US4337466A (en) * 1980-09-02 1982-06-29 Bell Telephone Laboratories, Incorporated Tamper protection for an automatic remote meter reading unit
US4365302A (en) * 1981-01-14 1982-12-21 Westinghouse Electric Corp. High accuracy AC electric energy metering system
US4504831A (en) * 1981-10-09 1985-03-12 Systems And Support, Incorporated Utility usage data and event data acquisition system
US4495596A (en) * 1982-06-10 1985-01-22 Rockwell International Corporation Data accumulator and transponder with power back-up for time of day clock
US4578536A (en) * 1983-10-19 1986-03-25 International Teldata Corp Centerpoint automatic meter reading system
US4782287A (en) * 1983-11-18 1988-11-01 Sigma Instruments, Inc. Watt-hour meter
US4654868A (en) * 1984-08-23 1987-03-31 Shelley Edwin F Time independent data transmission system having capability for accessing a plurality of data devices
US4672602A (en) * 1984-11-02 1987-06-09 Itt Corporation Control and routing system
US4856054A (en) * 1985-07-25 1989-08-08 Lectrolarm Custom Systems, Inc. Meter reader
US4720851A (en) * 1985-07-25 1988-01-19 Lectrolarm Custom Systems, Inc. Meter reader
US4639728A (en) * 1985-09-16 1987-01-27 Sangamo Weston, Inc. Method of and system for accumulating verifiable energy demand data from remote electricity meters
EP0283473B1 (en) * 1985-11-25 1993-11-03 Alcatel N.V. A telemetry terminal
US4804957A (en) * 1985-11-27 1989-02-14 Triad Communications, Inc. Utility meter and submetering system
US4713837A (en) * 1985-12-24 1987-12-15 Alastair Gordon Communication network
US4833618A (en) * 1986-02-20 1989-05-23 Net Laboratories, Inc. System for automatically reading utility meters from a remote location
US5079715A (en) * 1987-12-28 1992-01-07 Krishnan Venkataraman Electronic data recorder for electric energy metering
US4862493A (en) * 1987-12-28 1989-08-29 General Electric Company Electronic remote data recorder for electric energy metering
CA2000694A1 (en) * 1988-10-15 1990-04-15 Jean-Loup Bonnet Remote data transfer and collection system for use with metering systems
US5010568A (en) * 1989-04-04 1991-04-23 Sparton Corporation Remote meter reading method and apparatus
US5018192A (en) * 1989-10-23 1991-05-21 Tii Industries, Inc. Utility meter to telephone line interface
US5056107A (en) * 1990-02-15 1991-10-08 Iris Systems Inc. Radio communication network for remote data generating stations
US5204896A (en) * 1990-08-10 1993-04-20 Telegenics, Inc. Outbound telemetry device
US5202916A (en) * 1990-08-10 1993-04-13 Telegenics Inc. Signal proessing circuit for use in telemetry devices
US5283572A (en) * 1990-08-17 1994-02-01 Communications Instruments Inc. Utility meter interface circuit
US5243644A (en) * 1990-08-31 1993-09-07 At&T Bell Laboratories Telemetry access arrangement
US5239575A (en) * 1991-07-09 1993-08-24 Schlumberger Industries, Inc. Telephone dial-inbound data acquisition system with demand reading capability
US5381462A (en) * 1992-05-29 1995-01-10 Datran Systems Corporation Utility monitor communications systems
US5369691A (en) * 1993-03-04 1994-11-29 Utilex, Inc. Telephonic information communication method and apparatus
US5434911A (en) * 1993-06-04 1995-07-18 M & Fc Holding Company, Inc. Call in-bound remote reading and data collection system
US5451937A (en) * 1993-08-16 1995-09-19 Badger Meter, Inc. Universal generator interface module

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4803632A (en) * 1986-05-09 1989-02-07 Utility Systems Corporation Intelligent utility meter system
US5325051A (en) * 1989-09-25 1994-06-28 General Electric Company Electronic watthour meter
US5391983A (en) * 1991-10-08 1995-02-21 K C Corp. Solid state electric power usage meter and method for determining power usage

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG81260A1 (en) * 1998-02-23 2001-06-19 David A Saar Water management system
WO2000003209A2 (en) * 1998-07-13 2000-01-20 Houri, Rachid Method and device for displaying various parameters concerning water consumption in a supply conduit
WO2000003209A3 (en) * 1998-07-13 2001-09-13 Houri Rachid Method and device for displaying various parameters concerning water consumption in a supply conduit
EP2437071A1 (en) * 2010-09-29 2012-04-04 General Electric Company Systems, methods, and apparatus for components in ami energy meters
US8331082B2 (en) 2010-09-29 2012-12-11 General Electric Company Systems, methods, and apparatus for components in AMI energy meters
CN111664909A (en) * 2020-06-15 2020-09-15 叶振磊 Card-swiping type water meter box
CN111664909B (en) * 2020-06-15 2021-12-17 山东容创精密仪器有限公司 Card-swiping type water meter box

Also Published As

Publication number Publication date
US5994892A (en) 1999-11-30
AU3816897A (en) 1998-02-20

Similar Documents

Publication Publication Date Title
US5994892A (en) Integrated circuit design automatic utility meter: apparatus & method
AU681384B2 (en) Remote automatic meter reading apparatus
US7688060B2 (en) Electronic revenue meter with automatic service sensing
US6906507B2 (en) Electronic revenue meter with automatic service sensing
US6844825B2 (en) Electric energy service apparatus with tamper detection
US4218737A (en) Revenue metering system for power companies
US5469049A (en) System checking and troubleshooting package for an electronic metering device
GB2183852A (en) Utility meter
GB2379993A (en) Electrical energy consumption and generation metering arrangement
GB2305333A (en) Remote electric power reader apparatus
CA2201104C (en) Electronic metering device including automatic service sensing
EP1012608B1 (en) Electronic revenue meter with automatic service sensing
Fischer et al. Information management for an automated meter reading system
EP0862746B1 (en) Electronic metering device including automatic service sensing
EP0448910A1 (en) Metering management system responsive to supplied wave form and including a secure metering apparatus
OLADOSU et al. ANALYTICAL MODELLING OF SINGLE PHASE SMART METER WITH REAL-TIME TAMPERING ALERT
Al-Qatari et al. Microcontroller-based automated billing system
JPH06235742A (en) Electric meter for micro-computer intelligent sensor
CA2567955A1 (en) Apparatus and methods for multi-channel metering
Al-Qatari Automated billing system for public utilities
CA2527068A1 (en) Apparatus and methods for multi-channel metering
Devi Brightness and Resolution Enhancement of Satellite Images Using SVD and DWT

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AM AT AU BB BG BR BY CA CH CN CZ DE DK EE ES FI GB GE HU IS JP KE KG KP KR KZ LK LR LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK TJ TM TT UA UG US UZ VN

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH KE LS MW SD SZ UG ZW AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

NENP Non-entry into the national phase

Ref country code: JP

Ref document number: 1998509064

Format of ref document f/p: F

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: CA