A METHOD FOR OFF-HOOK DETECTION DURING RINGING AND THE USE OF A SUBSCRIBER LINE INTERFACE CIRCUIT FOR OFF-HOOK DETECTION DURING RINGING

Abstract: A method for off-hook detection at a subscriber line interface circuit upon the occurence of a ringing signal which preferably lacks a direct current component, as well as the use of a subscriber line interface circuit for the performing of said method, comprising the steps of generating a signal which is a function of the line current (il) through the subscriber line, measuring the time ( DELTA t) the signal exceeds a first reference value (Vth), which represents a predetermined current value, comparing the measured time ( DELTA t) with a predetermined time value and indicating off-hook in a processor in dependence of the comparison.

Description: A METHOD FOR OFF-HOOK DETECTION DURING RINGING .AND THE USE OF A SUBSCRIBER LINE INTERFACE CIRCUIT FOR OFF-HOOK DETECTION DURING RINGING TECHNICAL FIELD OF THE INVENTION The present invention relates to a method for off- hook detection during ringing in a subscriber line interface circuit as well as the use of a subscriber line interface circuit for above mentioned detection. DESCRIPTION OF RELATED ART Installation costs for new copper lines are increasing and make up a large part of the total installation cost . The admass society of tomorrow will have a need for higher capacity than what the copper/coaxial cable systems of today can handle. New teleservices will be introduced, which will demand higher information transfer together with the expansion of the cable television networks . Through coordina¬ tion of the teleservices with TV on the same optical fibre the installation costs could be lowered considerably. The last bit to the subscriber is however still paired cable of copper. With short lines there does not exist a need for as strong ringing signals out from the line as with long lines. The lower voltages for ringing on the line interface board enables ringing with an integrated circuit, the so called subscriber line interface circuit (SLIC) , which means that no ring-trip relay is required. A problem which however needs to be solved is to quickly trip the ringing signal when the subscriber lifts the phone in order to prevent the strong currents which otherwise threaten to destroy the SLIC. At conventional ring trip detection, i.e. the detection of when the subscriber lifts the phone during the ringing process, the DC shift is detected, which occurs when the phone is lifted (off-hook) and thereby opens a DC path in the loop. It should however be pointed out that the bell is AC coupled. There exists within the art several different types of devices and methods for the detection of this DC shift. See for instance Patent Abstracts of Japan, Vol 7, no. 200, E-196, abstract of JP-A-58-97950 (FUJITSU K.K), June 10th 1983 och Patent Abstracts of Japan, Vol 7, no. 200, E-196, abstract of JP-A-58-97949 (FUJITSU K.K), June 10th 1983. US- A-4 132 864, DE-B2-2014950, US-A-4 455 456. All of these documents thus describe different ways of detecting the occurence of a DC level in the ringing signal. The voltage range in a SLIC is however limited, why it would be desirable to remove the DC level which normally occurs when the hook is off during ringing. A SLIC is described in Swedish Patent Application No. 9400185-6, which comprises a ringing signal generator and a loop which removes the DC level from the ringing signal when the hook is off during ringing. Yet another device which detects the off-hook con¬ dition during ringing is described in WO-A1-9301676 (FUJITSU LIMITED et. al . ) , 2 January 1993. This device detects when a ringing current through a resistor, which is connected in series with a ring signal generator, exceeeds a threshold, which detection causes a detection signal for off-hook during ringing to be emitted by the device. This ringing signal does also include a DC component during off-hook. In this device the time the threshold is exceeded does not seem to be used in the indication of off-hook during ringing. According to the specification BELLCORE TR-TSY- 000057 the ringing signal shall be disconnected from the telephone within 200 ms after a resistance of 300 Ω is coup- led to the line, which shall have a loop resistance ≤ (Rdc - 400) Ω, where Rdc = the line resistance + 430 Ω , i. e. the resistance in the paired cable to the subscriber + 400 Ω which shall represent an ordinary telephone + 30 Ω which represents the resistance from the connection box. The ring trip detector shall on the other hand not react upon coupling of 10 kΩ + 8 μF or coupling of 200 Ω during ≤ 12 ms. SUMMARY The object of the present invention is to provide off-hook indication during the occurence of a ringing signal, which preferably lacks a DC component, with certainty and in a fast 5 . and simple way that can be accomplished with a SLIC that is only slightly modified. This object is achieved through a method with the steps of generating a signal which is a function of the 0 line current through the subscriber line, measuring the time the signal exceeds a first reference value, which represents a predetermined current value, comparing the measured time with a predetermined 5 time value and indicating off-hook in dependence of the comparison. Yet another object of the present invention is to provide a method for the provision of off-hook indication 0 upon the occurence of a ringing signal without DC component which is even faster than the first mentioned method. This object is achieved through the signal being a function of the absolute value of the line current. Yet another object of the present invention is to 5 avoid unnecessary oscillation in the off-hook indication. This object is accomplished through the measuring step including measuring of the time from when the signal rises above the first reference value to when it falls below a second reference value, which is slightly offset from the 0 first reference value, Yet another object of the present invention is to provide a new use of a SLIC. This object is achived through the use of a SLIC to detect the off-hook condition upon the occurence of a ringing 5 signal, whereby a detector which is included in the SLIC is arranged to generate a signal which * is a function of the line current through the subscriber line and to measure the time the signal exceeds a first reference value (V th ) , which represents a predetermined current value, and emit a signal representing the measured time to a processor for comparison with a predetermined time value for the indication of off- hook during ringing. Other objects and advantages of the present inven¬ tion will be made clear through the following description and claims. BRIEF DESCRIPTION OF THE DRAWINGS The present invention is described in more detail below where reference is being made to the appended drawings, where fig. 1 shows a SLIC which performs the method according to a first embodiment of the present invention, fig. 2 shows a diagram of the line current as well as the voltage over the line wires during on-hook and off- hook, fig. 3 shows graphs of the line current during off- hook and on-hook as well as the output of a detector which is included in the SLIC, fig. 4 shows a circuit which implements part of a second method according to the present invention and fig. 5 shows .graphs of the line current during on- hook and off-hook as well as output signals from the detector in a SLIC comprising the circuit in fig. 4. DETAILED DESCRIPTION OF EMBODIMENTS According to the invention the current difference is detected, which appear because of the impedance difference between the impedance of the bell(s) and the telephone. 1 telephone, 1 REN: 7 kΩ relative to 7 kΩ//400 Ω → 7 k relative to 378, i.e. an impedance difference of 18,5 times. 5 telephones, 5REN: 1,4 kΩ relative to 1, 4 kΩ//400 Ω → 1,4 k relative to 311, i.e. an impedance difference of 4,5 times. Fig. 1 shows a subscriber line interface circuit PABX-SLIC PBL3764 which according to a first embodiment of the method according to the invention detects off-hook during ringing. In the figure a telephone 5 REN is shown as a resis¬ tance of 400 Ω in series with a switch (TELEPHONE HOOK) , which are connected in parallell with a resistance of 386 Ω in series with a capacitor of 40 μF. A first end of the tele¬ phone 5REN is connected to one input LA on the SLIC via one of the subscriber line wires, which wire includes the line resistance rll and the protection resistance rsl. The input LA is connected to the output of a current amplifier A via a measuring resistance R2, where the inverting input of the amplifier A is connected to the output and the non-inverting input is connected to the subscriber line via a resistance R3. The non-inverting input of the current amplifier A is also connected to a potential uc via a capacitor CA. A current source IA which is dependent of the potential uc is also connected between the non-inverting input of the current amplifier A and ground. A second end of the telephone 5REN is in the same manner connected to an input LB on the SLIC via the other subscriber line wire, which includes the line resistance rl2 and the protection resistance rs2. The input LB is connected to the output of a current amplifier B via a measuring resistance R4, where the inverting input of the amplifier B is connected to the output and the non-inverting input is connected to the subscriber line via a resistance R5. The non-inverting input of the current amplifier B is also connected to a potential uc via a capacitor CB. A current source IB which is dependent of the potential uc is also connected between the non-inverting input of the current amplifier B and ground. The inputs LA and LB of the SLIC are also, each via an amplifier with the amplification of 1 in series with a resistance R7 and R8, respectively, connected to the non-inverting input of an operational amp-lifier with amplification 1, whose inverting input is connected to the interconnection point between two equally large resistances R9, R10 who are connected in series, which resistances are connected between ground and the supply voltage VBB of the SLIC. The output of the latter operational amplifier is via yet a resistance R8 connected to the potential uc. The above described components are often used in SLICs and their functions are well known and will not be 5. further described in this description. In fig. 1 one of the subscriber line wires LA is also connected to the first input of an operational amplifier UUAB, whose other input is connected to the interconnection point between two equally large resistances Rll, R12 who are 0 connected in series, which resistances are connected between ground and the supply voltage VBB of the SLIC. The output of the operational amplifier UUAB is connected to the current input R of the SLIC via a resistance ZT. A 20 Hz signal generator U is also connected to this 5 current input R via a resistance ZR. The current through the current input R supplies current to the current amplifiers A and B in and for modulation of these to generate the ringing signal . This device provides ringing in the SLIC without any DC component and is discribed in more detail in Swedish 0 patent application 9400185-6. In fig. 1 is finally shown a detector ND1, which originally was arranged for off-hook detection although not during ringing. The detector ND1 includes a comparator. A dependent current source ID is connected across the input of 5 the comparator, which also serves as an output RD of the SLIC. Across this output RD is a resistance RRD connected. The output DET1 of the comparator is connected to a processor (not shown) which is external to the SLIC. This processor is also arranged to be able to trip the ringing current from the 0 ring signal generator U. The dependent current source ID in the detector ND1 is in a known way connected to the measuring resistances R2 and R4 (not shown) in order to generate a current which is a linear function of the line current. Fig. 2 shows a simulation of the line current il 5 during ringing, where il = iLB -iLA, and with a load of 5REN (bell = 700 Ω + 2 μF + 22 H) and a line resistance of 0 Ω and the frequency 20 Hz as a function of time at on-hook and off- hook states . In the figure is also shown a simulation of the voltage at the A-wire (TIP) which represents LA as well as the voltage at the B-wire B (RING) which represents LB. In the figure one can see that the voltage up to the time indicated by the dashed vertical line is phase displaced from the current approximately -60°, at which point in time the off-hook state occurs and the current rapidly rises and current and voltage are substantially in phase. Although it is not clearly shown here the line current il does not include any DC-component in the off-hook state as it is the momentary value of the line current il . Fig. 3 shows measured results from a device accor¬ ding to fig. 1 for off-hook detection during ringing. In the figure the line currents il (1REN) and il (5REN) are shown together with the output signal DET1 from the detector ND1. Referring to fig. 1 and 3 the method according to the first embodiment of the invention is carried out in the following manner: The current that leaves the current amplifier A (-iLA) and the current that goes into the current amplifier B (=iLB) are measured in the measuringen resistances R2 and R4 and are summed (iLB-iLA) in order to obtain the transversal line current in the dependent current source ID of the detector ND1. A voltage function U RD of the transversal line current (iLB-iLA) /300, which is determined through the resistance RRD and the dependent current source ID, is then coupled into the detector ND1. The detector levels V th and V th -ΔV are through choice of the resistance RD set for the detection of the time Δt from when the line current il rises above a first predetermined current value to when it falls below a second predetermined reference value. The second pre¬ determined reference value is slightly offset from the first reference value, preferably with 1 - 2% of the first refe¬ rence value, and both are set in an interval between the maximum on-hook line current and the maximum off-hook line current. The output DET1 of the detector ND1 has a high signal level as long as the line current il is lower than the predetermined current levels. When however the line current il rises above the first predetermined current level the output DET1 goes low and stays low until the line current il falls below the second predetermined current level . The _ second level is offset from the first in order to achive hysteresis. The output DET1 of the detector ND1 is then processed in the processor in order to indicate the off-hook state in such a way that the time Δt that the output DET1 stays low is compared with a predetermined time lenght, preferably a sixth of the period of the ringing signal, and off-hook is indicated if this predetermined time length is exceeded, after which the processor trips the ringing. This method shows the following advantages: 1) No extra detector for detecting off-hook during ringing is needed, which means that less chip area is needed. 2) No external ring trip network is needed, which means fewer external components . The difference in line current between on-hook and off-hook ringing is not quite proportional to the line load, due to the fact that the amplification 4 → 2 is not constant. A current difference of about 2,7 times is obtained in the worst case, which difference should be possible to detect with a current sensing loop detector. In fig. 4 is shown a circuit which implements a dependent current source in a SLIC which performs a method according to a second embodiment of the present invention. This circuit already exists in the SLIC named PABX-SLIC PBL3799 and comprises four voltage/current amplifiers 1, 2, 3 and 4, whereby the voltage/current amplifiers 1, 2 are connected across the resistance R2, which in fig. 1 is connected to the input LA and the amplifiers 1, 2 each supply a current I A /K and -I A /K, which both represent the current I A and K is a constant. The voltage/current amplifiers 3, 4 are in the same way connected across the resistance R4, which in 5 fig. 1 is connected to the input LB, and which amplifiers 3, 4 each supply a current I B /K and -I B /K, which represent the current I B and K is a constant. The outputs of the vol- tage/current amplifiers 1, 3 are interconnected and connected to a first input terminal of a comparator via a first diode Dl. The outputs of the voltage/current amplifiers 2, 4 are in the same manner interconnected and connected to the same 5. input terminal of the comparator via a second diode D2. The second input terminal of the comparator is grounded and the resistance RRD is connected between these two terminals. In this figure the two current amplifiers A and B from fig. 1 are also shown. The currents I A and I B represent -iLA and iLB 0 from fig. 1. The voltage/current amplifiers 1, 2, 3 and 4 together with the diodes Dl and D2 in this circuit together make up a dependent current source which emit a current I D that is a function of the absolute value of the line current. This current I D runs through the resistance RRD and the 5 voltage thereacross I D *RRD is used as a signal representing the absolute value of the line current and is supplied to the comparator. On the output of the comparator a output signal DET2 is then obtained. If the amplifiers 2 and 4 as well as the diodes Dl and D2 are removed the dependent current source 0 according to fig. 1 is obtained. In fig. 5 is finally shown simulations of the line current il with a bell of 5REN and line resistance of 0 Ω and a bell of 1REN and line resistance of 200 Ω, both with a frequency of 20 Hz, and the output signal from the detector 5 ND2 according to fig. 4 for these signals at on-hook and off- hook states . The telephone hook is on up to the time indicated by the solid vertical line designated Off-Hook, at which point in time the off-hook state occurs and the line current il increases . The output DET2 of the detector ND2 has 0 a low level up to the above mentioned point in time but when the absolute value of respective line current rises above the first predetermined current value the output DET2 of the detector goes high and stays high until the line current il falls below the second predetermined current level. The time 5 Δt that the output DET1 stays low is then transmitted to the processor in the form of a pulse. In the figure two pulses Δt are shown in order to illustrate taht the detector ND2 reacts upon both the positive and negative half periods of the line current, but in reality the ring signal generator is switched off after the first pulse. In the case of 1REN a pulse width Δt of 17 ms was obtained and in the case of 5REN a pulse 5. width Δt of 21 ms. The predetermined time value they are com¬ pared with is preferably a sixth of the ringing period, i.e. about 8,3 ms. When this time value is exceeded the processor indicates off-hook and thereafter trips the ringing signal. The advantage of this second method is that off- 0 hook detection during ringing is accomplished during both the half periods of the line current il, which makes this method faster than the first method. A number of simulations (not shown) have also been made for this second embodiment of the method at different 5 ringing loads, line resistances as well as telephone resistances than what is mentioned in TR-TSY-000057. They all show that acceptable pulse widths are obtained that exceed the mentioned predetermined time value. If it is desired that the original use of the 0 detector ND1 according to fig. 1 for the off-hook detection without ringing should be retained whilst performing a method according to the invention one can easily devise a new detec¬ tor for the off-hook detection during ringing. This can either be accomplished through the inclusion of a new detec- 5 tor with its own dependent current source, i.e. a doubling of detectors or through connection of an external detector to the output RD of the SLIC, in which latter case the existing dependent current source in the detector in the SLIC is used for both the detectors. 0

