Device for detecting the peak value of a signal

Information

  • Patent Grant
  • 7880508
  • Patent Number
    7,880,508
  • Date Filed
    Wednesday, June 13, 2007
    17 years ago
  • Date Issued
    Tuesday, February 1, 2011
    13 years ago
Abstract
A device for detecting the peak value of a signal with crest factor not known a priori includes a pair of peak detectors, each of which includes a rectifier element and a discharge-current generator and generates a respective output signal that is a function of the ratio between a physical dimension of the rectifier element and the intensity of discharge current produced by the generator. The ratio is different for the two detectors, and a combination network combines the output signals of the two peak detectors with one another and produces a combined signal indicating the peak value sought with high accuracy.
Description
RELATED APPLICATION

The present application claims priority of Italian Patent Application No. T02006A000515 filed Jul. 14, 2006, and entitled DEVICE FOR DETECTING THE PEAK VALUE OF A SIGNAL, which is incorporated herein in its entirety by this reference.


FIELD OF THE INVENTION

The present invention relates to peak-detector devices and regards in particular a device for detecting the peak value of a signal the crest factor of which is not known a priori. The invention has been developed with particular attention paid to its possible use in the field of telecommunications.


BACKGROUND OF THE INVENTION

The measurement of the peak value of a repetitive signal plays an important role in different applications, above all in the field of telecommunications. Said task is entrusted to circuits that assume the name of peak detectors. They are used, for example, in gain-control feedback systems in radio receivers and in optical-fibre connections, or else in power amplifiers with “envelope elimination and restoration”.


Peak detectors can be effectively used also for protection of power transistors from the high overvoltages that arise in the case of high output mismatch. A circuit of this sort must be integrated together with the power transistor, since it has the task of monitoring the effective maximum voltage at the output terminal (drain/collector) of the transistor and producing a control signal for activating the protection circuitry readily and in a precise way.


However, traditional solutions suffer from various problems, such as the ones listed below:

    • the crest factor of the voltage at the output terminal (drain/collector) can vary considerably as a function of the phase of the load reflection coefficient; however, known circuit topologies are very sensitive to the effective waveform of the voltage to be detected, in effect producing an output that is all the more underestimated, the higher the crest factor of the voltage to be measured; and
    • the output signal is a non-linear function of the input peak value.


The above phenomena lead to the need for overprotection of the power transistor, causing a sensible drop in the nominal performance. In addition, the same phenomena are more accentuated in the case of MOSFET (Metal-Oxide Semiconductor Field-Effect Transistor) implementations having the topologies traditionally adopted. In addition to this, the design of said circuits is rendered particularly critical in the case of high-frequency signals and/or in the presence of constraints of power dissipation.


The solutions proposed in the literature for peak detection normally comprise an element for rectifying the input voltage and a capacitor for holding the peak value.


Described in J. Millman, et al., “Microelettronica”, McGrawHill (1994), p. 60, is a first peak-detector circuit, reproduced in FIG. 1a. The rectifier element is in this case represented by a diode D1, the current iO of which depends upon the voltage applied according to the function indicated by fD. The accumulation element is instead represented by a capacitance C. The generator IDIS has the purpose of discharging the capacitance C and determines how rapidly the circuit detects negative variations of the peak value of the signal. In said topology, the charge current iO of the capacitance C comes from the input signal, which can constitute a problem because it makes necessary oversizing of the upstream signal-conditioning stages.


In order to solve this problem, described in R. G. Meyer, “Low-Power Monolithic RF Peak Detector Analysis”, IEEE J. Solid-State Circuits, vol. 30, pp. 65-67, (1995), is a second type of peak detector, reproduced in FIG. 1b, in which the diode D1 is replaced by a generic transistor T1. Operation is similar to that of the first circuit, but in this second case the charge current iO no longer comes from the input, thanks to the current gain of the transistor T1.


Both of the circuits are used with a weak discharge current; consequently, it is justifiable to neglect the residual ripple of the output voltage and to make vO(t) to coincide with its mean value VO. On said hypothesis, it is possible to obtain an implicit and general relation between the input waveform and the output voltage. In fact, in periodic conditions, the temporal average of the charge current must coincide with the discharge current:













I
DIS

=


1

2

π







α





1


α





2






i
O



(

ω





t

)









ω






t









=


1

2

π







α





1


α





2






f

D
,
T




(



v
I



(

ω





t

)


-

V
O


)









ω






t










(
1
)








Eq. (1) is an implicit relation that defines the mean value VO of the output voltage.


