Wednesday, 11 December 2019

Synthesizer Build part-11: ECHO and SOUND FX UNIT and LINE OUT.

100 different sound effects combined with a line-out and head-phones connection for the DIY synthesizer.

Here's a little item I found on eBay and thought it would work great in the synthesizer; and luckily I was right. It is a fantastic asset and makes the synth sound really professional and full. 
A word of warning though, this is not a beginners project. You need to know your electronics to follow my plans. This unit also needs two voltages to run on. The effects unit runs on +5V and the stripboard runs on +/-15V or +/-12V. So you must make sure you have those voltages available in your modular set-up or add a +5V regulator to the print. I recently added a Dry/Wet control so you can dial in as much of the effect as you want in your sound. This makes this unit really useable and perfect for modular synths. (see further down the article)




The unit goes under different names but mostly as the Cara OK ("Karaoke" get it?) or DSP 5V Red Digital Stereo Mixer Reverberation Karaoke Reverberation Board Module (if you copy and paste that into the search bar on eBay, you'll find it). The prices vary from $15 to about $30 us. (DSP stands for Digital Sound Processor)
This is the cheapest listing I could find on eBay: click here.
It offers 100 presets with reverb, echo and even chorus, phaser, flanger, phase shift and reversal effects and combinations of them together. There's a rotary encoder with which you choose the preset of your choise and then you just press to confirm and engage the effect. It's a favourite with many synth builders I noticed.
I made a special panel for it and combined a 'Line-Out' control and bypass switch option with the module. Here is the schematic or wiring diagram to make this unit part of the synthesizer. This was one of my early projects and at first I didn't have dry/wet control in there so this is the version just with a switch between normal line out or line out with effects:



I had to put extra attenuation on the bypassed (normal) signal because it was much louder than the output from the Echo Module, but that was easily fixed as you can see in the diagram above. The panel that I built into my synthesizer also includes a headphones out stereo jack which is not included in this article but it's just an output jack soldered straight to the negative poles of the Left and Right output Electrolytic Capacitors. Weirdly enough, if you listen through the headphones, the echo module is much louder than the normal line out. This is probably some impedance matching issue but it doesn't bother me. It's easy enough to turn a volume knob so I'm not bothered.
The Stripboard can work on +/-12V also. It doesn't matter if you use 15 or 12V. The CaraOK effects unit must have it's own +5V powersupply! You can use a 7805 voltage regulator and connect it to the 15 or 12V of the stripboard to get 5V for the effects unit. This is not further described in this article. I'm assuming you have the knowledge to make powersupplies. If not, check out my article on this subject here or see the datasheet for the 7805 voltage regulator.

Here's the stripboard layout (older version). This one has a 3 pole switch but that's not necessary. Just connect the wires on the left hand side of the switch together; the red line coming from the 'normal level pot', the blue line from pin 1 of the chip and the effects unit input. They can all be connected together and then you just need a 2 pole dual throw switch (DPDT).
(All potmeters viewed from the front)


Please note: The GROUND connection of the Effects Unit must be connected to the GND of the stripboard. Everything must share the same ground. I myself made a central grounding point with a solder eye connected to one of the M-3 bolts holding the Effects Unit to the panel. To put it in a simple way: the ground of the 5V powersupply for the Effects Unit must be connected to the ground of the +/-15 or 12V powersupply of the stripboard. The Grounds of the Line Out cables are also connected to this common ground. You can tap that off from the 4th strip above the Left Line Out connection. (2nd strip below the chip).

Print only:


(Last revised: 14-Aug-2020: Corrected mistake with negative voltage supply to the TL074.)

I used a 3 pole double throw toggle switch (ON-ON type) to be able to switch the synthesizer between normal output and output through the effects unit. This is a bit of over-kill because you can just as well connect the inputs together (part S1-A of the switch) and then use a 2 pole switch to switch between the outputs. Better still. I describe down below how you can put in a dual gang potmeter instead of a switch and so have a DRY / WET control. 
I'm going to adapt this article soon and make a new layout to put in this Dry/Wet control permanently. 

[EDIT] March 2021 DRY/WET CONTROL:
I wanted a Dry/Wet control on this effects unit for a while now and I wanted to install it without having to rebuild the whole module.
I changed the 3 pole toggle switch for a dual gang potmeter and I connected the inputs, normally connected to part S1A of the switch, all together. If you do this make sure you keep to the right order with the wires. Best to make a few pictures of the switch connections first before you solder in the dual potmeter, that is, if you built this module already.
Below here is a schematic. You can see the switch has been replaced by a stereo potmeter. This MUST be a linear type potmeter!!
There is a half drop in volume at the half way stage of the potmeter because we have 50K of resistance in our signal path there but other than that it functions fine! It's just a matter of turning up the input or output levels to get it where you want it. You must make sure the output audio goes into a very high impedance input, like a HiFi amplifier because if you pull even a tiny bit of current from this circuit it won't behave normally anymore. But it works fine on audio amplifiers, I guarantee it.


Here is Juanito Moore (Modular for the Masses) schematic for this unit with a properly implemented dry/wet control


The Dry/Wet control really makes a world of difference! Now you can set it to reverb and then precisely dial in the effect to where you like it. It's fantastic sounding!
Here is a picture of the panel with the Dry/Wet control where the switch used to be:


I made a little demo video. You can hear the drop in volume at the midway point of the Dry/Wet control. (I know it's wired backwards LOL :)  But being able to dial in the effect makes a world of difference and the volume can easily be crancked up by the level controls.



Continuing the original text:
I've put in 4 buffer stages, using the TL074, for the input, normal output and FX Unit outputs Left and Right channels and I gave the latter two adjustable gain by means of two 50K potmeters in the feedback loops of the opamps; one for each channel. The gain is adjustable from 2 to 5.3 times. You can increase that by using 100K potmeters instead of 50K ones. That would give a maximum gain of 8.6 times.

When I first tested this unit I noticed I was receiving an FM broadcasting signal through the effects unit. (There's an FM Broadcast transmitter and antenna on a flat 100 meters from my location). So I took a ferrite ring and wound the audio input wire around the ferrite ring about ten times. I also put ferrite beads in the 5V power-supply line to the effects unit and to the print with the opamps on it. This solved the problem. One more little thing: beware of the little crystal X1 near one of the screw holes on the circuit board. It is rather flimsy and fragile. Take care not to damage it.

The Cara OK is a really versatile unit with lots of really cool sounding effects. Here's an overview of the possibilities it offers. I myself printed a small version of this list out, laminated it and stuck it at the bottom of the panel I made for it. Handy to have around I thought :) :


This picture shows all the connections to the circuitboard:



It's small so it won't take up too much space. Beware that it needs just +5V for power supply. Luckily in my synth build I made a power-supply that delivers dual 5, 12 and 15 Volts so I can feed it right from there. I can really recommend you picking this up and trying it in your build project. It will add a lot of options and is a very useful addition to the filters and its output is in stereo! The sound quality is just great so no problems there. The only thing is the difference in volume I mentioned earlier but that is easily fixed. You can use opamps buffers with it, like I did, but it's not absolutely necessary. I did without them at first but then installed output buffers with variable gain as I mentioned before.
The audio response of this module is so good that it even lets through the ultra low frequencies the Korg MS20 filter produces (see next article) and that can go as low as 10Hz. You can really see the speaker cones move bigtime!
Before I installed the 3-pole toggle switch I had a single pole and a double pole switch side by side to switch between FX-unit and normal line out. So after installing that 3-pole switch I had a hole in the panel left over. I mounted a 3,5mm stereo output jack in that hole as a connection for head-phones. The output jack is connected straight to the audio output on the stripboard. One thing I noticed with this arragement is that the normal line-out through the head-phones, sounds a lot quieter than when the effects unit is switched on. That's probably due to a difference in output impedance because we're effectively putting an 8 Ohm resistance between Line-Out and Ground in the form of the head-phone speakers. This doesn't occur when I listen to it on the normal audio amplifier, at least not if the head-phones are not plugged in. It would be a good idea to build a little head-phone amplifier for this purpose.
Here is a picture of the finished module in my synthesizer:


Here's a picture of what's behind the panel. Now you understand why this is not a beginners project ^_____^  You can see the yellow Ferrite ring with the black 'audio in' wire wound around it above the blue circuitboard and there's also one on the stripboard. I advise you to include these in the power supply line and audio in line. In red you can see the 3 pole toggle switch. This panel works really well like this.



Here's the Line Out Panel I made on the back of my synth, with two gold plated RCA outputs and a 6,3mm (1/4") Stereo Output Jack, which is connected straight to the RCA left and right outputs.



ONE LAST REMARK:
I have had feedback that some chips on the CaraOK board can run hot when run for a long time and even fail after a few years so it is advisable to add an ON/OFF switch to the module so you can turn it off when it is not needed thereby preventing the chips from being on needlessly for a long time.
(see comments below)

Okay, that's the 11th module I put in the synthesizer. We're nearly there. I have just room enough left for one more module and that has got to be the Korg MS20 filter. But I'm waiting for some supplies from China before I can build it. (Circuit boards for one, coz I'm fresh out at the mo.)

Okay here's an excellent video by Juanito Moore that shows you how you can circuit-bend this device and make it voltage controllable. Click here

Right, that concludes this article. Thanks for stopping by and while you're here, why not leave me a comment or if you have any questions put those in the comments too and I'll get back to you asap.


Tuesday, 10 December 2019

Synthesizer Build part-10: THE VCA or VOLTAGE CONTROLLED AMPLIFIER.

A very simple, old school, transistor based VCA circuit that's tried and tested. Easy to build and small enough for Eurorack. You do need an oscilloscope to calibrate it though.  This module runs on +/-12V as standard so a very Eurorack friendly design.

There are PCBs available for this VCA. See 'PCB Service'

EDIT April 2024: There's now also a new VCA project available that's also a 3 channel mixer and has a line out option. Please go to Project 58 to check that out

Please read the whole text before building this project. 

WHAT'S A VCA FOR?
The VCA is nothing more than a voltage controlled volume knob. It lets audio pass through when you press a note on the keyboard and it shuts it down after you let go of the key. (So actually the term Voltage Controlled Amplifier is a bit misleading because it does not amplify the signal, it attenuates it.) The opening and closing of the VCA is done using signals coming from the Envelope Generator or ADSR or from an LFO depending on what you use it for. Don't mistake a VCA for an Audio Amplifier. You can not hang speakers on the end of this circuit. A VCA is used to make sure your synthesizer only produces sound when you press a key on the keyboard. The keyboard produces a Gate signal that is high as long as the key is pressed down and a 1 Volt per Octave signal that tells the VCO which note to play. That Gate signal then triggers the Envelope Generator and the output from the Envelope Generator goes into the VCA together with the audio output from the VCO and as the VCA detects the Envelope signal it opens up and lets the audio pass through with the volume or amplitude depending on how high the envelope signal is in voltage. The output of the VCA must later be attenuated to audio line level if you want to feed it into a HiFi amplifier. So the VCA is just a link in the synthesizer chain.
In the picture below you see a block diagram to show you the position and function of a VCA in a synthesizer. There seems to be a lot of confusion about this with people new to (modular) synthesizers. The VCA is the white triangle marked 'Amplifier'. It does say "Output to amp/speaker" but they mean that the VCA outputs a line level signal going into a normal HiFi power amplifier. There is no line level output in my VCA layout but it's easily added with a voltage divider.


(Image taken from 'The Complete Synthesizer' PDF Book)

I used a very simple design for the VCA which I again found on the Yusynth website. Btw, this is a linear VCA.
Here's the schematic:


If you want to experiment with this circuit then here is a link to a Falstad simulation I made:  --- CLICK HERE ---

This is an old design and there are some updated versions out there but this is tried and tested and has served me well for over 3 years now. It's very simple and it works very well except that in my build the signal came out inverted. This isn't really an issue because it's an audio signal and they sound the same whether inverted or not but my Obsessive Compulsive Disorderly mind wants it coming out the same way it came in so I added a little opamp inverter to the output to set this straight. Afterall a VCA can also be used for Control Voltages like signals from an LFO and in that case polarity is important. 
I put a 10µF Electrolytic Capacitor on the output (plus connected to output VCA) because I noticed a 240mV DC offset voltage on the output which I couldn't trim away with the potmeters. This may be due to a slight difference in resistance between the two 10K resistors connected to opamp U1b. Make sure you measure those and use two that have the same value resistance. In fact all resistors with the same value should be matched because this circuit depends on symmetry!! The transistor pair must be matched too.
Use an oscilloscope to set the trimmer potmeters. You should be able to measure a DC voltage (before the 10µF cap I mentioned earlier) and, with trimmer R18, trim away as much DC voltage on the output as you can and with the other trimmer R14 you can trim the balance of the signal. You set it so the positive part of the wave has the same amplitude as the negative part of the wave, with the zero volt line being the dividing line. If you want to use this VCA for Control Voltages then you can't put a capacitor on the output because that will block low frequency signals, which it sees as DC.
The output level may be a bit lower than the input level, even if the ADSR potmeter is fully opened up. If that's the case and you want to correct that then you can change the gain of the output buffer opamp. This is something I added myself and is not included in the schematic but only in the layout. If you change the 150K resistor between pins 1 and 2 of IC-2 for a 470K resistor, you should get 3 times gain! That should bring the level back to input level. You can experiment with this yourself. If you put a 500 KOhm potmeter between pins 1 and 2 you can control the gain of the opamp with a knob on the panel. Just a thought ;) Make sure you give it a different name though otherwise you'll have two gain potmeters on your panel :D 

If you are interested in the functions of the transistor pair and the other components in this circuit then here's a link to a blog post that explains it in great detail:  -- CLICK HERE --

LAYOUTS:
Here's the layout I made for standard 24x55 hole stripboard using only 24x39 holes. Like I said before, I added a signal inverter in the shape of a second TL072. Only one of the two opamps in the chip is used, the other one is properly connected to ground. Make sure the Gain potmeter is linear. In fact use linear types for both pots. You can also use other values like 47K or 100K because one is an input level control and the other a voltage devider switched between 12V and ground so the values have no influence on the working of this circuit.
The layout below is verified and absolutely faultless. I guarantee it. It has been used successfully by many people now. All potmeters seen from the back.


Stripboard only:


Here's the Bill of Materials. It says to use logarithmic potmeters but you can also use linear types. In fact for the Gain pot it's best to use a linear one:


EDIT 24-April-2025
I made a new smaller version of the VCA without any extra's. It's just what you see on the schematic drawing. This will be handy if you need a few of these behind one panel or if you're building for Eurorack. I haven't built this layout so I can't say it's verified but I double checked the connections with the schematic and I can't see any mistakes. If you do please contact me immediately.
I did switch the 10K connections to the opamp U1b in the schematic. The left BC547 (Q1) is connected to the inverting input (-) and the right BC547 (Q2) is connected to the non inverting input (+). I can not imagine that will make any difference. It doesn't in the Falstad simulator anyway.
Here's that layout, wiring:


Stripboard only:
Connect the 3 ground positions of the eurorack powerheader together by flowing extra solder to bridge the gaps and short them together. 


Here's a picture of the finished VCA installed in my synthesizer:



The Level control is for the ADSR input signal and determins the volume of the audio signal. The Gain controls the quietness of the VCA when no keys are pressed on the keyboard and it should normally be set to zero. If you turn it up, the last note you played will become audible.
You must use an oscilloscope to test the signals and trim the offset and signal levels. Put it in DC mode when testing. 
In the picture above you see a yellow patch cable connected to the audio output. That is actually my oscilloscope probe, so I can see the output signal on my scope screen, and the audio output is connected internally, behind the panels, to the Line-Out and Effects Unit to the left. From there the audio signal goes to a stereo RCA output on the back of my synthesizer and from there to the Line-In of my HiFi Audio Amplifier.

Below is a picture of the double VCA that I built on April 25th and 26th of 2020 from the same schematic and layout. These VCA's work like a charm! They are so handy to have, I use them a lot in patches as a sort of Gate to let audio through when there's a signal on the ADSR input. When the ADSR potmeter is turned fully open (clockwise) the output signal will have the same strength as the input signal. Of course this is also influenced by the type of control voltage you feed it. 
With the double VCA I wired up the inputs in such a way that when there is no connection made to input 2, that input gets the same signal as is present on input 1. (Input 2 is normalled to input 1 as it is officially called.) So with one input you get two outputs. As soon as a patch cable is connected to input 2 that connection with input 1 is broken (by the socket switch of input 2) and the VCA's work as two independent VCA's.


A look behind the panel:




Eurorack module:
EDIT 25-Januari-2022: I'm now building a Eurorack system and I needed a VCA that I can use until I buy some ready made VCA's so I took one board out of the Double VCA I built earlier and made a Eurorack sized panel for it. This worked perfectly and I just transplanted everything to the new panel and it worked fine. Here's a look at the new module. I sawed off the extra copper strips that weren't in use (where the M3 bolt went through) which left me with a 52mm deep print which I glued directly to the back of the panel next to the potmeters and sockets which are all on the right side of the panel.
Here are some pictures of the Eurorack panel:



I made an extra output on this VCA that has 1/10th the amplitude of the normal output. I though that might be handy to use as a line level output but I'm not sure if I'll need it or use it. It just consists of a 100K resistor going from the output to the 1/10th output and a 10K resistor from the 1/10th output to ground to complete the voltage divider.

Troubleshooting:
If, after building this VCA, you have trouble with noise, especially at low volume levels, then you most probably need to replace the opamp you're using. I've had people contact me about this and it turned out the opamp was the cause. An other cause of excessive noise has been bad soldering joints. So make sure your solder connections are good. 
Like I said, I built 3 of these and they all work fine and are absolutely quiet.

Here's an oscilloscope picture of how the VCA lets through audio (the yellow waveform) only when it gets the Control Voltage from the ADSR (the blue line). You can see how the amplitude of the audio closely follows the amplitude of the CV from the Envelope Generator:



I had some eurorack layouts here before but I'm having problems with them so I took them out again. I won't have layouts here that are not verified.

Here's a link to a Falstad circuit simulation of this VCA showing how it works. 


If you want to know more about the theory behind this VCA or in effect, how this VCA works then I have a link here to a great blog post that explains the workings of this very circuit.

There's also a fantastic video by Moritz Klein which explains the technical details about the workings of a circuit like this and he also explains why the transistors need to be matched.

Okay, that's it for now. Any questions? Put them in the comments below and I will answer them asap. You can also post questions in the Facebook Group for this website.

Synthesizer Build part-9: THE LFO or LOW FREQUENCY OSCILLATOR.

Before we start, this article is about my first attempt at building an LFO based on the AS3340 chip and it didn't work out very well.  This article is here for personal archive purposes not as a build project.
If you want to read about the LFO that did work then click here to go to chapter 13

So: THIS IS NOT A PROJECT PAGE! DON'T BUILD THIS! It's just posted here for archive purposes for myself.

The LFO is an indispensable  part of any synthesizer. It is mainly used to modulate other parts of the synth like the filters or the VCO's or as a source for clock pulses.
The LFO I build for my synth project is nothing more then a cut down version of the VCO based on the AS3340 chip. I left out a few things, like the high frequency track and Hard- and Soft sync options and I added an inverter for the saw tooth wave. (I was just getting into synthesizer building when I made this so I made some stupid decisions.)
The low frequency is achieved by using a 100nF capacitor from pin 11 to ground instead of the 1nF used in the VCO. You can experiment with this by using different values of caps on pin 11. In fact I made a switch in the LFO panel with a choise of a 270nF for extra Low Frequency and a 100nF for normal LFO use. The total reach is about one wave every 8 seconds to 20 waves per second.
The reverse sawtooth wave offset voltage must be set to zero volt using an oscilloscope.
Here's the layout I drew for it. The schematic is just the same as the AS3340 datasheet schematic.


Note that there is no squarewave output on this LFO. When testing this design I got so much ringing on the downward slope of the squarewave that I deemed it unuseable for LFO use. I therefore made a separate squarewave oscillator using the CD40106 design from the 8 Step Sequencer from the previous article. I made it on a piece of stripboard that simply hangs from the 100K frequency potmeter which is soldered straight to the PCB. One plus point of this approach is that you can have the squarewave going at a different frequency to the other two waveshapes which could be useful for triggering drum modules etc. Be careful that the squarewave oscillator doesn't touch the panel. When I first build it the contacts from the potmeter touched the panel and the CD40106 literally went up in smoke! My whole attic stank of magic smoke for a day! So put some gaffer tape on the contacts or the panel to be safe.


As you can see in the picture the LFO has a CV input and an FM input to control the waveforms with other modulation sources so you can create more weirdness :)
This LFO has a weird quirck that I actually like a lot. It has a bit of a beat when it dies out. When the wave dies out it doesn't do so quietly but it pops a little. I'm not sure why this is but I don't mind it. The waves consist of a negative and positive voltage part so the middle of the wave is around the zero volt line. That might have something to do with it as most of my modules work with signals from zero to plus ten volts. I don't know, but if you do please let me know what causes the plopping sound in the comments below. :) Btw, don't let this withhold you from building the LFO. It works fantastically.

