Automatic gain control circuit
11 claims: 2 independent, 9 dependent
- 1PATENTKRAV 1. Krets för automatisk reglering av förstärkning som appliceras på en insignal, kännetecknad av att den innefattar analoga organ (11) anordnade att till svar på en första digital styrsignal justera förstärkningen för åstadkommande av en partiellt förstärkningskorrigerad signal, organ (17) för att omvandla den partiellt förstärkningskorrigerade signalen till en digital signal, digitala organ (19) anordnade att till svar på en andra digital styrsignal justera förstärkningen av den digitala signalen för åstadkommande av en andra förstärkningskorrigerad signal samt organ (15) anordnade att till svar på den andra förstärkningskorrigerade signalen alstra nämnda första och andra digitala styrsignaler.
- 2Krets enligt krav 1, kännetecknad av att nämnda alstringsorgan (15) samtidigt alstrar nämnda första och andra styrsignaler.
- 3Krets enligt krav 1 eller 2, kännetecknad av att nämnda alstringsorgan (15) alstrar en kvot med utnyttjande av en divisor, vilken är en konstant relaterad till exponentiell förstärkning, och att heltalsdelen av nämnda kvot ger den första styrsignalen, under det att återstoden utnyttjas för att alstra den andra styrsignalen.
- 4Krets enligt krav 1, 2 eller 3, kännetecknad av att nämnda analoga organ (11) innefattar ett flertal steg för stegvis analog förstärkning, vilka är anordnade att utväljas till svar på den första styrsignalen.
- 5Krets enligt krav 1, 2, 3 eller 4, kännetecknad av att nämnda digitala organ (19) innefattar organ för att multiplicera den partiellt förstärkningskorrigerade signalen med den andra styrsignalen och att den andra styrsignalen representerar en förstärkning variabel över ett kontinuerligt område .
- 6Krets enligt krav 5, kännetecknadav att förstärkningarna är linjära i decibel.
- 7Krets enligt något av föregående krav, kännetecknad av att nämnda styrsignalalstrande organ (15) innefattar organ (23, 29) för att alstra en felsignal utgående från den andra förstärkningskorrigerade signalen och organ (31, 33 37,39) anordnade att såsom insignal mottaga nämnda felsignal för att därav alstra nämnda första och andra styrsignaler. 7908627-8
- 8Krets enligt krav 7, kännetecknad av att nämnda felsignalaistrande organ innefattar organ (23) för att kvadrera den andra förstärkningskorrigerade signalen och organ (29) för att jämföra den kvadrerade andra förstärkningskorrigerade signalen med en referenssignal för åstadkommande av felsignalen.
- 9Krets enligt krav 7, kännetecknad av att nämnda felsignalaistrande organ innefattar organ (23, 25, 27-29) för att härleda eller approximera skillnaden mellan det kvadratiska medelvärdet av nämnda andra förstärkningskorrigerade signal och en lämpligt vald referenssignal för åstadkommande av felsignalen.
- 10Krets enligt krav 7, 8 eller 9, kännetecknad av att nämnda mottagningsorgan innefattar organ (33) för att summera felsignalen med en föreliggande förstärkningsexponent för åstadkommande av en dividend, organ (34) för att dividera dividenden med en konstant relaterad till ett förstärkningsinkrement i decibel, organ (34) för att bestämma heltalsdelen av kvoten och återstoden av kvoten, organ (36, 37) för att bestämma den första styrsignalen utifrån heltalsdelen och organ (35, 39) för att bestämma nämnda föreliggande förstärkningsexponent och den andra styrsignalen utifrån nämnda återstod.
- 11Krets enligt krav 1, kännetecknad av att nämnda analoga organ (11) innefattar ett flertal steg för analog förstärkning, varvid varje steg ger ett inkrement av förstärkning i decibel och är utvalbart införbart i banan för insignalen för applicering av tillhörande förstärkning på insignalen för åstadkommande av en grovkorrigerad signal till svar på en digital styrsignal, vilken grovkorrigerade signal Utgör den partiellt förstärkningskorrigerade signalen, att nämnda digitalorgan (19) innefattar organ för att multiplicera den digitala signalen med ett digitalt tal utvalbart variabelt för att representera en förstärkning kontinuerligt variabel över ett område för åstadkommande av en utsignal representerande finjustering av förstärkningen av den grovkorrigerade signalen, och att nämnda alstringsorgan (15) innefattar organ anordnade att till svar på avvikelsen hos utsignalen från det önskade värdet alstra nämnda digitala styrsignal och ett digitalt tal på ett sådant sätt att utsignalen konvergerar mot värdet för den önskade utsignalen. POOP QUALITY 7908627-8
Independent claims11
31 paragraphs in 7 sections, as filed
(54) Designation Circuit for automatic control of gain applied to an input signal (56) Published publications: - (57) Summary:
An automatic gain control circuit has a section for coarse analog gain adjustment, which provides stand-alone gain increments in dB, and a section for fine digital gain adjustment. The digital section provides gain adjustment through a final gain increment in dB to achieve the exact gain setting. The output of the digital section is squared and compared with a reference signal for deriving an error signal, the value of which is fed to means which iteratively determines the settings of the analog and fine digital increments to achieve the desired desired gain setting.
rough end FIN
-t * DIGITAL AFR UT
<img file="SE438223B_D0001.tif" />
iNlD code The letter within the pinch indicates international document code
7908627-8
IN
BACKGROUND OF THE INVENTION;
The present invention relates to automatic gain control (AFR) circuits and more particularly relates to an AFR circuit having both analog and digital gain adjustment parts. The invention finds particular application in connection with digital data modems.
In modem applications of the above kind, it would be desirable to utilize a section for coarse analog gain control to bring the gain within the range of an analog-to-digital converter circuit and to have a digital gain control circuit at the output of the analog-to-digital converter to provide a stable, accurate digital level modem circuits utilized. However, the provision of such an automatic gain control circuit has posed a problem in how to achieve co-operation between simultaneous operational analog and digital gain control sections in order to achieve smooth and rapid progress to the desired gain level.
SUMMARY OF THE INVENTION;
Accordingly, it is an object of the present invention to improve automatic gain control circuits. Another object of the invention is to provide an automatic gain control circuit having both analog and digital sections. Yet another object of the invention is to provide an automatic gain control circuit for use in a digital data modem that allows interoperable, fast-acting, exponential adjustment or adjustment of both digital and analog gain control sections.
In accordance with the invention there is provided an automatic gain control circuit having a section for analog gain adjustment and a section for digital gain adjustment and means for generating first and second control signals which cooperate to adjust the gain provided by both
POOR QUALITY
7908627-8 the analog and digital sections to achieve the desired overall gain. A further feature of the present invention is the provision of coarse incremental analog adjustment and fine incremental adjustment over a continuous gain region around the desired gain along with first and second control signals arranged in conjunction to control the analog and digital sections.
BRIEF DESCRIPTION OF THE DRAWING:
A preferred embodiment of a circuit according to the invention will now be described in detail together with the drawing, in which Fig. 1 is a block diagram illustrating the preferred embodiment of the invention, and Fig. 2 is a functional circuit diagram illustrating the structure and operation of the circuit. the control circuit of Fig. 1.
DESCRIPTION OF THE PREFERRED EMBODIMENT:
The preferred embodiment of the automatic gain control circuit of the invention shown in Figure 1 comprises gain sections 11 to a number of four. These gain sections provide analog gain of 8A, 4a, 2A and 8A, respectively. A, where A = 2.17 dB.
The analog sections 11 are coupled into or out of the path of the unregulated input signal through a four-bit number which is stored in a register 13 and allows for sixteen different gain combinations. Said number comes from a gain control circuit 15, which will be described later (Fig. 2). The four analog sections 11 provide the coarse AFR adjustment. The output from here is fed to an analog-to-digital converter 17 · The output from the analog-to-digital converter is multiplied by a factor fA in a multiplier 19, where f is in the range of -1 to +1. The multiplication factor fA is determined by a 10-bit digital word coming from the AFR control circuit 15 ·
The control circuit 15 for generating the four bits comprising the word for controlling the coarse automatic gain control and the ten bits comprising the word for controlling the fine automatic gain control is illustrated in Figure 2.
In Fig. 2, the output of the fine automatic gain control circuit is squared through a squaring circuit 23 and fed to a first buzzer 29, where a reference level is subtracted. The squaring circuit 23 could be a full-wave rectifier. Optionally, the output of squared 23 could be provided
7908627-8 is delayed and subjected to averaging by circuits comprising delay elements 25 and an averaging circuit 27, the output 28 of which can be fed therefrom to the first buzzer 29. The output of the first buzzer 29 is an error signal. This error signal is fed to a multiplier J1, where the error signal is multiplied by an AFR speed control constant K. At larger constant K, the AFR speed will be higher, but larger errors will be obtained. Similarly, at smaller K, the AFR speed will be lower, but smaller errors will occur. It is desirable that the constant K be relatively large during the Initial course or Pivot and that the constant is made smaller under the stable state. The output of the multiplier J1 is defined as a. The index n indicates the sampling time during which the variable to which it is assigned is generated. This output a<sub>n</sub> is fed to a buzzer 27 and summed with a magnitude G<sub>n</sub> for providing an output signal S<sub>n <</sub>
The output signal S<sub>n</sub> is passed to a block j4, where two quantities G<sub>n +</sub>and determined. The magnitude G<sub>n +</sub>^ is equal to S<sub>n</sub> - (S.<sub>n</sub>/ C) · C and the magnitude H<sub>n</sub> = (S / c), where C is a constant equal to 0.25 and the expression (S<sub>n</sub>/ C) defines the integer part of A<sub>n</sub> divided by C. A magnitude exp (-G<sub>n + 1</sub>) is then calculated and also constitutes the gain in the part which gives fine AFR, ie. the ten bits comprising the number in register 21 for the next sample.<sup>G</sup>n + 1 is the residue when S<sub>n</sub> divided by C and exp (0.25) equals 2.17 dB. G<sub>n </sub>is initially set to zero for n = 0.
A summator J6 subtracts from F<sub>n</sub> for providing an output signal.F<sub>n + 1</sub>, which is the four bit number which controls the analog section during the next sampling time. F<sub>n</sub> is divisively equal to 15 for n = 0. The output F<sub>n +</sub>js a sampling time of a delay element J7 is delayed to provide the output F<sub>n</sub>, which is fed back as a second input to the buzzer j6. The output signal F<sub>n</sub> from the delay element J7 is the number that adjusts the analog portion of the automatic gain control, ie. the four bits comprising the number in register 1J, during the current sample time.
Digital circuit elements for carrying out the functions of the elements shown in Figure 2 are well known. The preferred embodiment is preferably realized with a digital microprocessor. Such a realization is well within the scope of what ihckmarrm in the field in question can implement with the support of the present POOR QUAIOT
7908627-8 description. The operation of the control circuit 15 can be illustrated by an example.
Starting from a desired AFR output level of 0.5, the level of the reference input signal to sumer 29 is selected as the square of the desired value or 0.25. Other initial states are K = 1, F<sub>THE</sub> = 15 and G<sub>q</sub> = 0 and an incoming signal level of 0.02. With these conditions, the first three iterations of values determined by the circuit of Fig. 2 are summarized in the following Table I.
Table I
<td></td><td>F n</td><td><sup>G</sup>n</td><td>exp (C<sub>n</sub>)</td><td>AFR out</td>
<td>n = 0</td><td> 15</td><td> 0,0</td><td> 1</td><td> 0,9</td>
<td>n =</td><td> 15</td><td> 0,06</td><td> 0,94176</td><td> 0,50667</td>
<td>n = 2</td><td> 15</td><td> 0,06671</td><td> 0,95546</td><td> 0,50528</td>
The example illustrates the initial setting of the coarse adjustment with subsequent fine-tuning of the digital AFR part. With greater deviation from the desired value, several iterations may be required to initially set the coarse automatic gain control and show fluctuations around the final value of the digital setting in exp (-G<sub>n</sub>) can happen. It can be noted that the exponential value exp (-G<sub>n</sub>) can be approximated by an exponential series such as? -G<sub>n</sub> + (G<sub>n</sub>)<sup>2</sup>/ 2 in block 59 The above circuit provides a number of desirable properties. The analog portion provides the necessary coarse adjustment to obtain the required resolution for operation of the analog-to-digital converter. At the same time, a stable level is achieved at the output of the fine digital AFR circuit, which allows associated modem circuits to work properly. The digital AFR portion is utilized to compensate for the uneven nature of the analog portion. A key feature of the operation of the circuit is a synchronization provided between the digital and analog parts in order to provide a stable output signal. In other words, adjustments work together to allow the analog and digital parts to act as an AFR circuit. The action of block 54 produces a 2.17 dB hysteresis effect, so that only the digital fine automatic gain control is operable in the stable state. The exponential feedback provides rapid attack on the AFR-just7908627-8 ring.
As will be readily apparent to those skilled in the art, it is possible to carry out many modifications and adaptations of the just described preferred embodiment within the scope of the invention, as is apparent from the appended claims.
7908627-8
THE
Contents7
3 sheets
Sheet 1 Sheet 2 Sheet 3
14 members in 9 offices
Priority claims4
| Document | Office | Kind | Date |
|---|---|---|---|
| 95265078 | United States of America | A | |
| 95265078 | United States of America | A | |
| 952650 | – | – | – |
| US19780952650 | – | – | – |
Members14
| Document | Office | Kind | |
|---|---|---|---|
| BE879540A | Belgium | A | |
| DE2942106A1 | Germany | A1 | |
| FR2439506A1 | France | A1 | |
| SE7908627L | Sweden | L | |
| GB2035732A | United Kingdom | A | |
| US4213097A | United States of America | A | |
| JPS5597714A | Japan | A | |
| GB2035732B | United Kingdom | B | |
| CA1138058A | Canada | A | |
| FR2439506B1 | France | B1 | |
| SE438223BThis record | Sweden | B | |
| CH650884A5 | Switzerland | A5 | |
| DE2942106C2 | Germany | C2 | |
| JPH0454405B2 | Japan | B2 |
2 legal events, as the office reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | |
|---|---|---|
| Patent has lapsedLapsedNUG | NUG | |
| Patent in forceNAL | NAL |
Numbers
- Publication, DOCDB
- 438223
- Publication, EPODOC
- SE438223
- Application
- 7908627
- Application, DOCDB
- 7908627
- Application, EPODOC
- SE19790008627
Titles2
- Swedish
- KRETS FOR AUTOMATISK REGLERING AV FORSTERKNING SOM APPLICERAS PA EN INSIGNAL
- English
- CIRCUIT FOR AUTOMATIC REGULATION OF AMPLIFYING APPLIED ON AN INPUT
Classification
- CPC, 2
- H03G3/001
- H03G3/30
- IPC, 2
- H03G3 20
- H04L27 38
