Automatic loss control circuit in a digital loop transmission system

Abstract: In a circuit for adjusting the loss provided to loops (T,R) in digital loop carrier transmission system a constant current is supplied to the loop and the resulting voltage is measured to determine the resistance of the loop. This value is fed to a microprocessor (25) with a look-up table which controls a programmable analog/digital converter (31). The loss at the output of the converter is a stepwise function (40,41) based on the resistance of the customer loop.

Description: This invention relates to circuits for and methods of automatic adjustment of signal loss on loops of a digital loop transmission system. In a typical digital loop transmission system, such as subscriber loop carrier (SLC®) systems, digital transmission takes place between a central office and a remote terminal. Customer lines or loops are coupled to the remote terminal where analog to digital conversion takes place. One of the problems in such systems is that the length of a customer loop from the remote terminal, the cable type, and, therefore, the electrical resistance of the loop, varies widely. Thus, in cases where the loop is short, the volume of the voice signal may be uncomfortably high. The need has been recognized to adjust the signal loss or gain in both analog and digital systems based on the resistance of the loop. (See, e.g., U.S. Patent No. 4,056,688 and "RT Plug-In Dual Super POTS With Automatic Trunk Loss Control Channel Unit," R-TEC Systems , RPI Section 18, Issue 1, Nov. 1987). In digital loop transmission in particular, it has been proposed to provide a loss curve which is a continuous function of the loop resistance (see R-TEC Systems , supra). FR-A-2 365 252 discloses a circuit for providing gain or loss by feeding a subscriber's loop with a constant current, detecting the voltage on the loop, and providing gain or loss dependent upon the voltage. The voltage can be applied as addresses to a ROM, whose output will produce a gain or loss depending upon the incoming addresses. EP-A-0211675 relates to a circuit where a constant current is applied to the loop, the voltage is detected, and gain is set by a microprocessor. According to one aspect of this invention there is provided a circuit as claimed in claim 1. According to another aspect of this invention there is provided a method as claimed in claim 8. A circuit for automatic adjustment of loss in the loops of a digital loop carrier transmission system includes means for providing a constant current to the loops and means for detecting the resulting DCvoltage on the loops. A microprocessor is coupled to the detecting means and includes a look-up table for determining the amount of loss to be applied to the loops as a function of the resistance of the loops. A programmable analog/digital converter has an input coupled to the microprocessor look-up table and an output providing an analog signal to the loops. The signal is adjusted in accordance with the microprocessor output. The invention will now be described with reference to the accompanying drawings, in which: FIG. 1 is a block diagram illustrating a basic digital loop carrier transmission system in accordance with the prior art; FIG. 2 is a block diagram illustrating components of a circuit embodying the invention; and FIG. 3 is a graph of loss supplied to the loops of a digital loop carrier transmission system as a function of loop resistance, It will be appreciated that, for purposes of illustration, these figures are not necessarily drawn to scale. Detailed Description FIG. 1 illustrates a typical digital transmission system. Digital signals are transmitted over a bidirectional link between a central office terminal, 10, and a remote terminal 11. Customers are coupled to the system at the remote terminal through pairs of copper wires designated Tip (T) and Ring (R), also referred to as the customer loop. As discussed previously, the customers will be located at various distances from the remote terminal so that the length of the loops, and, therefore, the resistance of the loops, will vary. Also, the type of cable being used varies the loop resistance. Thus, when a call is initiated, it is desirable for the system to determine the loop resistance and adjust the loss (or gain) of the analog voice signals to the customer accordingly. FIG. 2 illustrates, in a block diagram, a circuit at the remote terminal which will automatically adjust the loss or gain of the signals. The Tip (T) and Ring (R) conductors of each customer are coupled to a line feed circuit 20. A function of the line feed circuit is to provide a constant current to the loop upon call initiation and then to determine the resulting DCvoltage across Tip and Ring. The determination of the voltage provides a measurement of the total resistance of the loop according to Ohm's law. The typical current supplied is approximately 30 mA. A scaled version, V TR , of the resulting DC voltage across Tip and Ring appears at an output conductor, 21, of the line feed circuit. This converter is coupled through a resistor R 3 to the negative input of an amplifier 23 whose positive input is grounded. The amplifier feedback loop comprises a resistor R 1 and capacitor C 1 in parallel. The combination of amplifier 23, resistors R 1 and R 3 , and capacitor C 1 comprises a filter 22 which serves to filter out any AC signal induced onto the incoming signal from adjacent power lines. The output of filter 22 is coupled to the negative input of a comparator 24 whose positive input is coupled to ground through a capacitor C 2 . The output of the comparator 24 is coupled to an input of a standard microprocessor, 25, by means of conductor 26. An output of the microprocessor is also coupled via conductor 27 through resistor R 2 to one plate of capacitor C 2 . Further outputs of the microprocessor are provided on conductors 28, 29, 30 and 34 to an analog/digital converter (Codec) with programmable gain. Typically, conductor 28 could serve as a chip select lead since there may be more than one Codec in each circuit. Conductor 29 can be a clock lead, while conductors 30 and 34 constitute the data input and output leads, respectively. The Codec also has coupled thereto a conductor 35 which transmits analog signals thereto from the line feed circuit, and a conductor 33 which transmits digital signals to other equipment at the remote terminal. Conductor 32 transmits digital signals to the Codec from other equipment and conductor 36 transmits analog signals to the feed circuit. In operation, when a call is initiated on the loop, the filtered DCfeedback voltage V TR , as previously described, appears at the negative input of comparator 24 and causes the output on conductor 26 to be a logical low state. The microprocessor then charges up capacitor C 2 to produce a voltage at the positive input of comparator 24. The comparator output will remain low until the voltage at the positive input becomes greater than the voltage at the negative input, at which time the output becomes a logical high state. The microprocessor is thereby able to detect the voltage at the input of comparator 24 and, therefore, the resistance on the loop. Preferably, the capacitor C 2 is initially charged up to a predetermined value by a constant voltage signal from the microprocessor, and then a train of pulsed signal is applied by the microprocessor. This insures that slight errors in the value of capacitor C 2 will not affect detection since the voltage provided to the capacitor will be a function of the on/off ratio of the train of pulses and independent of the value of the capacitance. If the output of comparator 24 does not change at this point, the constant and pulsed charging cycles are repeated until a low-high transition of comparator 24 has occurred. The microprocessor, 25, has a look-up table for determining how much loss should be applied to the voice signal to the customer on the basis of the loop resistance. This table is illustrated in graph form in FIG. 3. Two curves are shown. Curve 40 is the loss profile which is applicable when the customer loop is a Plain Old Telephone Service (POTS), while curve 41 applies to a Super POTS Service (SPOTS). It will be noted that each curve is a step function where constant values of loss are applied at discrete intervals of loop resistances. The intervals of the two curves are equal, but the magnitude of loss applied differs. The maximum loss applied to a POTS line is 6 dB and the maximum loss applied to a SPOTS line is 3.40 dB up to a loop resistance of 270 ohms. The minimum loss applied to the POTS line is 1.40 dB for loop resistances of 840 ohms or greater, while the loss applied to the SPOTS line for such resistances will be zero. On the basis of the look-up table, the microprocessor generates a signal on line 30 coupled to programmable Codec 31. The Codec changes the digital signal from line 32 into the analog voice signal on line 36 and the analog signal from line 35 into the digital signal on line 33. The microprocessor signal, therefore, adjusts the gain provided by the converter so that the appropriate loss is supplied in both directions. Various modifications of the invention will become apparent to those skilled in the art.