The effective input waveform markedly affects proper operation of the circuit, in so far as vI appears in the integrand and affects the value of α1 and α2, which are the initial conduction angle and final conduction angle, respectively. In other words, given the same peak value, the output VO is affected in an undesirable way by the effective waveform of vI.


The dependence of VO upon the waveform applied at input is all the smaller, the closer the rectifying characteristic of the diode or of the transistor approaches the ideal situation. For this reason bipolar devices are better than FETs (Field-Effect Transistors), given their exponential transconductance.


As will be shown hereinafter, the error committed in the detection is greater if the input voltage has a higher crest factor.


In order to improve the accuracy of peak detection, described in J. Millman, A. Grabel, “Microelettronica”, McGrawHill (1994), p. 834, is a detector belonging to the class of feedback detectors. The circuit of the feedback detector is shown in FIG. 2. A high-gain stage A is used for rendering the transconductance of the rectifier element closer to the ideal situation. In correct conditions of operation, the current iO is other than zero only for a few instants around the peak of vI, compensating for the discharge current throughout the period. However, the solution is practicable only at relatively low frequencies, an additional propagation delay being present due to the gain stage.


It should be pointed out that in the circuits of FIGS. 1 and 2 the generator IDIS is sometimes replaced by a resistor, a fact that changes only to a minimal extent the equations obtained and in no way solves the problem in question.


SUMMARY OF THE PRESENT INVENTION

From the foregoing description of the current situation, it may be readily understood that there exists the need to define peak detectors with a reduced sensitivity to the crest factor of the input voltage.


The purpose of the present invention is to meet the aforesaid need.


In accordance with the present invention, the above purpose is achieved by means of a device having the characteristics recalled in the ensuing claims.


The claims form an integral part of the description of the invention provided herein.


In the currently preferred embodiment, the solution described herein regards a device for detecting the peak value of a signal with crest factor not known a priori. The device comprises a pair of peak detectors, each in turn comprising a rectifier element and a discharge element, in which the ratio between a physical dimension of the rectifier element and the intensity of discharge current produced by the discharge element is different for the two detectors of the pair. Each of the detectors generates a respective output signal that is a function of the aforesaid ratio between a physical dimension and the current intensity. The device further comprises a combination network for combining with one another the respective output signals and producing a combined signal indicating the peak value.





BRIEF DESCRIPTION OF THE DRAWINGS

The invention will now be described, purely by way of non-limiting example, with reference to the annexed plate of drawings, in which:



FIGS. 1
a and 1b illustrate two peak-detector circuits according to the known art, with FIG. 1a illustrating a diode peak detector and FIG. 1b illustrating a transistor peak detector;



FIG. 2, illustrates a known feedback peak detector;



FIG. 3 is a block diagram of a peak detector according to the solution described herein;



FIG. 4 is an example of embodiment of a block that can be inserted in the block diagram of FIG. 3 for implementing the solution described herein;



FIG. 5 is an example of a circuit embodiment with MOSFETs of the block diagram of FIG. 4;



FIG. 6 shows the detection error for a triangular-wave input in the case of a single detector and in the case of the solution described herein;



FIG. 7 shows the detection error for a square-wave input in the case of a single detector and in the case of the solution described herein;



FIG. 8 shows the difference between detection of the square wave and the triangular wave (in absolute value) in the case of a single detector and in the case of the solution described herein.





DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS

With reference to the diagram of FIG. 3, an input voltage vI supplies two peak detectors R1 and R2, constituted by the two rectifier blocks M1 and M2 (which can be two rectifier elements, as likewise two diodes or two generic transistors), two capacitors C1 and C2, and two discharge elements IDIS1 and IDIS2. The discharge elements IDIS1 and IDIS2 can be two current generators or two resistors or other devices capable of bringing about discharge of the capacitors C1 and C2.


The two blocks R1 and R2 are located on two circuit branches in parallel to which the voltage vI is applied. Flowing out of the two blocks are two currents iO1 and iO2, which supply, respectively, two branches comprising the two capacitors C1 and C2, and the two discharge elements IDIS1 and IDIS2, generating the voltages vO1 and vO2, respectively.


The two peak detectors R1 and R2 have a different ratio between a physical dimension of the rectifier element and the respective discharge current, and in particular it will be assumed in what follows that said ratio is higher for R2. In addition, it is not essential for the values of capacitance of C1 and C2 to be equal; the important thing is that they should be large enough.


The output voltages vO1 and vO2 of the two detectors R1 and R2 are processed by a combiner block F, which generates at output a combined signal vO.