[EDIT-1: Friday the 13th of December (that figures, LOL)]
I changed an output jack for a new one because it kept getting loose and I switched the panel back on and boom, up went the CD40106 again! Magic smoke (nothing magic about it in my opinion but there we are ^__^ ). So I tried fixing the ringing issue with the squarewave from the AS3340 with as result that now only the triangle wave is still working. It's going from bad to worse with this module so I think I'm going to scrap it and build one of Yusynth's LFO's. Luckily it's not a vital part of the synth but naturally you have to have a good and well working LFO in your setup. I saw a Yusynth design that can be synced to other signals which is really cool because the LFO then engages when you hit a note on the keyboard. That's what I want. So more on this later.

EDIT-2: Friday 27th of December-2019]
I tried the Yusynth LFO, in fact it was an improved design because the original has some issues with the sync pulse. A fellow member of the Synth DIY Facebook group provided a layout and schematics and I build it but I can not get it to work. I can't figure out what I did wrong but I'll get it working one day.
In the mean time I've build an LFO from a schematic I found on the MusicFromOuterSpace website.
This one has no sync option but it is a very cool LFO and a very simple design, with sine-, triangle-, sawtooth-, ramp- and squarewaves. The transition from saw to triangle to ramp is continous by means of a 50K potmeter. The wave amplitudes are +5V to -5V but I added a few opamps with DC-offset functions so I also have outputs for the sinewave and the saw-triangle-ramp waves that go from 0V to +10V.
I had a lot of trouble getting this one to work to untill I checked my symmetrical powersupply and noticed it had +1.4V and -20Volts. So it's obvious it doesn't work that way. (Btw, that is not the cause of the synchronized LFO not working.)
I'll be adding a new article about the MFOS LFO as soon as I built the panel and have it all installed so I can make some pictures or video to illustrate the article with. Stay tuned.

