CA2256805C - Telecommunications off-hook and intrusion detection method and apparatus - Google Patents

Telecommunications off-hook and intrusion detection method and apparatus Download PDF

Info

Publication number
CA2256805C
CA2256805C CA002256805A CA2256805A CA2256805C CA 2256805 C CA2256805 C CA 2256805C CA 002256805 A CA002256805 A CA 002256805A CA 2256805 A CA2256805 A CA 2256805A CA 2256805 C CA2256805 C CA 2256805C
Authority
CA
Canada
Prior art keywords
voltage
value
telephone line
frequency
tip
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CA002256805A
Other languages
French (fr)
Other versions
CA2256805A1 (en
Inventor
Rodney C. Hemminger
Albert H. Maxwell, Jr.
Michael A. Murphy
Thomas J. Van Heuklon
Richard L. Tenor
Todd P. Kelsey
Fred F. Schleifer
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Elster Solutions LLC
Original Assignee
Elster Electricity LLC
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 Elster Electricity LLC filed Critical Elster Electricity LLC
Publication of CA2256805A1 publication Critical patent/CA2256805A1/en
Application granted granted Critical
Publication of CA2256805C publication Critical patent/CA2256805C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/68Circuit arrangements for preventing eavesdropping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/738Interface circuits for coupling substations to external telephone lines
    • H04M1/7385Programmable or microprocessor-controlled
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/82Line monitoring circuits for call progress or status discrimination

Abstract

A method and apparatus to detect off-hook and intrusion conditions on a telephone line. A voltage to frequency converter is used to convert the voltage measured between the TIP and RING terminals of a telephone line to a frequency.
The voltage is continuously monitored, once during each sample period. The measured frequency is compared to predetermined threshold values to determine the state of the telephone line. The predetermined threshold values are updated in each sample period.

Description

,. . , . . , IC
TELECOMMU1~TICATIONS OFF-HOOK AND INTRUSION DETECTION
METHOD AND APPARATUS
FIELD OF THE INVENTION
The present invention relates in general to the field of utility s meters. More particularly, the present invention relates to automatic equipment and systems used for remote reading of utility meters, such as electric, gas, or water meters, via telephone lines. Even more particularly, the present invention relates to a method and apparatus for detecting off hook and intrusion conditions on a telephone line.
1 o BACKGROUND OF THE INVENTION
Utility companies use utility usage meters to determine the utility consumption at a customer site. A periodic reading of the utility meter is necessary to determine the usage and to bill the customer for the amount used.
The need to send utility company employees to customer sites to read the meters 15 is costly, time consuming, and subject to considerable error. Thus, automated means of recording and reporting the utility usage at customer sites is rapidly replacing the manually read utility meters.
Many companies provide automatic meter reading equipment which is capable of reading meters on customer premises and transmitting the meter 2 o readings automatically to a central office of the utility company. Typical systems use both telephone and radio schemes for transmitting the meter readings to the central office.
In the past, there has been on-site meter reading equipment having modem capability which was capable of receiving telephone calls from a central s office through the use of special equipment located at the telephone company, and there have also been on-site meters with modems which were capable of transmitting ~teleprxurx~: calls to the central office: In general, :these systems incorporate an auto-dial, auto-answer modem in each customer site to receive interrogation signals from the telephone line and to formulate and transmit meter Z o readings via the telephone line to the utility company. Prior art systems record information on utility usage and periodically dial into a central office to report the utility usage for recording and billing purposes. These systems are used for reporting electric, gas, and water usage, and the like.
Some prior art systems connect to a customer's existing telephone 15 line to communicate with the central office by sending information over the telephone lines. The modem shares the telephone line with the customer's normal usage, such as incoming and outgoing voice communications. Such sharing requires that the system be able to recognize when the telephone line is in use, and to delay demanding use of the telephone line until it is free.
Steps 2 o must be taken to prevent the data communications system from interfering with other uses and to prevent other uses from corrupting the transmitted data.
The prior art systems have several fundamental shortcomings. For example, when the modem of the utility meter is communicating online with the central office, the customer cannot use the telephone line for dialing out.
This is 2 s a serious shortcoming if the need arises to dial an emergency number such as 911. Moreover, prior art systems that detect customer's usage of a telephone line have active circuitry near the telephone terminals (the TIP and RING
terminals) to measure the voltage on a telephone line. This active circuitry requires isolated power. This results in complex and costly systems.
3 o It should also be noted that many prior art systems use dedicated ___ lines and do not share a telephone line with the customer's normal usage.
These systems are complex and costly.
Although the art of meter reading via modems and telephone lines is well developed, there remain some problems inherent in this technology, s particularly with respect to detecting consumer usage of the telephone line.
Therefore, a need exists for a low cost, less complex method and apparatus to detect customer usage of the telephone, such as off hook and intrusion conditions, so that the customer's use of the telephone is not affected.
.r. .i:t ~. . f' ._ . ' ' ..' ~m SUMMARY OF THE INVENTION
1 o The present invention is directed to an apparatus for determining the state of a telephone line, comprising: voltage to frequency measurement means for measuring a voltage between a TIP terminal and a RING terminal on the telephone line and converting the voltage to a frequency; and comparator means for comparing the frequency with a first value to determine the state of 15 the telephone line.
In the present invention, the voltage to frequency measurement means comprises a voltage to frequency converter and the comparator means comprises a microcontroller, the microcontroller coupled to the voltage to frequency converter to receive the frequency from the voltage to frequency 2 o converter. The voltage to frequency converter comprises a RC relaxation oscillator having a tuning element and an active element. The tuning element is a diode and the active element is a comparator.
Furthermore, in accordance with an aspect of the present invention, a TIP/RING filter coupled between the TIP and RING terminals and the voltage 2 s to frequency measurement means; and a voltage isolator coupled between the tuning element and the active element. The voltage isolator comprises two coupling capacitors connected in series with the tuning element.
Another aspect of the present invention is directed to means for connecting a modem to the telephone line when the frequency is not less than the .. .T ~ v first value. Means for disconnecting the modem from the telephone line when the frequency becomes less than a second value are also provided.
In the present invention, means for preventing a telecommunications device from connecting on the telephone line when the s frequency is less than the first value are also provided.
In the present invention, the first value is determined responsive to the voltage between the TIP terminal and the RI1VG terminal.
In a further embodiment within the scope of the present invention, an apparatus is provided for determining an intrusion state of a telephone line to having a telecommunications device connected thereon, comprising: voltage to frequency measurement means for measuring a voltage between a TIP terminal and a RING terminal on the telephone line and converting the voltage to a frequency; and comparator means for comparing the frequency with a threshold value to determine the intrusion state of the telephone line. Means for 15 disconnecting the telecommunications device from the telephone line when the frequency is less than the threshold value are also provided.
In a further embodiment within the scope of the present invention, an apparatus is provided for determining the state of a telephone line, comprising: measurement means comprising a tuning diode for measuring a 2 o voltage between a TIP terminal and a RING terminal on the telephone line;
and comparator means for comparing a value responsive to the voltage with a first value to determine the state of the telephone line.
In a further embodiment within the scope of the present invention, an apparatus is provided for determining the state of a telephone line, 2 s comprising: measurement means comprising capacitive isolation for measuring a voltage between a TIP terminal and a RING terminal on the telephone line; and comparator means for comparing a value responsive to the voltage with a first value to determine the state of the telephone line.
Another embodiment within the scope of this invention includes an 3 o apparatus for detecting an off hook condition and an intrusion condition on a telephone line, comprising: a voltage to frequency converter for measuring a voltage on the telephone line and converting the voltage to a frequency; and a microcontroller coupled to the voltage to frequency converter for receiving the frequency and determining whether at least one of an off hook and intrusion s condition exists on the telephone line responsive to the frequency. The voltage is a TIP to RING voltage.
°In :ac.c;ordance with one aspect of the present invention, a common mode filter is coupled between the telephone line and the voltage to frequency converter, and a :voltage isolator coupled between the tuning diode and the 1 o comparator.
In accordance with another aspect of the present invention, means are provided to connect a modem to the telephone line when no off hook condition is detected. Means are also provided to disconnect the modem from the telephone line when an intrusion condition is detected.
1 s In the present invention, the voltage to frequency converter measures the voltage at a predetermined sampling rate. According to one aspect of the present invention, the predetermined sampling rate is one measurement every 1 / 16 seconds .
In the present invention, the off hook condition is detected when 2 o the frequency drops below a first threshold and the intrusion condition is detected when the frequency drops below a second threshold.
In accordance with one aspect of the present invention, memory is provided to store frequency and voltage data used by the microcontroller in the detection of the off hook and the intrusion conditions.
2 5 In a further embodiment within the scope of the present invention, an apparatus is provided for determining the state of a telephone line having an isolation barrier separating the telephone line into a side near a TIP
terminal and a RING terminal, and a side away from the TIP terminal and the RING
terminal, comprising: measurement means for measuring a voltage between the 3 o TIP terminal and the RING terminal on the telephone line, the measurement means being free of a power supply on the side near the TIP terminal and the RING terminal; and comparator means for comparing a value responsive to the voltage with a first value to determine the state of the telephone line.
Another embodiment within the scope of this invention includes an apparatus for determining the state of a signal-carrying line having an isolation barrier separating the signal-carrying line into a side near a first and a second terminal, and a side av: ay from the first and second terminals, comprising:
measurement means for measuring a voltage between the first and second terminals, the measurement. means being free of a power supply on the side near l o the first and second terminals; and comparator means for comparing a value responsive to the voltage with a first value to determine the state of the signal-carrying line.
Another embodiment within the scope of this invention includes a method for detecting the state of a telephone line, comprising the steps of:
measuring a voltage between a TIP terminal and a RING terminal on the telephone line; and comparing a value responsive to the voltage with a first value to determine the state of According to one aspect of the present invention, the value is a frequency and the method further comprises the step of converting the voltage to the frequency using a voltage to frequency converter.
2 o According to another aspect of the present invention, the method further comprises connecting a modem to the telephone line when the frequency is not less than the first value; and disconnecting the modem from the telephone line when the frequency becomes less than a second value.
The voltage is measured at a predetermined sampling rate.
2 5 According to one aspect of the present invention, the predetermined sampling rate is one measurement every 1 / 16 seconds.
According to other aspects of the present invention, the method further comprises the step of setting the first value responsive to the voltage between the TIP terminal and the RING terminal.
3 o Another embodiment within the scope of this invention includes a 7 _ method for detecting the state of a telephone line, comprising the steps of:
measuring a voltage between a TIP terminal and a RING terminal on the telephone line; comparing a value responsive to the voltage with one of a first threshold value and a second threshold value to determine the state of the s telephone line; connecting a telecommunications device to the telephone line when the value is not less than the first threshold value; disconnecting the telecommunications device from the telephony line when the value becomes less than the second threshold value; and determining the first threshold value and the second threshold value based on the staterof the telephone .line and the voltage 1 o between the TIP terminal and the RING terminal.
According to one embodiment of the present invention, the method further comprises the steps of measuring a voltage between a TIP terminal and a RING terminal on the telephone line and converting the voltage to a frequency;
and comparing the frequency with a threshold value to determine the intrusion 1 s state of the telephone line.
Another embodiment within the scope of this invention includes a method for determining an intrusion state of a telephone line having a telecommunications device connected thereon, comprising the steps of:
measuring a voltage between a TIP terminal and a RING terminal on the 2 o telephone line and converting the voltage to a frequency; and comparing the frequency with a threshold value to determine the intrusion state of the telephone line.
The foregoing and other aspects of the present invention will become apparent from the following detailed description of the invention when 2 s considered in conjunction with the accompanying drawing.
BRIEF DESCRIPTION OF THE DRAWING
Fig. 1 is a block diagram of an automatic metering system incorporating a meter and modem in accordance with the present invention;
Fig. 2 is a block diagram of an exemplary modem including an _ g _ off hook/intrusion detector in accordance with the present invention;
Fig. 3 is a block diagram of the isolated voltage to frequency converter of Fig. 2;
Fig. 4 is a circuit diagram of an exemplary off hook/intrusion detector in accordance with the present invention;
Fig. 5 is a diagram showing the output frequency as a function of the TIP to RING voltage of the off hook and intrusion detector of Fig. 4;
Fig. 6 is a circuit diagram of another exemplary off hook/intrusion detector in accordance with the present invention; . .
to Fig. 7 is a diagram showing the output frequency as a function of the TIP to RING voltage of the off hook and intrusion detector of Fig. 6; and Figs. 8A - 8C are flowcharts showing an exemplary process of detecting off hook and intrusion conditions in accordance with the present invention.
DESCRIPTION OF EXEMPLARY EMBODIMENTS AND BEST MODE
The present invention is directed to a system for providing utility usage information to a central office using a modem coupled to a utility meter at a customer's residence or business site. The system shares usage of the 2 o telephone line with the customer, and detects off hook and intrusion conditions so as not to interfere with the customer's use of the telephone line.
In accordance with the present invention, to detect off hook and intrusion conditions, a voltage to frequency converter that incorporates a high voltage isolation barrier is monitored to non-intrusively determine the state of a telephone local loop. The present invention adapts to the changing conditions in the telephone local loop and compensates for any non-linearities in the voltage to frequency conversion of the voltage to frequency converter (hereinafter also referred to as a voltage controlled oscillator or VCO). A microcontroller determines if another phone is using the line prior to attempting to place a 3 o modem call. In addition, once a modem call is in progress, the present _ g _ invention determines if another line is intruding, i.e., another line has gone off hook. The present invention adaptively or dynamically compensates for changes in the local loop to avoid false triggering.
Fig. 1 shows a block diagram of an automatic metering system s incorporating a meter unit in accordance with the present invention. A
utility company 10 has a computer 15 coupled to a modem 20 in a central office. The modem 20 is coupled to a modem 35 located at a utility. customer's site 30, which may be, for example, a business, residential or manufacturing establishment, via a' telephone line 25. The modern 35 is coupled to a utility 1 o meter 40 which measures the consumption of a utility by utility-consuming equipment (not shown). The modem can be located internal or external to the meter. Data relating to the consumption of the utility is stored in a memory, such as an EEPROM (electrically erasable programmable read-only memory) (not shown) or a random access memory (R.AM) which can have a battery back-Zs up, residing within the meter 40. The data is communicated between the memory and the central office of the utility company 10 on the telephone line using the modems 20 and 35. A customer's telephone 45 (or other telephone device or data equipment such as a fax or other modem) is also attached to the telephone line 25.
2 o The meter can be any conventional utility measuring meter. The modem is a conventional modem except that it includes an off hook and intrusion detector in accordance with the present invention. An off hook and intrusion detector in accordance with the present invention is preferably coupled to the modem 35 at the customer's site 30. Modem support can be provided on the 2 s circuit board of the meter. A modem board is used as a telecommunications interface to report data and alarms. -The meter 40 can be programmed to call back to a specified phone number for a billing read and to a second number when an alarm condition occurs.
In accordance with the present invention, communication of utility 3 o consumption data can be transmitted from the customer's meter 40 and modem 35 to the utility's central office using any of the conventional techniques.
These conventional techniques include ( 1 ) having an operator or. a computer in the utility's central office initially dial the customer's telephone number, i.e., the telephone number to which the meter modem is connected, to make contact with s the meter modem, and (2) having the meter modem dial into the central office at a predetermined time.
An exemplary block diagram of the modem 35 of Fig. 1 in accordance with the present invention is shown in Fig. 2. The modem comprises a rnicrocontroller ~0, a.modem integrated circuit (IC) 52, and a po'ver 1 o supply 55 . The power supply 55 can be a conventional modem power supply comprising, for example, a linear pre-regulator 57 and/or a switching regulator 58, both of with which those skilled in the art are completely familiar, or a modem power supply such as that found in the PowerPlus Alpha~ Meter Modem manufactured by ABB Power T&D Company Inc., Raleigh, North Carolina.
15 Associated switches and discrete devices are not shown but are also within the knowledge of those skilled in the art. The power supply 55 is coupled to the meter power supply 94 from which it receives its power. A battery or battery pack 56 is also coupled to the modem power supply 55 to provide power to the modem in the event of a meter power outage.
2 o The modem is typically supplied from an unregulated 12 V output from the meter. In some meters, the 12 V output is provided from a switching regulator, while in other meters, the output is the rectified output of a linear step-down transformer. When line power to the meter is lost, the modem can switch over to backup power from the battery pack 56 for the purpose of making 2 s a phone call to notify the utility company of the power outage. The battery pack 56 can be located within the meter housing. The battery pack 56 preferably consists of series connected lithium thionyl chloride cells.
The modem microcontroller 50 monitors the battery voltage and warns of battery failure. The utility company can be notified about battery status 3 o with data sent back via the telephone Line. The modem microcontroller 50 controls the direction of serial data between itself, the modem IC 52, and the main meter microcontroller 90. Under normal operating conditions (with the meter 40 powered), the modem microcontroller 50 operates to connect the modem IC 52 to the meter microcontroller 90. In this state, the modem s microcontroller 50 monitors the communication between the meter microcontroller 90 and the modem IC 52. When the modem microcontroller 50 detects a power failure, it disconnects the ~ileter 40 from the modem IC 52 and instead connects the modem microcontroller 50 to the modem IC 52. A
preferred microco~ troller 50 is a PIC 17C73 microcontroller manufactured by to Microchip.
As is understood by those skilled in the art, the modem microcontroller 50 has direct control of an off hook relay (element 204 in Fig.
4). This enables the microcontroller 50 to quickly release the telephone line in the event of an intrusion.
15 A memory 64, preferably non-volatile, is coupled to the modem microcontroller 50, and stores voltage and frequency threshold data used in the determination of off hook and intrusion conditions, as well as other types of data. The meter microcontroller 90 transmits/receives data to/from the modem IC 52.
2 o The exemplary modem further comprises a data access arrangement (DAA) 92 which is a conventional analog front end portion of a modem and is understood by those skilled in the art. The DAA 92 is connected to the TIP and RING terminals of the telephone line.
The off hook and intrusion detector is shown in Fig. 2 as an 2 s isolated voltage to frequency converter 70. The voltage to frequency converter is connected to the TIP and RING terminals of the telephone line and converts the voltage across the terminals to a frequency which is then compared with certain thresholds or differences to determine the status of the telephone line.
As is understood by those skilled in the art, off hook is the state of 3 o a telephone or data communications device during a call and while initiating a call; i.e., when the telephone or data communications device connects to a telephone line. Intrusion is defined as a second parallel connected telecommunications device going off hook while a first device is already off hook. Off hook status and intrusion detection are accomplished in the s present invention by monitoring the voltage between the TIP and RING
terminals on the telephone line.
The present invention is used to determine whether the telephone line is available, i. e. , on-hook, for use by the modem to communicate the utility consumption data and ~.lso to determine whethei the customer has picked up a 1 o telephone or other telecommunications device while the meter modem is using the telephone line to transmit the data to the central office. If an off hook state is detected, the meter will not attempt to use the telephone line. If an off hook state is not detected, the meter will use the telephone line, and the intrusion detector of the present invention will continue to monitor the telephone line for z s another telecommunications device to go off hook (i. e. , an intrusion) .
As soon as an intrusion is detected, the detector of the present invention releases the telephone line, so that the customer can use the telephone line.
When no devices on the line are off hook, the voltage across the TIP and RING terminals is equal to the central office battery voltage, which in 2 o nominal conditions varies from about 42 V to about 56 V. Although these are nominal values, the actual values which may be encountered can be much greater or less than the nominal values due to factors such as telephone line loop resistance. While the present invention was designed to operate on voltages significantly greater than or Iess than the nominal values set forth above, the 2 s following explanation will assume that the nominal values are present.
.~ When the~ineter modem, or any other parallel connected telecommunications device such as the customer's telephone, is off hook, the voltage between TIP and RING becomes significantly lower because of the voltage or IR drop of the telephone line. When off hook, a telecommunications 3 o device typically draws at least 20 mA. Because the telephone line loop resistance typically varies from about 400 S2 to 1700 S2, the TIP to RING
voltage decreases by at least 8.0 V (although this value can vary greatly) when a device goes off hook (assuming no other parallel connected devices are already off hook). Although it is not possible under all combinations of central office s battery voltage and loop resistance to determine with absolute certainty the off hook status of other devices using a fixed voltage threshold, it is possible to determine off hook status by dynamically adjusting the threshold in accordance with the present invention.
If one device is off hook and then another de°rice goes off hook to (e.g., the meter modem is in use, and then the customer picks up the telephone), an intrusion occurs, and the nominal value between the TIP and RING terminal further drops. Intrusion detection can be accomplished by monitoring changes (differences) in the voltage of the telephone line during a modem call. If, for example, the modem is in the middle of a call, it will provide about a 380 S2 15 load between the TIP and RING terminals. Assuming the nominal 48 V central office voltage and 1100 S2 loop resistance, the loop current will be about 30 mA
and the voltage between TIP and RING at the modem will be about 11.6 V . If a second parallel connected device also goes off hook, the loop current increases to about 39 mA, assuming the load of the second device is 180 S2. The voltage 2 o between TIP and RING is then decreased to about 4.8 V, as compared to the 11.6 V before the intrusion occurred. Even under worst case conditions, with a 1700 S2 loop resistance and 42 V central office battery voltage, the loop current will be about 20 mA when only the modem is off hook. The TIP to RING
voltage would then be about 7.7 V . If a second device goes off hook, the loop 2 s current will increase to about 23 mA, so the TIP to RING voltage will decrease to about 2.8 V . Therefore, by monitoring the TIP to RING voltage during a call, the modem can detect an intrusion based on the voltage levels or changes (or frequency changes corresponding to the voltage changes) and release the line for use by the parallel connected device.
3 o Fig. 3 shows a block diagram of the isolated voltage to frequency converter 70 of Fig. 2. A filter 72, preferably a common mode filter, is disposed at the front end of the converter 70 and is connected to the TIP and RING terminals. Voltage scaling 74 is coupled to the filter 72 to receive the voltage and is provided to scale the voltage to a desired level, and typically s consists of a series of resistors. The scaled voltage is provided to an RC
relaxation oscillator 76, which comprises a tuning diode and high voltage capacitive isolation section 78 and a comparator and filter section 79. The tuning diode changes the changing voltage into changing capacitance. The output of the oscillator 76 is provided to:.the 'modem microcontroller 50 where it 1 o is analyzed to determine the status of the telephone line. The modem microcontroller 50 measures the changing frequency as a function of the TIP to RING voltage on the telephone line.
Fig. 4 shows the schematic for a preferred embodiment of an exemplary modem off hook/intrusion detector in accordance with the present 1 s invention along with a conventional DAA. The DAA 103 will be understood by those skilled in the art. The off hook and intrusion detection circuit (comprising a voltage to frequency converter 107) is preferably low cost, low power, small size, and provides high voltage isolation. The detector circuit is desirably isolated from the telephone line by 1500 V or more to meet FCC part 68 2 o requirements. Moreover, the detector preferably provides 3750 VAC / 5300 VDC isolation. Low power is desirable to maximize battery life, and to meet FCC requirements for minimum load on the telephone line, and small size is desirable because of the very limited space within a meter enclosure.
The telephone line TIP to RING voltage is monitored using a 2 s voltage to frequency converter 107. The voltage to frequency converter 107 comprises elements 111, 112, 114, 120-123, 127, 128, 191, 192, 257, 259, 260, 262, 264, and 266. The TIP to RING voltage passes through a common mode filter 228 and is then provided to the voltage to frequency converter 107. The output of the voltage to frequency converter 107 is provided to a timer /
counter 3 o input 105 of a modem microcontroller 102. The microcontroller 102 determines the TIP to RING voltage by measuring the frequency output by the voltage to frequency converter 107. Off hook status and intrusion detection is then determined responsive to changes in frequency and how the frequency values compare to predetermined thresholds.
s As is described below in further detail, the frequency that is output from the voltage to frequency converter is monitored by the modem microcontroller 102. When an on-hoolc~ condition is detected, the modem microcontroller attaches a hook relay and places the modem call to the central office. When an intrusion condition ,is=detected, the.modem microcontrollPr 1 o releases the hook relay so that the customer can use the telephone line.
A common mode TIP/RING filter 228, which in the preferred embodiment is manufactured by Coilcraft and has an inductance of approximately 35 mH, provides a typical attenuation of about 15 to 20 dB from about 3 MHZ to 500 MHZ. The TIP/RING filter 228 is used to minimize 15 radiated emissions.
Voltage to frequency conversion is performed using a voltage controlled RC relaxation oscillator 108. The oscillator 108 is a part of the voltage to frequency converter 107 and comprises elements 112, 114, 120-123, 127, 128, 191, 192, 257, and 259. The tuning element of the oscillator 108 is a 2 o very high capacitance ratio tuning diode (diode 257 or diode 259), such as a Motorola MVAM125. The tuning diode 257 (259) is biased by a fraction of the TIP to RING voltage. As the voltage between TIP and RING changes, the bias voltage to the tuning diode 257 (259) also changes. This, in turn, changes the capacitance of the tuning diode 257 (259) which changes the frequency of the 2 s oscillator. The output frequency is roughly proportional to the TIP to RING
voltage. In this way, changes in TIP to RING voltage can be observed by monitoring changes in the output frequency of the oscillator. In other words, the apparatus determines the frequency change in the oscillator output, and then, based on the frequency change, determines the change in TIP to RING voltage, 3 o which determines whether an off hook or intrusion condition has occurred.

