TRANSCODING AND TRANSDECODING UNIT, AND METHOD FOR ADJUSTING THE OUTPUT THEREOF

Abstract: The invention relates to a transcoding and transdecoding unit in a digital mobile radio system, and to methods for adjusting their output signals. The unit comprises an expander unit (ED) for converting companded digital data (SD1) into a linear signal (SD2); a speech encoder (301) for coding a linearized signal (SD3) into encoded form (SD4); and an amplifying means (VD) for amplifying the expanded signal (SD2). In order that the outbound audio signal would not suffer interference due to the raised level, the transcoding unit further comprises a level monitoring means (TD) for monitoring the amplitude of the linearized signal (SD2) and for controlling said amplifying means (VD) such that the signal (SD3) produced by the amplifying means is of a desired level.

Description: Transcoding and transdecoding unit, and method for adjusting the output thereof Field of the Invention The invention relates to a transcoding unit and a transdecoding unit in a digital mobile radio system. The invention further relates to a method for adjusting the output signal of a transcoding unit and the output signal of a transdecoding unit in a digital mobile radio system. Background of the Invention Voice-frequency signals, i.e. speech signals, data signals, and signalling, all encoded into digital bits, are transmitted on the data channel of a Digital Base Station System (DBSS) of a digital mobile radio or radio telephone system. Certain base station system parts processing the data channels can be implemented such that they shape the speech signal. Such shaping may be e.g. amplification, attenuation, and cutting signal level peaks. In the prior art systems, speech signals trans- mitted in the data channel have been amplified in order that the voice formed on the basis of the signal heard by the user of a subscriber station or the sub¬ scriber of a telecommunications network would have a sufficient strength. In addition to amplification, the signal typically has to be transcoded and transdecoded e.g. by the LTP (Long Term Prediction) or RPE (Regular Pulse Excitation) or LPC (Linear Predictive Coding) method. The GSM system has typically utilized a com¬ bination of these, i.e. an RPE-LTP-LPC method, de- scribed e.g. in The GSM System for Mobile Commun- ±cat±ons , by M. Mouly and M.B. Pautet, 1992, 49 rue Louise Bruneau, Palaiseau F-91120, p. 155-162. A more detailed description of the methods can be found in GSM 06.10 , January 1990, GSM Full Rate Speech Trans- coding, ETSI, 93 p. These coding methods handle drastic amplitude variations and exceedings of an allowable amplitude range occurring in the signal to be encoded so that the subscriber receiving the signal and thus hearing the voice experiences distortion and strong interferences in the voice. This is a major problem particularly in the GSM system, where the signal to the subscriber is amplified in order that the transmitted signal heard by the subscriber would have a higher strength. Disclosure of the Invention The object of the present invention is to provide a method and a system, by means of which a signal to be transmitted in a telecommunications system can be amplified without that the signal will be amplified to such an extent that its amplitude exceeds the dynamic range of the equipment used in transmission or coding in the telecommunications system. The invention thus relates to a transcoding unit in a digital mobile radio system comprising an expand¬ er unit for converting companded digital data into a linear signal; a speech encoder for coding a linear- ized signal into encoded form; and an amplifying means for amplifying the expanded signal. This new transcoding unit of a digital mobile radio system according to the invention is implemented such that it is characterized in that it further com- prises a level monitoring means for monitoring the amplitude of the linearized signal and for controlling said amplifying means such that the signal produced by the amplifying means is of a desired level. The invention also relates to a transdecoding unit in a digital mobile radio system, comprising a speech decoder for converting encoded data into linear form; an amplifying means for amplifying the linear data; and a compander unit for companding the ampli¬ fied linear data. The inventive transdecoding unit is characterized in that it further comprises a level monitoring means for monitoring the amplitude of the linearized signal and controlling said amplifying means such that the signal produced by the amplifying means is of a desired level. The invention further relates to a method for adjusting the output signal of a transcoding unit in a digital mobile radio system, where companded digital data is expanded into a linear signal, and the linear signal is encoded. This method is characterized in that it further comprises measuring the amplitude of the linearized signal; and adjusting amplification of the signal to be applied to the speech encoder on the basis of the measuring result. The invention also relates to a method for adjusting the output signal of a transdecoding unit in a digital mobile radio system, where encoded data is coded into linear form, the linear data is amplified, and the amplified linear data is companded. This method is characterized by measuring the amplitude of the linear signal; and adjusting amplification of the linearized data on the basis of the measuring result. The invention is based on the idea that the signal strength is adjusted in the digital base station system by utilizing a level adjusting means. In the invention, a voice-frequency signal, such as speech or music (which will be referred to as a speech signal below), is amplified and the magnitude of the amplification is adjusted. The adjustment is based on the fact that the base station system part encoding or processing the signal performs the adjustment on the basis of signal strength and its variations. An advantage of these inventive methods and equipments is that the signal will be subjected to basic amplification which improves audibility while preventing excessive distortion of the signal at high strengths. The speech signal can be shaped such that it is amplified at lower signal strengths while the amplification is diminished or removed at high levels. This provides the advantage that the audibility of the signal is improved from the viewpoint of the user of the telecommunications network especially when there is noise around the user. The operating conditions are noisy typically when the subscriber station, such as a mobile radio, is positioned in a moving vehicle, or a portable phone is used in a large crowd of people. Brief Description of the Drawings In the following the invention will be described more fully with reference to the attached drawings, in which Figure 1 is a block diagram illustrating a tele¬ communications system where the equipment and method according to the invention can be applied; Figure 2 is a block diagram illustrating a transcoding or transdecoding unit where the equipment or method according to the invention can be applied; Figure 3 is a block diagram illustrating a transcoder and a transdecoder according to the in- vention. Detailed Description of the Invention Figure 1 shows a block diagram illustrating a telecommunications system where the equipment and method according to the invention can be applied. The digital base station system DBSS, with which the in¬ vention is concerned, comprises a transcoder TC, which converts a speech signal between two different repres¬ entations. The conversion takes place between a PCM signal (64 kbit/s) and a GSM signal (16 kbit/s or 8 kbit/s). It is done by performing e.g. RPE and/or LTP coding. The PCM-format signal is associated with a public switched telecommunication network (PSTN) while the GSM-format signal propagates through the base station system BSS. The base station system comprises a transcoding and transdecoding unit TC, a base station controller BSC, and a base station BTS. The BSC controls one or more base stations BTS. The MSC is an exchange for a digital mobile radio network. The subscriber station MS is a digital mobile radio. The mobile radio or subscriber station MS communicates with the base station system BSS on a radio signal carrier; each individual channel forms part of the total information capacity of the carrier. The trans- coding and transdecoding unit TC handles several speech channels. The 64 kbit/s representation shown in the figure is a companded pulse code (either A-law or μ-law) modulation complying with the CCITT recommenda¬ tion G.711. The representation of a GSM signal is defined in the ETSI GSM recommendation 06.10, already referred to above, and in the recommendation 08.60, Remote Control of Transcoder s and Rate Adaptors, ETSI. The mere actual RPE-LTP-LPC coded signal carrying pay- load information needs a capacity of 13 kbit/s (full- rate coding) or about 6.5 kbit/s (half-rate coding) for transmission. In addition, an extra capacity of 3 kbit/s (full-rate coding) or about 1.5 kbit/s (half- rate coding) is required, as successful transmission between the base station system BSS and the transcoder TC requires signal framing and certain control and monitoring functions. A 16 kbit/s signal is trans¬ mitted between the BTS and the TRAU in burst form or as a continuous bit stream; as the signal has been framed, frames can be distinguished in it. In Figure 1, the bit rate of an individual channel is indicated in each block. Figure 2 shows the transcoding/transdecoding unit TC, which processes a number of traffic channels corresponding to a single digital 2.048 kbit/s or 1,544 kbit/s PCM connection. Connections to the ex¬ change MSC and to the base station controller BSC are in a control, monitoring and interfacing block 200. Block 200 may control one or more transcoding units 201. Each transcoding unit 201, in turn, may comprise one or more channel-specific transcoding units TRAU.l 202 and TRAU.2 203. Figure 3 shows functional blocks in a channel- specific transcoding unit TRAU to the extent that they are essential to the present invention. The trans- coding unit TRAU forms part of the TC. It converts the representation of an individual channel from PCM format to GSM format, and vice versa . The TRAU may be a programme-operated processor, and it may have a random access memory. It may be divided into a forward or downlink block D and a reverse or uplink block U. Blocks D and U may be implemented by a single common processor or by several processors so that each processor participates in the functions of both block D and block U. The blocks may further be implemented such that each block is implemented separately by one or more processors. As used in the text below, the letter D in the reference numerals indicates the for¬ ward or downlink direction and the letter U the reverse or uplink direction. The transcoder converts a PCM voice signal from the PSTN into a GSM signal e.g. by a predictive coding method. This takes place in the downlink direction in block D. Correspondingly, in block U, the GSM voice signal based on the predictive coding method is con- verted into a PCM signal in the reverse or uplink direction. The functions of the different blocks of the TRAU shown in Figure 3 will now be described. The function of an expander ED is to convert a 64-kbit/s- rate PCM signal SD1 to a rate 104 kbit/s, i.e. into a signal SD2. The function of an RPE-LTP encoder 301 is to convert a 104-kbit/s-rate signal SD3 into a GSM signal SD4. The function of an RPE-LTP decoder is to convert a GSM signal SU1 to a rate 104 kbit/s, i.e. into a signal SU2. The function of a compander KU operating in the reverse direction, i.e. in block U, is to convert a 104 kbit/s signal SU3 into a 64 kbit/s PCM signal SU4. The TRAU unit is connected to the upper-level block through an IPD interface, where the PCM signal enters the TRAU unit. Further, the TRAU unit is connected to the upper-level block through an IGD interface, through which the GSM signal leaves the TRAU unit. The IGU is an interface where the GSM signal enters the TRAU unit from the upper-level block in the reverse direction, i.e. in the uplink direc¬ tion. Correspondingly, the IPU is an interface where the PCM signal leaves the TRAU unit. In addition, the system according to the invention comprises block level monitoring, indicated by TD in the downlink direction, and by TU in the uplink direction, and corresponding amplifiers VD and VU, buffers PD and PU, and memory positions AD, AD', AU, AU' , SPD and SPU, which may be located in either block or in both of them. The function of the level monitoring block TD is to monitor the amplitude of the signal SD2, and to adjust the amplification value AD' on the basis of the monitoring result. The function of the level monitor¬ ing block TU is to monitor the amplitude of the in¬ coming signal SU2, and to adjust the amplification value AU' on the basis of the monitoring result. Alternatively, the signal can be amplified first and then the level of the signal is measured and ampli¬ fication is adjusted. The function of the amplifier VD is to shape signal SD2 into signal SD3 so that signal SD3 represents a signal amplified to a desired magni¬ tude. Correspondingly, the function of the amplifier VU in the reverse direction is to shape signal SU2 into signal SU3 so that signal SU3 represents a desired amplified signal. The function of the buffer PD is to store a linearized 104-kbit/s-format signal (or 112-kbit/s-format signal in 1,544-kbit/s systems) (SD2, SD3) until it is applied to the RPE-LTP-LPC encoder 301. The function of the buffer PU is to store the 104-kbit/s-format signal (SU2, SU3) until it is applied to the compander KU. AD is a basic amplifica¬ tion value of block D; it is defined when the TRAU is started. AU is a basic amplification value of block U; it is defined when the TRAU is started. AU' is the current amplification value of block U. The amplifica- tion value AU' is set by the level monitoring block, and it is used by the amplifier VU. AD' is the current amplification value of block D; it is set by the level monitoring block, and it is used by the amplifier VD. SPD is the amplification adjustment step of block D; it is defined when the TRAU is started. SPU is the amplification adjustment step of block U; it is de¬ fined when the TRAU is started. LD is an arithmetic counter for block D; the reading of the counter is compared with a limit value RD. The reading of the counter LD is proportional to the number of events in favour of diminishing the amplification. An arithmetic counter LU is dedicated to block U; its reading is compared with a limit value RU. The reading of the counter LU is proportional to the number of events in favour of diminishing the amplification. The limit value RD is a value assigned to block D when the TRAU unit is started. The greater the limit value RD assigned, the more slowly the amplification value AD' changes in the negative direction, i.e. the more slowly the amplification is diminished. This takes place even though high-level signals are encountered, but the greater the number of high-level signals encountered, the more slowly the amplification is diminished. RU is a value assigned to block U when the TRAU unit is started. The greater the assigned limit value RU, the more slowly the amplification value AU' changes in the negative direction, even though high- level signals are encountered. The more frequently high-level signals are encountered, the more rapidly the amplification is diminished. PAD is an arithmetic counter for block D; its reading is compared with an auxiliary limit value PHD. The reading of the counter PAD is proportional to the number of events in favour of increasing the amplification. The arithmetic counter PAU is dedicated to block U; its reading is compared with a limit value PHU. The reading of the counter PAU is proportional to the number of events in favour of increasing the amplification, i.e., for instance, it is the greater, the greater the number of events in favour of increasing the amplification. PHD is a value assigned to block D when the TRAU is start¬ ed. The greater the PHD assigned, the more slowly the amplification value AD' changes in the positive direc¬ tion, even though no high-level signals are encounter- ed, i.e. the more slowly the amplification is in¬ creased. PHU is a value assigned to block U when the TRAU is started. The greater the assigned PHU, the more slowly AD' changes in the positive direction, even though no high-level signals are encountered, i.e. the more slowly the amplification is increased. 64 kbit/s signals SD1 and SU4 consist of a sequence of samples; the sampling interval is 8 kHz, and each sample comprises 8 bits. The 104 kbit/s signal represents a PCM signal with a linear coding relative to the signal strength. Accordingly, signals SD2, SD3, SU2 and SU3 consist of a sequence of samples; the sampling interval is 8 kHz, and each sample comprises 13 bits. Sample values vary in the range between -4,032 and +4,032 in the 2,048 kbit/s system, and in the range between -8,031 and +8,031 in the 1,544 kbit/s system (decimal number system). In the internal computation of the TRAU, values between -4,095 and +4,095 (2,048 kbit/s) and between -8,192 and +8,192 (1,544 kbit/s) may occur. The maximum and minimum values will be marked +AM and -AM below. AM may be selected so that it signifies either the extreme value of linear 104 kbit/s PCM or the corresponding extreme value of the internal com¬ putation of the TRAU. A channel where the GSM signal and PCM signal are transmitted may transmit not only the actual speech signal but also other signalling transmitted as digital character codes. In this invention, the method of amplification allows the other signalling informa- tion to pass through the TRAU without any amplifica- tions or modifications. In the downlink direction, level adjustment methods 1 and 2 according to the invention aim to prevent a situation in which signal SD3, i.e. the input of the RPE-LTP-LPC encoder is distorted due to the excessive strength of signal SDl, i.e. the PCM signal. To achieve this, the amplifier VD monitors the strength of signal SD2 or SD3 and adjusts its ampli¬ fication value on the basis of the monitoring result. A level monitoring means TD or TU can thus be made to adjust the amplification value. Level adjustment diminishes the amplification by a suitable value when signals of excessive strength are received. In other words, when a number of events indicating that the signal levels are too high are received in close suc¬ cession, the amplification is further diminished. This takes place by the use of the counter LD. The counter is incremented whenever high signal levels are detected, e.g. when the signal is at its maximum or minimum in consecutive samples. When the reading of the LD has exceeded the limit value RD, the ampli¬ fication value AD' is diminished by a certain value, e.g. the step SPD. At the same time the counter LD is set to zero. Furthermore, when the level monitoring means TD detects no signal values of excessive strength during a predetermined period of time, the amplification value is again begun to be increased. However, if high-strength signals are again received while the amplification value is being increased, the ampli¬ fication is diminished. Similarly, when the ampli¬ fication has been increased for a sufficiently long period, it reaches the basic amplification value. The counter LD is thus decremented at predetermined inter- vals by one until it is zero, for instance. However, it may happen that the LD increments over a period due to high-strength signals. When the LD is zero, the counter PAD is incremented by one. When the PAD has exceeded the value PHD, the amplification AD' is in- creased by SPD. At the same time, the PAD is set to zero, i.e. its reading indicates how long the LD has been zero, and after it has been zero for a suffi¬ ciently long period, it is known that amplification should be increased. In other words, the counters LD and PAD are used such that the amplification will be adjusted towards its basic value. On detecting that a call has terminated, ampli¬ fication is set to its basic value, and all of the counters are set to zero to wait for a new call. Accordingly, when a call terminates, the TU receives a message from block U as block U detects that the signal comprises merely ones (fault situation) or that idle state signal is received (the call has termin¬ ated). In the uplink direction, the adjusting methods aim at preventing a situation in which signal SU4, i.e. PCM signal, is distorted, as signal SU4, i.e. the output of the RPE-LTP-LPC decoder 302, has a high strength. To achieve this, the amplifier VU monitors the strength of signal SU2 or SU3 while adjusting its amplification value on the basis of the monitoring performed by the level adjustment means, for instance. Other details are as described with reference to the downlink direction. Method 2 differs from method 1 in the following way: A sequence of samples of a predetermined length is derived from the PCM signal at predetermined inter¬ vals, and the sample values are multiplied by the amplification value AD'. If too high values occur in the multiplied signal, it is found out to what extent the values are too high, and AD' is diminished accord¬ ingly. In this way, AD' is set to a value at which too much distortion will not pass through. As it has been necessary to adjust AD' to a smaller value, the im¬ mediate operation of the process for increasing AD' is also prevented by setting the respective counter PAD to zero. In other words, the samples of signal SD2 are read in and multiplied by AD' , which gives signal SD2'. If too high levels occur, AD' is varied, which gives a new SD2'. When this is appropriate, AD' has an appropriate value, and so SD2' is the right desired signal. If too high levels occurs, the counter PAD is also set to zero in order that any unnecessary in- creases in amplification could be avoided now that the amplification should be diminished. If the amplifica¬ tion has not diminished for a predetermined time period, it is begun to be adjusted towards the basic value. In other words, the counter PAD is incremented at predetermined intervals. After the PAD has exceeded a certain value (PHD), it is advisable to increase amplification, whereby the PAD is also set to zero. In method 2, the fault state and termination of a call are handled in the same way as in method 1. Method 1 and method 2 for level adjustment will now be described. The level monitoring means TD of block D oper¬ ates in the following way, method 1: If AD is negative, i.e. attenuates the signal, AD' = AD, which means that the value of AD' is not changed. If AD is positive, the level monitoring means TD reads the sample value of each signal SD3, and adjusts AD' in the following way. The level monitoring means TD adjusts the reading of the counter LD at uni- form intervals: if the reading is at least 0, it is decremented by one. If the reading so obtained is greater than the limit value RD, AD' is diminished by SPD, and the LD is set to zero. If the reading of the counter LD is 0, the counter PAD is incremented by one. If the reading of PAD is at least PHD, the ampli¬ fication value AD' is increased by SPD, and the PAD is set to zero. If the level monitoring means TD detects on reading the sample of SD3 that the current sample of SD3 and the preceding sample both have a value from the range between -AM and +AM, or the value of one of them only is +AM or -AM, the TD will not take any measures. On the contrary, if the level monitoring means TD detects on reading the sample of SD3 that the current sample of SD3 and the preceding sample both have the value +AM or both have the value -AM, it increments the counter LD by one. Furthermore, the level monitoring means TD restores AD' to AD when a message received by it from the TU of block U indic¬ ates this. The level monitoring means TU of block U oper¬ ates in the following way, method 1: If AU is negative, i.e. attenuates the signal, AU' = AU, which means that the value of AU' is not changed. If AU is positive, the TU reads the sample value of each signal SU3, and adjusts the amplifica¬ tion value AU' in the following way. The level monitor¬ ing means TD adjusts the reading of the counter LU at uniform intervals: if the reading is at least 0, it is decremented by one. If the reading so obtained is greater than RU, AU' is diminished by SPU, and the LU is set to zero. If the reading of the LU is 0, the counter PAU is incremented by one. If the reading of PAU is at least PHU, the amplification value AU' is increased by SPU, and the PAU is set to zero. If the level monitoring means TU detects on reading the sample of SU3 that any two consecutive samples of SU3 both have a value from the range be¬ tween -AM and +AM or only one of them has the value +AM or -AM, the TU does not take any measures. On the contrary, if the level monitoring means TU detects on reading the sample of SU3 that any two consecutive samples of SU3 both have the value +AM or both have the value -AM, it increments the counter LU by one. If signal SU1 comprises merely "1" pattern at least for a predetermined period of time (indicating the termination of a call), the TU restores AU' to AU and transmits a message to the TD of block D, request¬ ing it to restore AD' to AD. The level monitoring means TD of block D oper¬ ates in the following way, method 2: If AD is negat¬ ive, i.e. attenuates the signal, AD' = AD, which means that the value of AD' is not changed. If AD is posit¬ ive, the TD reads the sample value of each signal SD2, and adjusts the amplification value AD' to be used in the following way. The counter PAD is incremented by one at uniform intervals. If the reading of the PAD is at least equal to PHD, AD' is increased by SPD, and the PAD is set to zero. Further, the TD is allowed to adjust the value of AD' at uniform intervals; the interval between the adjustments is selected to be 20 ms or a multiple of 20 ms, as the frequency of occur¬ rence of the frame transmitting the RPE-LTP-LPC signal is 20 ms. During 20 ms, 160 samples of signal SD2 are handled (full-rate coding). The TD reads a number of samples of signal SD2' at uniform intervals. SD2' is obtained by amplifying the samples of SD2 by the cur¬ rent value of AD'. If the maximum (+AM) is exceeded or values lower than the minimum (-AM) occur in the above-mentioned samples of SD2' a number of times greater than a predetermined number, the TD adjusts AD' to a smaller value. Positive sample values, which are > +AM, are then changed into +AM, and negative sample values, which are < -AM are changed into -AM, and the obtained sample values of signal SD2' are reproduced as signal SD3. At the same time, the counter PAD is set to zero. If the maximum (+AM) is not exceeded or values lower than the minimum (-AM) do not occur in the above-mentioned samples of SD2' a number of times greater than a predetermined number, the TD performs no adjustments. The TD restores AD' to AD when it receives from the TU of block U a message indicating this. The level monitoring means TU of block U oper- ates in the following way, method 2: If AU is negat¬ ive, i.e. attenuates the signal, AU' = AU, which means that the value of AU' is not changed. If AU is posit¬ ive, the TU reads the sample value of each signal SU2, and adjusts AU' in the following way. The counter PAU is incremented by one at uniform intervals. If the reading of PAU is at least equal to PHU, AU' is in¬ cremented by SPU, and the PAU is set to zero. Further, the TU is allowed to adjust the value of AU' at uni¬ form intervals; the interval between the adjustments is selected to be 20 ms or a multiple of 20 ms, as the frequency of occurrence of the frame transmitting the RPE-LTP-LPC signal is 20 ms. During 20 ms, 160 samples of signal SU2 are handled. The TU reads all of the 160 x n samples of signal SU2' at uniform intervals. SU2' is obtained by amplifying the samples of SU2 by the current value of AU' . If the maximum (+AM) is exceeded and/or values lower than the minimum (-AM) occur one or more times in the above-mentioned samples of SU2' , the TU adjusts AU' to a value such that such exceed- ings and/or lower values will be eliminated from SU2'. Positive sample values, which are > +AM, are then changed into +AM, and negative sample values, which are < -AM are changed into -AM. The values of SU2' are then reproduced as signal SU3. At the same time, the counter PAU is set to zero. If the maximum (+AM) is not exceeded or values lower than the minimum (-AM) do not occur in the above-mentioned samples of SU2, the TU performs no adjustments. If SU1 comprises merely "1" pattern at least for a predetermined period of time (indicating a fault situation) or merely certain idle pattern at least for a predetermined period of time (indicating call termination), the TU restores AU' to AU, and transmits a message to the TD of block D to request it to restore AD' to AD. The drawings and the description related to them are only intended to illustrate the idea of the in¬ vention. In their details, the transcoder, trans- decoder or the methods for adjusting the output signal of a transcoding unit and transdecoding unit may vary within the scope of the claims. Even though the inven¬ tion has been described above mainly with reference to a mobile radio system, the invention is equally appli¬ cable in other radio telephone systems.