Okay, that's it for this one. 


Monday, 9 December 2019

Synthesizer Build part-8: 8 STEP SEQUENCER.

A simple 'Baby 8' type Sequencer made with the CD4017 chip. Easy to build and fun to use. No DIY synth should be without one of these.

There are PCBs available for this sequencer. See 'PCB Service'

EDIT: There is now a new and improved version of this sequencer available on this website. I redid the design and included some extra features like external clock input and a CV Offset control. This makes the sequencer much better to use and it is no more complicated to build than this original design. So please go over to project 49: 8 step sequencer version 2 if you want to build this 8 step sequencer.

This sequencer is one of my earlier projects and of my own design although it's more or less put together from bits of other designs like the 'Baby 8' but it works fine for me and is really easy to make and easy to tune although to build it is quite time consuming and repetitive work because a lot of steps have to be soldered eight times. I found it rather tedious work but very worth while. 

A NOTE FOR BEGINNERS: A sequencer does not actually produce any sound itself. It produces a stepped control voltage that can be routed into the CV input of a Voltage Controlled Oscillator and the VCO then produces the actual notes you hear. In a sequencer you can set each of these eight steps or notes manually (with a potmeter for each step) to any voltage/note you want.

Here's the schematic drawing for this sequencer. The connections of the rotary switch are not correct in the schematic. They must be offset by one step from those of the potmeters. So step 1 is reset by the pulse from step 2 so pin one of the switch goes to output 2 of the CD4017, pin 2 of the switch goes to output 3 of the CD4017 etc, etc.


