Design Article
Comment
HarryB
Vout0 is very likely to reject noise much better than the differentiator ...
Uersu54
A line isn't just a capacitor. Reflections will cause intersymbol interferences ...
How to recover a pulse signal with a large capacitance load
Chenan Tong
6/22/2012 5:13 PM EDT
In some applications it is necessary to transmit square waves across a long cable. However, long cables typically have high capacitance, which can significantly affect the signal’s wave shape. As such, the signal’s frequency and duty cycle needs to be maintained, if it is to remain free from distortion. This article discusses this phenomenon and offers a simple solution.
Figure 1 illustrates a common solution used to reconstruct a square wave at the end of a long cable (47 pF cable capacitance). The signal that we want to transmit is VIN 0. The signal at VIN 1 represents the signal at the end of the cable. You can see that this signal is very distorted by the charge and discharge of the parasitic capacitance of the cable. Furthermore, the gate (U2) sees the rising and falling edges differently, so the reconstructed output signal will not be an accurate representation of the original digital signal.

Figure 1. Common solution for pulse reconstruction.

Figure 2: Simulation results for common pulse reconstruction.
The circuit in Figure 2 shows that we cannot recover input pulse with a simple logic gate. We need to find a different method to detect the rising and falling edges of the digital circuits. A differentiator can be used to detect the square wave edges because the output of the RC circuit rises after the rising edge and falls after the falling edge of the square wave. Remember that the differentiator output is proportionate to the rate of change of the output signal, so it moves positively for increasing signals and negatively for decreasing signals.
The design in Figure 3 uses a differentiator. Figure 3 also shows the simple gate solution (U2) for comparison. In this example circuit, you can see how the simple gate solution does not effectively solve the problem. Note that the signal at VIN1 is from the charging and discharging of C2 x R6. In this example C2 is 470 pF, or 10 times larger than the example in Figure 1. When the input pulse is high (after the rising edge), the capacitor voltage increases. The differentiator output is negative for increasing capacitor voltage (-dVIN/dT). When the input pulse is low (after the falling edge), the capacitor voltage decreases. The differentiator output is positive for increasing capacitor voltage (-dVIN/dT). Thus, by differentiating the RC signal you can reconstruct a signal that more closely resembles the original square wave. The differentiator output is followed by a comparator to create a sharp square wave output.

Figure 3. Differentiator and comparator used for pulse reconstruction.
The simulation results for the circuit from Figure 3 are given in Figure 4. The input signal is a 20 kHz square wave with a duty cycle is 20 percent. The output of U2 clearly does not reproduce the original signal. In fact, most of the pulses are not even detected by U2. The differentiators output (-dVIN/dT) looks like a smoothed inversion of the original digital signal. The comparator converts the differentiator output to a sharp square wave that accurately matches the frequency and duty cycle of the original signal. Specifically, the overall error in the duty cycle for this example is approximately 10 percent.

Figure 4. Simulation results for differentiator + comparator reconstruction.
Summary
With this circuit, we can easily implement pulse recognition after a long cable and heavy capacitance load. This method produces pulse transmission with low distortion so that the frequency and duty cycle of the original signal is preserved.
Acknowledgement
A special thanks goes to Arthur Kay and Matthew Hann of Texas Instruments for their technical expertise in this subject area.
Reference
1 Electronics Tutorial about op amp differentiator amplifier, Tutorial 7 of 8: The Op-amp Differentiator Amplifier, Electronics-Tutorial.ws.
2 Download the OPA365 data sheet
About the Author
Chenan “Hawk” Tong is a field applications engineer for Texas Instruments signal chain business group. Located in Northwest China, Chenan received his bachelor’s degree from Guilin University of Technology, Guangxi, China, and his master’s degree from Xi’an Jiaotong University, Shaanxi, China. Prior to joining TI, Chenan was an R&D engineer for 12 years, which included power supply, data acquisition and sensor applications.


ExJeffersonJoe
9/6/2012 1:44 PM EDT
Looking at the trace for dVin/dT, I wonder how this will react to an input signal with about 5x the duty cycle. Have you tried that, and if the results were not as expected, have you considered a way to make the circuit more "universal"?
Sign in to Reply
Uersu54
10/11/2012 1:33 AM EDT
A line isn't just a capacitor. Reflections will cause intersymbol interferences and glitches.
Sign in to Reply
HarryB
11/19/2012 2:20 PM EST
Vout0 is very likely to reject noise much better than the differentiator circuit... this could be
critical in many applications. What looks good in simulation here might well not perform as expected in the real world...
Sign in to Reply