ARRANGEMENT FOR ADJUSTING AN ADAPTIVE DIGITAL BALANCE FILTER INCLUDED IN A SUBSCRIBER UNIT

Abstract: An arrangement for adjusting an adaptive digital balance filter (B) included in a subscriber unit (I) connected to a telephone line contains a selection unit (III), which can be connected to the subscriber unit either via the exchange or via a separately arranged switch (K). When the selection unit (III) is connected to the subscriber unit (I), the balance filter (B) is disconnected from both branches of the subscriber unit (1). A test signal generator (TS) is included in the selector unit (111) for sending a signal on the lines via both branches of the subscriber unit (1). There is further included a plurality (N) of digital filters (B1... BN) where the transfer function of any of the filters (B1... BN) closely coincides with the transfer function of the filter formed by the line impedance and the portion of the subscriber unit (I) which is connected to the line and to the balance filter (B). By means of a measuring unit (M) there is formed a criterion for determining which one of the filters (B1... BN) included in the selector unit (III) most closely matches the above-mentioned filter, and the parameters of the selected filter (Bk) are allowed to determine the parameters of the balance filter (B).

Description: IN A SUBSCRIBER UNIT TECHNICAL FIELD The present invention relates to an arrangement for adjusting an adap ive, digital balance filter included in one or a plurality of subscrib units, said units being connected to a common selector stage in a tele phone exchange. More specifically, the invention relates to an arrange ment according to the preamble of claim 1 such that the frequency char acteristic of a digital balance filter included in a subscriber unit can be automatically varied in response to the frequency characteristi of the line impedance connected to the subscriber unit in a given con¬ nection, considered from the balance filter out. towards the line or th Line side. BACKGROUND ART In telecommunications when transmitting and connecting through telepho calls from one subscriber to another, there is a need of separating th transmission directions with the aid of a fork, a so-called hybrid cir cuit. This divides the iricoming two-wire and two-directional line from a subscriber's set to four-wire transmission, i e two one-way connec¬ tions, to enable signal conversion, filtering, ampli ication, etc whic can only take place in one direction. When both two-wire subscriber terminals are connected together through a four-wire exchange, it is necessary that the attenuation in the four wire Loop, i e the loop including the hybrid circuit, both one-way four wire paths and the exchange connection or switching stage exceeds a cei tain value for the avoidance of stability problems. One possibility is to arrange attenuation in the exchange switching stage, but this result in unnecessary attenuation of the signals which are to be through-con- nected. To obtain a sufficiently high so-called cross -fork attenuation with the object of avoiding the above-mentioned stability problems, and thus ob¬ tain sufficient signal separation in the hybrid circuit, the balance impedance in this must accurately match the impedance in the line^ currently connected .to the exchange via the subscriber unit. It is therefore impossible to use the same balance impedance for all subscrib¬ ers, since, relative to the hybrid circuit, there can be considerable scattering of the input impedances to the dif erent subscriber lines. The prior art, e g the US Patent 3 982 080, teaches automatically ad¬ justing the value of the balance impedance of a hybrid circuit in re¬ sponse to the impedance value of a given line amongst a plurality of available lines,- for thus achieving optimum impedance match between hybrid circuit and line * DISCLOSURE OF THE INVENTION The object of the present invention is to provide an arrangement for adjusting the balance impedance in a subscriber unit of the kind men¬ tioned above, in the case where the balance impedance comprises a dig¬ ital filter,, the frequency characteristic of which can be conventional¬ ly varied by varying the parameters supplied to the filter- The pro- posed arrangement can thus be set up at a central point, e g in close connection to the exchange switching stage, so that it .can be individual¬ ly utilized by several subscribers. The invention is thereby characterized as will be seen from the charact¬ erizing portion of claim 1. BRIEF DESCRIPTION OF DRAWINGS The invention will now be described in detail while referring to the ap¬ pended drawings, on which Figure 1 is a block diagram of the arrangement according to the inveπtfon connected.to a subscriber unit; • Figure 2 illustrates a digital filter included as a balance filter in the subscriber unit according to Figure 1; Figure 3 is a block diagram of a measuring unit and a memory unit in¬ cluded in the selector unit according to Figure 1. MODE FOR CARRYING OUT THE INVENTION The block diagram according to Figure 1 llustrates a subscriber unit I, a connection unit II included in a telephone exchange and a selec¬ tion unit III. The subscriber unit I is of known embodiment and con¬ tains a hybrid circuit G, the input of which consists of a two-wire two-direct onal connection from a subscriber's set connected to the unit I. The hybrid circuit G is of known embodiment and has the task o dividing the signals across the two-wire connection into two one-way signal paths, but does not contain the balance impedance of the conven tional circuits * One signal path includes an analogue/digital converte AD and a digital filter F4, while the second signal path contains a digital/analogue converter DA and a digital filter F3. The hybrid cir¬ cuit line input is denoted by p. Both signal paths are connected via a balance filter B, which corresponds to the balance impedance in known hybrid circuits, and via a summing circuit So. The loop G, AD, F4, SO, B, F3 and DA thus formed constitutes the hybrid circuit proper incor¬ porated in the subscriber unit I. If the attenuation in the units F3, DA and G and to the subscriber across the line is A1, and the attenua¬ tion from the subscriber across the tine and in. the units 6, AD and F4 is A2, then the attenuation A3 in the Loop is such that A3-A1-A2 > 0. Signals from the converter DA in the second signal path must be balance out by the signals from the balance filter B in the summing circuit SO, said signals passing the hybrid circuit G and reaching the first signal path as well as being fed out to the line and reflected back again. In a mode already known, the converter AD converts incoming analogue speec signals from the hybrid circuit G to PCM-coded signals, i e into digita signals in the form of binary pulses. The converter DA receives such pulses and converts them to analogue signals, which are sent back to the subscriber after having passed the hybrid circuit G. In the present embodiment of the subscriber circuit, a plurality of fil ters F1, F2, F3 and F4 are provided for band Limitation of the signals in both signal paths to the prescribed frequency band, e g 0-4 kHz, which corresponds to a speech band, and comprise digital filter Links of a known kind. The A-D and D-A conversion suitably takes place at " a higher sampling frequency, e g 512 kHz, than that used in the follow- ing selector. Apart from band limitation, the task of the filters is then to adjust the sampling frequency in the AD and DA converters to the lower sampling frequency C8 kHz) of the selector. The filter func¬ tion has thus been divided so that the fi-lters F.1 and F3 are connected to one branch for outgoing signals from the subscriber unit, and the filters F2 and F4 for incoming signals. The balance filter B is of digital type and has its input connected be¬ tween the fi Iters F1 and F3, and its output connected to one input of a summing c-ircuit So via a controllable switch K1» The other input of the summing circuit So- s connected to the output of the filter F4, and its output is connected to the input of the filter F2- Filters F1 and F2 consist of two substantially similar filters of recursive type, while filters F3 and F4- are transversal filters of substantially the same appearance. A digital compressor unit CP1 and an expander unit EX1 are connected to the respective filters F2, F1 for compressing out¬ going signals from filter F2 and expanding incoming signals to the fil¬ ter F1. The signals appearing across the terminals Xa and Xb which are those respectively fed out from the compressor unit CP1 and fed to the ex- pander unit EX1 constitute the speech signals which are through-connect¬ ed in PCM-coded binary form in the following exchange. The block II symbolizes a switching means in the exchange for passing through the signals obtained from the subscriber unit I and received from the se¬ lector unit III. The switch K2 is preferably incorporated in the exist- ing selector circuit of the telephone exchange, as a common connecting means, e g for the tone signals to the exchange, the connecting means being in the open position for connected calls. Alternatively, as has been shown in Figure 1 for the sake of clarity, the switch can comprise a unit separate from the other connecting units in the exchange, this unit being activated by the central processor of the exchange only when the selection unit III- is to operate, when it passes through the signals from the subscriber unit I to the selector unit III. When the switch K2 is in the closed position, and the selector unit III is thus connect¬ ed, the switch K1 is controlled so that it is open for disconnecting the balance filter S. In the reverse situation, when the selector unit III is disconnected (the switch K2 open) the balance filter B is con¬ nected Cconnected call). According to the invention, a selector unit III is thus arranged in the exchange such that for an off-the-hook condition of a subscriber's set, the unit III is connected to the subscriber unit I associated wit the subscriber. In accordance with the inventive concept, the selector unit is arranged such that it can serve several subscriber units con¬ nected to the common exchange. However, for the sake of clarity, only one switch K2 and one subscriber unit I have been shown in Figure 1, but it will be understood that several subscriber- units can be arrange via further switches in the exchange switching stage II for connection., to the selector unit III. For this it is only required that the switch 2 is controlled trom the exchange processor unit such that when the subscriber unit I according to Figure 1 is not activated, the switch K2 is open, .while the corresponding switch associated with an activated unit I Cnot shown in Figure 1) is closed. # The unit III contains a test signal generator TS, which sends a test signal in digital form, e g a low-frequency sinusoidal signal coded in agreement with the conversion of the speech signals in the subscriber unit I. A digital compressor unit CP2, of the same kind as the compres¬ sor unit CP1, is connected between the output of the test signal genei— ator TS and the input of the switch K2. A digital fitter H1 is further connected to the output of the test signal generator, the filter being dimensioned such that for the test signal frequency it is similar to filter F1 in the subscriber unit I. More specifically, if the transfer functions for the filters F1 and H1 are and h\,Cf> C,Cf) jGKf) that A-jC o) = CjCfo) and Φ- j Cfc = θ.,Cfo> where fo is the test signal frequency. The output of the filter H1 is connected to a filter bank. This contain N digital filters B1 ... BN having mutuatly similar construction but different characteristics corresponding to the characteristic of the transfer function "seen" towards the two-wire line from the terminals b,. b' of the balance filter B. The number N is not necessarily the same as the number of subscriber lines, but a filter B. can correspond to several tines. One input of a plurality of summing circuits S1 ... SN is connected to the output of each f tter.B1 ...BN. The second input of these summing circuits S1 ... SN is connected to the switch 2 via a digital f lter H2 and an expander circuit EX2 * The fitter H2 is dimen¬ sioned such that it imitates the inverse transfer function of the fitte F2 for the test signal frequency, i e if the transfer function of the filters F2 and H2 is and respectively where fo - test signal frequency. Together with the compressor unit CP1 (as well as the units CP2 and EX2) the expander circuit EX1 conventionally forms a companding unit to reduce quantization distorsion of the PCM coding in the subscriber unit I. The outputs of the summing circuits S ... SN are connected to a measui— ing circuit M. This measures, the energy of the output signals y. ... from the summing circuits S1 ... SN by forming the tr.ean square value of each of the signals X- ... X.. during a suitable time interval, e g l N a test signal period 1/fo, and is connected to the address input of a coefficient memory KM. This memory can be a ROM in which the coeffi¬ cients for each of the fitters B1 ... BN are stored (this will be de- scribed in detail later on). The signal y, of the signals y„ ... y coming to, and measured by the unit M, and which has the least mean square value, i e the least energy, gives an address signal from the measuring circuit M to the coefficient memory KM. The latter is con¬ nected to the control input of the balance filter B in the subscriber unit for feeding the selected coefficient array to this filter. Before describing the function of the selection unit. Figure 2 wilt be described in more detail, this Figure illustrating an embodiment of the balance fitter B. The input b to the f lter B is connected to a plurality of delay links DL1 ... D M. The. nputs of each delay link, as well as the output of the last link DLM an ~ connected to a plurality of controllable digital multipliers m ... m„, and the outputs thereof are connected to a summer S. Each delay link DL1 ... DLM has a delay determined by the sampling rate of the incoming signals ' to the fitter B, e g 16 kHz, if the sampling rate of the signals coming from the ex- change is multiplied by a factor of 2 in the filter F1. The control .inputs of the multipliers are connected to the N outputs of the coef¬ ficient memory KM in the selector unit III. The filter B thus con¬ stitutes an adaptive transversal filter, obtaining control signals from a memory unit KM to give an array of coefficients, whereby the required filter characteristic of the filter B is obtained. Determining of the coefficient array required for the filter B to give the best balancing for a given subscriber line is executed by the selection unit III. When the subscriber's telephone set is in the off-hook condition, a signal is sent to the exchange such that the selector unit III is con- nected to the subscriber station I via the switch K2. The switch K1 is controlled such that it is simultaneously open. The test signal generat or TS transmits a sampled sinusoidal test signal, e g the connecting tone in a sampled form, which is compressed in the unit CP2 and expand¬ ed in the unit EX1 according to a prescribed compander law. The at- tenuation and phase shift of the test signal are the same in the fitters F1 and H1. The signals appearing at the points b and b 1 z re thus sub¬ stantially the same. The signal at the point b continues across the filter F3, converter DA, hybrid circuit G and subscriber line and is reflected back to the subscriber telephone set across the Line, hybrid circuit G, converter AD and filter F4 to the point c. The signal paj S from the point b through said units and tine to the point c are thus equivalent with a filter F, the transfer function FCf) » F..Cf) • jΨCf) of which shall be similar to the transfer function BCf) of the balanced fitter, but with reverse sign. If the signal applied to the input of the balance filter B and the filter F3 is denoted by xCt) with the fre¬ quency function XCf) and the output signal from the summator So is de¬ noted by yCt) with the frequency function YCf) then where FCf) and BCf) are the transfer functions for the equivalent fit^ terFand the balance filter B, respectively. When the switch K1 is open, i e the switch K2 is closed, then from the signalling point of view the points b, c are equal to the points b, c. The signal in point b is thus approximately the same as xCt) and the signal at point c is approximately $he same as yCt). Each of the fil- ters Bl.--.. BN, constituting the fitter bank in the selection unit III, has been dimensioned so that they as closely as possible are similar to the equivalent f lter F, according to the above, for a certain num¬ ber of lines,-. Thus, each filter B. Ck - 1, ..., N) and each summator S, Ck = 1, ..., N) in the selector unit III corresponds to the balance filter B and summator So, respectively. So that equ tizing of the sig¬ nals shall take place in the summator So (when the switch K1 is closed and K2 opened) the signal YCf) ~~ XCf) ^F f + BCf)] shall be as smalt as possible, i e the factor [FCf) + BCf)l shall be as small as possible, which implies that the balance filter matches the line impedance. The signal y > Ct) can therefore be taken as a measure of how closely the transfer function of one of the filters 31 ... BN is similar to the transfer function of the equivalent filter F with reverse sign. The least value of j_FCf) + BCf)_[ is consequently determined in the se¬ lection unit III by determining the value of k Ck = 1, ..., N) of the signal y, Ct) which has the- least energy. The energy of the signal y, Ct) N is. from the summator S, can be denoted by: k ' f \ y. Ct) ! 2 dt = 'l Y. Cf ) ! 2 df = Z' x Cf ! 2 i F Cf) + B, Cf) i 2 df i e t he k K k - factor IFCf) + B fc Cf) | is least when /|y k Ct)| 2 dt is least. The meas¬ uring unit M therefore forms a mean square value of alt output signal from the summator circuits S1 ... SN, and a signal across its output e is transmitted. to the coefficient memory KM which gives the order nu ber k of the filter B^, for which is obtained the lowest energy of the signal y k (t) across the output of the associated summator S^. The out¬ put signal from the unit M is a binary address information to the coef ficient memory. KM, which selects in this memory the coefficient array C.„ associated, with the filter B.. Associated coefficients are after that fed from the memory KM, e g in parallel form, to the multiplier circuits rn. - m M in the balance filter B. o M The fitters B1 ... BN are suitably implemented as digital transversal filters of the same kind as the balance filter according to Figure 2, with the difference that the digital multipliers in the filters B1 ... BN are not variable but have fixed multiplying values, calculated by measuring of the line impedance values for the subscriber lines which are connected to the exchange. The measuring unit M and the subsequent coefficient memory KM are il¬ lustrated in more detail in Figure 3. The measuring unit contains N multipliers MU1 ... MUN, the inputs of which form the N inputs of the unit M. Each multiplier forms the square of an incoming signal.y. to 2 1 give a value z. = y. at the output. An accumulator circuit ACC1 ... ACCN is connected to each multiplier output for summing the squared sample values for each Z. signal, e g during a time corresponding to the period of the sinusoidal test signal from the generator TS. A com¬ parator circuit JF compares the thus formed values u. = _ z ( .) = T 2 k=0 ' y.Ct, ); Ci = 1, ..., N) and gives an address signal in binary form at 7 1 K . k=o • its output, giving the order number j. of the signal with the Least valu The coefficient memory KM comprises, for example, of an addressable ROM memory in which the coefficients C. Ci - 1, ..., N k = 1, ... M) are stored for the N f lters B1 ... BN. Addressing from the measuring unit OMPI M results in that the selected coefficients are transferred in parallel ffoorrmm ttoo tthhee mmuulltt-ipliers rao ... ra„π in the balance fitter B in the mode described above. The arrangement in accordance with the invention can naturally be modi- fied within the scope of the inventive concept. For example, the test signal generator can send a signal containing two frequencies, one in the Lower and the other in the upper range of the speech band. This is suitable in the cases where pupin zed lines are used. The transfer func tions for the filters F1, H1 and F2, H2 must then satisfy the relation- ships given above for both these frequencies. A suitable sampling rate in the filter B-is determined by the filters F1, F3 in the first signal path and the filters F2-»-F4 in the second. As an example, it has been assumed above that the sampling rate in the converters DA and AD is 512 kHz and that the fitters F3, F4 adjust the sampling frequency to 1ό kHz in the f lter B. A.lternativety, the fitter B can operate at a greater rate, and in the extreme case be directly connected to the input of the converter DA or the output of the con¬ verter AD Cvia the summator So), or at a tower rate by connection to the input of the fitter F1 or the output F2, the sampling rate then be- ing 8 kHz. The parallel connection of the filters B1 ... BN in the filter bank is advantageous, since possible disturbance signals from the subscriber then have the same effect on all the filter signals on summing in the summators S1 ... SN. Finally, it is not necessary to select as a criterion of the best ad¬ justment of the filter B to the line impedance the- output signal from the summators S1 ... SN which has least energy. It is also possible to form the absolute value of the signal yCt) and use the Least value of this as a criterion.