In the schematic above the on/off switch is placed after the voltage regulator to easily switch the sequencer on or off without causing switching pulses on the voltage rails. The complete on/off switching is done with the switch of the powersupply which controls the power of your whole modular synthesizer.

Here's the stripboard layout I made for the sequencer. In the schematic I drew in switches that you can add to turn individual channels on or off but I didn't include them in my build because I didn't have the space for them on the panel. In this layout I don't use any transistors either. I thought it was nonsense to make this more difficult then it needs to be. It will work fine without them because we hardly draw any current from these outputs. The CV output signal goes straight into a VCO. The layout has an extra 10µF electrolytic capacitor on the output of the voltage regulator that is not on the schematic. It's for extra noise suppression. You can get away with using a 100nF cap or leaving it out completely.
Be careful when you wire this up, note that the jumper (or wire bridge) for output 5 is connected to pin 10 of the chip so the left bunch of jumpers skips a copper trace at output 5. Look carefully at the layout! If you want to include switches to mute individual channels then put them in series with the diode!

(Last revised: 26-Feb.-2020: Minor cosmetic changes.)

NOTE: All potmeters in the layout are shown from the front side!

Use Schottky Diodes on the wipers of the potmeters. They only have a voltage drop of 0.2V instead of the 0.6 to 0.7 Voltage drop over 1N4148 diodes usually found in sequencers like this. This means you can get deeper tones from the VCO you plug it into. Because of the 0.6 to 0.7 Volt voltage drop over the silicone diodes, the first section of the potmeters wouldn't do anything until you get above 0.6 volts. So with a lower voltage drop there's more throw on the potmeter. As an experiment I also installed a 100K potmeter over the output of the Control Voltage and the wiper goes to the CV output jack. That way you can get even lower tones although, of course, this compresses the dynamic range of the sequencer. With the potmeter fully open you get the normal range of 0.2 to 8 Volts. If you close the pot half way, your range becomes 0.1 to 4 Volts so the spacing between notes becomes smaller. You don't need to include that option, I never use it and it is not included in the layout. But anyway, this is an expirimental sequencer and as a whole it works really well, If you build it you will be happy, I guarantee it. :)
A better solution, and one you should consider if you are comfortable with designing simple circuits with opamps, is to add a DC-Offset feature to this sequencer. That way you can get the lowest notes down to 0 volt without influencing the dynamic range of the sequencer. It's easy enough to do. This is not included in the layout or schematic though.

