Abstract:
A transmission system wherein the data transmission rate is optimized for communication between modems which are each capable of operating at various transmission rates and wherein the transmission medium is of variable quality. Prior to synchronization each modem determines an optimum transmission rate based on line quality, and during a synchronization setup phase the modems exchange information identifying their minimum and maximum acceptable transmission rates. An initial transmission rate is adopted and then adjusted up or down, depending on line quality, so that the rate is as close to the optimum rate as is consistent with line quality and the rates acceptable to both modems. Thus, the optimum rate calculated by each modem is taken into account and is imposed on the remote modem only if the latter is capable of operation at that rate. The system is therefore highly flexible and also reliable.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to a transmission system for connecting modems which have various common transmission rates, and to means for adapting the transmission rate to the line quality. Such means provides, during a synchronization set-up phase of a communication, for: 
     exchanging between the modems relating to their transmission rates, 
     providing a measurement of the quality of the transmission medium, 
     changing the rate as a function of said measurement. 
     The invention also relates to a method of adapting the transmission rate to the line quality and relates to modems implementing said method. 
     2. Description of the Related Art 
     Transmission media are subjected to temporary disturbance (impulse noise, amplitude jumps) or permanent disturbance during the whole connection (white noise), which thus causes frequent resynchronizations or a high error rate to occur. The resynchronizations interrupt the data transmission for several seconds. 
     There is thus the problem of transmission rate adaptation between two modems (a local modem and a remote modem) as a function of the quality of the line and of the rate capacities of the remote modem. This is described in Japanese Patent Application no. 62-266581 of 23 Oct. 1987, published under number 1-109935. That Application implies that tile modems know each other perfectly well. 
     Currently, modems are proposed which are capable of transmitting data at 7 different rates: from 4800 bits/s to 19200 bits/s in steps of 2400 bits/s, for example. Thus the problem of adaptation to the right rate is much more acute. 
     The present invention proposes a system which permits connecting modems which have various rates, so that they can mutually adapt their rate. 
     Therefore, a system of the type described in the opening paragraph is characterized in that for connecting a local modem to a remote modem which includes a synchronization phase, it further comprises prior to the whole synchronization step defining: 
     a minimum exchange rate, rate --  min(exchange), which is the greater of the values rat --  min(local) and rate --  min(remote), where rate --  min(local) and rate --  min(remote) are the minimum acceptable rates for the local and remote modems; and respectively, 
     a maximum exchange rate, rate --  max(exchange), which rate --  max(exchange) is the smaller of the values rate --  max(local) and rate --  max(remote), where rate --  max(local) and rate --  max(remote) are the maximum acceptable rates for the local and remote modems, respectively. 
     The system is also used after the synchronization phase, for establishing the &#34;rate --  trans&#34; that being the transmission rate defined by the quality of the transmission medium. 
    
    
     BRIEF DESCRIPTION OF THE DRAWING 
     The following description made with reference to the annexed drawings, all given by way of non-limiting example, will provide a more complete understanding of the invention. In the drawings: 
     FIG. 1 shows a modem according to the invention, 
     FIG. 2 is a functional block diagram of the modem shown in FIG. 1, and 
     FIG. 3 shows a system according to the invention having a configuration of two modems according to the invention connected to each other. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     The modem 1 shown in FIG. 1 interconnects a digital-type terminal 5 and a telephone-type transmission line 7. This modem is constituted based upon microprocessor units 10 and 11. Unit 10 is assigned to the management of the modem and unit 11 is operates as a signal processor which comprises, habitually, a calculation unit (ALU) 12, a random-access memory 13 and a read-only memory 14 containing the program of instructions which implement the method of the invention. A first interface circuit 15 makes it possible to connect the modem 1 to the terminal 5. A second interface circuit 20 makes it possible to transform on the one hand the signals coming from the telephone line 7 into digital signals and, on the other, to carry out the reverse operation. Such a circuit is described in European Patent Application EP 0 318 105. Unit 11 carries out various functions and, in particular, transmission channel equalization. This function is carried out by the functional units shown in FIG. 2. 
     The signal to be filtered X(t) is received at access 45 coming from line 7, and is the sum of a payload signal S(t) and line disturbance P(t). The filtered signal Y(t) is compared with a reference signal R(t) by a subtracter element 50. The result is an error signal E(t) which adjusts the coefficients of an equalization filter 55. This filter is characterized by its impulse response H(t,C) which depends on a set of coefficients denoted C. The control of the equalization coefficients is realised by an iterative gradient algorithm via error minimization. 
     The applicable equation is the following: ##EQU1## in which C is a filter coefficient and T is the iteration step. The value of α is important; it is the gain of the equalizer, and determines the duration of the convergence and the value of the residual error. 
     The error signal E(t) is also used according to the invention for measuring the quality of the transmission medium. The transmission medium is said to be of poor quality if: 
     the instantaneous error ratio is higher than a threshold S r1 , 
     the mean error ratio over 5 seconds is higher than a threshold S r2 , or 
     the mean error ratio over 5 minutes is higher than a threshold S r3 . 
     The transmission medium is said to be of good quality if: 
     the instantaneous error ratio is lower than a threshold S m1 , and 
     the mean error ratio over 5 seconds is lower than a threshold S m2 , or 
     the mean error ratio over 5 minutes is lower than a threshold S m3 . 
     Each of these thresholds is a constant factor determined as a function of the transmission rate and of the corresponding criterion. 
     FIG. 3 shows a system with two modems 1 and 80 separated by a transmission medium 85. Modem 1 will be considered the local modem and modem 80 the remote modem. The remote and local modems may have different rates varying in steps of 2400 bits/s. For example, the local modem 1 tolerates rates from 4800 bits/s to 19200 bits/s, whereas the remote modem 80 only tolerates rates from 9600 bits/s to 14400 bits/s. It is thus necessary that changes of the rates remain compatible with the modems while taking the quality of the transmission medium into consideration. 
     First of all the following rates will be defined: 
     (1) rate --  min(local): 
     minimum rate acceptable to the local modem, 
     (2) rate --  max(local): 
     maximum rate acceptable to the local modem. These values depend, by composition, on the local modem. 
     (3) rate --  min(remote): 
     minimum rate acceptable to the remote modem, 
     (4) rate --  max(remote): 
     maximum rate acceptable to the remote modem. These values depend, by composition, on the remote modem. 
     (5) rate --  trans: 
     real transmission rate at a given instant, 
     (6) rate --  opt: 
     optimum calculated rate depending on the quality of the line for the direction of transmission from the remote modem to the local modem, 
     (7) rate --  min(exchange): 
     minimum rate common to the two modems, 
     (8) rate --  max(exchange): 
     maximum rate common to the two modems, 
     Before the connection is switched on, the parameters are initially set as follows: 
     rate --  min(exchange)=rate --  min(remote)=rate --  min(local) 
     rate --  max(exchange)=rate --  max(remote)=rate --  max(local) 
     After the connection is switched on (by the signals R1, R2 transmitted at 4800 bits/s, as this is defined by the V32 standard of the CCITT), the local modem is told the tolerances of the remote modem and the remote modem is told the tolerances of the local modem. 
     Thus one has: 
     rate --  min(exchange)=max{rate --  min(local); rate --  min(remote)} 
     rate --  max(exchange)=min{rate --  max(local); rate --  max(remote)} 
     rate --  trans=4800 bits/s which is the rate defined by the standard at the start). 
     The rate may be changed if: 
     rate --  opt≠rate --  trans 
     The rate is to be lowered if the following conditions are met: 
     rate --  opt&lt;rate --  trans 
     rate --  min(exchange)&lt;rate --  trans 
     The rate is to be raised if the following conditions are met: 
     rate --  opt&gt;rate --  trans 
     rate --  max(exchange)&gt;rate --  trans 
     The calculation of the optimum rate does not directly depend on the capacities of the modem. The following holds: 
     If the quality of the line is considered poor, an optimum rate rate --  opt is defined as: 
     rate --  opt=max{rate --  trans--rate variation; rate --  min(local)} 
     If the quality of the line is considered good: 
     rate --  opt =min}rate --  trans+rate variation; rate --  max(local)} 
     where in practice the rate variation is 2400 bits/s. 
     The initial synchronization of the modems is always effected at the rate --  max(exchange). When the rate is lowered, rate --  max(exchange) assumes the value of rate --  trans. The rising of the rate is thus blocked. To avoid the blocking in the case where the criterion of rate increase has been adhered to for 10 minutes, and if the rate --  opt is not higher than rate --  max(remote) nor than rate --  max(local), the value of rate --  max(exchange) becomes: 
     rate --  max(exchange)=rate --  opt. 
     In order that this change of rate can be effected, the synchronization sequence is relaunched and said signals R1 and R2 are used to make this change possible. 
     Thus, due to the method, the optimum rate calculated by one of the modems is taken into account and is imposed on the remote modem only if the latter is in a position to accept. The advantage of this is that the decision can be made by either of the modems and thus solves the problem of dissymmetrical links. 
     This makes the procedure highly flexible, but also reliable, because each modem is informed of the acceptable rates by the remote modem and will not ask for an unacceptable change of rate. 
     Example of use (see FIG. 3) 
     It will be recollected that modem 1 has the following rate capacities: 19200 bits/s to 4800 bits/s, and modem 80: 14400 bits/s to 9600 bits/s. Assume that the transmission medium in the direction from modem 1 towards modem 80 becomes degraded and then, after several minutes, the quality is restored again. 
     Here are the resultant changes of the rate: 
     
         ______________________________________Modem 1.rate.sub.-- max(local) = 19200 bits/srate.sub.-- min(local) = 4800 bits/sModem 80.rate.sub.-- max(local) = 14400 bits/srate.sub.-- min(local) = 9600 bits/sSTARTING SYNCHRONISATIONModem 1.rate.sub.-- max(remote) = 14400 bits/srate.sub.-- min(remote) = 9600 bits/srate.sub.-- max(exchange) = 14400 bits/srate.sub.-- min(exchange) = 9600 bits/srate.sub.-- trans  = 14400 bits/sModem 80.rate.sub.-- max(remote) = 19200 bits/srate.sub.-- min(remote) = 4800 bits/srate.sub.-- max(exchange) = 14400 bits/srate.sub.-- min(exchange) = 9600 bits/srate.sub.-- trans  = 14400 bits/sModem 1: RATE.sub.-- OPT = 16800 bits/SModem 8: RATE.sub.-- OPT = 12000 bits/S↓RATE REDUCTION BY MODEM 80Modem 1.rate.sub.-- max(exchange) = 12000 bits/srate.sub.-- min(exchange) = 9600 bits/srate.sub.-- trans  = 12000 bits/sModem 80.rate.sub.-- max(exchange) =  12000 bits/srate.sub.-- min(exchange) = 9600 bits/srate.sub.-- trans  = 12000 bits/sModem 1: RATE.sub.-- OPT = 14400 bits/sModem 80: RATE.sub.-- OPT = 9600 bits/s↓RATE REDUCTION BY MODEM 80Modem 1.rate.sub.-- max(exchange) = 9600 bits/srate.sub.-- min(exchange) = 9600 bits/srate.sub.-- trans  = 9600 bits/sModem 80.rate-max(exchange) = 9600 bits/srate.sub.-- min(exchange) = 9600 bits/srate.sub.-- trans  = 9600 bits/sModem 1: RATE.sub.-- OPT = 12000 bits/sModem 80: RATE.sub.-- OPT = 7200 bits/s↓NO CHANGE OF RATETHE QUALITY OF THE LINE BECOMES GOOD AGAINModem 1.rate.sub.-- max(exchange) = 9600 bits/srate.sub.-- min(exchange) = 9600 bits/srate.sub.-- trans  = 9600 bits/sModem 80.rate.sub.-- max(exchange) = 9600 bits/srate.sub.-- min(exchange) = 9600 bits/srate trans  = 9600 bits/sModem 1: RATE.sub.-- OPT =  12000 bits/sModem 80: RATE.sub.-- OPT = 12000 bits/s↓MONITORING OF THE RATE RATE.sub.-- OPT (*)FOR 10 MINUTES↓Modem 1: RATE.sub.-- OPT = 12000 bits/sModem 80: RATE.sub.-- OPT = 12000 bits/s↓RATE RAISED BY MODEM 1Modem 1.rate.sub.-- max(exchange) = 12000 bits/srate.sub.-- min(exchange) = 9600 bits/srate.sub.-- trans  = 12000 bits/sModem 80.rate.sub.-- min(exchange) = 12000 bits/srate.sub.-- min(exchange) = 9600 bits/srate.sub.-- trans  = 12000 bits/s1: RATE.sub.-- OPT = 14400 bits/s80: RATE.sub.-- OPT = 14400 bits/s↓MONITORING OF THE RATE RATE.sub.-- OPT (*)FOR 10 MINUTES↓1: RATE.sub.-- OPT = 14400 bits/s80: RATE.sub.-- OPT = 14400 bits/s↓RATE RAISED BY MODEM 1 OR MODEM 80Modem 1.rate.sub.-- max(exchange) = 14400 bits/srate.sub.-- min(exchange) = 9600 bits/srate.sub.-- trans   = 14400 bits/sModem 80.rate.sub.-- max(exchange) = 14400 bits/srate.sub.-- min(exchange) = 9600 bits/srate.sub.-- trans  = 14400 bits/sModem 1: RATE.sub.-- OPT = 16800 bits/sModem 80: RATE.sub.-- OPT = 16800 bits/s↓NO CHANGE OF RATE______________________________________ 
    
     It will be noted that to avoid an incessant weighing between two adjacent rates, the lowering and rising thresholds are defined for each criterion with a hysteresis of 0.1 between the two thresholds (i.e. about 3 dB). 
     (* the error ratio is satisfactory for this duration and a rise of the rate is considered).