As will emerge more clearly from what follows, by combining the two outputs it is possible to correct the error committed by each of the two detectors R1 and R2, causing the result of the combination, vO, to be an estimation of the peak value of vI that is more accurate (i.e., more linear and less sensitive to the crest factor). Said combined signal vO is compared with a reference voltage VREF by a comparator block COMP, the output of which VCOMP is at a high potential if the mean value of vO exceeds VREF.


In particular, the function of the combiner block F can be simply obtained as represented in FIG. 4, in which the components that are identical to the ones represented in FIG. 3 are designated by the same reference numbers. In particular, the combiner block F of FIG. 3, as represented in FIG. 4, comprises a subtractor node S1, which receives at input the two voltages vO1 and vO2, an amplifier stage Gain, which amplifies by a factor N and is supplied by the difference signal vDIFF at output from the node S1, and an adder node S2, which receives at input the output of the first detector vO1 and the output of the amplification stage. The output vO of the adder node S2 is equal to vO=vO1+N(vO2−vO1).


Following for simplicity the diagram of FIG. 4, the principle of operation is now described in the particular case where the rectifier elements M1 and M2 are two short-channel MOSFETs. Reference to said components (which suffer more from problems of linearity and accuracy in peak detection on account of their more linear transconductance) aims at highlighting that the solution described herein can also be applied to other cases.


By way of example, in what follows it is assumed that M1 and M2 are equal, and hence IDIS1>IDIS2.


In order to understand the reasons for the better accuracy of the voltage vO, it is possible to estimate the behaviour of the two detectors R1 and R2 when the input voltages vI have the same peak value but considerably different crest factors. In particular, as representative cases, a square wave and a triangular wave will be chosen.


In general, added to the voltage vI is a d.c. component VDC and a zero-mean periodic component vAC.


Without this implying any loss in generality and in order to simplify the analysis, all the voltages that appear in FIG. 4 are referred to the voltage VDC, which thus disappears from the equations.


On the hypothesis of short channel (and neglecting for simplicity the body effect), the current iO1,2 supplied by the transistors R1 and R2 can be expressed, as a function of the voltages vI and vO in the figure, approximately as:










i


O





1

,
2


=

k



W

1
,
2



L

1
,
2





(


v
I

-

v


O





1

,
2


-

V
t


)






(
2
)








where W1,2 is the channel width of the transistors, and L1,2 is the channel length.


If the input voltage is a square wave with maximum amplitude VAC, by applying Eq. (1) it is found that the mean output voltage of the two detectors VO1,2(square) is










V


O





1

,
2


(
square
)


=


V
AC

-

V
t

-

2



I


DIS





1

,
2




kW

1
,
2


/

L

1
,
2










(
3
)







If, instead, the input voltage is a triangular wave of the same amplitude VAC, it is found that










V


O





1

,
2


(
triangle
)


=


V
AC

-

V
t

-

2





V
AC



I


DIS





1

,
2





kW

1
,
2


/

L

1
,
2











(
4
)







Eqs. (3) and (4) show that the output signal of each of the detectors depends, amongst other things (in general according to an inverse law), upon the ratio between the width W1,2 and the current intensity IDIS1,2 (or, rather, upon the ratio between the width W1,2 divided by the length L1,2 and the current intensity IDIS1,2).


This is precisely the ratio between a physical dimension of the rectifier element and the intensity of discharge current produced by the generator, which, according to the solution described herein, is chosen different for the two detector blocks R1 and R2. In the specific case of the example illustrated herein, it is assumed that W1,2/L1,2 is equal for the two detectors R1 and R2, whilst the current intensity IDIS1,2 is different in the two cases. It will be appreciated that what has been said here continues to be valid in the case where the quantity W1,2/L1,2 is different for the two detectors R1 and R2, whilst the current intensity IDIS1,2 is identical in the two cases.


From Eqs. (3) and (4) it is likewise found that:

    • the error committed by each of the two detectors R1 and R2 depends upon the particular input waveform;
    • the estimation of the peak of the triangular wave is affected by an error by defect that is higher (it is a general fact that the maximum of waveforms with higher crest factor is underestimated by peak detectors);
    • the detector with smaller current always commits a smaller error; and
    • in the case of a triangular wave, the output is a non-linear function of VAC.


There now follows a calculation of the difference between the outputs of the two detectors R1 and R2, in the two cases considered:













Δ






V
O

(
square
)



=


V

O





2


(
square
)


-

V

O





1


(
square
)









=


2


kW

1
,
2


/

L

1
,
2






(


I

DIS





1


-

I

DIS





2



)









(
5
)










Δ






V
O

(
triangle
)



=


V

O





2


(
triangle
)


-

V