Here's a close-up of the stripboard:



Bill of materials for the layout version. You'll need ten (10) 100K potmeters instead of the 8 mentioned in the B.O.M. below. You need one for speed control and one for offset (if you build version 2 of this sequencer which I strongly advise you to do. Go to project 49) :


Here's a picture of the sequencer:



The sequencer is build up around the CD4017 decade counter chip, using a CD40106 to create the clock pulses which also serve as the 'Gate' pulses.
The CD40106 hex inverter is used as a low frequency oscillator giving off squarewave pulses who's frequency can be controlled by the 100K potmeter. I used a 15µF electrolythic Capacitor although a 10µF will do just as well. But a little higher value will give you slower speeds so you could even try a 22µF cap. The clock pulses can be interrupted by switch S-2 to give you a chance to tune that particular channel. Sometimes it can happen that after using the 'Stop/Run' switch that the sequencer jumps to channel one. If that happens try using a different CD40106 chip. You might have a fake one and they can be quircky in their behaviour.
With S-2 closed the clock pulses go into pin 14 of the CD4017 and with every pulse the chip will output a high signal on a different pin. The order by which the different pins go high is a bit random. Here is the right order: 3,2,4,7,10,1,5,6,9,11. Because of this confusing order, the outputs are set in the right order by the wire bridges to the copper traces underneath the CD4017. From there the pulses can be accessed in the right order to avoid confusion. Following the schematic drawing, the pulses go straight into the base of the 2N2222 transistors which are used here as switches. The Base-Emitter voltage is way more than needed to saturate the transistor and fully open it up. I chose the 2N2222 transistor because it can handle a reasonably large current and there's no need to use any resistors to connect them (although using a resistor in series with the base connection wouldn't be a bad thing because we're using the 2N2222 at near the limit of the operational specs.) From this base connection we also feed the eight LED's which indicate which channel is on at each moment in time. The LED's are connected with 3K resistors to reduce current flow and still provide a bright light.
All the collectors of the transistors are connected straight to the 8 Volt power rail and the emitters are all connected to ground.
It's better to just follow the stripboard layout and skip the whole transistor setup and connect the output of the CD4017 straight to the potmeters. I'm using transistors as a sort of buffer and to make this sequencer future proof for other experiments so I can draw some current from the outputs should that be necessary. But you can just leave them out it you want to. Makes it so much easier.
By setting the different potmeters, you can create the different tonal paterns the sequencer produces.
Because the potmeters are simply used as voltage deviders, it doesn't really matter which value they are as long as it's 50K or over so that they don't draw too much current and as long as you use the same value on all 8 channels.
You can tap the 'Gate' pulses straight from pin 3 of the Speed Control potmeter to the Gate output jack mounted in the panel. The pulses are really clean looking 8 Volt squarewave pulses with a 50% duty cycle so if you use the gate output into the ADSR, it will sound as if a key is pressed every time the sequencer switches to an other note.

