Professional Documents
Culture Documents
INTRODUCTION AC
D1 V
BASIC RECTIFIERS t
The basic rectifiers have been designed with diodes. RL VIN
Figure 1 shows such a simple series circuit, driven by VOUT
an AC source. When the diode is reverse-biased, it
acts as a very high impedance device. Figure 1shows
a negative half wave rectifier. It outputs nearly the full
input voltage across the diode when reverse biased. A
similar circuit in Figure 2 shows a positive half-wave
rectifier. If a full-wave rectifier is desired, more diodes FIGURE 3: Full-Wave Rectifier.
must be used to configure a bridge, as shown in
Figure 3. The input signal must be larger than the Choosing the Components
voltage across the diode to ensure that the diode is
forward biased. SELECTING THE DIODE
When choosing the diode, the most important
parameters are the maximum forward current (IF), and
D1 VOUT the peak inverse voltage rating (PIV) of the diode. The
peak inverse voltage is the maximum voltage the diode
V
can withstand when it is reverse-biased. If this voltage
AC is exceeded, the diode may be destroyed. The diode
RL must have a peak inverse voltage rating that is higher
t than the maximum voltage applied to it in an
application. In many diode data sheets, PIV is referred
VIN to as peak reverse voltage (PRV).
VOUT
Magnitude (V)
0.5
Every diode has a parasitic capacitance and, by
default, has a time charge storage. This charge storage 0
mechanism is nonlinear, leading to a nonlinear
-0.5
capacitance. This effect is very important because the
nonlinearity of the diode can generate harmonics. For -1 VOUT
example, the output voltage becomes negative for a VIN
-1.5
short time. This period is called reverse recovery time.
Time (1 ms/div)
During the transition, the diodes parasitic capacitance
will interact with the circuit resistors to modify the FIGURE 4: Negative Half-Wave
circuits behavior.
Rectifier Sample.
For most general purpose applications, low power
signal diodes such as 1N4148, are adequate. For high
accuracy applications, where offset errors and reverse 1.5
diode leakage current are critical, a low leakage FET
1
transistor can be used as a diode (short Drain and
Magnitude (V)
One limitation is the value of load resistor. The value of Time (1 ms/div)
Practical Examples
Figures 4 6 show practical samples when using the FIGURE 6: Full-Wave Rectifier Sample.
1N4001 diode and RL = 1 k. The frequency is
f = 1 kHz.
f = 10 G f
GBWP INPUT
FIGURE 7: Op Amp Half-Wave Rectifier. Where:
The big advantage of this circuit is represented by the fGBWP = Gain bandwidth product
small threshold voltage and linearity. This is more
G = DC gain
convenient than the basic rectifiers, since this circuit is
able to rectify signals smaller than the diode threshold fINPUT = Maximum input frequency
voltage.
-1.50
VIN
EQUATION 3:
Time (1 ms/div)
V OUT
SR = -----------------
FIGURE 8: Circuit Behavior on T max
Low Frequency. SR
FPBW = -------------------------------------
This circuit has limitations. The rectifiers speed is V OUT ( p p )
limited by the op amp bandwidth. This effect is
illustrated in Figure 9, where the rectified output signal
overlaps the input signal. The maximum frequency SELECTING THE DIODE AND THE RESISTOR
that can be rectified is determined by the slew rate of Refer to the sections Selecting the Diode and Selecting
the op amp. The Resistor, in the Basic Rectifiers section, for details
on choosing the appropriate components.
1.5 VOUT
0.5
disadvantages of a half-wave rectifier.
0
TABLE 2: ADVANTAGES AND
-0.5
DISADVANTAGES OF THE
-1 CIRCUIT
-1.5 Advantages Disadvantages
Time (50 s/div) - Uses few components - Load dependant
FIGURE 9: Output Limitation on - Good linearity - Limited op amp bandwidth
High-Frequency Input Signals.
0.05 R2
0
-0.05
-0.1 VIN R1 D2
VOUT - VOUT
-0.15 VIN +
-0.2 AO1 D1
Time (500 s/div)
R3 RL
EQUATION 4:
R
2
G = ------
R
1
where G = DC gain
Magnitude (V)
10 M. 0.2
0
The R3 is added to minimize the error caused by the -0.2
input bias current. -0.4
-0.6
VOUT
EQUATION 5: -0.8 VIN
-1
R R
1 2 Time (0.2 s/div)
R 3 = --------------------
R1 + R2
FIGURE 14: Circuit Behavior with
600 kHz Input Frequency.
Advantages and Disadvantages To design a negative half-wave rectifier using the same
Table 3 shows the main advantages and components, we only have to invert the diodes, as
disadvantages of an improved half-wave rectifier. shown in the circuit in Figure 15.
Practical Example
FIGURE 15: Negative Half-Wave
The example in Figure 13 is based on the circuit in Rectifier.
Figure 12, and uses the MCP661 op amp, two
MBRM110LT3 Schottky diodes, RL = 1 k, R2 =10 k
and R1 = 1 k. The input frequency is 1 kHz. 0.2
VOUT
0.15 VIN
0.1
RL = 1 k:
Magnitude (V)
0.2 0.05
0.15 0
0.1
Magnitude (V)
-0.05
0.05 -0.1
0
-0.15
-0.05
-0.2
-0.1
VOUT Time (1 ms/div)
-0.15 VIN
-0.2
FIGURE 16: Negative Cycle Rectifier
Time (1 ms/div)
Sample.
FIGURE 13: Improved Half-Wave
Rectifier with RL = 1 K.
R2 ( R1 + R2 + RL ) = R1 RL
R2
V+
VIN R1 R3 is added to minimize the error caused by the input
- VOUT
bias current. Refer to the section Selecting the
+
AO1 D1 Resistors, in the section Improved Op Amp Half-Wave
R3 RL Rectifier, for details on the selection of the resistor.
0.05 R1
G = ---------
0 R2
-0.05
-0.1 VOUT V = 0, when V <0
O1 IN
VIN
-0.15
-0.2 Equation 9 calculates the output voltage:
Time (1ms/div)
EQUATION 9:
FIGURE 18: Full-Wave Rectifier Circuit R 5 V O1 R5 V IN
Simulation with the Recommended Values of the V = ------------------------ -----------------------
OUT R R
Resistors. 3 4
EQUATION 10:
FIGURE 19: Two Stage Op Amp Full- R (V +V )
5 O1 IN
Wave Rectifier Circuit. V
OUT
= ----------------------------------------------
R1
When VIN is positive, D1 is forward-biased and D2 is
reverse-biased, while when VIN is negative, D2 is
forward-biased and D1 is reversed-biased. The second R6 is added to minimize the error caused by the input
stage adds VIN and VO1 and inverts the polarity of the bias current. Refer to the section Selecting the
resulting signal. The output voltage for the positive Resistors, in the section Improved Op Amp Half-Wave
cycle of the input voltage is calculated in Equation 8. Rectifier, for details on choosing the appropriate
components.
For the negative cycle of the input voltage (VIN), D1
blocks the signal, while D2 conducts the whole current If a greater sensitivity and high frequency is desired, it
coming from the input. In this case, the output voltage is recommended to use lower resistance value, high
for the first stage is VO1 = 0V. speed diodes and faster op amps.
For the positive cycle of the input signal, VO1 is
negative and, in this case, the adder stage combines
the input signals with equal amplitudes, one positive
and one negative.
Practical Example
FIGURE 22: Basic Peak Detector
This example uses the MCP6021 device, two 1N4148 Operation.
diodes, R1 = 1 k, R2 = 2 k, R3 = 1 k, R4 = 1 k,
and R5 = 2 k. The input signal frequency is f = 1 kHz. Choosing the Components
Figure 20 shows the result of the simulation for the full-
When choosing the resistor, the limits must be
wave rectifier shown in Figure 19:
considered: rdf << R1 << rdr, where rdf is the resistance
of the diode when forward biased, and rdr is the
1 resistance of the diode when reverse biased.
0.8
The capacitor is charged with the time constant
0.6
1 = rdf x C1, and will be discharged with the time
0.4
Magnitude (V)
0.2
VDROP = VPEAK exp -----
0
t
-0.2 2
-0.4 Where: 2 = time constant
-0.6
VOUT
-0.8 VIN This produces a negative peak clipping that distorts the
-1 output. To avoid the negative peak clipping, choose a
Time (10 s/div) smaller value for 2, but to reduce the ripple, 2 must be
as large as possible. In practice we choose a value
FIGURE 21: Circuit Behavior when Input between: 1/fm >> 2 >> 1/fc, where fm is the modulation
frequency and fc is the carrier frequency.
Frequency = 100 kHz.
0.17 VIN 3
0.16
Magnitude (V)
2.5
0.15 2
0.14 1.5
0.13
1
0.12
0.5
0.11
0
0.1
-0.5
Time (1 ms/div) -1
4
3.5
3
2.5
Magnitude (V)
2
VOUT
1.5 VIN
1
0.5
0
-0.5
-1
CONCLUSION
This application note examined the circuits that can
rectify the amplitude signal, detect the peak signal and
change the DC level of waveforms. The op amp-based
solutions bring improvements to the basic solutions,
such as operating with millivolt signals or isolating the
output and input impedance. The applications
proposed are based on low cost op amps, and offer
circuits with few peripheral components, giving
designers simple, but effective solutions to their
problems.
R2
R2 R3
VOUT
R1 AO1
- D1 VOUT D1
+ VIN - VOUT
VIN -
VIN D2 +
+ AO2
AO1 D2
R1 R4
Rectifier 2.
R4
VIN R1 D2
- D1
+ R6 VIN D1 - VOUT
AO1 +
+
R5 - AO2
R3 - VOUT AO1
+
R4 AO3
R7
R2
+V R2 P1 R3 -V
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchips Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as unbreakable.
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchips code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
ISBN: 978-1-60932-931-0
02/18/11