O





1


(
triangle
)









=

2




V
AC



kW

1
,
2


/

L

1
,
2







(



I

DIS





1



-


I

DIS





2




)









(
6
)







In effect, it is possible to show that the quantity expressed in Eq. (6) is greater than the quantity in Eq. (5). In fact, said statement is equivalent to stating that

√{square root over (VACkW1,2/L1,2)}(√{square root over (IDIS1)}−√{square root over (IDIS2)})>(IDIS1−IDIS2)  (7)
whence
√{square root over (VACkW1,2/L1,2)}>(√{square root over (IDIS1)}+√{square root over (IDIS2)})  (8)


Eq. (8) is true since the discharge currents are certainly smaller than the peak charge current, which is










max


(

i


O





1

,
2


)


=

k



W

1
,
2



L

1
,
2





(


V
AC

-

V


O





1

,
2


-

V
t


)






(
9
)







and moreover VAC>(VAC−VO1,2−Vt) since certainly VO1,2>−Vt.


It is hence justifiable to generalize and state that the difference between the outputs of the two detectors R1 and R2 is greater the higher the crest factor of the input voltage.


On the basis of this, in the solution proposed, said difference is read, amplified, and summed to the output of the first detector, obtaining as result:

    • a decrease in the non-linearity of the response, which is more marked for inputs with higher crest factor (as may be inferred from Eqs. (3) and (4)); and
    • a decrease in the error committed by each of the two detectors R1 and R2 as the waveform of the input voltage varies.



FIG. 5 regards a circuit implementation with MOSFETs of the block diagram of FIG. 4.


In particular, the two peak detectors R1 and R2 are obtained using as rectifier elements two MOSFETs M1 and M2. The two MOSFETs M1 and M2 are supplied with the input signal vI on their respective gate terminals and have their drain terminals connected to a voltage VDD. Furthermore, in the example considered herein, the ratios between the channel width and the channel length of the transistors M1 and M2 are equal: (W/L)1=(W/L)2.


The two outputs vO1 and vO2 are connected to two differential-amplifier stages, which comprise, respectively, four MOSFETs.


The first of the two differential-amplifier stages comprises the transistors M3, M4, M5 and M6. The first non-inverting input (gate of the transistor M5) is supplied with the signal vO1, whilst the inverting input (gate of the transistor M6) is supplied with the reference voltage VREF. The second differential-amplifier stage comprises the transistors M7, M8, M9 and M10. In order to implement the function of the gain stage Gain in FIG. 4, the ratio between the channel width and the channel length (W/L)7,8,9,10 of each transistor M7, M8, M9 and M10 is N times the ratio (W/L)3,4,5,6 of the corresponding transistor M3, M4, M5 and M6. The non-inverting input of the stage (i.e., the gate of the transistor M9) is supplied with the signal vO2, whilst the inverting input (gate of the transistor M10) is supplied with the signal vol.


The two source terminals of the aforesaid transistors M5 and M6 of the first amplifier stage are connected to ground via two current generators ISS, and connected to one another by a resistance RS. Instead, in order to implement the function of the gain stage Gain in FIG. 4, the two source terminals of the transistors M9 and M10 of the second amplifier stage are connected to ground via two current generators NISS, and connected to one another by a resistance RS/N.


In this way, the two differential stages implement the functions of subtraction (S1), addition (S2), gain (Gain), and comparison (COMP).


In order to test the actual effectiveness of the solution proposed, presented hereinafter are some results obtained with a harmonic-balance experiment.


Two detectors were implemented in CMOS technology made available by the present applicant. The input voltage was a square wave or triangular wave with d.c. value of 1.5 V and an a.c. voltage VAC that varied from 0 to 1 V. The supply voltage was fixed at 2.5 V. The capacitors C1 and C2 had a value of 5 pF. In addition, it was possible to estimate kW1,2/L1,2=4.2 mA/V. The amplification factor N was fixed and equal to 5. The currents had the value IDIS1=100 μA and IDIS2=25 μA. The frequency was fixed at 1 GHz.



FIGS. 6 and 7 show the detection error committed by the two detectors taken individually, together with the voltage processed according to the solution described herein, in the case of input with triangular and square wave, respectively.


It may be noted that:

    • the non-linearity of the response of the individual detectors is worse for triangular-wave inputs, as expected from the theory; and
    • the non-linearity is markedly corrected, in both cases, by the solution described herein.


Since the residual error of approximately 400 mV is constant as VAC varies and has a low dependence upon the waveform, it can be readily corrected by altering the value of VREF accordingly.