A ten step switch is used to select the length of the sequence. It can be anything from 1 to 8. Btw, you can easily make this a ten step sequencer by connecting the last two pins from the CD4017. I made it an 8 step because I didn't have enough space to mount everything horizontally and because 8 steps is more natural for music than 10 steps because you normally have 4 notes in a beat. So multiples of 4 are better. The potmeters on my panel are mounted vertically and I could only fit eight of them below eachother anyway.
Connect the wiper part of the switch to pin 15 of the CD4017 and the wires from 1 to 8 to their relative position on the switch. Connect pins 9 and 10 of the switch together and connect the ninth output from the CD4017 to that. The pulse going into pin 15 of the 4017 will reset the chip and the counter will start over again.
Don't forget to connect pin 13 of the CD4017 to ground.

It is best with this build to make the panel first and connect all the components and do the essential wiring while you have access. Then make the circuitboard and connect the wires to the panel. Solder the resistors straight to the LED's and the diodes to the wipers of the potmeters. Connect the cathodes together and solder a wire from there to the CV output jack.
I used 5mm LED's and I made the holes in the panel by using a drill rather than a hole enlarger bit which I normally use to enlarge the pilot holes I drilled. The drill is usually a little bit less then 5mm and therefor the LED's will sit very tight and don't even need to be glued in place (although it is best to hot-glue them in place anyway).

Do not forget to solder a big 470µF capacitor on the input of the 7808 voltage regulator. Otherwise pulses will bleed through onto the power supply rails and you'll hear the tone sequence even if the sequencer isn't connected to the CV input of the VCO. I also included an ON/OFF switch (S-1) on the panel just to have the option to shut it down. It's the only panel in my synth build to have an ON/OFF switch.

TUNING THE SEQUENCER:
To tune the sequencer, simply set it to the lowest speed and use switch S-2 to interrupt the clock pulses and stop at each channel. Then you can tune that particular channel using a tuner or simply by ear, by turning the potmeter and then you turn switch S-2 back on. The sequencer flips to the next channel, you turn it off again with S-2 and tune that note, then you flip the switch again and jump to the next channel, etc, etc. It's very simple and very effective. :)
A note for beginners. You must connect the CV OUT of the sequencer to the 1V/Oct input of a Voltage Controlled Oscillator (VCO) and the oscillator makes the actual sound. The sequencer only produces a sequence of stepped voltages that the VCO turns into notes so for tuning the sequencer you must have it connected to a VCO.
Because the sequencer can produce any voltage between 1 and 8 Volt it's difficult to set it accurately to a specific note without using a tuner. That's why most professional sequencers have a built in Quantizer which automates this proces. A Quantizer reads an incoming voltage and turns it into the nearest 1/12th of a volt, that way making sure it's a pure note. 
Because most synthesizers use the 1 volt per Octave system and there are 12 notes in an Octave, each note is produced by a multiple of 1/12th of a volt. For instance note C1 = 1.000V, note D1 = 1.083V (1 + 1/12th volt), note F3 = 3.333V (3 + 4/12th volt). So the notes progress upwards in steps of 1/12 of a volt. This sequencer does not have a quantizer and because they are quite difficult to build I don't have a quantizer project on my website. You can however buy them for Eurorack systems. In my Eurorack system I have the Doepfer A-156 QNT which costs about €119 and contains 2 quantizers.
If you are good at working with Arduino's you can easily make a quantizer with that. You can program it to turn any incoming voltage into a multiple of 1/12th of a volt.

Momentary switch:
There is a good way to include a momentary switch mentioned in the comments below by 'tamasgal'. The suggestion is to put a resistor and switch in series connected between V+ and ground and then run a resistor and capacitor from the high potential side of the switch to ground and also connect it to one of the left over schmitt-triggers of the CD40106. Then connect the output to pin 15 of the CD4017. That should take care of any bounce in the momentary switch.
In fact, I have implemented this in version 2 of this sequencer (project 49) and it works really well.

That's all there is to say about this. It's one of the most fun panels for the synthesizer but one of the most tedious to build. It cost me 6 hours straight to design and build it but luckily it worked straight away.

Here's a little demo of the sequencer. This was filmed before I put in switch S-2 so I had no option to tune the sequencer at the time of filming. I might make a new video soon:


Okay, that's another one done. I hope you enjoyed it. If you have any questions about this build then  please leave them in the comment section below or in the Facebook Group.

Synthesizer Build part-7: THE MOOG LADDER FILTER.

The iconic Moog Ladder Filter. This version is built with transistors only, not transistor array IC's. This is an early project of mine so please bear that in mind when reading the article.