Claims: CLAIMS 1. A method for off-hook detection at a subscriber line interface circuit upon the occurence of a ringing signal which preferably lacks a direct current component, comprising the steps of: generating a signal (U RD ; I D *RRD) which is a func¬ tion of the line current (il) through the subscriber line, characterised of the further steps of measuring the time (Δt) the signal exceeds a first reference value (V th ) which represents a predetermined current value, comparing the measured time with a predetermined time value, and indicating off-hook in dependence of the comparison. 2. Method according to claim 1, characterised of tripping the ringing signal upon off-hook indication. 3; Method according to any previous claims, charac¬ terised of the predetermined current value being within an interval between the maximum on-hook line current and the maximum off-hook line current. 4. Method according to any previous claims, charac¬ terised of the predetermined time value being greater than or equal to a sixth of the period of the ringing signal . 5. Method according to any previous claims, charac¬ terised of the signal (U RD ) being a linear function of the line current (il) . 6. Method according to any of the claims 1 - 4, characterised of the signal (I D *RRD) being a function of the absolute value of the line current (il) . 7. Method according to any previous claims, characterised of the measuring step including measuring the time (Δt) from when the signal rises above the first refe¬ rence value (V th ) to when it falls below a second reference value (V th -ΔV) , which is slightly offset from the first refe¬ rence value. 8. A use of a subscriber line interface circuit for off-hook detection during ringing, characterised of a detec¬ tor (ND1; ND2) which is included in the subscriber line interface circuit being arranged to generate a signal (U RD ; I D *RRD) which is a function of the line current (il) through the subscriber line, to measure the time (Δt) the signal exceeds a first reference value (V th ) , which represents a predetermined current value, and to emit a signal (DET1. - DET2) representing the measured time to a processor for comparison with a predetermined time value for the indication of off-hook during ringing. 9. Use of a subscriber line interface circuit accor¬ ding to claim 8, characterised of the time measurement being made from when the signal rises above the first reference value (V th ) to when it falls below a second reference value (V th -ΔV) , which is slightly offset from the first reference value. 10. Use of a subscriber line interface circuit accor¬ ding to any of the claims 8 - 9, characterised of the signal (U RD ) being a linear function of the line current (il) . 11. Use of a subscriber line interface circuit accor¬ ding to any of the claims 8 - 9, characterised of the signal (I D *RRD) being a function of the absolute value of the line current (il) .

Inventors: RANDAHL TORBJOERN, RANDAHL, TORBJOERN
Applicants: ERICSSON TELEFON AB L M, TELEFONAKTIEBOLAGET L M ERICSSON
Application year: 1995
Main classification: H04M19
IPC codes: H04M3, H04M19, H04Q3