Given in FIG. 8 is the difference between the value detected for the square wave and triangular wave.


It may be noted that:

    • both of the detectors commit an error that increases with the input voltage;
    • the detector with less current (squares) generally commits a smaller error, as expected from the theory; and
    • the solution described herein succeeds in correcting considerably the maximum error committed in the detection of the two waveforms.


In particular, in FIGS. 6, 7 and 8 the line that joins the triangles refers to the detector R1, the line that joins the squares refers to the detector R2, whilst the line that joins the circles refers to the solution described herein.


Use of the solution described herein enables detection of the effective peak value of the input voltage with a greater precision, hence facilitating design of robust and efficient power amplifiers. In addition, in the embodiment that uses MOSFETs, the peak value at input is detected better and, at the same time, there is a comparison with a reference voltage.


The solution described herein can be used effectively not only for implementing protection circuits for power amplifiers, but also in all the situations in which it is necessary to compare the peak value of a voltage the crest factor of which is not known a priori with a reference voltage.


Consequently, without prejudice to the principle of the invention, the details of construction and the embodiments may vary, even significantly, with respect to what is described and illustrated herein, purely by way of non-limiting example, without thereby departing from the scope of the invention, as defined in the ensuing claims.

Claims
  • 1. A device for detecting the peak value of a signal, the device comprising: a pair of positive peak detectors each comprising a rectifier element and a discharge element, in which each of said detectors generates a respective output signal that is a function of the ratio between a physical dimension of the rectifier element and the intensity of discharge current produced by said discharge element, said ratio between a physical dimension and the current intensity produced being different for the two detectors of said pair;a combination network for combining said respective output signals with one another and producing a combined signal indicating said peak value; anda comparator for comparison of the combined signal with a constant reference threshold,wherein said combination network comprises at least one subtractor node for subtracting said respective output signals from one another, generating a difference signal.
  • 2. The device according to claim 1, wherein said discharge element is a resistor or a current generator.
  • 3. The device according to claim 1, wherein said combination network comprises at least one adder node for adding said difference signal to the output signal of one of said peak detectors of said pair.
  • 4. The device according to claim 3, further comprising a gain stage set between said subtractor node and said adder node.
  • 5. The device according to claim 3, wherein said adder node is supplied with the output signal of the peak detector that has the smaller ratio between said physical dimension of the rectifier element and the intensity of discharge current.
  • 6. The device according to claim 1, wherein said rectifier element is an FET and said physical dimension is constituted by the channel width or by the ratio between said width and the channel length.
  • 7. The device according to claim 1, wherein said combination network comprises two substantially similar differential-amplifier stages.
  • 8. The device according to claim 7, wherein said differential-amplifier stages have different gains.
  • 9. A peak detector comprising: a first positive peak detector path for generating a first output signal that is a function of the W/L ratio of a first rectifier element;a second positive peak detector path for generating a second output signal that is a function of the W/L ratio of a second rectifier element;a combination network for combining said first and second output signals and producing a combined output signal indicating a peak value; anda comparator for comparison of the combined output signal with a constant reference threshold,wherein said combination network comprises at least one subtractor node for subtracting said respective output signals from one another, generating the combined output signal.
  • 10. The peak detector according to claim 9, wherein said first and second peak detector paths comprise a discharge element.
  • 11. The peak detector according to claim 9, wherein said combination network comprises at least one adder node.
  • 12. The peak detector according to claim 11, further comprising a gain stage set between said subtractor node and said adder node.
  • 13. The peak detector according to claim 11, wherein said adder node is supplied with the output signal of the peak detector.
  • 14. The peak detector according to claim 9, wherein said first and second peak detector paths comprise a rectifier element.
  • 15. The device according to claim 9, wherein said combination network comprises two substantially similar differential-amplifier stages.
  • 16. The device according to claim 15, wherein said differential-amplifier stages have different gains.
Priority Claims (1)
Number Date Country Kind
TO2006A0515 Jul 2006 IT national
US Referenced Citations (11)
Number Name Date Kind
4027152 Brown et al. May 1977 A
4433256 Dolikian Feb 1984 A
4737730 Ishiwata et al. Apr 1988 A
5159340 Smith Oct 1992 A
5491434 Harnishfeger et al. Feb 1996 A
5589778 Ono et al. Dec 1996 A
5923219 Ide et al. Jul 1999 A
7161392 Nakamura Jan 2007 B2
7218865 Doh et al. May 2007 B2
7382166 Ide Jun 2008 B1
20080024175 Carrara et al. Jan 2008 A1
Related Publications (1)
Number Date Country
20080012602 A1 Jan 2008 US