Claims: WHAT WE CLAIM IS: 1 Arrangement for adjusting an adaptive digital balance filter in cluded in each of a plurality of subscriber units, commonly connected to a telephone exchange, in response to the impedance of a tine conne ed to a subscriber unit, where each such unit contains, apart from th balance fitter CB), a two-wire to four-wire transfer circuit CG) betw an incoming two-wire line and both four-wire branches, a switch CK1) connecting and disconnecting the balance filter between said branches, filter units CF1, F2, F3, F4) and converter units CAD, DA) in each of the branches, characterized by a switching unit CII) connected to both four-wire branches for connecting a selection unit CIII) to one of sai subscriber units CI) simultaneously as the balance filter CB) is dis¬ connected from said branches, wherein the selector unit includes: a) a test signal generator CTS) for transmitting a periodic test sig nal in digital *form containing at least one tone frequency Cfo) across a loop containing one of the four-wire branches, the subscriber tine and the other four-wire branch, b) a fitter bank containing N digital fitters CB1 ... BN) connected in parallel for receiving a signal corresponding to the test signal across the input of the balance filter, the transfer function of each filter in the bank corresponding to the transfer function of the equiv alent filter CF) formed by the line impedance of each of at least N lines, which are connected to the unit CI) and to the part of said Loo which is connected to the balance filter CB), c) a plurality of N summing circuits CS1 ... SN) for summing the tes signal which has gone through said Loop with the same test signal fil¬ tered in said filter in the filter bank, d) a measuring unit CM) for forming a criterion from the signals Cy1 ... yN) obtained from said summing circuits CS1 ... SN) with rela¬ tion to the one CBk) of said filters CB1 ... BM) the transfer function of which best matches the transfer function of said equivalent filter, e) a memory unit CKM) storing a plurality of filter parameters Ccij) corresponding to the parameters of each of the fitters in the fitter bank and which, in dependence on the signal Ce) obtained from the measuring circuit CM), transmits signals to the balance filter CB) cor- responding to the parameters of the filter in the bank, the output sig¬ nal of which in the measuring circuit meets said criterion after sum¬ ming in said summing circuits CS1 ... SN). 2 Arrangement as claimed in claim 1, characterized in that the measuring unit CM) forms said. criterion by measuring the energy of the signals Cy1 .-.. yN) obtained from the summing circuits CS1 ... SN), the order number Ck) for the filter in the filter bank giving the sig- nal Cyk) having least energy is determined for selecting associated parameters Ccij) in the memory unit CKM). 3 Arrangement as claimed in claim 2, characterized in that the mea¬ suring, unit CM) contains a plurality of N multipliers CMU1 ... MUN) for forming the square " of the signals CY1 ... yN) given by the summing cir¬ cuits CS1 ... SN), a plurality N of accumulator circuits CACC1 ... ACCN) for summing the signals Cz1 ... zN) obtained from the multiplier cir¬ cuits during a time corresponding to a plurality of periods of the pe¬ riodic test, signal, and a comparator circuit CJF) for comparing the output signals Cu1 ... uN) from the accumulator circuits and for giving an address signal to the memory CKM), which selects the parameter array Ccij) in the memory unit which fulfills said criterion. 4 Arrangement as claimed in claims 1-3, characterized in that each filter in the filter bank comprises a digital transversal filter con¬ taining M delay links CDL1 ... DLM), the input of the. fitter as well as the output of each of the delay links being connected to- controllable digital multipliers Cmo ... mM), which receive said signals from the memory unit CKM) across their control inputs, their outputs being con¬ nected to a summator CS) the output of which forms the filter output.

Inventors: SVENSSON L
Applicants: ERICSSON TELEFON AB L M, SVENSSON L
Application year: 1981
Main classification: H04B1
IPC codes: H03H17, H04B1, H04B3, H04Q11