Claims: Claims: 1. Transcoding unit (202, 203; Figure 3) in a digital mobile radio system, comprising an expander unit (ED) for converting companded digital data (SDl) into a linear signal (SD2); a speech encoder (301) for coding a linearized signal (SD3) into encoded form (SD4); an amplifying means (VD) for amplifying the expanded signal (SD2), c h a r a c t e r i z e d in that the transcoding unit further comprises a level monitoring means (TD) for monitoring the amplitude of the linearized signal (SD2) and for con¬ trolling said amplifying means (VD) such that the signal (SD3) produced by the amplifying means is of a desired level. 2. Transcoding unit according to claim 1, c h a r a c t e r i z e d in that the unit further comprises a memory means (PD) for storing the linear- ized signal (SD2) and applying it to said level monitoring means (TD) and for storing the linearized signal (SD3) amplified in the amplifying means (VD) and reading it into the speech encoder (301) and further for outputting the encoded signal (SD4) from the transcoding unit. 3. Transcoding unit according to claim 1 or 2, c h a r a c t e r i z e d in that said level monitor¬ ing means (TD) monitors the amplitude of the linear¬ ized signal (SD2) produced by the expander (ED) and adjusts an amplification value (AD' ) of the amplifying means (VD) on the basis of the monitoring result. 4. Transdecoding unit (202, 203; Figure 3) in a digital mobile radio system, comprising a speech decoder (302) for converting encoded data (SU1) into linear form (SU2); an amplifying means (VU) for amplifying the linear data (SU2); a compander unit (KU) for companding the ampli¬ fied linear data (SU3), c h a r a c t e r i z e d in that the transdecoding unit further comprises a level monitoring means (TU) for monitoring the amplitude of the linearized signal (SU2) and con¬ trolling said amplifying means (VU) such that the signal (SU3) produced by the amplifying means (VU) is of a desired level. 5. Transdecoding unit according to claim 4, c h a r a c t e r i z e d in that it further com¬ prises a memory means (PU) for storing said speech- decoded data (SU2) into the memory and for reading the data into the level monitoring means (TU), for storing the amplified data and reading the data into the com¬ pander (KU) and storing the companded data (SU4) and outputting it from the transdecoding unit. 6. Transdecoding unit according to claim 4 or 5, c h a r a c t e r i z e d in that said level monitor¬ ing means (TU) monitors the amplitude of the linear¬ ized signal (SU2) produced by the speech decoder and adjusts an amplification value (AU' ) of the amplifying means (VU) on the basis of the monitoring result. 7. Method for adjusting an output signal (SD4) of a transcoding unit (202, 203; Figure 3) in a digital mobile radio system, comprising expanding (ED) companded digital data (SDl) into a linear signal (SD2); speech-encoding (301) the linear signal (SD2), c h a r a c t e r i z e d in that the method further comprises measuring the amplitude of the linearized signal (SD2, SD3); adjusting (TD) amplification (AD' ) of the signal (SD3) to be applied to the speech encoder (301) on the basis of the measuring result. 8. Method for adjusting an output signal (SU4) of a transdecoding unit (202, 203; Figure 3) in a digital mobile radio system, comprising speech-decoding (302) encoded data (SU1) into linear form (SU2); amplifying (VU) the linear data (SU2); companding (KU) the amplified linear data (SU3), c h a r a c t e r i z e d by measuring (TU) the amplitude of the linear signal (SU2, SU3); and adjusting (TU) amplification (AU' ) of the linearized data on the basis of the measuring result. 9. Method according to claim 7 or 8, c h a r¬ a c t e r i z e d by computing an identity (LD, LU) from the number of events where the amplitude of the linearized signal (SD3, SU3; SD2, SU2) exceeds a predetermined limit value; diminishing the amplification (AD', AU' ) of the amplifier (VD, VU) by a desired amount (SPD, SPU) when said identity (LD, LU) exceeds a predetermined maximum (RD; RU); and setting said identity (LD, LU) to zero. 10. Method according to claim 9, c h a r a c¬ t e r i z e d by diminishing said identity (LD, LU) at desired times with a predetermined mutual spacing. 11. Method according to claim 9 or 10, c h a r- a c t e r i z e d by increasing the amplification (AD', AU' ) when said identity (LD, LU) has remained at a predetermined value for a predetermined period of time. 12. Method according to claim 9, 10 or 11, c h a r a c t e r i z e d by setting the amplification (AD', AU' ) to a desired basic value (AD, AU) thereof when the call whose communication path is routed through the trans¬ coding and transdecoding units is terminated, and setting said identity (LD, LU) to zero. 13. Method according to claim 9, 10, 11 or 12, c h a r a c t e r i z e d by deriving a sequence of samples of a desired duration from said linearized signal (SD2, SU2); and increasing said identity (LD, LU) by a desired unit if two consecutive samples in the sequence of samples are equal to a desired limit value. 14. Method according to claim 7 or 8, c h a r¬ a c t e r i z e d by deriving a sequence of samples from said linear¬ ized signal (SD2, SU2); multiplying said samples by a predetermined amplification value (AD', AU'); analysing the amplitude of the amplified signal (SD3, SU3); and diminishing said amplification value (AD', AU' ) by a desired amount if the amplitude of the amplified signal (SD3, SU3) is too high. 15. Method according to claim 14, c h a r a c- t e r i z e d by increasing the amplification (AD', AU' ) of said signal (SD2, SU2) by a desired amount (SPD, SPU) if the amplitude of the amplified analyzed signal (SD3, SU3) has not been too high during a predetermined period of time. 16. Method according to claim 14 or 15, c h a r¬ a c t e r i z e d by setting the amplification (AD', AU' ) to a desired basic value thereof (AD, AU) when the call whose communication path is routed through the transcoding and transdecoding units is terminated.

Inventors: LEPPAENEN REIJO, VAENSKAE MARKO, LEPPAENEN, REIJO, VAENSKAE, MARKO
Applicants: LEPPAENEN REIJO, NOKIA TELECOMMUNICATIONS OY, VAENSKAE MARKO, LEPPAENEN, REIJO, VAENSKAE, MARKO
Application year: 1994
Main classification: H04B7
IPC codes: H03G7, H03M7, H04B7, H04B14, H04L25, H04W52