You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

210 lines
16 KiB

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html lang="en">
<head>
<link rel="canonical" href="project23.htm" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Author" content="Rod Elliott">
<meta name="description" content="ESP Project Pages - Power Amp Clipping Indicator. See exactly when your power amplifier is reaching the maximum output level">
<!-- ESP Project Pages - Power Amp Clipping Indicator. See exactly when your power amplifier is reaching the maximum output level -->
<!-- Updated 07 Oct 2002; reformatted, added additional comments about clipping, added CSS -->
<meta name="keywords" content="audio, project, diy, amp, preamp, clipping, distortion, indicator, test, circuit, schematic, diagram">
<title>Power Amp Clipping Indicator</title>
<link rel="StyleSheet" href="esp.css" type="text/css" media="screen, print">
<style TYPE="text/css"><!-- td { font-size: 11pt } --> </style>
<link rel="shortcut icon" type="image/ico" href="favicon.ico">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-1947877433449191",
enable_page_level_ads: true
});
</script>
</head>
<body>
<table style="width:100%"><tr><td><img src="esp.jpg" alt="ESP Logo" height="81" width="215">
<td align="right">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 468x60, created 20/08/10 -->
<ins class="adsbygoogle"
style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-1947877433449191"
data-ad-slot="7119701939"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</td></table>
<table style="width:100%" class="tblblue">
<tr><td class="hdrl">&nbsp;Elliott Sound Products</td>
<td align="right" class="hdrr">Project 23&nbsp;</td>
</tr></table>
<h1>Power Amplifier Clipping Indicator</h1>
<div align="center" class="t_11">&copy; 1999, Rod Elliott - ESP<br />
Updated 05 May 2005</div>
<!-- AddThis Button BEGIN -->
<div class="addthis_inline_share_toolbox"></div>
<!-- AddThis Button END -->
<hr /><b>Introduction</b>
<p>At some stage, we will all find ourselves pushing hi-fi equipment just a little too hard, and if lucky, will just find that the sound has become 'dirty'.&nbsp; If this happens too often or is too severe, tweeters are the first to go - they are damaged by the excessive power generated by a combination of 'power compression' and to a lesser extent the harmonics created when an amplifier clips.&nbsp; The same may well happen to one's ears, but the effect is much more subtle (and cannot be fixed !).</p>
<p>One of the problems is that short duration clipping is very hard to detect by listening alone, but is still capable of causing damage - especially to tweeters, and it does nothing for the sound quality.</p>
<p>What is needed is a simple and reliable way of detecting that the amplifier is clipping (or so close that we have no margin for error).&nbsp; Well, search no more, because here it is.</p>
<hr /><b>Design Considerations</b>
<p>Many clipping detector circuits have been published over the years, but most of them rely solely on an attenuated (reduced) version of the output signal, supplied to a suitable comparator circuit.</p>
<p>This would be fine if the mains voltage stayed exactly the same at all times, and if the power supply had perfect regulation.&nbsp; The fact is that neither of these is true, and the amplifier's DC supply voltage can vary quite considerably from hour to hour, and even minute by minute.</p>
<p>The clipping detector shown here relies on one factor - how close to the supply voltage is the amplifier's output signal at any instant in time.&nbsp; If (when) the supply voltage varies, the detector varies along with it, and will detect even a very short peak that crosses the detection threshold.&nbsp; (See <a href="project23.htm#how_works">How It Works</a>, below.)</p>
<hr /><b>The Clipping Detector</b>
<p>Figure 1 shows the circuit of the detector.&nbsp; Although a simple circuit, it uses a principle of operation that will be new to many readers.&nbsp; Indeed, it is new to me as well, since this is a method of detection I have never seen published in this form.&nbsp; There was one detector published many years ago that was similar in some respects (this was pointed out by a reader after this circuit was published), but it was dramatically more complex and included extra functionality that (IMO) is best kept separate.</p>
<p class="t-pic"><img src="p23_fig1.gif" alt="Figure 1" border="1" /><br />Figure 1 - The clipping Detector Circuit</p>
<p>The terminal marked 'External" is to allow additional channels to use the same pulse stretch circuit, making it possible to have multiple detectors (even using different amp supply voltages), all sharing a common clipping LED.</p>
<table>
<tr><td><img src="opamp.gif" alt="opamp" /></td>
<td valign="top" class="t_12">The pinout for a typical dual opamp is shown for reference.&nbsp; This is pretty much an industry standard, and nearly all dual opamps use
this pin configuration.&nbsp; As always, I suggest that you download the data sheet for the device you intend to use to double check.&nbsp; The +ve supply in this circuit is
from the 12V zener, and the -ve supply goes to earth.&nbsp; A dual supply is not needed in this application.&nbsp; The LM358 is recommended, as it is low power and both inputs
and the output can operate at (or near) ground (zero volts).</td></tr>
</table>
<p>Q1 (PNP) and Q2 (NPN) are the detectors, and we can examine the operation of Q1 (the positive peak detector) - Q2 works the same way, and detects the negative peak.</p>
<p>During normal operation (not clipping), Q1 is turned on continuously.&nbsp; A reference voltage (typically 3 Volts) is created across the 1k emitter resistor by the resistor R9 ('See Table 2').&nbsp; Now if the output of either channel rises close enough to the supply voltage to equal the reference voltage, Q1 is turned off by forcing the base voltage to be greater than the emitter voltage - no base current, so the transistor will not conduct.&nbsp; This is detected by the opamp U1A.&nbsp; This is connected in such a way as to detect either of the transistors turning off.</p>
<p>The 'pulse stretch' circuit will detect a clipping period as short as 120&micro;s, but reliable detection will take place within 1ms with any program material.&nbsp; Because of the rapid response and deliberate sensitivity to supply voltage variations, this is possibly the most reliable and accurate clipping published to date.</p>
<p>The transistors must be rated for the supply voltage.&nbsp; For most systems with supplies up to &plusmn;42V, use BC547 (NPN) and BC557 (PNP).&nbsp; For higher voltage supplies up to &plusmn;70V, use BC639 (NPN) and BC640 (PNP).&nbsp; They are over the top in power and current ratings, but we need the 80V rating.&nbsp; Suitable and readily available devices for use at higher voltages are MPSA42 (NPN) and MPSA92 (PNP), both of which are rated for up to 300V.</p>
<p>There is no need to use fast comparators (you can if you want to), so U1 can be a very basic (and very cheap) LM358, which is preferred because it's rail-to-rail for inputs and output.&nbsp; I do not recommend the use of other opamps, because most are not rail-to-rail devices and may not work properly.&nbsp; Please obtain a data sheet for the device you plan to use - these include pinouts and other useful information.</p>
<p>The circuit diagram was updated some time ago to improve the detection.&nbsp; The R12, R13 divider at the input to U1B was too close to the threshold for typical opamps, resulting in erratic operation at higher than ambient temperatures.</p>
<table style="width:640px" border="1" align="center">
<colgroup span="3" width="33%">
<tr class="tbldark"><td><b>Supply Volts</b></td><td><b>Resistor Value</b></td>
<td><b>Power Rating</b></td></tr>
<tr><td>&plusmn; 20</td><td>390 Ohm</td><td>0.5 Watt</td></tr>
<tr><td>&plusmn; 30</td><td>820 Ohm</td><td>0.5 Watt</td></tr>
<tr><td>&plusmn; 35</td><td>1k Ohm</td><td>1 Watt</td></tr>
<tr><td>&plusmn; 40</td><td>1.2k Ohm</td><td>1 Watt</td></tr>
<tr><td>&plusmn; 50</td><td>2.2k Ohms</td><td>2 Watts</td></tr>
<tr><td>&plusmn; 60</td><td>2.7k Ohms</td><td>2 Watts</td></tr>
<tr><td>&plusmn; 80</td><td>3.3k Ohms</td><td>2 Watts</td></tr>
</table>
<div class="t-pic">Table 1 - R8 Resistor Value For Power Supply</div>
<p>Table 1 is used to select the value and power rating of the 'dropper' resistor R8, based on the power amp supply voltage.&nbsp; Intermediate supply voltages should use the value for the next lowest supply voltage.&nbsp; A resistor with a higher rating than shown in the table will reduce operating temperature and increase reliability.</p>
<p>To calculate the value, I have chosen 20mA as the Zener + opamp current, so ...</p>
<blockquote>
Resistor (k Ohms) = ( Supply Voltage - 12 ) / 20 [1]<br />
Power (mW) = ( Supply Voltage - 12 )&sup2; / Resistor (k Ohms) [2]<br /><br />
For a 45 Volt supply, we get ...<br /><br />
From [1] Resistor = ( 45 - 12 ) / 20 = 33 / 20 = 1.65k Ohms<br />
From [2] Power = (45 - 12 )&sup2; / 1.65 = 33&sup2; / 1.65 = 1089 / 1.65 = 660 mW
</blockquote>
<table style="width:640px" border="1" align="center">
<colgroup span="3" width="33%">
<tr class="tbldark"><td><b>Supply Voltage</b></td><td><b>Resistor Value</b></td><td><b>Power Rating</b></td></tr>
<tr><td>&plusmn; 20</td><td>12k</td><td>0.25 W</td></tr>
<tr><td>&plusmn; 30</td><td>18k</td><td>0.5 W</td></tr>
<tr><td>&plusmn; 35</td><td>22k</td><td>0.5 W</td></tr>
<tr><td>&plusmn; 40</td><td>25k</td><td>0.5 W</td></tr>
<tr><td>&plusmn; 50</td><td>33k</td><td>0.5 W</td></tr>
<tr><td>&plusmn; 60</td><td>39k</td><td>0.5 W</td></tr>
<tr><td>&plusmn; 70</td><td>47k</td><td>1 W</td></tr>
<tr><td>&plusmn; 80</td><td>51k</td><td>1 W</td></tr>
</table>
<div class="t-pic">Table 2 - R9 Resistor Value For 3V Clipping Reference</div>
<p>The table is fairly accurate for a 3V clipping reference, but some amps will not be capable of getting to within 3V of the supply (MOSFET types in particular).&nbsp; In these cases, the resistor value must be calculated.</p>
<blockquote>
Current (mA) = Reference Voltage - So a 3V reference requires 3mA [4]<br />
Resistor (k Ohms) = ( ( Supply V - Reference V ) / Current (mA) ) &times; 2 [5]<br />
Power (mW) = Current&sup2; &times; Resistor [6]<br /><br />
An example would be an amp with 45V supplies, and requiring a reference voltage of 5V.&nbsp; So ...<br /><br />
From [4] Current = 5mA<br />
From [5] Resistor = ( ( 45 - 5 ) / 5 ) *times; 2 = ( 40 / 5 ) &times; 2 = 16k Ohms<br />
From [6] Power = 5&sup2; &times; 16 = 25 &times; 16 = 400 mW
</blockquote>
<p>Finally, we must select the resistor for the opamp sense inputs.&nbsp; This is required because the voltage on the inverting input must be more positive than that on the non-inverting input for normal operation.&nbsp; The range is quite wide, but not sufficiently so as to cover the entire supply voltage range.</p>
<table style="width:640px" border="1" align="center">
<colgroup span="2" width="50%">
<tr class="tbldark"><td><b>Supply Voltage</b></td><td><b>Resistance</b></td></tr>
<tr><td>&plusmn; 20</td><td>33k</td></tr>
<tr><td>&plusmn; 30</td><td>27k</td></tr>
<tr><td>&plusmn; 35</td><td>22k</td></tr>
<tr><td>&plusmn; 40</td><td>18k</td></tr>
<tr><td>&plusmn; 50</td><td>15k</td></tr>
<tr><td>&plusmn; 60</td><td>12k</td></tr>
<tr><td>&plusmn; 70</td><td>10k</td></tr>
<tr><td>&plusmn; 80</td><td>10k</td></tr>
</table>
<div class="t-pic">Table 3 - R10, R11 Opamp Input Resistors</div>
<p>If the correct value is not used for the power supply voltage, the opamp comparator may hold its output high all the time, which will keep the clipping LED turned on.&nbsp; These resistors can be 0.25 Watt for all supply voltages.&nbsp; Note that at a supply voltage of less than &plusmn;25V you may need to increase the value of R11 above that shown in the table.&nbsp; If the output of U1 is continuously high with no signal, increase R11 until the output of U1 goes low.</p>
<hr /><a id="how_works"></a><b>How It Works</b>
<p>Figure 2 shows (in red) the points of the output signal voltage that will trigger the detectors.&nbsp; +Ve is the positive power supply voltage and Ref+ is the positive reference voltage.&nbsp; The same applies to the negative supply and reference.</p>
<p class="t-pic"><img src="p23_fig2.gif" alt="Figure 2" border="1" /><br />Figure 2 - Instantaneous Voltage Detection</p>
<p>Figure 2A shows the effect as the power supply collapses under sustained load.&nbsp; If the signal drops to a lower level before the supply collapses, the circuit will not be triggered.&nbsp; 2B shows how even the ripple on the power supply is used as a part of the reference, and so will detect that the output signal is about to be clipped based on the supply voltage at any instant in time.</p>
<p>So, as you can see, the actual instantaneous value of the power supply voltage is used as the final reference - the output is measured against this by Q1 and Q2.&nbsp; If the power supply voltage rises or falls, if there is ripple on the supply, this circuit will still indicate if the output of either amp of the stereo pair comes within 3 Volts of the <i>instantaneous</i> value of the power supply voltage (or other value - use formulae 4, 5 and 6 to calculate the reference voltage and required resistor values).</p>
<p>U1A operates as a dual comparator - if either transistor stops conducting, the output goes from around 0V to almost the full supply (12V - regulated with a simple zener).&nbsp; This voltage is applied to the inverting input of U1B, and the capacitor is used to 'stretch' the pulse so that even momentary clipping will be seen.&nbsp; This opamp drives the clipping LED directly.</p>
<p>By using the input 'A', additional separate amplifiers can be connected, so that in a home theatre system, all 5 (or 6) power amps can be monitored, and a single LED will indicate if any amp clips.&nbsp; This can also be done for biamped systems.</p>
<p><b>Note:</b> It is vitally important that outputs from amplifiers with separate power supplies are monitored by their own transistor pair - this ensures that each amp is compared to its own power supply (as it should be).&nbsp; <i>Do not be tempted to try to have one set of detector transistors for multiple separate power supplies.</i></p>
<p>Where a common power supply is used for multiple amplifiers (such as in a home theatre system), additional inputs can be added to the detectors - two diodes and a 1k resistor for each amp.&nbsp; The LED will come on if any amplifier that's being monitored exceeds the detection threshold, but a single detector for multiple amps doesn't tell you which one is clipping, so in many cases you may prefer to use more than one detector.</p>
<hr />
<center>&nbsp;
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 728x90 -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-1947877433449191"
data-ad-slot="9701674198"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</center>
<hr /><span class="imgswap"><a href="index.html" style="display:block;"><img src="a1.gif" alt="Home"/><b class="bb">Main Index</b></a></span>
<span class="imgswap"><a href="projects.htm" style="display:block;"><img src="a1.gif" alt="Projects"/><b class="bb">Projects Index</b></a></span><br />
<table border="1" class="tblblk">
<tr><td class="t-wht"><a id="copyright"></a><b>Copyright Notice.</b> This article, including but not limited to all text and diagrams, is the intellectual property of Rod Elliott, and is &copy; 1999.&nbsp; Reproduction or re-publication by any means whatsoever, whether electronic, mechanical or electro- mechanical, is strictly prohibited under International Copyright laws.&nbsp; The author (Rod Elliott) grants the reader the right to use this information for personal use only, and further allows that one (1) copy may be made for reference while constructing the project.&nbsp; Commercial use is prohibited without express written authorisation from Rod Elliott.</td></tr></table>
<div class="t-sml">Updates: 05 May 05 - changed resistor value to allow more reliable detection at higher temperatures.</div><br />
<script type="text/javascript" src="https://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5cd8c929c555da1d"></script>
</body>
</html>