Claims: A circuit for automatic adjustment of signal loss in loops of a digital loop transmission system, comprising means (20) for providing a constant current to the loops and for detecting a resulting DC voltage on the loops, CHARACTERIZED BY a comparator (24) with one input coupled to said resulting DC voltage on the loops and another input coupled to a capacitor (C 2 ) coupled to be charged by a microprocessor (25), said microprocessor having an input coupled to the output from the comparator and comprising a look-up table for determining, based on the comparator output, the amount of loss to be applied to the loops as a function of the resistance of the loops and adapted to charge the capacitor, and a programmable analog-digital converter (31) having an input coupled to the microprocessor look-up table output and an output providing an analog signal to the loops, the said signal being adjustable in accordance with the microprocessor output. A circuit according to claim 1 wherein the means for providing a constant current comprises a line feed circuit (20). A circuit according to claim 1 wherein the microprocessor (25) is adapted to charge the capacitor (C 2 ) by a combination of a constant voltage signal and a pulsed signal. A circuit according to claim 1, 2 or 3 comprising a filter (22) coupled to the input of the comparator (24) receiving the resulting DC voltage on the loops, said filter being coupled to the means (20) for applying the current to the loops. A circuit according to any one of claims 1 to 4 wherein the amount of loss supplied to the loops as a function of loop resistance is a stepwise function (40, 41). A circuit according to any one of claims 1 to 5 wherein the loss provided to the analog signal is a maximum of -6 dB. A circuit according to claim 6 wherein the maximum loss is applied for a loop resistance in the range 0-270 ohms. A method of automatically adjusting signal loss on loops of a digital loop transmission system, comprising the steps of applying a constant current to the loops, and detecting the resulting DC voltage on the loops, CHARACTERIZED BY charging, by means of a microprocessor (25), a capacitor (C 2 ) coupled to an input of a comparator (24) with another input of the comparator coupled to the resulting DC voltage on the loops, applying the output (26) from the comparator (34) to an input of the microprocessor (25) which comprises a look-up table for determining, based on the comparator output (26), an amount of loss to be applied to the loops as a function of the resistance of the loops, and applying a signal from an output of the microprocessor look-up table to a programmable analog/digital converter (31) which has an output supplying an analog signal to the loops, such that the analog signal is adjusted in accordance with the microprocessor output. A method according to claim 8, wherein the capacitor (C 2 ) is charged by a combination of a constant voltage and a train of pulsed signals from the microprocessor. A method according to claim 8 or 9 wherein the amount of loss supplied to loops as a function of loop resistance is a stepwise function (40,41). A method according to claims 8, 9 or 10 wherein the loss provided to the analog signal is a maximum of -6 dB. A method according to claim 11 wherein the maximum loss is applied for a loop resistance in the range 0-270 ohms.

Inventors: HAUGHTON LANCE JUNIOR, YON INCHOL, HAUGHTON, LANCE JUNIOR, YON, INCHOL
Applicants: AT & T CORP, AT&T CORP.
Application year: 1992
Main classification: H04M3
IPC codes: H04M19, H04Q11, H04Q3, H04M1