A note before we begin: I have PCBs available for the Moog Ladder Filter using the CA3046 transistor array chips. Just go to the 'PCB Service' option at the top of the menu for more details.

Since this article was written I have made a new version of this filter, this time including the CA3046 transistor arrays and it works very well and no need to match transistors with that version. If you want to build this filter I would really advise you to use that layout instead of this one (although this one works fine too of course). You can find it in Chapter 39 (click here).

I used the schematic from Yusynth's website.


Before we start. Most people always want to know if it works on 12V. I tested the filter on dual 12V and it works just fine.
In this schematic the top and bottom transistors are applied in the form of a transistor array chip, the CA3046, but I couldn't get hold of that quickly enough and this early in the build I didn't really trust myself to design a layout including those arrays, so I decided to use all transistors and that works just as well. It makes the layout a lot easier. It is always mentioned that you must use matched pairs of transistors for this filter but really, that's a throw-back to the early seventies when transistors were not as consistent and reliable as they are now so if you have transistors from the same batch they will probably be matched well enough but put them through the transistor tester on your multimeter and match them on hfe value. The only place where the transistors must be matched well is on the place in the schematic where they use the CA3046; the top and bottom of the filter and the output on the side. I personally matched all my transistors by using the Transistor Curve Tracer I described in an earlier article on this website.
I built a second ladder filter as a test for the layout below and I used all unmatched transistors. The layout works fine but using unmatched transistors did not turn out well. I could not get the resonance trimmed correctly and there were enormous differences in volume when using the resonance potmeter. I used a squarewave for testing and the top of the squarewave had an angle to it instead of being horizontal. So you must used matched transistors!
This filter has a few quircks that you need to know about but which are normal for this design.
- The Resonance potmeter has only a small area of influence. For most of the throw of the potmeter you will hardly notice anything. This is normal for this design. That's why we need a reversed logarithmic potmeter for Resonance. To stretch out that last bit of the potmeter.
- When the Resonance is fully open, the output volume drops. This too is normal for this filter and even the original Moog ones have this. Yusynth also talks about this on his website.
- If the audio input level is too low you can loose the self-resonance on the bottom parts of a squarewave. (If you use a squarewave as input wave of course). Again, this is a known quirck of this filter type. It needs decent level of audio input.

The build is quite straight forward but you need to be very accurate. The 50K anti-logarithmic potmeter for the Emphasis or Resonance control was an other thing I couldn't get a hold of so I made my own by using a linear potmeter with a 5K resistor between pins 1 and 2. This works very well, In the layout I used a reversed logarithmic potmeter and I show the alternative that I myself used, next to it.
The input level potmeters are 50K logarithmic ones but if you don't have those just use linear ones. They don't even have to be 50K. You can use 100K or 1M or even 10K if that's what you have available. They're just audio input level pots so they act as attenuators or voltage dividers and the value has no impact on the working of the circuit. This goes for all the level potmeters in all the projects on this website unless it is mentioned otherwise on the layout.
The Frequency Cutoff potmeter however must be a 10K!

I made a layout for stripboard including the wiring. I used this layout to build a second filter and it worked straight away so this layout is verified. (All potmeters viewed from the front):


(Last revised: 24-June-2020: Corrected polarity of C3. 15-July-2020 added alternative for reversed potmeter.)

Stripboard only. Beware that some stripboards are sold with 56 instead of 55 holes horizontally. The layout is 55 holes wide:



Here are a few pictures of the finished circuitboard:



As you can see in the pictures, I added two trimpotmeters which are not on the stripboard layout above. These are two 200K trim pots and they go over pins 1 and 2 of each opamp, to make the gain adjustable. It says in the schematic to 'adjust the value of the feedback resistors according to audio level'. These trimpots make that possible without having to use the soldering iron. It's a bit awkward with the wires but I had to put the potmeters on the print where there was room enough to accommodate them and the wires. Plus I added them as an after thought, so after I made the layout. At least they are all neatly in a row. :-)
For clarity I made a second layout which includes these alterations. If you decide to replicate this then don't forget to remove (or not solder in) the original resistors over pins 1 and 2; the 56K on IC-1 and the 120K on IC-2 because these are replaced by the trimmers, as the layout below shows. Lay-out is verified not only by me but I heard from many people who built this filter successfully using this layout.:


I lowered the Control Voltage input resistors from 100K to 5K6. In the schematic they are 100K but after installing the filter in my synth set-up I noticed that the CV hardly had any effect at all when I connected a LFO to it, so I lowered these to 5K6.

After finishing the build I tested the filter on the oscilloscope first and set all the trimmers to the right positions. It's easy enough to do, you just watch the scope for the best response. Then, after installing the filter you can adjust the trimmers to get the best sound out of it. This filter is self-oscillating, meaning that if you have nothing connected to the inputs and you turn Frequency Cut-off and Resonance all the way up the filter will oscillate of its own. There's no 1V/Oct. input though so resonance won't keep track with the notes on the keyboard. An other frequently occurring problem is that the self resonance only occurs at the top of the squarewave and not the bottom part. When you start it up it will self oscillate on both the top and the bottom but as soon as the transistors warm up, about 20 seconds, the bottom oscillations disappear. This happens when the transistors are not perfectly matched. Using the CA3046 transistor arrays will solve this and that's why I made a second Moog Ladder Filter project using the CA3046 chips. You can find that in chapter 39
The first all transistor filter I built didn't have this problem so if you're careful with matching the transistors you should be fine. Please note that the input volume is also an influence on this. If the level is too low you can also have the bottom oscillations disappear.
Here are some oscilloscope images to illustrate what I mean:
Self oscillation when filter is just switched on:



And here's the situation after about 20 seconds. The bottom oscillations are gone. The filter still sounds pretty cool though:


This is something I only discovered a short while ago but well matched transistors or using the CA3046 chip should solve this issue. The first Ladder Filter I built using all transistors didn't suffer from this problem because I was careful to match the transistors accurately.

MATCHING TRANSISTORS:
 I used to advise people that matching transistors on their Hfe value was good enough but I have found an easy way to do it properly which I advise you to use. This is the Ian Fritz method. We set up a small differential amplifier on a little breadboard and measure the voltage between the two emitters. If the transistors are matched that voltage should be zero. Here's a schematic of the test setup:


The diode is a 1N4148 or any silicon diode will do really. It's voltage drop ensures both transistors get the same base-collector voltage. Make sure the 100K resistors have exactly the same resistance value!
Beware this setup uses a dual 12V powersupply.

VIDEO DEMO:
Here's a video showing the test results on the oscilloscope so you have an idea of what the waveforms should look like. In this first filter I built and which I demo in this video the transistors seem to be reasonably well matched because I do retain some self oscillation on the lower parts of the squarewave:

       


A demonstration of the sound of the filter:



I recently made a Falstad simulation of the ladder filter and it works reasonably well. It shows the resonance and the trimmers work as expected. It even shows the amplitude getting smaller with resonance and self oscillation. You can view the simulation by --- CLICKING HERE --


Here's a look at my PCB for the filter. This is what is actually in my synthesizer and I build it from a different layout that I made earlier especially for the Eurocard format of stripboard:


Here's the panel I made for it:


As you can see in the picture, I've installed a bypass switch for this filter. It's great to have this filter in series with the Korg MS-20 or the ARP2600 filter but sometimes you want to be able to easily switch to one filter. With a bypass switch there's no need to constantly connect and disconnect patch cables so this is really helpful. The switch only works with audio input 1 and it sends the signal straight to the output jack and disconnects the in- and output from the in- and output jacks at the same time. Here's the wiring diagram for the bypass switch:



Okay that's it for this project. Way more synthesizer build articles to find on this website and while you're here leave a comment please!


Wednesday, 4 December 2019

Synthesizer Build part-6: THE SEQUENTIAL PRO ONE LOWPASS FILTER.

The first filter I built and not one of the best in my opinion. Skip to an other project. I'm keeping this up for archival purposes.

[EDIT] Before we start: I'm writing this about 7 months after I published the article below and I can tell you now that I removed this filter from my synth. I couldn't get it to self-oscillate and I was not impressed with the sound of it. Maybe that's due to the fact that I was just starting out with synth building when I made this and I made some mistakes, but if you have the AS3320 chip I advise you to use it for the Digisound 80.6 lowpass filter. That is an amazing sounding filter!
I'm keeping this article up because this website is an archive of all my builds and that includes the ones that were not a succes (That's only this project anyway. The rest all works fine.)

Okay on with the original text:

I've considered many filter designs, and there's a lot to choose from if you search for schematics on the internet, but I've picked out 3 filters that I want in my synthesizer. Two of those are LowPass filters and one has the choise between Lowpass and Highpass. That's the Korg MS20 filter We'll get to that one later.

Now we will concern outselves with the Sequential Circuits Pro One (and many others) Lowpass filter based on the AS3320 chip. I went to the ElectricDruide website and found a page full of filters and amongst them I found this circuit:



There are also versions which are re-configurable with the flick of a switch but they were a bit too complicated for my taste and I thought this would be a great project to start with. Well, it was a good project to learn from but the result was nothing to write home about.

I made a layout on stripboard which you can find in the picture below. All potmeters viewed from the front.:


(Layout revised 15-Feb-2021)

Print only:

Bill of Materials:


The first version I made of this had capacitors that were 220pF instead of the 150pF as seen in this schematic. I thought that would give me more control over the low frequencies and I was right, LOL! It brought the top cut-off frequency down to about 200Hz. Way too low. So I soldered in the 150pF and everything worked after that.

The three inputs in this schematic have different values but I did some testing and the 120K resistor worked the best on the input so I put those in all 3 inputs. I think you should also do this if you decide to build this filter because these schematics reflect the circuit that is used in the synthesizer itself and that's why the inputs have different values because they receive signals with different amplitudes. In our synth all the VCO's produce signals with a set amplitude of 10V peak to peak, therefore the input resistors need to be the same value.

There's not much more to say about this. The opamp in the schematics can be any low noise audio type. I used the TL072 for that because I have a lot of those in my components collection and they are the opamps most used in synthesizer projects. But you can also use the TL082 or NE5532.

You can use this filter with a dual 12V powersupply without any changes except for the current limiting resistor to pin 13. Change it from 1K5 to 1K2 for -12V operation.

This filter sounds like a lowpass filter should although it is not as versatile as the Moog or Korg filters. For one, this filter is not self oscillating (at least, the one I build isn't) so you can't make it scream but it does produce that resonant synthesizer sound, if you know what I mean.  It's just a different filter to the Korg or the Moog Ladder Filter which is an other filter I've put in my synth build. It's more a filter to round off certain sounds you've created on your synth, to make them fuller. I don't know, you have to listen to it to know what I'm on about. It should be capable of self oscillation if you read the text that goes with the schematics. The fact that mine didn't self oscillate is probably due to my inexperience at the time I built this.
EDIT 20-March-2020: I just finished work on the Digisound 80.6 lowpass filter using the AS3320 chip and it sounds fenominal. If I were you I would build that filter instead of this one. 

Here are some pictures of the PCB and the panel I made:



The filter is the one on the right. The other one is the VCO. I had yet to add the text to the panels.



You can see the inputs for oscillators one, two and for noise on the left and below that the resonance control voltage input (for the LFO for instance). That input has a level control and there's a switch for internal or external resonance control. On the right is the audio output. The top potmeter is for the Cut-off frequency and the one below is, as mentioned, for resonance.