High voltage isolation is provided between the tuning element 257 (259) and the active portion of the oscillator through two high voltage coupling capacitors 191 and 192. The coupling capacitors 191 and 192 are each preferably rated at at least about 1500 V, and more preferably rated between s about 1500V and 20,OOOV and most preferably rated at about 5000 V. The isolation achievable is limited only by the voltage rating of the coupling capacitors 191 anti 192. The coupling capacitors 191 and 192 are connected in series with the tuning element 2~7 (259) and have sufficiently high capacitance so that their contribution to the equivalent series capacitance is small compared 1 o to that of the tuning element 257 (259) when its capacitance is maximum.
Thus, in other words, the voltage to frequency converter uses two coupling capacitors 191 and 192 in series with the tuning element to bridge a high voltage isolation barrier. The present invention, therefore, allows a DC voltage to be measured across an isolation barrier without any need to generate an isolated supply Zs voltage at the point of measurement. Thus, additional power is not needed to measure the voltage on a telephone line.
The active portion of the oscillator uses a very low power rail-to-rail output comparator 114. In the embodiment shown in Fig. 4, the comparator 114 preferably is a MAX987EUK-T manufactured by Maxim and 2 o requires only about 96 ~,A maximum. Actual current used by the entire circuit shown in Fig. 4 is approximately 35 mA when active.
The modem off hook and intrusion detection circuit of the present invention operates with TIP to RING voltages of either polarity. If TIP is positive with respect to RING, then diode 257 is forward biased while diode 2 s is reverse biased. In this case, diode 257 and resistor 260 can be thought of as a voltage source, e.g., a -0.7 V voltage source in this example. Because diode 259 will be reverse biased, its capacitance depends on the reverse bias voltage;
diode 259 is the tuning element in this case. If, on the other hand, TIP is negative with respect to RING, diode 259 is forward biased and diode 257 is 3 o reverse biased. In this case, diode 257 will be the tuning element for the voltage to frequency converter. Resistors 262, 264, and either resistors 266 or 260 (depending on TIP to RING polarity) form a voltage divider. The voltage divider places approximately one-third c~f the TIP to RING voltage across the tuning diode (diode 257 or diode 259).
With 0 V bias, the capacitance of diode 257 (or diode 259) is nominally about 500 pF. At 20 V reverse bias, this capacitance drops to about 30 pF.
A mathematical approximation of the tuning diode capacitance, Cd, is given by the equation ( 1 ) v C d ~ V d ~ _ °xp ~- ~0322 ~ d ~ 6Z94 ~ ~ pF + 29 ~ pF ( 1 volt Either diode 257 or 259 provides the primary capacitance for an RC relaxation oscillator built around the comparator 114. Also contributing to this capacitance are the series coupling capacitors 191 and 192. As described above, capacitors 191 and 192 provide isolation between the modem and the telephone line. These 1 s capacitors have as high capacitance as possible to minimize their contribution to the equivalent series capacitance, Cue, which is given by equation (2):

C eq V tiP ring _ 1 1 / 1 2 0 ~ C ~si t C (9S. 1C d ~V tip rind As described above, the relaxation oscillator is built around a very low power rail-to-rail output comparator 114. This comparator has a very small size (SOT23-5) and very low power and requires a maximum supply current of 2 s about 96 ~cA. When the comparator output is high, the equivalent series capacitance is charged toward VCC (+5 ~ until the voltage at the inverting input of the comparator 114 exceeds the voltage at the non-inverting input. At that time the comparator output goes low, and the equivalent capacitance discharges through resistor 123. Resistor 112 creates hysteresis in the trip threshold set by resistors 121 and 122. The high and low thresholds are given by equations (3) and (~-0.): - -Vcc'R y3.a Vth_high=R I
_I _i (Rf3n Rte, -.._ ?' ~- . . ,;~, .. - .v. .. .I
I _ I
V ~ ~R!~~ Rly th_low I
I~i-Rl~l Rlla R~lat Thus, the equivalent series capacitance will alternately charge and discharge exponentially between Vth high and Vth low. These thresholds are nominally about 4.2 V and 0.8 volt, respectively.
It can be shown that the theoretical frequency of oscillation is given 1 o by equation (5): .
a .. 1 ~V tip rin _ I,~( R lid- ~ I I I\
2~~~Rii '-R ~~ I - I ~C W~~vaP_~~~ t4~tP~P
a taa~ (5) RIa3 ZLw where tp~ is the propagation delay of the comparator 114, and ZL is the impedance of the inductor 120 and the frequency of interest. Inductor 120 is used in parallel with the charge / discharge resistor 123 to shunt common mode 60 Hz currents to prevent them from interfering with oscillator operation. The 2 0 low impedance path for 60 Hz currents provided by inductor 120 allows voltage to frequency converter operation in the presence of up to 500 VAC common mode across the isolation boundary.
As can be seen from equation (5), the frequency of oscillation is inversely proportional to the equivalent series capacitance, Ceq, which in turn, is a function of TIP to RING voltage. The frequency is directly proportional to the magnitude of the voltage.
The modem DAA 103 can be any conventional DAA. A
s polyswitch PTC 225 is provided to limit short circuit currents in the event of a failed component. The polyswitch PTC 225 is preferably a TR1600-150 manufactured by Raychem. Resistors 220 and 22? limit the DC current through the transformer 202 in the off hook state. Transformer 202 is preferably an AC
transformer having a primary resistance of about 70 5~., as described below.
1 o Resistors 220 and 222, each preferably about 150 S~, in combination with the primary resistance of the transformer 202, as well as the resistance of PTC
225, result in a total loop resistance of about 380 S~, plus wiring resistance, and central office source resistance. Even with a worst case central office battery voltage of 42 V, over 20 mA of loop current. will flow when the modem is off 1 s hook.
Transformer 202 is preferably an MIT-600 modem coupling transformer manufactured by CP Clare. Transformer 202 has an average primary inductance of about 115 mH, and an average primary resistance of about 70 Sl. Secondary inductance is about 102 mH, while secondary resistance 2 o is about 70 S2. The nominal turns ratio for transformer 202 is 1:1.
The telephone ring signal is coupled across the modem's isolation boundary by an optocoupler in the telecom switch 204. The telecom switch 204 is preferably a TS 117S manufactured by CP Clare and is intended for full-wave rectification of the ring signal. Because the modem IC 101, preferably a 2 s Rockwell RC224ATLE, expects a half wave rectified ring signal, diode 240 is placed in parallel with the optocoupler diodes of telecom switch 204. Diode will forward bias at a lower voltage than the optocoupler diode, thereby preventing the optocoupler diode from turning on during alternating half cycles.
Capacitor 244 blocks the telephone line DC voltage, while resistor 246 limits the 3 o current through the optocoupler diodes during the ring signal.

Diodes 127 and 128 provide protection for the comparator against common mode transients, and a schmitt trigger inverter 111 squares up the oscillator output to ensure that the microcontroller does not count multiple transitions as the oscillator output slowly transitions through the microcontroller input threshold. The inverter 111 is preferably an MC74HC 14A manufactured by Motorola. -- When a telephone or o~.her telecommunications device is .off hook, the telecom switch 204 provides a current path between TIP and RING, thereby closing the loop for current to flow -in tha telephone lines, as will be understood 1 o by those skilled in the art.
Fig. 5 shows a graph of output frequency versus TIP to RING
voltage. Fig. 5 illustrates that output frequency is dependent on the absolute value of TIP to RING voltage. The output frequency varies from about 570 kHz to 1.3 MHZ as the TIP to RING voltage increases from about 0 V to about 60 V.
A second embodiment of a voltage to frequency converter used to detect off hook and intrusion conditions in accordance with the present invention is shown in Fig. 6. Fig. 6 shows a schematic for the voltage to frequency converter used for off hook and intrusion detection. As in Fig. 4, not shown are 2 o the standard components of a modem, including telephone jack, modem coupling transformer and transient voltage protection components.
In the embodiment of Fig. 6, a high capacitance ratio tuning diode 430 is used in a low frequency (as compared with RC relaxation oscillator 108 as described with respect to Fig. 4) RC relaxation oscillator 408 to form the 2 5 exemplary voltage to frequency converter. The oscillator 408 comprises elements 410-414, 421, 422, 427, and 428. The voltage to frequency converter uses two coupling capacitors 420, 421 in series with the tuning element to bridge a high voltage isolation barrier. The present invention, therefore, allows a DC
voltage to be measured across an isolation barrier without a need to generate an 3 o isolated supply voltage at the point of measurement. Thus, additional power is not needed to measure the voltage on a telephone line.
Bridge rectifier 440 allows the modem to be connected with reversed polarity to the telephone hne; thus, TIP and RING are interchangeable.
The output voltage of the bridge rectifier 440 is the absolute value of the TIP to s RING voltage, less diode drops. Bridge rectifier 440 is chosen to have a sufficiently high breakdown voltage to withstand all transients, including.
the 100+ Vp-p ringing voltage- (superirrnposcd on the nominal 48 VDC), not clamped by the standard transient voltage protection (not shown). Bridge rectifier 440 is also chosen with small -enough .reverse leakage to ensure that the 1 o FCC part 68 on-hook impedance regulations (5 MSS at 200 V) are not violated.
Resistors 434, 436, and 438 form a voltage divider for scaling.
These resistors are preferably larger than 5 MS2 to ensure compliance with the FCC on-hook impedance requirements. A maximum central office voltage of 56 V will result in about 19 V across the tuning diode 430. Diode 430, preferably is a MVAM125 manufactured by Motorola is a silicon tuning diode with a very high capacitance ratio. With 0 V bias, the capacitance of diode 430 is nominally 500 pF. At 20 V reverse bias, this capacitance drops to about 30 pF.
A clamp diode 432 is used to protect the tuning diode 430 during ringing and other telephone line transient conditions. Diode 432 is preferably a 2 0 27 V zener diode.
The preferred tuning diode 430, the MVAM125, is rated to a maximum reverse voltage of 28 V, so one might think that greater tunability could be achieved by adjusting the voltage divider such that the maximum expected TIP to RING voltage (about 56 V) results in about 28 V across diode 2 s 430. This is not the case, however, because at high reverse bias voltages, in which the capacitance of diode 430 drops below about 50 pF, a large change in voltage results in small change in capacitance. In addition, the capacitance of the zener diode 432 becomes significant at high reverse bias voltages.
Approximations of the zener capacitance, CZ, and tuning diode 3 o capacitance, Cd, are given by equations (6) and (7):

CZ~VZ) =expl-.27926~tnlVZ~-3.Sf~pF
volt i ;
Vd C d 'V d > = exp ~- .20322 ~ - 6.294 ~ ~ pF - 29~ pF
volt /
. . y :y ,. .. . ,.-.._.. ..
i o The tuning diode 430 provides the primary capacitance for an RC
relaxation oscillator built around the comparator 414. Also contributing to this capacitance are the parallel zener diode 432 and the series coupling capacitors 421 and 422. Capacitors 421 and 422 are desirable to provide isolation between the modem and the telephone line. Capacitors 421 and 422 are preferably rated is for about 6000 VDC. The capacitors 421 and 422 preferably have as high a capacitance as possible to minimize their contribution to the equivalent series capacitance, Cue, which is given by equation (8):
c I
°q_ _i _t ( t 20 ~C4~1 C42~yCd''CZTCpartsitici! (8) The relaxation oscillator is built around a very low power rail-to-rail output comparator 414, preferably an LMC7211 manufactured by National. This comparator 414 is chosen both for its very small size (SOT23-5) and its very low power; it requires a maximum supply current of only about 18 2 s mA at room temperature. When the comparator output is high, the equivalent series capacitance is charged toward VCC (about +5 V) until the voltage at the inverting input of the comparator exceeds the voltage at the non-inverting input.
At that time, the comparator .output goes low, and the equivalent capacitance discharges through resistor 413. Resistor 410 creates hysteresis in the trip threshold set by resistors 411 and 412. The high and low thresholds are given by equations (9) and (10): -V~ high' V''o.R'~'a' R + -- 1---_ .. , iR~,a ~~~1 V = \R4lo R4 th_low ,,~ R 41v ( 10) ! 1 -Ry,o Rya Thus, the equivalent series capacitance alternately charges and discharges exponentially between Vth high and Vth low. These thresholds are nominally about 4.2 V and 0. 8 V .
It can be shown that the theoretical frequency of oscillation is given is by equation (11):
i ~'~~R 4~a - v i Ry~Z"~ 1 1 ' _ RH11 R4a) 1 ~Ryl3 ~9 V ~~
1 + 1 R4laZ 8410) - v (11) 1 1 +R4ii -+-Ry., R 419 As can be seen from equation (11), the frequency of oscillation is inversely proportional to the equivalent series capacitance, Cue, which in turn, is a function of TIP to RING voltage.
s After accounting for the drop of the bridge rectifier, and the propagation delay of the comparator 414, it can be shown that the output frequency as a function of TIP to RING voltage is given by equation ( 12) '-, ~ ~ _ : ,,r - - , ~ - '__ _ -~Vtip_ring~ - Ryo 2' _~R~rRy~ ~Rq~3Ceq~Vtip cing~ ~ 10 C eq ~V tip ring) - l 1 1 C 1 C 2 C d V tip_rui8~ + C Z~V tip ring j r C parasitic J
and wap ring - o.~ ~oltl- Ry . i Ry3y ~ R43G ~' R438 V°ffxt ~C d~V tip_rinS) -_ _ -20321 volt , ~ + 6.2 ~pF + 29pF
~ V tip rind - 0.7~ volt ~ ~ Rv ~ ~ ot~e CZ~Vtip rind j W -.2~~~ ~y3~ + ~y3G ~W38 .y.3.837933 ~pF
volt Cp~;t;~ depends on physical geometries, but will likely be about 5 pF. V onset will be about 1 V and accounts for the RMS voltage across the tuning diode 430 due to the oscillator.
Diodes 427 and 428 provide protection for the comparator 414 against common mode transients, while a schmitt trigger inverter 401, squares up the oscillator output to ensure that the modem microcontroller (not shown in Fig. F) does not count multiple transitions as the oscillator output slowly transitions through the microcontroller input threshold.
- . _. .. When a telephone or .other telecommunications device is off hook, 1 o the device provides a current path between TIP and RING, thereby closing the loop for current to flow in the telephone lines, as would be understood by those skilled in the art.
Fig. 7 shows a graph of output frequency versus TIP to RING
voltage. As Fig. 7 illustrates, the output frequency will vary from about 5 kHz 1 s to 22 kHz as the TIP to RING voltage increases from 0 V to about 60 V . A
linear approximation of the curve in Fig. 7 is given by equation (13):
fapproa~tip ring) = 5000 Hz + Vt;p =;"g x 280 x Hz/Volt (13) The state of telephone lines in parallel with a modem is determined by monitoring the voltage of the telephone line. Each off hook phone line closes 2 o a current loop associated with the phone line, thus, the voltage drops with each phone line that is off hook. The present invention converts the telephone voltage into a frequency across an isolation barrier (i.e., the voltage to frequency converter or VCO frequency). The microcontroller measures frequency to determine telephone line voltage. When there are no telephone lines off hook, 2 5 the voltage detected at the modem phone lines is close to the voltage of the central office. The first line taken off hook causes a significant drop in the voltage detected at the modem phone lines. All subsequent lines that are taken off hook cause much smaller drops in voltage.

Figs. 8A - 8C are flowcharts of an exemplary method of detecting telephone line status in accordance with an exemplary off hook and intrusion detector of the present invention. Fig. 8A shows a flowchart for an exemplary initialization process to determine the initial threshold in accordance with the s present invention. On powerup of the modem or the detector, at step 801, several variables are retrieved from a storage area, preferably a memory, and more preferably an EEPROM. These variables include the on-hook fl~aor ancl.
ceiling, ON-HOOK FLOOR and ON-HOOK CEILING, the off hook floor and ceiling, OFF-HOOK FLOOR and OFF=KOOK CEILING, the intrusion bounds, 1 o INTR BOUND, the intrusion threshold, INTR THRESH, the intrusion delay for a timer, INTR DELAY TIMER, and the average time constant, AVG-TC.
These values are preferably refreshed or updated periodically, preferably once every 60 seconds.
The on-hook floor, ON-HOOK FLOOR, represents the lowest 15 value of the voltage to frequency converter or the VCO frequency that would be expected if all phone devices in the local phone loop were in the on-hook state.
The value of ON-HOOK FLOOR is set to be the frequency that the VCO
produces when subjected to a telephone line voltage of about 24 VDC (this voltage is user programmable). The on-hook ceiling, ON-HOOK CEILING, 2 o represents the highest value of the VCO frequency that would be expected if all phone devices in the local phone loop were in the on-hook state. OFF-HOOK
FLOOR and OFF-HOOK CEILING represent the lowest and highest values, respectively, of the VCO frequency that would be expected if at least one phone device in the local phone loop were in the off hook state.
2 s After loading the variables, the checksum is checked for an error at step 805, and if there is a checksum error, default values are loaded into the variables at step 810.
After the first set of variables have been loaded and checked, the off hook average, OFF-HOOK AVG, is loaded at step 815, and is clamped 3 o between OFF-HOOK FLOOR and OFF-HOOK CEILING at step 820. In other words, OFF-HOOK AVG is checked to determine if it is in the range between OFF-HOOK FLOOR and OFF-HOOK CEILING. If OFF-HOOK AVG is in the range, it retains its value. If it is outside of the range, it is set equal to either OFF-HOOK FLOOR or OFF-HOOK CEILING depending on whether it exceeds s the lower range boundary (the floor) or the upper range boundary (the ceiling) .
OFF-HOOK AVG is the assumed off hook frequency during a sample period. A
sample period is preferably a fraction of.a second and more preferably between 1 /64 and 1/z second, and most preferably 1 / 16 second.
__ =~t step ~i2_5, tl~e.on-hook average ON-NOOK AVG is loaded, and z o at step 830, it is clamped between ON-HOOK FLOOR and ON-HOOK
CEILING. ON-HOOK AVG is the assumed on-hook frequency during a sample period. This frequency corresponds to the frequency during a sample period and corresponds to the frequency that the VCO produces when subjected to a telephone line voltage of about 48 VDC.
15 The OFF-HOOK AVG and ON-HOOK AVG values loaded in steps 815 and 825 are preferably the values that existed within a predetermined time period (e.g., one hour) of the most recent power failure. These are the "starter"
values when power is restored.
Similar to the variables loaded in step 801, initial values for OFF-2 o HOOK AVG and ON-HOOK AVG are stored in a memory, preferably a non-volatile memory, and preferably within the predetermined time period of the most recent power failure, but can be stored in any type of memory and at any time during an initialization process.
At step 835, the threshold is determined according to equation ( 14) 2s and the procedure ends. The initial threshold, which is the value of the frequency during a sample period that would indicate that a phone device in the local loop is off hook, is set to be that as shown by equation ( 14) THRESHOLD = (ON-HOOK AVG + OFF-HOOK AVG)/2 (14) After completion of the telephone line initialization, the microcontroller begins the continuous monitoring of the telephone line local loop and checks for variations on the voltage threshold limits. During monitoring, the device periodically samples the VCO frequency, as described above. The s device uses the sampled frequency to modify the values of the on-hook and off hook values (ON-HOOK AVG and OFF-HOOK AVG) over time. The device processes this data in one of two ways, depending upon the state (off hook or on-hook) of the telecommunications unit (e.g., the meter modem) under device control.
lo Figs. 8B and 8C are flowcharts detailing an exemplary method of detecting off hook and intrusion conditions in accordance with the present invention. At step 901, the system determines if the modem is off hook. If the modem is off hook, then processing continues with the determination of whether an intrusion has occurred which is described below starting with step 940. If it 1 s is determined at step 901 that the modem is on-hook, then intrusion parameters INTR DELAY TIMER, intrusion average, INTR AVG, and intrusion reference, INTR REF, are reset or refreshed to their initial values at step 904 in accordance with Fig. 8A. INTR DELAY TIMER and INTR REF are loaded from a memory, preferably an EEPROM. INTR AVG is initialized to zero. At 2o step 907, it is determined whether there is a bell signal; i.e., whether the telephone is ringing. If there is a bell signal, the modem is checked at step to determine if a modem hang-up is in progress. If not, an on-hook condition is reported at step 930. If a modem hang-up is in progress, an off hook condition with no intrusion is reported at step 926.
2 s If there is no bell signal at step 907, the phone frequency, PHONE
FREQ, is clamped between the on-hook floor and the on-hook ceiling, ON-HOOK FLOOR and ON-HOOK CEILING, respectively, at step 910. The on-hook average and threshold are then determined according to equation (15), at steps 913 and 916, respectively. In. other words, if the state of the 3 o telecommunications unit within the device under microcontroller control is on-hook (i.e., the meter modem is not being used), the on-hook value is updated according to equation ( 1 S) if ON-HOOK AVG<ON-HOOK FLOOR then ON-HOOK AVG=ON-HOOK
FLOOR
s ON-HOOK AVG = (ON-HOOK AVG*(2~''c-TC-1)/2AVC-TC~ +.
PHONE FREQ/2AVG-TC (15) THRESHOLD = (ON-HOOK AVG + OFF-HOOK AVG)/2 In addition to updating the threshold, on-hook, and off hook values, the controller determines if another telecommunications device in the local loop 1 o is off hook by comparing the most recent phone frequency sample taken to the threshold value. If the value of the phone frequency sample is less than the threshold, then one or more telecommunications devices in the local phone loop is determined to be off hook. If the value of the phone frequency sample is greater than the threshold, then all telecommunications devices in the local loop 15 are determined to be in the on-hook state. At step 920, the phone frequency is compared with the threshold. If the phone frequency is greater than or equal to the threshold, the modem is checked at step 923 to determine if a modem hang-up is in progress. If there is not a modem hang-up in progress, an on-hook condition is reported at step 930. If a modem hang-up is in progress, or the 2 o phone frequency is less than the threshold, an off hook condition with no intrusion is reported at step 926.
Intrusion detection is performed when the telecommunications device under microcontroller control is off hook. The object of the intrusion detection is to detect a drop in frequency of the voltage from the TIP and RING

terminals occurring within an intrusion sample period and remaining for a number of sample periods, preferably at least three intrusion sample periods.
This occurrence would indicate that another telecommunications device in the local loop has transitioned from the on-hook to the off hook state (e.g., the s customer has picked up the telephone to place a call). The first few samples (e.g., three samples, although this can be any number, either predetermined or .
variable in real-time) taken after the telecommunications device under control transitions to the off hook state are disregarded to avoid acting on transients zssociated with that event. Intrusion detection is performed by comparing the 1 o current sample to the last sample. If the current sample minus the last sample is greater than a predetermined threshold; then a counter. is: incremented. If the current sample minus the last sample is not greater than the predetermined threshold, than the last sample is set equal to the current sample and the counter is set to 0. When the counter reaches a predetermined value, such as three, it is 15 determined that intrusion has occurred.
If the modem is determined at step 901 to be off hook, then processing continues at step 940 with the phone frequency, PHONE FREQ, being compared to the threshold, THRESHOLD. If the phone frequency is less than the threshold, the off hook average, OFF-HOOK AVG, is set in accordance 2 o with equation (16), at step 943. If the phone frequency is greater than or equal to the threshold, or after the off hook average is set at step 943, the threshold, THRESHOLD, is set in accordance with equation (17), at step 946. If the state of the telecommunications unit within the device under microcontroller control is off hook (i.e., the meter modem is in use), the off hook value is updated 2 s according to equation ( 16) OFF-HOOK AVG = (OFF-HOOK AVG*(2AVC-TC-1)/2AVC-TC) +
PHONE FREQ/2AVC-TC ( 16) THRESHOLD = (ON-HOOK AVG + OFF-HOOK AVG)/2 (17) The intrusion average is then set at step 950 in accordance with equation ( 18) . A sample is taken periodically, preferably every 1 / 16 of a second, and after a number of samples (in this example, four) are taken, an average is taken of the samples, in accordance with equation ( 18) .
s INTR AVG = INTR AVG + (PHONE FREQ/4) (18) At step 952 it is determined if there are four values in the intrusion avexage (at least four samples are taken in this example before an intrusion can be detected, but any number of samples can be used in accordance with present invention). If four samples have not yet been collected, then not enough data 1 o has been collected to conclude that an intrusion has taken place, and an off hook is reported with no intrusion at step 970, and the procedure exits.
If there are four values in the intrusion average, then processing continues to determine if an intrusion has taken place. It is determined at step 954 if this is the first average in the call. If so, the intrusion reference is set 1 s equal to the intrusion average at step 956, the intrusion average is cleared at step 968, and an off hook is reported with no intrusion at step 970, and the procedure exits. The intrusion reference is needed as a number with which to compare future averages to determine if the voltage across the TIP and RING terminals has decreased, thus indicating an intrusion. If this is not the first average in the 2 o call, the intrusion average is compared with the difference (INTR REF -INTR
THRESH) at step 958.
If the intrusion average is greater than the difference, the INTR
REF is set equal to INTR AVG, and clamped within the limits established by INTR REF ~INTR BOUND, at step 960, the intrusion average is cleared (reset 2 s to 0) at step 968, and an off hook is reported with no intrusion at step 970, and the procedure exits. The clamping is used to limit the rate at which INTR REF
can change. The intrusion reference is not to change by more than INTR
BOUND. Essentially, this limits the rate of change of INTR REF. Otherwise, a change that shows an intrusion may be missed.
If the intrusion average is not greater than or equal to the difference, then further processing is performed to determine if an intrusion has occurred. It is determined at step 962 if this is at least the third consecutive s time that the intrusion average is less than the difference. This is performed by checking a counter. If not, the intrusion average is cleared at step 968, and an off hook is reported with no intrusion at step 970, and the procedure exits.
If this is at least the third consecutive time that the intrusion average is less than the difference, however, at optional step. 96~ it is dete~lnined if the.
intrusion 1 o delay timer has expired. If not, the intrusion average is cleared at step 968, and an off hook is reported with no intrusion at step 970, and the procedure exits. If the intrusion delay timer has expired, an off hook condition and intrusion is reported at step 966 and the procedure exits.
It should be noted that the intrusion delay timer is started when the 15 procedure starts. The intrusion delay timer, which is optional, is used to prevent an intrusion from being detected in the first X seconds of the monitoring, where X is a user programmable, predetermined number. The timer feature is used to allow certain equipment to stabilize; otherwise, the startup procedures of the equipment may be interpreted to be an intrusion.
2 o Although the exemplary method describes that a drop in frequency between the TIP and RING terminals occurring within an intrusion sample period and remaining for at least three intrusion sample periods results in a finding of intrusion, any number of sample periods can be used as the minimum number of sample periods in which a drop in frequency must occur in order for 2 s a fording of intrusion.
The present invention also has . a power outage reporting call feature. This feature is enabled by the power supply from a battery to the modem IC. An optional battery pack is used, and can be placed in the meter or external to it. In addition to continuously monitoring the state of the telephone 3 0 lines by monitoring the voltage frequency across the telephone lines, the present invention monitors the power supply for a power outage.
Although the invention is described above for use in a modem to measure the TIP to RING voltage on a telephone line to determine off hook status and intrusions, it is not limited thereto. For example, it is contemplated s that the circuit of the present invention can be used any time there is a need to measure DC voltage across an isolation barrier.
Thus, the invention provides a low cost, very low power means for a microcontroller in a modem to determine the state of parallel connected telecommunications devices on a shared telephone lh~e. The invention further 1 o enables this detection across a high voltage isolation barrier without needing to generate isolated power across the isolation barrier. Additional power is not needed to measure the voltage on a telephone line. The invention determines the state of parallel connected devices by monitoring the voltage between the TIP
and RING terminals of the telephone line.
15 Although illustrated and described herein with reference to certain specific embodiments, the present invention is nevertheless not intended to be limited to the details shown. Rather, various modifications may be made in the details within the scope and range of equivalents of the claims and without departing from the invention.

Claims (68)

1. An apparatus for determining the state of a telephone line, comprising:
voltage to frequency measurement means for measuring a voltage between a TIP terminal and a RING terminal on said telephone line and converting said voltage to a frequency; and comparator means for comparing said frequency with a first value to determine the stare of said telephone line.
2. The apparatus of claim 1, wherein said voltage to frequency measurement means comprises a voltage to frequency converter and said comparator means comprises a microcontroller, said microcontroller coupled to said voltage to frequency converter to receive said frequency from said voltage to frequency converter.
3. The apparatus of claim 2, wherein said voltage to frequency converter comprises a RC relaxation oscillator having a tuning element and an active element.
4. The apparatus of claim 3, wherein said tuning element is a diode and said active element is a comparator.
5. The apparatus of claim 3, further comprising:
a TIP/RING filter coupled between said TIP and RING
terminals and said voltage to frequency measurement means; and a voltage isolator coupled between said tuning element and said active element.
6. The apparatus of claim 5, wherein said voltage isolator comprises two coupling capacitors connected in series with said tuning element.
7. The apparatus of claim 1, further comprising means for connecting a modem to said telephone line when said frequency is not less than said first value.
8. The apparatus of claim 7, further comprising means for disconnecting said modem from said telephone line when a value responsive to said frequency becomes less than a second value.
9. The apparatus of claim 1, further comprising means for preventing a telecommunications device from connecting on said telephone line when said frequency is less than said first value.
10. The apparatus of claim 1, wherein said first value is determined responsive to said voltage between said TIP terminal and said RING terminal.
11. An apparatus for determining an intrusion state of a telephone line having a telecommunications device connected thereon, comprising:
voltage to frequency measurement means for measuring a voltage between a TIP terminal and a RING terminal on said telephone line and converting said voltage to a frequency; and comparator means for comparing a value responsive to said frequency with a threshold value to determine the intrusion state of said telephone line.
12. The apparatus of claim 11, further comprising means for disconnecting said telecommunications device from said telephone line when said value responsive to said frequency is less than said threshold value.
13. An apparatus for determining the state of a telephone line, comprising:
measurement means comprising a tuning diode for measuring a voltage between a TIP terminal and a RING terminal on said telephone line; and comparator means for comparing a value responsive to said voltage with a first value to determine the state of said telephone line.
14. The apparatus of claim 13, wherein said value is a frequency, said measurement means further comprises a voltage to frequency converter and said comparator means comprises a microcontroller, said microcontroller coupled to said voltage to frequency converter to receive an output frequency from said voltage to frequency converter.
15. The apparatus of claim 14, wherein said voltage to frequency converter comprises a RC relaxation oscillator having said tuning diode and an active element.
16. The apparatus of claim 15, wherein and said active element is a comparator.
17. The apparatus of claim 15, further comprising:
a TIP/RING filter coupled between said TIP and RING
terminals and said measurement means; and a voltage isolator coupled between said tuning diode and said active element.
18. The apparatus of claim 17, wherein said voltage isolator comprises two coupling capacitors connected in series with said tuning diode.
19. The apparatus of claim 13, further comprising means for connecting a modem to said telephone line when said value is not less than said first value.
20. The apparatus of claim 19, further comprising means for disconnecting said modem from said telephone line when said value becomes less than a second value.
21. The apparatus of claim 13, feather comprising means for preventing a telecommunications device from connecting on said telephone line when said value is less than said first value.
22. The apparatus of claim 13, wherein said first value is determined responsive to said voltage between said TIP terminal and said RING terminal.
23. An apparatus for determining the state of a telephone line, comprising:
measurement means comprising capacitive isolation for measuring a voltage between a TIP terminal and a RING terminal on said telephone line; and comparator means for comparing a value responsive to said voltage with a first value to determine the state of said telephone line.
24. The apparatus of claim 23, wherein said value is a frequency, said measurement means comprises a voltage to frequency converter and said comparator means comprises a microcontroller, said microcontroller coupled to said voltage to frequency converter to receive an output frequency from said voltage to frequency converter.
25. The apparatus of claim 24, wherein said voltage to frequency converter comprises a RC relaxation oscillator having a tuning element and an active element.
26. The apparatus of claim 25, wherein said tuning element is a diode and said active element is a comparator.
27. The apparatus of claim 25, further comprising:
a TIP/RING filter coupled between said TIP and RING terminals and said measurement means, wherein said capacitive isolation comprises a voltage isolator coupled between said tuning element and said active element, said voltage isolator having two coupling capacitors connected in series with said tuning element.
28. The apparatus of claim 23, further comprising means for connecting a modem to said telephone line when said value is not less than said first value.
29. The apparatus of claim 28, further comprising means for disconnecting said modem from said telephone line when said value becomes less than a second value.
30. The apparatus of claim 23, further comprising means for preventing a telecommunications device from connecting on said telephone line when said value is less than said first value.
31. The apparatus of claim 23, wherein said first value is determined responsive to said voltage between said TIP terminal and said RING terminal.
32. An apparatus for detecting an off-hook condition and an intrusion condition on a telephone line, comprising:

a voltage to frequency converter for measuring a voltage on said telephone line and converting said voltage to a frequency, whereby the voltage to frequency converter comprises a RC relaxation oscillator having a tuning diode and a comparator; and a microcontroller coupled to said voltage to frequency converter for receiving said frequency and determining whether at least one of an off-hook and intrusion condition exists on said telephone line responsive to said frequency.
33. The apparatus of claim 32, wherein said voltage is a TIP to RING voltage.
34. The apparatus of claim 32, further comprising a common mode filter coupled between said telephone line and said voltage to frequency converter, and a voltage isolator coupled between said tuning diode and said comparator.
35. The apparatus of claim 32, further comprising means to connect a modem to said telephone line when no off hook condition is detected.
36. The apparatus of claim 35, further comprising means to disconnect said modem from said telephone line when an intrusion condition is detected.
37. The apparatus of claim 32, wherein said voltage to frequency converter measures said voltage at a predetermined sampling rate.
38. The apparatus of claim 37, wherein said predetermined sampling rate is one measurement every 1/16 seconds.
39. The apparatus of claim 32, wherein said off-hook condition is detected when said frequency drops below a first threshold and said intrusion condition is detected when a value responsive to said frequency drops below a second threshold.
40. The apparatus of claim 32, further comprising memory to store frequency and voltage data used by said microcontroller in the detection of said off hook and said intrusion conditions.
41. An apparatus for determining the state of a telephone line having an isolation barrier separating the telephone line into a side near a TIP
terminal and a RING terminal, and a side away from the TIP terminal and the RING
terminal, comprising:
measurement means for measuring a voltage between the TIP
terminal and the RING terminal on said telephone line, said measurement means being free of a power supply on said side near the TIP terminal and the RING
terminal; and comparator means for comparing a value responsive to said voltage with a first value to determine the stale of said telephone line; and a capacitator coupled between the measurement means and the comparator means, the capacitator providing electrical isolation, whereby the TIP
and RING terminals may be free of a power supply.
42. The apparatus of claim 41, wherein said value is a frequency, said measurement means comprises a voltage to frequency converter and said comparator means comprises a microcontroller, said microcontroller coupled to said voltage to frequency converter to receive an output frequency from said voltage to frequency converter.
43. The apparatus of claim 42, wherein said voltage to frequency converter comprises a RC relaxation oscillator having a tuning element and an active element.
44. The apparatus of claim 43, wherein said tuning element is a diode and said active element is a comparator.
45. The apparatus of claim 43, further comprising:
a TIP/RING filter coupled between said TIP and RING
terminals and said measurement means; and a voltage isolator coupled between said tuning element and said active element.
46. The apparatus of claim 45, wherein said voltage isolator comprises two coupling capacitors connected in series with said tuning element.
47. The apparatus of claim 41, further comprising means for connecting a modem to said telephone line when said value is not less than said first value.
48. The apparatus of claim 47, further comprising means for disconnecting said modem from said telephone line when said value becomes less than a second value.
49. The apparatus of claim 41, further comprising means for preventing a telecommunications device from connecting on said telephone line when said value is less than said first value.
50. The apparatus of claim 41, wherein said first value is determined responsive to said voltage between said TIP terminal and said RING terminal.
51. An apparatus for determining the state of a signal-carrying line having an isolation barrier separating the signal-carrying line into a side near a first and a second terminal, and a side away from the first and second terminals, comprising:
measurement means for measuring a voltage between the first and second terminals, said measurement means being free of a power supply on said side near the first and second terminals; and comparator means for comparing a value responsive to said voltage with a first value to determine the state of said signal-carrying line.
52. The apparatus of claim 51, wherein said value is a frequency, said measurement means comprises a voltage to frequency converter and said comparator means comprises a microcontroller, said microcontroller coupled to said voltage to frequency converter to receive an output frequency from said voltage to frequency converter.
53. The apparatus of claim 52, wherein said voltage to frequency converter comprises a RC relaxation oscillator having a tuning element and an active element.
54. The apparatus of claim 53, wherein said tuning element is a diode and said active element is a comparator.
55. The apparatus of claim 53, further comprising:
a filter coupled between said first and second terminals and said measurement means; and a voltage isolator coupled between said tuning element and said active element.
56. The apparatus of claim 55, wherein said voltage isolator comprises two coupling capacitors connected in series with said tuning element.
57. The apparatus of claim 51, further comprising means for connecting a device to said signal-carrying line when said value is not less than said first value.
58. The apparatus of claim 57, further comprising means for disconnecting said device from said signal-carrying line when said value becomes less than a second value.
59. The apparatus of claim 51, further comprising means for preventing a device from connecting on said signal-carrying line when said value is less than said first value.
60. The apparatus of claim 51, wherein said first value is determined responsive to said voltage between said first and second terminals.
61. A method for detecting the state of a telephone line, comprising the steps of:
measuring a voltage between a TIP terminal and a RING terminal on said telephone line;

converting said voltage to a frequency using a voltage to frequency converter; and comparing said frequency with a threshold value to determine the state of said telephone line.
62. The method of claim 61, further comprising the steps of:
connecting a modem to said telephone line when said frequency is not less than said first value; and disconnecting said modem from said telephone line when a value responsive to said frequency becomes less than a second value.
63. The method of claim 61, wherein said voltage is measured at a predetermined sampling rate.
64. The method of claim 63, wherein said predetermined sampling rate is one measurement every 1/16 seconds.
65. The method of 61, further comprising the step of setting said first value responsive to said voltage between said TIP terminal and said RING
terminal.
66. A method for detecting the state of a telephone line, comprising the steps of:
measuring a voltage between a TIP terminal and a RING terminal on said telephone line;
comparing a value responsive to said voltage with one of a first threshold value and a second threshold value to determine the state of said telephone line;

connecting a telecommunications device to said telephone line when said value is not less than said first threshold value;
disconnecting said telecommunications device from said telephone line when said value becomes less than said second threshold value; and determining said first threshold value and said second threshold value based on the state of said telephone line and said voltage between said TIP
terminal and said RING terminal.
67. A method for determining an intrusion state of a telephone line having a telecommunications device connected thereon, comprising the steps of:
measuring a voltage between a TIP terminal and a RING terminal on said telephone line and converting said voltage to a frequency; and comparing a value responsive to said frequency with a threshold value to determine the intrusion state of said telephone line.
68. The method of claim 67, further comprising the step of disconnecting said telecommunications device from said telephone line when said frequency is less than said threshold value.
CA002256805A 1997-12-24 1998-12-21 Telecommunications off-hook and intrusion detection method and apparatus Expired - Fee Related CA2256805C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US08/998,166 US6470083B1 (en) 1997-12-24 1997-12-24 Telecommunications off-hook and intrusion detection method and apparatus
US08/998,166 1997-12-24

Publications (2)

Publication Number Publication Date
CA2256805A1 CA2256805A1 (en) 1999-06-24
CA2256805C true CA2256805C (en) 2006-08-15

Family

ID=25544864

Family Applications (1)

Application Number Title Priority Date Filing Date
CA002256805A Expired - Fee Related CA2256805C (en) 1997-12-24 1998-12-21 Telecommunications off-hook and intrusion detection method and apparatus

Country Status (2)

Country Link
US (1) US6470083B1 (en)
CA (1) CA2256805C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU1935699A (en) * 1997-12-24 1999-07-19 Abb Power T & D Company Inc. Method and apparatus for detecting and reporting a power outage
US6778099B1 (en) * 1998-05-01 2004-08-17 Elster Electricity, Llc Wireless area network communications module for utility meters
US7113587B1 (en) * 2000-06-28 2006-09-26 Agere Systems Inc. Method and apparatus for non-disruptive telecommunication loop condition determination
FR2826217B1 (en) * 2001-06-14 2003-12-12 Thomson Licensing Sa TELEPHONE LINE SOCKET DETECTION DEVICE

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4022989A (en) 1976-06-28 1977-05-10 Bell Telephone Laboratories, Incorporated Telephone receiver-off-hook-and-in-use detector
GB2006970B (en) * 1977-09-23 1982-03-31 Testut Aequitas Capacitance measuring device
US4221935A (en) 1977-10-24 1980-09-09 International Standard Electric Corporation Control circuit for telephone subscriber station
US4230914A (en) 1978-11-30 1980-10-28 Cose Technology Corporation System for and method of indicating intruder presence on telephone lines, and method of installation of telephone intruder alarm system
US4232195A (en) 1978-07-19 1980-11-04 Bartelink E H B Telephone responder apparatus
US4590444A (en) * 1984-10-11 1986-05-20 National Semiconductor Corporation Voltage controlled RC oscillator circuit
US4791658A (en) 1986-07-09 1988-12-13 Theodore Simon Integrated alarm and touch tone telephone system
US4777645A (en) * 1987-02-10 1988-10-11 Harris Corp. Telephone line test and display circuit
US4811389A (en) 1987-11-12 1989-03-07 General Electric Company Parallel off hook detector for electronic remote data recorder
US5010568A (en) 1989-04-04 1991-04-23 Sparton Corporation Remote meter reading method and apparatus
US5161182A (en) 1989-04-04 1992-11-03 Sparton Corporation Remote meter reading method and apparatus
US5134650A (en) 1991-01-22 1992-07-28 Schlumberger Industries, Inc. Dial inbound meter interface unit (MIU) for automatic meter reading using no subscriber line access controller
US5457621A (en) 1992-02-21 1995-10-10 Abb Power T&D Company Inc. Switching power supply having voltage blocking clamp
MX9206230A (en) 1992-02-21 1993-09-01 Abb Power T & D Co IMPROVEMENTS IN AN ELECTRICAL ACTIVITY METER AND METHODS FOR THE USE OF THE SAME.
US5537029A (en) 1992-02-21 1996-07-16 Abb Power T&D Company Inc. Method and apparatus for electronic meter testing
US5381462A (en) 1992-05-29 1995-01-10 Datran Systems Corporation Utility monitor communications systems
US5929663A (en) * 1997-08-12 1999-07-27 General Electric Company Control circuit for distributed electrical equipment

Also Published As

Publication number Publication date
CA2256805A1 (en) 1999-06-24
US6470083B1 (en) 2002-10-22

Similar Documents

Publication Publication Date Title
US5291545A (en) Apparatus and method for determining the state of a telephone line
US5140631A (en) Apparatus and method for determining the state of a telephone line
US4998271A (en) Telephone accessory
CN1147188C (en) Method for protecting circuit module in communication facility
JP4044962B2 (en) Telephone line monitor circuit
WO1997001916A1 (en) Telephone ring detector
US20090243866A1 (en) System and method for detecting tampering of a utility meter
US4742536A (en) Telephone monitor circuit and method
CA2118731C (en) Apparatus and method for detecting telephone line status
EP0205401B1 (en) Tone-responsive circuit for activating an instrumentality interfacing system
CA2256805C (en) Telecommunications off-hook and intrusion detection method and apparatus
JPH0414354A (en) Telephone cable bridging sensor
US6134321A (en) Modem loop current detect system to detect an off-hook condition in an extension telephone
US7020248B2 (en) Apparatus and method for testing subscriber loop interface circuits
US6493200B1 (en) Coaxial cable protection device
EP1107552A2 (en) Apparatus and method for testing subscriber loop interface circuits
KR900007703B1 (en) Tone-respousive circuit for ac tivating an instrumentality interfacing system
CA2710919C (en) A system and method for detecting tampering of a utility meter
KR200342788Y1 (en) Portable Telephone For Checking Communication Line
US20090262904A1 (en) Automatic telephone line loop around system and method
KR100464481B1 (en) Automatic converting method for appointing loop central office line in key telephone system and thereof apparatus
KR970000460B1 (en) Automatic calling apparatus of existence of person
JP3039097B2 (en) Terminal network controller
KR950000526B1 (en) Automatic alarm of telephone trouble
JPH0520519A (en) Communication equipment

Legal Events

Date Code Title Description
EEER Examination request
MKLA Lapsed

Effective date: 20161221