<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Modular Synth &#8211; chillibasket</title>
	<atom:link href="https://wired.chillibasket.com/category/modular-synth/feed/" rel="self" type="application/rss+xml" />
	<link>https://wired.chillibasket.com</link>
	<description>A Robotics and Technology Blog</description>
	<lastBuildDate>Tue, 18 Oct 2022 19:44:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://wired.chillibasket.com/wp-content/uploads/2015/03/4e9d6895b4e9e70456edbdb2b46312aa1-550c5afcv1_site_icon-32x32.png</url>
	<title>Modular Synth &#8211; chillibasket</title>
	<link>https://wired.chillibasket.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Modular Synth &#8211; Common Op. Amp Circuits</title>
		<link>https://wired.chillibasket.com/2022/06/modular-synth-common-op-amp-circuits/</link>
					<comments>https://wired.chillibasket.com/2022/06/modular-synth-common-op-amp-circuits/#respond</comments>
		
		<dc:creator><![CDATA[Simon Bluett]]></dc:creator>
		<pubDate>Sun, 26 Jun 2022 17:55:04 +0000</pubDate>
				<category><![CDATA[Modular Synth]]></category>
		<category><![CDATA[Op. Amp]]></category>
		<category><![CDATA[Operational Amplifier]]></category>
		<category><![CDATA[Synth]]></category>
		<category><![CDATA[Synthesiser]]></category>
		<guid isPermaLink="false">https://wired.chillibasket.com/?p=1514</guid>

					<description><![CDATA[Amplifiers are devices which take in an input electrical signal and increase the amplitude (voltage) of that waveform. In music systems, these signals are usually audio and amplifying them increases the volume of the signal. However, Operational Amplifiers (op. amps) are a special type of amplifier which take in two inputs rather than one, and [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Amplifiers are devices which take in an input electrical signal and increase the amplitude (voltage) of that waveform. In music systems, these signals are usually audio and amplifying them increases the volume of the signal. However, <em>Operational Amplifiers</em> (op. amps) are a special type of amplifier which take in two inputs rather than one, and amplify the difference between both signals. By using some simple circuit designs, it is possible to apply these amplifiers to perform many additional tasks, such as inverting the signal, adding up multiple signals, and isolating signals from the rest of the circuit. This wide range of applications is why operational amplifiers are so commonly used in modular synthesisers designs. In this tutorial, I briefly cover how op. amps works and discuss the most common op. amp circuits used in modular synths.</p>



<div style="height:80px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-group has-very-light-gray-background-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">Tutorial Contents</h4>



<ol class="wp-block-list"><li><a href="#how-they-work">How do Operational Amplifiers Work?</a></li><li><a href="#voltage-comparator">Voltage Comparator</a></li><li><a href="#signal-buffer">Unity Gain Amplifier (Signal Buffer)</a></li><li><a href="#simple-amplifier">Simple Amplifier (Signal Boost)</a></li><li><a href="#summing-amplifier">Summing Amplifier (Signal Mixer)</a></li><li><a href="#unused-opamps">Dealing with unused Op. Amps</a></li></ol>
</div></div>



<div style="height:80px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="striped-heading wp-block-heading" id="how-they-work">1. How do Operational Amplifiers Work?</h2>



<p class="wp-block-paragraph">Operational amplifiers are a type of integrated circuit designed to amplify the difference in voltage between the two input signals. Mathematically, the output signal (V<sub>o</sub>) of an op. amp is proportional to the difference between the voltages being supplied to the positive (V<sub>+</sub>) input terminal and the negative (V<sub>&#8211;</sub>) input terminal:</p>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>V_o =A_{vo}(V_+-V_-)</pre></div>



<p class="wp-block-paragraph">The open loop gain (A<sub>vo</sub>) refers to the amount of amplification applied to the difference between the two inputs. One characteristic that makes op. amps so useful is that the open loop gain/amplification value is very large (often around x100,000); this allows the output voltage to be regulated down to any desired value using some simple external components. The table below lists the main characteristics of operational amplifiers, and compares the ideal versus the actual characteristics seen in practice:</p>



<figure class="wp-block-table"><table><thead><tr><th>Ideal</th><th>Actual</th></tr></thead><tbody><tr><td>The amplifier has an infinitely large open loop gain</td><td>The gain is large but finite (typically 100&#8217;s dB)</td></tr><tr><td>The input impedance is infinitely large (no current flows through the inputs)</td><td>The input impedance is high but finite (typically 100&#8217;s MΩ); a small current flows into the inputs</td></tr><tr><td>There is zero output impedance</td><td>The output impedance is low, but not zero (typically 10&#8217;s Ω)</td></tr><tr><td>The gain is not dependent on the frequency of the input signals</td><td>The signal bandwidth is not infinite and at higher frequencies the gain tends to reduce</td></tr><tr><td>The amplifier can switch the output voltage instantaneously to changes in the inputs</td><td>The speed at which the output voltage can change is limited and is defined by the &#8220;slew rate&#8221;</td></tr><tr><td>The output voltage can increase up to the voltages supplied to the power rails of the amplifier</td><td>There is a voltage drop introduced, meaning the output cannot increase up to the rails (usually 2-3 V drop)</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">In practice, while op. amps don&#8217;t exactly follow the ideal assumptions, they are close enough so that these mathematical simplifications can usually be used when designing modular synthesiser circuits and figuring out suitable component values. Some of the situations when you need to watch out for non-ideal properties of op. amps are:</p>



<ul class="wp-block-list"><li>The resistance of the input signals is very high</li><li>The output load from the circuit is very low</li><li>High frequency operation is required</li><li>The output voltage needs to be able to swing right up to the supply voltages </li></ul>



<p class="wp-block-paragraph">In applications such as these, there are many specialised types of operational amplifiers which can fulfil these needs (but often are more expensive or make a compromise with other properties of the amplifier).</p>



<div class="wp-block-group has-very-light-gray-background-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">Operational Amplifiers: Further Reading</h4>



<ul class="wp-block-list"><li><em>Great video explaining how op. amps work:</em> <a rel="noreferrer noopener" href="https://www.youtube.com/watch?v=7FYHt5XviKc" target="_blank">EEV Blog &#8211; OpAmps Tutorial</a></li></ul>
</div></div>



<div style="height:80px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="striped-heading wp-block-heading" id="voltage-comparator">2. Voltage Comparator (Threshold Detection)</h2>



<p class="wp-block-paragraph">A comparator is a type of circuit which compares the voltages of two inputs, outputting a high voltage value when input 1 is larger than input 2, and a low value when input 1 is smaller than input 2. If the voltage of the second input remains fixed, a comparator circuit can be used to determine if the first input signal has exceeded the voltage threshold of the second signal.</p>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="underline-heading wp-block-heading">(a) Simple Comparator</h3>



<p class="wp-block-paragraph">An op. amp can be used as a simple comparator circuit by connecting the two signals you want to compare to the inverting (V<sub>2</sub>) and non-inverting (V<sub>1</sub>) input terminals. If the voltage at the non-inverting input is greater than the one at the inverting input, then the output voltage will be positive; otherwise the output will be negative.</p>



<p class="wp-block-paragraph">Due to the high gain of the amplifier, the output will saturate almost immediately to the maximum voltage which the op. amp can supply &#8212; this is dictated by the supply voltage rails. As a result, the output appears to be almost digital, switching between a fixed low and high voltage value.</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 class="wp-block-heading">Mathematical <strong>Derivation</strong></h4>



<ul class="wp-block-list"><li>Starting with the op. amp formula:</li></ul>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>V_{out} = A_{vo}(V_1 - V_2)</pre></div>



<ul class="wp-block-list"><li>If the gain is very large (approaching infinity), this means the output should also approach positive or negative infinity; however, the maximum output voltage is limited by the supply voltages connected to the amplifier:</li></ul>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\textbf{If: } \; A_{vo} \to \infin \quad \textbf{ Then:}</pre></div>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>V_{out}=\begin{cases}
V_{s+} -V_{d} &amp; V_1 &gt; V_2 \\
V_{s-} +V_{d} &amp; V_1 &lt; V_2  \\
\text{Unstable} &amp; V_1 = V_2
\end{cases}</pre></div>



<p class="wp-block-paragraph">Depending on whether the difference between the two input terminals is positive or negative, the output will jump to equal the positive or negative supply rails. When both inputs are equal, the output is unstable and can quickly jump between both rails. Note that the voltage of the output is reduced by the term <strong>V<sub>d</sub></strong> since most op. amps (unless advertised) introduce a voltage drop of up to 2 to 3 volts with respect to the rails. </p>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 class="wp-block-heading"><strong>Circuit Diagram</strong></h4>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://wired.chillibasket.com/wp-content/uploads/2021/07/differential_amplifier.jpg"><img fetchpriority="high" decoding="async" width="501" height="361" src="https://wired.chillibasket.com/wp-content/uploads/2021/07/differential_amplifier.jpg" alt="" class="wp-image-2054" srcset="https://wired.chillibasket.com/wp-content/uploads/2021/07/differential_amplifier.jpg 501w, https://wired.chillibasket.com/wp-content/uploads/2021/07/differential_amplifier-300x216.jpg 300w" sizes="(max-width: 501px) 100vw, 501px" /></a><figcaption><strong>Schematic 1:</strong> <em>Open-loop differential op. amp used as a voltage comparator.</em></figcaption></figure>
</div>


<p class="wp-block-paragraph"></p>
</div>
</div>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="underline-heading wp-block-heading">(b) Inverting Comparator with Hysteresis</h3>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">In the above simple comparator circuit, when both input voltages are equal the output voltage can jump rapidly between both input rails. This can be an issue when the input signal itself is noisy; in that case the output jumps back and forth multiple times as the input voltage approaches the reference voltage instead of just giving a single clean transition. The most common method of dealing with this issue is to use positive feedback to offset the reference voltage after a transition has occurred. As a result, the reference voltage as the signal is increasing is different than that when the signal is decreasing (this is known as <strong>hysteresis</strong>). </p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 class="wp-block-heading">Mathematical Formula</h4>



<p class="wp-block-paragraph">The voltage at the non-inverting terminal changes depending on whether the output voltage is currently at the high or the low voltage level. This means that the voltage threshold changes depending on whether the input signal is rising or falling.</p>



<p class="wp-block-paragraph">For rising input voltages we can calculate the voltage at the non-inverting input (the threshold voltage) using superposition:</p>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>V_{+rising} = \frac{V_{ref}(R_1)}{(R_1+R_2)}+\frac{V_{outLOW}(R_2)}{(R_1+R_2)}</pre></div>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\therefore V_{+rising} = \frac{(V_{ref}R_1+V_{outLOW}R_2)}{R_1+R_2}</pre></div>



<p class="wp-block-paragraph">Similarly, for falling input voltages the threshold can be calculated:</p>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\therefore V_{+falling} = \frac{(V_{ref}R_1+V_{outHIGH}R_2)}{R_1+R_2}</pre></div>



<p class="wp-block-paragraph">So the total hysteresis voltage swing can be calculated by subtracting these two thresholds:</p>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>V_{hysteresis} = V_{-rising}-V_{+falling}</pre></div>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\therefore V_{hysteresis} = (V_{outHIGH}-V_{outLOW})\frac{R_2}{R_1+R_2}</pre></div>



<p class="wp-block-paragraph"></p>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 class="wp-block-heading"><strong>Circuit Diagram</strong></h4>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://wired.chillibasket.com/wp-content/uploads/2021/07/comparator-with-hysteresis.jpg"><img decoding="async" width="570" height="294" src="https://wired.chillibasket.com/wp-content/uploads/2021/07/comparator-with-hysteresis.jpg" alt="" class="wp-image-2055" srcset="https://wired.chillibasket.com/wp-content/uploads/2021/07/comparator-with-hysteresis.jpg 570w, https://wired.chillibasket.com/wp-content/uploads/2021/07/comparator-with-hysteresis-300x155.jpg 300w" sizes="(max-width: 570px) 100vw, 570px" /></a><figcaption><strong>Schematic 2:</strong> <em>Inverting op. amp comparator circuit with hysteresis</em></figcaption></figure>
</div>


<p class="wp-block-paragraph">In this circuit configuration, the output voltage is high if the input voltage is below the lower &#8220;falling&#8221; threshold, and it switches to a low output voltage when the input voltage exceeds the upper &#8220;rising&#8221; threshold. When the input voltage is in-between those two thresholds, it stays at whatever level it was at before:</p>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>V_{out}=\begin{cases}
V_{s+} -V_{d} &amp; V_{in} &lt; V_{+falling} \\
V_{s-} +V_{d} &amp; V_{in} &gt; V_{+rising} \\
\text{Unchanged} &amp; V_{+rising} \le V_{in} \le V_{+falling}
\end{cases}</pre></div>
</div>
</div>



<div style="height:80px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="striped-heading wp-block-heading" id="signal-buffer">3. Unity Gain Amplifier (Signal Buffer)</h2>



<p class="wp-block-paragraph">In a <em>unity gain amplifier</em> (also known as a <em>signal buffer</em> or a <em>voltage follower</em>), the output of the op. amp is connected back into the inverting input terminal. Using this feedback, the amplifier actively tries to reduce the difference between the input and output voltages, making them the same. This circuit is very common, as it can be used to electrically isolate (buffer) two parts of a circuit. The output of the op. amp acts as an ideal voltage source, meaning the load connected to the output won&#8217;t affect the signal at the input of the op. amp and vice versa.</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 class="wp-block-heading">Mathematical <strong>Derivation</strong></h4>



<ul class="wp-block-list"><li>Starting with the op. amp formula:</li></ul>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>V_{out}=A_{vo}(V_{in}-V_{out})</pre></div>



<ul class="wp-block-list"><li>Rearranging:</li></ul>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>(A_{vo}+1)V_{out}=A_{vo}V_{in}</pre></div>



<ul class="wp-block-list"><li>Due to the large open-loop gain of the amplifier (which is much larger than one), the left side of the equation can be simplified to remove the &#8220;+ 1&#8221; term.</li></ul>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\textbf{If: } \; A_{vo} \gg 1  \quad \textbf{ Then: } \; A_{vo}+1 \approx A_{vo}</pre></div>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\therefore \; V_{out} = V_{in}</pre></div>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 class="wp-block-heading"><strong>Circuit Diagram</strong></h4>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" width="465" height="287" src="https://wired.chillibasket.com/wp-content/uploads/2020/06/unity_gain_amplifier.jpg" alt="" class="wp-image-1589" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/06/unity_gain_amplifier.jpg 465w, https://wired.chillibasket.com/wp-content/uploads/2020/06/unity_gain_amplifier-300x185.jpg 300w" sizes="(max-width: 465px) 100vw, 465px" /><figcaption><strong>Schematic 2:</strong> <em>A unity gain amplifier, often known as a &#8220;voltage buffer&#8221;.</em></figcaption></figure>
</div></div>
</div>



<div style="height:80px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="striped-heading wp-block-heading" id="simple-amplifier">4. Simple Amplifier (Signal Boost)</h2>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="underline-heading wp-block-heading">(a) Inverting Amplifier</h3>



<p class="wp-block-paragraph">An amplifier circuit is a system which takes an input signal and increases the magnitude (amplitude) of that signal. For example in modular synthesisers, this would increase the volume of the audio waveform. An inverting amplifier configuration applies this increase and inverts the signal, meaning that the positive sections of the signal become negative and the negative sections become positive.</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 class="wp-block-heading">Mathematical <strong>Derivation</strong></h4>



<ul class="wp-block-list"><li>To start off, we will substitute in zero for the non-inverting input terminal which is connected to ground:</li></ul>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>V_{out}=A_{vo}(V_+-V_-)</pre></div>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\textbf{Since: } \; V_+=0 \quad \Rightarrow \; V_{out} =  A_{vo}(-V_-)</pre></div>



<ul class="wp-block-list"><li>Due to the high open-loop gain, the amplifier changes its output to try to keep the voltages of the inverting and non-inverting input terminals the same. This creates a &#8220;virtual ground&#8221; at the negative input.</li></ul>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\textbf{If: } \; A_{vo} \to \infin \quad \textbf{ Then: } \; V_- \to 0</pre></div>



<ul class="wp-block-list"><li>Using superposition we can derive another formula for the voltage at the inverting input (see explanation in box below):</li></ul>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>V_-=  \frac{V_{in}R_2}{R_1+R_2}+\frac{V_{out}R_1}{R_1+R_2} = 0</pre></div>



<ul class="wp-block-list"><li>This can be rearranged and simplified to give us the relationship between the input and output voltages:</li></ul>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>V_{in}R_2+V_{out}R_1 = 0</pre></div>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\therefore \: V_{out}=-V_{in}\frac{R_2}{R_1}</pre></div>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 class="wp-block-heading"><strong>Circuit Diagram</strong></h4>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="587" height="326" src="https://wired.chillibasket.com/wp-content/uploads/2020/06/inverting_amplifier.jpg" alt="" class="wp-image-1583" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/06/inverting_amplifier.jpg 587w, https://wired.chillibasket.com/wp-content/uploads/2020/06/inverting_amplifier-300x167.jpg 300w" sizes="auto, (max-width: 587px) 100vw, 587px" /><figcaption><strong>Schematic 3: </strong><em>Inverting amplifier used to increase the magnitude of the input signal.</em></figcaption></figure>
</div></div>
</div>



<div class="wp-block-group has-background" style="background-color:#f0f0f0"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<h4 class="wp-block-heading">Superposition</h4>



<p class="wp-block-paragraph">When trying to calculate the voltage at a junction between multiple branches of a circuit, a useful trick is to look at the voltage contribution of each branch of the circuit separately before adding all the contributions together. When calculating each branch, all of the voltages at the other branches are set to zero. This process is known as &#8220;superposition&#8221; and is used extensively in circuit analysis.</p>
</div></div>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="underline-heading wp-block-heading">(b) Non-inverting Amplifier</h3>



<p class="wp-block-paragraph">The non-inverting amplifier configuration is almost identical to the inverting amplifier above, except that the ground and input voltages are swapped. By adjusting the ratios of the two feedback resistors R<sub>1</sub> and R<sub>2</sub> the amount of gain/amplification of the circuit can be controlled.</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 class="wp-block-heading">Mathematical <strong>Derivation</strong></h4>



<ul class="wp-block-list"><li>If the open loop gain is infinitely large, then the voltages at the inverting and non-inverting inputs needs to be equal:</li></ul>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>V_{out}=A_{vo}(V_{in}-V_-)</pre></div>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\textbf{If: } \; A_{vo} \to \infin \quad \textbf{ Then: } \; V_{in} - V_- \to 0</pre></div>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\therefore V_{in} = V_-</pre></div>



<ul class="wp-block-list"><li>Using the formula for a potential divider, the voltage at the inverting input terminal can be related to the output voltage:</li></ul>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>V_- = \frac{V_{out}R_2}{R_1+R_2}</pre></div>



<ul class="wp-block-list"><li>Rearranging to isolate the output voltage:</li></ul>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\therefore V_{out}=V_{in}\left( \frac{R_1}{R_2} + 1 \right)</pre></div>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 class="wp-block-heading"><strong>Circuit Diagram</strong></h4>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="570" height="294" src="https://wired.chillibasket.com/wp-content/uploads/2020/06/non-inverting_amplifier.jpg" alt="" class="wp-image-1585" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/06/non-inverting_amplifier.jpg 570w, https://wired.chillibasket.com/wp-content/uploads/2020/06/non-inverting_amplifier-300x155.jpg 300w" sizes="auto, (max-width: 570px) 100vw, 570px" /><figcaption><strong>Schematic 4:</strong> <em>Non-inverting amplifier used to increase the magnitude of the input signal.</em></figcaption></figure>
</div></div>
</div>



<div style="height:80px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="striped-heading wp-block-heading" id="summing-amplifier">5. Summing Amplifier (Signal Mixer)</h2>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="underline-heading wp-block-heading">(a) Inverting Summing Amplifier</h3>



<p class="wp-block-paragraph">In modular synths you often want to add multiple signals together to create a variety of effects and harmonies. This can be done very simply by adding additional inputs to the normal inverting amplifier I described in Section 3(a). The contribution of each input signal to the output is dependent on the ratio of the input and feedback resistors.</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 class="wp-block-heading">Mathematical <strong>Derivation</strong></h4>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>V_{out}=A_{vo}(V_+-V_-) = A_{vo}(-V_-)</pre></div>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\textbf{If: } \; A_{vo} \to \infin \quad \textbf{ Then: } \; V_- = 0</pre></div>



<ul class="wp-block-list"><li>Since almost no current flows into the inverting op. amp input, the sum of all the current coming into the inputs needs to flow through the feedback resistor (R). Note that as the conventional current flows from the 0V point at the inverting input across the feedback resistor, this can only be true if the output is at a lower voltage (meaning it is negative).</li></ul>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>I_R=\sum_{i=1}^N\frac{V_i}{R_i} \quad  \textbf{ and } \quad V_{out}=-I_RR</pre></div>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>V_{out}=-\left(V_1\frac{R}{R_1}+V_2\frac{R}{R_2}+...+V_N\frac{R}{R_N}\right)</pre></div>



<ul class="wp-block-list"><li>If all the resistors are equal, then all the resistor terms in the equation cancel each other out and the op. amp simply sums all the input voltages together and inverts it:</li></ul>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\textbf{If: } \; \{R_i = R \text{ }| \text{ } i = 1,...,N\}</pre></div>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\therefore V_{out} = -(V_1 + V_2 + ... + V_N)</pre></div>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 class="wp-block-heading"><strong>Circuit Diagram</strong></h4>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="634" height="484" src="https://wired.chillibasket.com/wp-content/uploads/2020/06/inverting_mixer.jpg" alt="" class="wp-image-1584" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/06/inverting_mixer.jpg 634w, https://wired.chillibasket.com/wp-content/uploads/2020/06/inverting_mixer-300x229.jpg 300w" sizes="auto, (max-width: 634px) 100vw, 634px" /><figcaption><strong>Schematic 5:</strong> <em>Inverting signal mixer, used to combine multiple analogue signals.</em></figcaption></figure>
</div></div>
</div>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="underline-heading wp-block-heading">(b) Non-inverting Summing Amplifier</h3>



<p class="wp-block-paragraph">It is also possible to create a non-inverting signal mixer, where the output is the positive sum of the inputs. However, this circuit is not as common in synthesisers since it is not as easy to add additional inputs. If more than two inputs are added, the ratio of the two resistors connected to the inverting input of the op. amp needs to be changed to ensure the output gain factor remains the same.</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 class="wp-block-heading">Mathematical <strong>Derivation</strong></h4>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>V_{out}=A_{vo}(V_+-V_-)</pre></div>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\textbf{If: } \; A_{vo} \to \infin \quad \textbf{ Then: } \; V_+ = V_-</pre></div>



<ul class="wp-block-list"><li>Same as the non-inverting amplifier circuit (4b), the voltage of the inverting input can be calculated using the potential divider formula. </li></ul>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>V_-=\frac{V_{out}R}{R+R}=\frac{V_{out}}{2}</pre></div>



<ul class="wp-block-list"><li>The voltage at the non-inverting input can be calculated using superposition: </li></ul>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>V_+=\frac{V_1R}{R+R}+\frac{V_2R}{R+R}=\frac{V_1+V_2}{2}</pre></div>



<ul class="wp-block-list"><li>Since the voltage at the inverting and non-inverting inputs needs to be equal, the output voltage therefore is the sum of the two inputs:</li></ul>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\therefore V_{out}=V_1+V_2</pre></div>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 class="wp-block-heading"><strong>Circuit Diagram</strong></h4>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="635" height="363" src="https://wired.chillibasket.com/wp-content/uploads/2020/06/non-inverting_mixer.jpg" alt="" class="wp-image-1586" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/06/non-inverting_mixer.jpg 635w, https://wired.chillibasket.com/wp-content/uploads/2020/06/non-inverting_mixer-300x171.jpg 300w" sizes="auto, (max-width: 635px) 100vw, 635px" /><figcaption><strong>Schematic 6:</strong> <em>Non-inverting signal mixer, used to combine two analogue signals.</em></figcaption></figure>
</div></div>
</div>



<div style="height:80px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="striped-heading wp-block-heading" id="unused-opamps">6. Dealing with Unused Op. Amps</h2>



<p class="wp-block-paragraph">When working with operational amplifiers on a breadboard or in a circuit, each IC chip usually contains multiple op. amps. Commonly chips contains either 2 or 4 amplifiers; however, your circuit may not need to use all of these amplifiers meaning that one or two of them will remain disconnected. In this situation it is good practice to connect the pins of the unused amplifiers to a known input and output so that they won&#8217;t be changing randomly. If these pins are left floating, the unused op. amps may introduce noise and interference which negatively impacts the performance of the op. amps that are being used. To prevent this, the amplifiers should be wired up in a &#8220;Unity Gain&#8221; configuration (see Section 3), with the non-inverting input connected to a voltage which is halfway between the positive and negative rails:</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-vertically-aligned-bottom is-layout-flow wp-block-column-is-layout-flow"><div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://wired.chillibasket.com/wp-content/uploads/2020/06/unconnected_amplifier_1.jpg" alt="" class="wp-image-1587" width="289" height="399" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/06/unconnected_amplifier_1.jpg 385w, https://wired.chillibasket.com/wp-content/uploads/2020/06/unconnected_amplifier_1-217x300.jpg 217w" sizes="auto, (max-width: 289px) 100vw, 289px" /><figcaption><strong>Schematic 8:</strong> <em>This circuit keeps an unused op. amp within a stable configuration.</em></figcaption></figure>
</div></div>



<div class="wp-block-column is-vertically-aligned-bottom is-layout-flow wp-block-column-is-layout-flow"><div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://wired.chillibasket.com/wp-content/uploads/2020/06/unconnected_amplifier_2.jpg" alt="" class="wp-image-1588" width="304" height="248" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/06/unconnected_amplifier_2.jpg 405w, https://wired.chillibasket.com/wp-content/uploads/2020/06/unconnected_amplifier_2-300x245.jpg 300w" sizes="auto, (max-width: 304px) 100vw, 304px" /><figcaption><strong>Schematic 9:</strong><em> If the V+ and V- voltage inputs to the op. amp are equal and opposite (eg. +12V and -12V), then the non-inverting input can be connected to ground.</em></figcaption></figure>
</div></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://wired.chillibasket.com/2022/06/modular-synth-common-op-amp-circuits/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Modular Synth &#8211; Dual 12V Power Supply</title>
		<link>https://wired.chillibasket.com/2020/06/dual-power-supply/</link>
					<comments>https://wired.chillibasket.com/2020/06/dual-power-supply/#comments</comments>
		
		<dc:creator><![CDATA[Simon Bluett]]></dc:creator>
		<pubDate>Sun, 14 Jun 2020 18:23:06 +0000</pubDate>
				<category><![CDATA[Modular Synth]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Modular]]></category>
		<category><![CDATA[Power Supply]]></category>
		<category><![CDATA[Synth]]></category>
		<category><![CDATA[Synthesiser]]></category>
		<guid isPermaLink="false">https://wired.chillibasket.com/?p=1125</guid>

					<description><![CDATA[The very first thing which needs to be addressed when building a DIY synthesiser is how will it all be powered? Traditionally, synthesisers require both positive and negative voltages, which makes putting together a suitable power supply slightly trickier than it may at first seem. By convention, audio signals generated by an oscillator should have [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">The very first thing which needs to be addressed when building a DIY synthesiser is how will it all be powered? Traditionally, synthesisers require both positive and negative voltages, which makes putting together a suitable power supply slightly trickier than it may at first seem. By convention, audio signals generated by an oscillator should have an amplitude of around 10V centred on ground (-5V at the lowest point, +5V at the highest). Therefore, the power supply needs to deliver voltages that are above ±5V. The most common supply voltages are ±9V (for battery operated systems), ±12V (for Eurorack modules) and ±15V. In this tutorial, I&#8217;ll discuss the three most common circuit designs used to provide power for modular synthesisers.</p>



<div class="wp-block-group has-very-light-gray-background-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">Tutorial Contents</h4>



<ol class="wp-block-list"><li><a href="#series-battery">Series Battery Method</a></li><li><a href="#dual-rectification">Dual AC to DC Rectification</a><ul><li><a href="#half-wave-rectifier">Half-wave Rectifier Circuit</a></li><li><a href="#full-wave-rectifier">Full-wave Rectifier Circuit</a></li></ul></li><li><a href="#charge-pump">DC to DC Inverting Charge Pump</a></li></ol>
</div></div>



<div class="wp-block-group has-background" style="background-color:#ffe8e1"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph"><strong>Note: </strong>Some of the circuits described in this post use mains power, and can be dangerous if built incorrectly. Since all other circuits in the synthesiser depend on a stable source of power, making a mistake in the power supply can cause a variety of issues to any connected modules. If you don&#8217;t have the experience or equipment to build your own power supply from scratch, I would encourage you to get a pre-assembled one or a circuit board kit instead!</p>
</div></div>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="763" src="https://wired.chillibasket.com/wp-content/uploads/2020/06/oscillator_test_circuit-1024x763.jpg" alt="" class="wp-image-1561" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/06/oscillator_test_circuit-1024x763.jpg 1024w, https://wired.chillibasket.com/wp-content/uploads/2020/06/oscillator_test_circuit-300x224.jpg 300w, https://wired.chillibasket.com/wp-content/uploads/2020/06/oscillator_test_circuit-768x573.jpg 768w, https://wired.chillibasket.com/wp-content/uploads/2020/06/oscillator_test_circuit.jpg 1100w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption><em>Image showing my DIY dual power supply used to power a basic oscillator module.</em></figcaption></figure>



<div style="height:80px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="striped-heading wp-block-heading" id="series-battery">1. Series Battery Method</h2>



<p class="wp-block-paragraph">One of the simplest ways to create a dual power supply is by using two sets of batteries. The batteries are connected in series, so that the positive terminal of one battery is attached to the negative terminal of the second battery. When this middle connection is used as the ground reference for the circuit, you will be able to get a positive and negative voltage from the batteries, as shown in the circuit diagram below. For small and portable synthesisers, this is often done using two 9V batteries as I&#8217;ve demonstrated on a breadboard in the image below. Since the voltage of both batteries will drop as the power is drained, we also need to include voltage regulators which ensure a stable voltage is supplied to the synthesiser. In the image below, you can see that the batteries I am using are almost empty as the voltage measured by my multimeter is only -7.11V. </p>



<p class="wp-block-paragraph">This method only works when one or both voltage sources are said to be &#8220;floating&#8221;. This means that the power source is not connected to any absolute reference voltage, such as a connection to Earth. All batteries are floating power sources, however wired power supplies often aren&#8217;t. For example, if the negative terminal of both voltage sources is connected to ground, <span style="text-decoration: underline;"></span>then attaching the positive and negative terminals of both sources together will simply create a short-circuit; this is something I would encourage you to avoid!</p>



<ul class="wp-block-list"><li>Benefits:<ul><li>Very easy to implement and troubleshoot.</li><li>Relatively Portable.</li><li>Voltage can be increased by adding more batteries in series.</li><li>The battery life and maximum output current can be increased by adding more batteries in parallel.</li></ul></li><li>Disadvantages:<ul><li>Batteries constantly need to be replaced!</li><li>The voltage of the batteries will drop as they run out (as seen in the image), so an additional power regulator IC will still be required.</li></ul></li></ul>



<div class="wp-block-dgwt-justified-gallery">
<a href='https://wired.chillibasket.com/2020/06/dual-power-supply/dual-battery-supply/'><img loading="lazy" decoding="async" width="300" height="186" src="https://wired.chillibasket.com/wp-content/uploads/2020/04/dual-battery-supply-300x186.png" class="attachment-medium size-medium" alt="" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/04/dual-battery-supply-300x186.png 300w, https://wired.chillibasket.com/wp-content/uploads/2020/04/dual-battery-supply.png 486w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a>
<a href='https://wired.chillibasket.com/2020/06/dual-power-supply/dual-battery-test/'><img loading="lazy" decoding="async" width="300" height="175" src="https://wired.chillibasket.com/wp-content/uploads/2020/04/dual-battery-test-300x175.jpg" class="attachment-medium size-medium" alt="" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/04/dual-battery-test-300x175.jpg 300w, https://wired.chillibasket.com/wp-content/uploads/2020/04/dual-battery-test-768x448.jpg 768w, https://wired.chillibasket.com/wp-content/uploads/2020/04/dual-battery-test.jpg 1000w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a>
</div>



<div style="height:80px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="striped-heading wp-block-heading" id="dual-rectification">2. Dual AC to DC Rectification</h2>



<p class="wp-block-paragraph">The electricity being supplied in the mains socket alternates from a positive to a negative voltage many times a second (230V 50Hz in Europe, 120V 60Hz in the US). What we want to do is reduce this voltage down to a lower and more manageable voltage, taking the positive half of the AC signal to supply the positive output and the negative half for the negative output. This process requires the following steps:</p>



<ul class="wp-block-list"><li>Step down the high voltage being supplied by the mains to a lower voltage using a transformer.</li><li>Rectify the AC signal into a positive and negative signal using diodes.</li><li>Smooth out the voltage using capacitors.</li><li>Generate a stable output voltage using power regulators.</li></ul>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="underline-heading wp-block-heading" id="half-wave-rectifier">a. Half-wave Rectifier Circuit</h3>



<p class="wp-block-paragraph">This is the power supply design I used in my synthesiser, and it is probably the most common design used by DIY synth builders. This design is often preferred to the <em>Full-wave Rectifier</em> as you can use a commercial wall plug transformer to convert the mains power down to 12V AC, which is used by the power supply. This means that your circuit does not directly come into contact with the mains power, making it a little bit safer to work with (but you still need to be careful!). </p>



<p class="wp-block-paragraph"><strong><span style="text-decoration: underline;">Important:</span> </strong>You need to make sure that the wall plug transformer you use outputs 12V <strong><em>alternating current</em></strong>, and not 12V direct current. The 12V DC plugs are a lot more common, so it may take some searching to find the correct type of 12V AC plug. Also make sure that the plug you get is rated for a current of at least 1000mA or above, and that the mains voltage input rating is correct for the country you are in.</p>



<p class="wp-block-paragraph">An example of a half-wave rectifier circuit is shown in <strong><em>Schematic 2</em></strong> below. The circuit takes in a 12V AC signal from the wall plug, and converts it into a stable positive and negative 12V output. I have seen many variations of this circuit, using a wide variety of different capacitor values. </p>



<div class="wp-block-image"><figure class="aligncenter size-large"><a href="https://wired.chillibasket.com/wp-content/uploads/2020/06/half-wave-rectification.jpg"><img loading="lazy" decoding="async" width="1000" height="572" src="https://wired.chillibasket.com/wp-content/uploads/2020/06/half-wave-rectification.jpg" alt="" class="wp-image-1473" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/06/half-wave-rectification.jpg 1000w, https://wired.chillibasket.com/wp-content/uploads/2020/06/half-wave-rectification-300x172.jpg 300w, https://wired.chillibasket.com/wp-content/uploads/2020/06/half-wave-rectification-768x439.jpg 768w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /></a><figcaption><strong>Schematic 2:</strong> <em>Half-wave Rectification Circuit</em></figcaption></figure></div>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">How does it work?</h4>



<ol class="wp-block-list"><li>The circuit takes in a 12V alternating current signal from the wall plug transformer. 12V AC refers to the root mean square (RMS) value of the signal. This signal has a peak voltage of <em>±</em>17V, as shown in the waveform diagram below.</li><li>The diode <strong>D1</strong> only allows the positive half of the AC signal to pass through, while <strong>D2</strong> lets negative voltages through. This process is known as <em>half-wave</em> or <em>half-bridge</em> rectification, since only half of the AC waveform is used to power each of the voltage outputs. As a result, each output can theoretically only output half of the power (and consequently current) delivered by the wall plug transformer. The peak voltage of the rectified signals is <em>±</em>16.3V, since the diodes introduce a 0.7V drop into the circuit.</li><li>The capacitors smooth out the waveform, ensuring that a more continuous voltage is being supplied to the voltage regulators. The reasoning behind selecting this specific capacitance value is discussed in the next section.</li><li>The LM7812 and LM7912 voltage regulators ensure that the outputs of the power supply stay at a stable +12V and -12V respectively. If you want to get +15V and -15V outputs instead, you can use a 15V AC power plug and replace these with the LM7815 and LM7915 regulators. If you are putting together your own circuit, watch out as the input, output and ground pins are in a different order on the positive and negative voltage regulators.</li><li>Capacitors <strong>C3</strong> and <strong>C4</strong> are mainly included to improve the transient response of the power supply; the capacitor can provide brief bursts of high current when there are sudden changes in load being applied to the power supply. According to the data-sheet for the negative voltage regulator LM7912, for stability the capacitor <strong>C4</strong> should be at least 1μF (using a tantalum capacitor) or 10μF (using an electrolytic capacitor). The higher value of 100μF was chosen to give an additional factor of safety over this minimum value.</li><li>The two LEDs are there to indicate that there is power at the outputs. Some negative power regulators also require a minimum load to be applied at the output before they start up, so the LEDs help to provide that load.</li><li>According to the data-sheet for LM7912, the diode <strong>D4</strong> is required when large capacitors such as <strong>C10</strong> are used at the input. The diode prevents momentary input short circuits, which can occur when the circuit is powered up or down. The LM7812 does not necessarily need this, but I put <strong>D6</strong> in for good measure.</li><li>The data sheet for both LM7812 and LM7912 specify that <strong>D5</strong> and <strong>D3</strong> should be present to prevent <em>latch-up</em> problems. These components act as clamping diodes, helping to protect the regulators from reversed polarity on the outputs. If one regulator starts up before the other one, devices such as operational amplifiers (op amps) can latch up and cause a short circuit between both power rails. This can prevent the second regulator from starting up. The diodes (preferably Schottkey) prevent the positive output from going below -0.3V and the negative output going above 0.3V, allowing both regulators to start up and the latch up condition to stop.</li></ol>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-large"><a href="https://wired.chillibasket.com/wp-content/uploads/2020/06/half-wave-diagram.png"><img loading="lazy" decoding="async" width="1000" height="288" src="https://wired.chillibasket.com/wp-content/uploads/2020/06/half-wave-diagram.png" alt="" class="wp-image-1504" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/06/half-wave-diagram.png 1000w, https://wired.chillibasket.com/wp-content/uploads/2020/06/half-wave-diagram-300x86.png 300w, https://wired.chillibasket.com/wp-content/uploads/2020/06/half-wave-diagram-768x221.png 768w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /></a><figcaption><em>Diagram showing the main steps of the half-wave rectification process</em></figcaption></figure>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">How to choose the capacitor values?</h4>



<p class="wp-block-paragraph">Why are there two capacitors at the input of each power rail (C1 &amp; C7, C2 &amp; C10)? How were the values of these capacitors chosen? I&#8217;ve looked at several schematics for half-wave rectifiers and there seems to be a lot of variance in what the capacitance value should be.</p>



<p class="wp-block-paragraph">Generally there is one small non-electrolytic capacitor close to the input of each power regulator, which helps to stabilise, filter and smooth the input (C1 and C2). Usually this is between 100nF to 1μF. Small capacitors (ceramic, polyester, tantalum etc.) tend to be better than larger electrolytic film capacitor at filtering out high-frequency noise from the signal.</p>



<p class="wp-block-paragraph">Then there is a bank of large electrolytic capacitors connected in parallel (C7 and C10; more capacitors can be connected if required), ensuring that there is a relatively constant reservoir of power even when the AC input signal is in the opposite half of the wave and no new power is being supplied. These capacitors are good at removing low frequency noise and stabilising variances in the DC voltage. The total capacitance of this reservoir depends on the amount of load you expect to put on the power supply. Here is how to calculate how much capacitance you may need:</p>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<p class="wp-block-paragraph">According to the datasheet, the 12V regulators need a minimum input voltage of 14.5V to be able to provide a stable 12V output. Since 16.3V is the maximum voltage provided by our transformer and rectification circuit, under full load we are aiming for an average DC input voltage (V<sub>DC</sub>) of 15.4V and maximum voltage ripple (p<sub>%</sub>) of 5.8%.</p>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>V_{DC}=\frac{16.3+14.5}{2}=15.4V</pre></div>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\rho_\%=\frac{15.4-14.5}{15.4}\times100=5.8\%</pre></div>
</div>
</div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<p class="wp-block-paragraph">Next we need to calculate the effective resistance of the load. Since the regulator can output a maximum current (I<sub>DC</sub>) of around 1A, this means that the equivalent load resistance (R<sub>L</sub>) is 15.4 ohms. The power dissipated (P<sub>D</sub>) across the regulator (in the form of heat) is 3.4W. The regulator can only dissipate ~1W on its own, so we definitely need to attach a heatsink to it to remove the excess heat.</p>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>R_L=\frac{V_{DC}}{I_{DC}}=\frac{15.4}{1}=15.4\Omega</pre></div>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>P_D = (V_{DC}-V_O )(I_{DC})\newline=(15.4-12)(1)=3.4W</pre></div>
</div>
</div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<p class="wp-block-paragraph">We can then calculate a minimum capacitance value (C<sub>s</sub>) which can provide the desired voltage ripple. <em>The formula I am using assumes that the capacitor discharge is approximately linear and that the AC frequency is 50Hz.</em> The value turns out to be around 11,000µF! We theoretically would need to connect 3 of the large 4700µF capacitors together in parallel so that the power regulator could reach its maximum output current of 1A. With only one 4700µF capacitor the maximum output current is probably around 0.4A per rail.</p>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>C_s=\frac{1}{\rho _\%R_L}=\frac{1}{5.8\times 15.4}=0.011F</pre></div>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>\text{If } \quad C_s=0.0047F \quad \text{then:}</pre></div>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>R_L=\frac{1}{5.8\times 0.0047}=36.7\Omega</pre></div>



<div class="wp-block-katex-display-block katex-eq" data-katex-display="true"><pre>I_{DC}=\frac{15.4}{36.7}=0.42A</pre></div>



<p class="wp-block-paragraph"></p>
</div>
</div>



<p class="wp-block-paragraph">So to summarise&#8230; if we want to get a full 1A of output current from our power supply, the combined capacitance value at the input of the regulator needs to be at least 11,000µF.</p>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-group has-very-light-gray-background-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">Half-bridge Rectifier: Further Reading</h4>



<ul class="wp-block-list"><li><em>Music from Outer Space:</em> <a rel="noreferrer noopener" href="http://musicfromouterspace.com/analogsynth_new/WALLWARTSUPPLY/WALLWARTSUPPLY.php" target="_blank">Wall-wart Power Supply</a></li><li><em>Circuits Today:</em> <a rel="noreferrer noopener" href="http://www.circuitstoday.com/half-wave-rectifiers" target="_blank">Half-wave Rectifier Circuit Theory</a></li></ul>
</div></div>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-large"><a href="https://wired.chillibasket.com/wp-content/uploads/2020/04/bread-board_power-supply_2.jpg"><img loading="lazy" decoding="async" width="910" height="568" src="https://wired.chillibasket.com/wp-content/uploads/2020/04/bread-board_power-supply_2.jpg" alt="" class="wp-image-1161" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/04/bread-board_power-supply_2.jpg 910w, https://wired.chillibasket.com/wp-content/uploads/2020/04/bread-board_power-supply_2-300x187.jpg 300w, https://wired.chillibasket.com/wp-content/uploads/2020/04/bread-board_power-supply_2-768x479.jpg 768w" sizes="auto, (max-width: 910px) 100vw, 910px" /></a><figcaption><em>Testing the half-bridge rectifier out on a breadboard.</em></figcaption></figure>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="underline-heading wp-block-heading" id="full-wave-rectifier">b. Full-wave Rectifier Circuit</h3>



<p class="wp-block-paragraph">In a &#8220;full-bridge&#8221; or &#8220;full-wave&#8221; rectification circuit, both the positive and negative sections of the alternating waveform are used to power both outputs. This means that the circuit can theoretically drive twice the load compared to a half-bridge rectifier. As can be seen in <em><strong>Schematic 3</strong></em>, most of the circuit is identical to the half-bridge rectifier. The only differences are that two additional rectification diodes have been added, and a transformer with three outputs (called a &#8220;Center Tapped Transformer&#8221;) is used.  The central output of the transformer is used as the ground reference, while the other two connections output an identical 12V AC signal, but out of phase by 180°. This means that when one of the outputs is in the positive section of the alternating waveform, the other is in the negative section and vice versa. </p>



<p class="wp-block-paragraph">This type of circuit is often used in professional equipment, but is not used as much by DIY synthesiser builders. Center-tapped transformers are not available as a pre-packaged wall-plug, so you would need to wire your own. Since one end of the transformer is connected to mains power, building this circuit involves a bit more risk and should only be attempted if you have the right equipment and know what you are doing! When buying a transformer, make sure that the mains voltage input rating is correct for the country you are in. </p>



<figure class="wp-block-image size-large"><a href="https://wired.chillibasket.com/wp-content/uploads/2020/06/full-wave-rectification.jpg"><img loading="lazy" decoding="async" width="1000" height="520" src="https://wired.chillibasket.com/wp-content/uploads/2020/06/full-wave-rectification.jpg" alt="" class="wp-image-1475" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/06/full-wave-rectification.jpg 1000w, https://wired.chillibasket.com/wp-content/uploads/2020/06/full-wave-rectification-300x156.jpg 300w, https://wired.chillibasket.com/wp-content/uploads/2020/06/full-wave-rectification-768x399.jpg 768w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /></a><figcaption><strong>Schematic 3:</strong> <em>Full-wave Rectification Circuit</em></figcaption></figure>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">How does it work?</h4>



<ol class="wp-block-list"><li>The transformer takes the mains alternating signal and reduces the voltage, outputing two 12V alternating current signals which are out of phase by 180°.</li><li>The four diodes are used to separate the positive and negative sections of the alternating signal, directing the positive halves to the +12V regulator and the negative halves to the -12V regulator. Since both AC signals are out of phase, this results in a continuous supply of power for both polarities.</li><li>The rest of the circuit is identical to the &#8220;half-bridge rectifier&#8221;, so you can refer to my description above to see how it works and what each component is doing. </li></ol>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-large"><a href="https://wired.chillibasket.com/wp-content/uploads/2020/06/full-wave-diagram.png"><img loading="lazy" decoding="async" width="985" height="332" src="https://wired.chillibasket.com/wp-content/uploads/2020/06/full-wave-diagram.png" alt="" class="wp-image-1503" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/06/full-wave-diagram.png 985w, https://wired.chillibasket.com/wp-content/uploads/2020/06/full-wave-diagram-300x101.png 300w, https://wired.chillibasket.com/wp-content/uploads/2020/06/full-wave-diagram-768x259.png 768w" sizes="auto, (max-width: 985px) 100vw, 985px" /></a><figcaption><em>Diagram showing the mains steps of the full-wave rectification process</em></figcaption></figure>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-group has-very-light-gray-background-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">Full-bridge Rectifier: Further Reading</h4>



<ul class="wp-block-list"><li><em>Circuit Digest:</em> <a rel="noreferrer noopener" href="https://circuitdigest.com/electronic-circuits/12v-dual-power-supply-circuit" target="_blank">+-12V Dual Power Supply</a></li><li><em>Circuits Today:</em> <a href="http://www.circuitstoday.com/full-wave-bridge-rectifier" target="_blank" rel="noreferrer noopener">Full Wave Rectifier-bridge Theory</a></li><li><em>All About Circuits:</em> <a rel="noreferrer noopener" href="https://www.allaboutcircuits.com/textbook/semiconductors/chpt-3/rectifier-circuits/" target="_blank">Rectifier Circuits</a></li></ul>
</div></div>



<div style="height:80px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="striped-heading wp-block-heading" id="charge-pump">3. DC to DC Inverting Charge Pump</h2>



<p class="wp-block-paragraph">It is also possible to generate a dual 12V power supply from only one +12V DC power plug. This is useful since DC power plugs are a lot more common and therefore cheaper to buy. It is also easier to find 12V DC plugs which have a high current rating, allowing more synthesiser modules to be powered from the same supply. This type of power supply design is often seen in portable modular synthesiser kits, and small Eurorack-compatible power modules. Since the transformer and rectification circuitry (large capacitors) are all contained within the external plug, the footprint of the electronics used in this design can be made a lot smaller than in the <em>Dual AC-DC rectification</em> circuits.</p>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="underline-heading wp-block-heading">a. How does it work?</h3>



<p class="wp-block-paragraph">In its most simple form, an inverting charge pump uses a &#8220;floating&#8221; capacitor to carry charge over from the +12V side to the -12V side of the circuit. The capacitor is charged up from the +12V input being provided by the wall plug. Once full, the capacitor is disconnected from +12V input and the positive lead is instead connected to ground. Since the charge (and therefore voltage drop) across the capacitor remains the same, this means the negative terminal of the capacitor is now at a voltage of -12V. The capacitor then begins to discharge and this is used to power the negative rail. In our power supply, this process of charging and discharging is repeated many times a second. <em><strong>Schematic 4</strong></em> shows an equivalent circuit, demonstrating how this system works. In a real circuit, the switching of the capacitor is done using an IC chip.</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><a href="https://wired.chillibasket.com/wp-content/uploads/2020/04/charge-pump.gif"><img loading="lazy" decoding="async" src="https://wired.chillibasket.com/wp-content/uploads/2020/04/charge-pump.gif" alt="" class="wp-image-1137" width="563" height="365"/></a><figcaption><strong>Schematic 4: </strong><em>GIF showing how the charge pump functions; schematic based on the tutorial by <a rel="noreferrer noopener" href="https://www.maximintegrated.com/en/design/technical-documents/tutorials/7/725.html" target="_blank">Maxim Integrated</a>.</em></figcaption></figure></div>



<ol class="wp-block-list"><li>Initially, switches <strong>S1</strong> and <strong>S3</strong> are closed while switches <strong>S2</strong> and <strong>S4</strong> are open. Capacitor <strong>C1</strong> is connected to <strong>Vin</strong> and <strong>ground</strong>, causing the charge in the capacitor to increase.</li><li>After a certain interval, the switches <strong>S1</strong> and <strong>S3</strong> are opened up again while <strong>S2</strong> and <strong>S4</strong> are closed. The top leg of the capacitor is now connected to <strong>ground</strong> instead of <strong>Vin</strong>. Since the charge in the capacitor hasn&#8217;t changed, there is still the same voltage drop across the capacitor. As a result, a voltage of <strong>-Vin</strong> is present on the bottom leg of the capacitor.</li><li>This switching mechanism is continuously repeated, charging the capacitor <strong>C1</strong> with the positive input voltage and de-charging it again on the inverted output. The capacitor is essentially pumping the charge from the positive input to the inverted output.</li><li>Capacitor <strong>C2</strong> acts as a power buffer/storage, smoothing the voltage on the output and ensuring that a continuous supply is available at the inverted output.</li></ol>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="underline-heading wp-block-heading">b. Implementing it in practice</h3>



<figure class="wp-block-image size-large"><a href="https://wired.chillibasket.com/wp-content/uploads/2020/06/charge-pump-simulation.jpg"><img loading="lazy" decoding="async" width="1013" height="569" src="https://wired.chillibasket.com/wp-content/uploads/2020/06/charge-pump-simulation.jpg" alt="" class="wp-image-1496" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/06/charge-pump-simulation.jpg 1013w, https://wired.chillibasket.com/wp-content/uploads/2020/06/charge-pump-simulation-300x169.jpg 300w, https://wired.chillibasket.com/wp-content/uploads/2020/06/charge-pump-simulation-768x431.jpg 768w" sizes="auto, (max-width: 1013px) 100vw, 1013px" /></a><figcaption><strong>Schematic 5:</strong> <em>LTspice Test circuit for the inverting charge pump using the LTC1144 IC</em></figcaption></figure>



<p class="wp-block-paragraph">In the example circuit show in <strong><em>Schematic 5</em></strong>, we are using the LTC1144 chip made by Analog Devices to do the switching for out inverting charge pump. The capacitor <strong>C6</strong> is used to invert the charge, while <strong>C5</strong> acts as reservoir so that the negative output has a more stable output. The graphs show how the circuit reacts when it is started up. The current through the capacitor <strong>C6</strong> alternates from positive to negative at regular intervals as it charges from the positive supply and de-charges into the negative output. The voltage of the negative output quickly decreases as the reservoir capacitor <strong>C5</strong> is charged up, levelling out at -12V over time. </p>



<p class="wp-block-paragraph">In the LTC1144 chip, the frequency of the switching signal can be increased or decreased by changing the value of the capacitor connected to the OSC input pin. Charge pumps can operate at a wide range of switching frequencies, usually ranging from 1kHz to as high as 200kHz. </p>



<p class="wp-block-paragraph"><em><span style="text-decoration: underline;">Note:</span> I haven&#8217;t had the chance to try this circuit out in practice, so the capacitor values in <strong>Schematic 5 </strong>will probably need to be altered to make it suitable for use as a synthesiser power supply. The circuit simulations were done in the free program &#8220;LTspice&#8221; made by Analog Devices.</em></p>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-group has-very-light-gray-background-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">Charge Pumps: Further Reading</h4>



<ul class="wp-block-list"><li><em>All About Circuits:</em> <a rel="noreferrer noopener" href="https://www.allaboutcircuits.com/technical-articles/boosting-and-inverting-without-inductors-charge-pump-power-supplies/" target="_blank">Boosting and Inverting using a charge pump</a></li><li><em>Maxim Integrated: </em><a rel="noreferrer noopener" href="https://www.maximintegrated.com/en/design/technical-documents/tutorials/7/725.html" target="_blank">In-depth tutorial of charge pumps</a></li><li><em>EDN:</em> <a rel="noreferrer noopener" href="https://www.edn.com/the-ins-and-outs-of-charge-pump-converter-ics/" target="_blank">The ins and outs of charge-pump-converter ICs</a></li></ul>
</div></div>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-group has-vivid-cyan-blue-background-color has-text-color has-background" style="color:#ffffff"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">If you have any questions or suggestions, please feel free to leave a comment below!</p>
</div></div>
]]></content:encoded>
					
					<wfw:commentRss>https://wired.chillibasket.com/2020/06/dual-power-supply/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>Modular Synth &#8211; An Introduction</title>
		<link>https://wired.chillibasket.com/2020/06/synth-introduction/</link>
					<comments>https://wired.chillibasket.com/2020/06/synth-introduction/#comments</comments>
		
		<dc:creator><![CDATA[Simon Bluett]]></dc:creator>
		<pubDate>Tue, 09 Jun 2020 20:28:27 +0000</pubDate>
				<category><![CDATA[Modular Synth]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Modular]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Synth]]></category>
		<category><![CDATA[Synthesiser]]></category>
		<guid isPermaLink="false">https://wired.chillibasket.com/?p=1119</guid>

					<description><![CDATA[As an electronic engineer and amateur musician, I&#8217;ve become fascinated with electronic music. More specifically, at how analogue electronic circuits can produce, filter and shape a variety of different signals to create sounds and music. This inspired me to begin building my own synthesiser from scratch, assembling together the circuits and controls used to generate [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">As an electronic engineer and amateur musician, I&#8217;ve become fascinated with electronic music. More specifically, at how analogue electronic circuits can produce, filter and shape a variety of different signals to create sounds and music. This inspired me to begin building my own synthesiser from scratch, assembling together the circuits and controls used to generate my own electronic music. I have included some pictures of my progress below!</p>



<p class="wp-block-paragraph">Building a synthesiser rather than buying a pre-assembled one has several  benefits; first of all, it is significantly cheaper! For example, a simple voltage-controlled oscillator (VCO) Eurorack module usually costs at least €100, while the components for a DIY version can often be sourced for less than €20. But more importantly, building a DIY synth helps you to understand exactly how each circuit works and how it influences the overall sound. Once you become familiar with how a circuit works, you can also begin adding your own extra features and quirks! There is quite a large DIY synth community where people show off and share their own designs. For me at least, I find that building my own synth is just as much fun as trying to make music with it once it is complete.</p>



<div class="wp-block-dgwt-justified-gallery">
<a href='https://wired.chillibasket.com/2020/06/synth-introduction/modular_synth_3/'><img loading="lazy" decoding="async" width="300" height="200" src="https://wired.chillibasket.com/wp-content/uploads/2020/06/modular_synth_3-300x200.jpg" class="attachment-medium size-medium" alt="" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/06/modular_synth_3-300x200.jpg 300w, https://wired.chillibasket.com/wp-content/uploads/2020/06/modular_synth_3-768x511.jpg 768w, https://wired.chillibasket.com/wp-content/uploads/2020/06/modular_synth_3.jpg 1000w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a>
<a href='https://wired.chillibasket.com/2020/06/synth-introduction/modular_synth_2/'><img loading="lazy" decoding="async" width="300" height="160" src="https://wired.chillibasket.com/wp-content/uploads/2020/06/modular_synth_2-300x160.jpg" class="attachment-medium size-medium" alt="" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/06/modular_synth_2-300x160.jpg 300w, https://wired.chillibasket.com/wp-content/uploads/2020/06/modular_synth_2-1024x544.jpg 1024w, https://wired.chillibasket.com/wp-content/uploads/2020/06/modular_synth_2-768x408.jpg 768w, https://wired.chillibasket.com/wp-content/uploads/2020/06/modular_synth_2.jpg 1200w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a>
<a href='https://wired.chillibasket.com/2020/06/synth-introduction/modular_synth_1/'><img loading="lazy" decoding="async" width="300" height="200" src="https://wired.chillibasket.com/wp-content/uploads/2020/06/modular_synth_1-300x200.jpg" class="attachment-medium size-medium" alt="" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/06/modular_synth_1-300x200.jpg 300w, https://wired.chillibasket.com/wp-content/uploads/2020/06/modular_synth_1-1024x683.jpg 1024w, https://wired.chillibasket.com/wp-content/uploads/2020/06/modular_synth_1-768x512.jpg 768w, https://wired.chillibasket.com/wp-content/uploads/2020/06/modular_synth_1.jpg 1200w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a>
</div>



<div style="height:80px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="striped-heading wp-block-heading">What is a Modular Synth?</h2>



<p class="wp-block-paragraph">Synthesisers are devices which can create sounds and music from electronic circuits. A sound can be created very simply by generating an oscillating electrical signal, which is varying at a frequency which we can hear (usually between 20 to 20,000Hz). By changing the rate at which this signal oscillates we control the pitch of the tone, while the volume can be controlled by adjusting the peak-to-peak voltage of the signal. <em><strong>Diagram 1</strong></em> shows what changing the volume and pitch of an sinusoidal signal looks like. However, generating a basic signal is only the starting point when using a synth! By combining multiple signals and filtering them in weird and wonderful ways, it is possible to create some truly unique sounds and music. </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="900" height="219" src="https://wired.chillibasket.com/wp-content/uploads/2020/06/wave_parameter.png" alt="" class="wp-image-1519" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/06/wave_parameter.png 900w, https://wired.chillibasket.com/wp-content/uploads/2020/06/wave_parameter-300x73.png 300w, https://wired.chillibasket.com/wp-content/uploads/2020/06/wave_parameter-768x187.png 768w" sizes="auto, (max-width: 900px) 100vw, 900px" /><figcaption><strong>Diagram 1: </strong><em>Illustrating the characteristics of a synthesised audio waveform.</em></figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">Basic synthesisers have multiple functions hardwired together to give you a specific type of instrument and tone. Modular synths are special, because each unique musical operation is broken out into a separate device/module. For example, you could have one module to generate an initial waveform (oscillator), then one to change the tone of the sound (filter), followed by a module to control the volume (amplifier). Each module has an audio jack for every input, output and control signal, allowing you to automate and change the way in which the module operates. This allows you to hook up the modules in a large number of different ways! <em><strong>Diagram 2</strong></em> shows one way in which 4 common modules can be linked together to produce music.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="900" height="244" src="https://wired.chillibasket.com/wp-content/uploads/2020/06/modular_synth_diagrams.png" alt="" class="wp-image-1517" srcset="https://wired.chillibasket.com/wp-content/uploads/2020/06/modular_synth_diagrams.png 900w, https://wired.chillibasket.com/wp-content/uploads/2020/06/modular_synth_diagrams-300x81.png 300w, https://wired.chillibasket.com/wp-content/uploads/2020/06/modular_synth_diagrams-768x208.png 768w" sizes="auto, (max-width: 900px) 100vw, 900px" /><figcaption><strong>Diagram 2: </strong><em>A diagram of one possible modular synth patch.</em></figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">So what does the result sound like? I&#8217;ve attached an early video of my DIY modular synth below, showing a demo tune I put together to see if all of the modules were working. I have since added some extra modules to my synthesiser, which I will talk about in a later post. At the top of the box is an 8-step sequencer which is used to control the pitch and duration of each of the notes. On the left (blue) is a single oscillator which can produce three different types of waveforms (sinusoid, triangle, square), as demonstrated at the start of the video. Finally, next to this is an amplifier (grey) which can control the volume of each of these waveforms. It is interesting to hear all the different types of tones which this basic synthesiser can produce, without needing to introduce any filtering.</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-embed-youtube wp-block-embed is-type-rich is-provider-embed-handler wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper"><iframe loading="lazy" src="https://www.youtube-nocookie.com/embed/vjTBHjhgklc?feature=oembed&amp;modestbranding=1&amp;showinfo=0&amp;rel=0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" width="560" height="315" frameborder="0"></iframe></div></figure>



<div style="height:80px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="striped-heading wp-block-heading">Up next in this Tutorial Series&#8230;</h2>



<p class="wp-block-paragraph">As I continue building and improving my own DIY synth, I hope to post several tutorials describing various electronic circuits commonly used to create music. Using a variety of diagrams and practical demonstrations, I will try to show how each synth module affects the audio signal. I will also try and model parts of the circuit mathematically, to illustrate the process and consideration made by the designers when developing the designs. Here is a list of the modules I have already built, and may discuss in my future tutorials:</p>



<ul class="wp-block-list"><li><a href="https://wired.chillibasket.com/2020/06/dual-power-supply/">Dual +-12V Power Supply</a></li><li>Voltage Controlled Oscillator (VCO)</li><li>Voltage Controlled Amplifier (VCA)</li><li>8-step Sequencer</li><li>Attack, Decay, Sustain and Release module (ADSR)</li><li>Voltage Controlled Filter &#8211; Low Pass and High Pass (VCF)</li></ul>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-buttons aligncenter is-layout-flex wp-block-buttons-is-layout-flex">
<div class="wp-block-button is-style-outline is-style-outline--1"><a class="wp-block-button__link no-border-radius" href="https://wired.chillibasket.com/2020/06/dual-power-supply/"><em>Part 2: </em>Dual 12V Power Supplies</a></div>
</div>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-group has-very-light-gray-background-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">DIY Synth Circuit Designs</h4>



<p class="wp-block-paragraph">Most of the synth modules I have built so far are based on circuit designs made by several other DIY synth enthusiasts; here is a list of some of my sources:</p>



<ul class="wp-block-list"><li><em>Birth of a Synth</em> &#8211;<a rel="noreferrer noopener" href="http://www.birthofasynth.com/Thomas_Henry/TH_main.html" target="_blank"> Thomas Henry Modular Synth Designs</a></li><li><em>Kristian Blåsol</em> &#8211; <a rel="noreferrer noopener" href="https://www.youtube.com/playlist?list=PLyE56WXw0_5Q5QGMEXWmskuhojKyRdA3T" target="_blank">Modular in a Week (YouTube Series)</a></li><li><em>Look Mum No Computer</em> &#8211; <a href="https://www.youtube.com/playlist?list=PLluPQLh1xzlIzqgTBwTo_a5k_O63JxwjQ" target="_blank" rel="noreferrer noopener">YouTube How-To Tutorials</a></li></ul>
</div></div>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-group has-vivid-cyan-blue-background-color has-text-color has-background" style="color:#ffffff"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">If you have any questions or suggestions, please feel free to leave a comment below!</p>
</div></div>
]]></content:encoded>
					
					<wfw:commentRss>https://wired.chillibasket.com/2020/06/synth-introduction/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
