Wednesday, 18 December 2024

Synthesizer Build part-63: FASTEST ADSR IN THE WEST by Rene Schmitz.

The fastest ADSR in the West. A simple to build and fully featured Envelope Generator. I thought it was about time for another ADSR project for the website and this one worked out great and it has no trimmers to set. I even added a few extra's to make it even better.

This is an other 7555 based envelope generator like the YuSynth one from project 24. Some people seem to have problems with that one so that's why I choose to do this project now.
This ADSR will work on both +/-15V and +/-12V. At +/-12V the maximum envelope amplitude is just under 8 Volt. If you run it on +/-15V the peak envelope value will be 10 Volt. It's a very fast Envelope Generator. The minimum risetime of the signal is 1mSec or 1/1000th of a second.
Now this is roughly the same setup as in the previous 7555 ADSR from project 24 but it does work a lot better, especially when using Schottky diodes. The whole problem with the DC offset voltage left on the ADSR output comes down to the forward voltage drop of the diodes. That's why Schottky's are so useful because they have only a third of the voltage drop of silicone diodes. Now what would be even better is to have diodes with no voltage drop. To achieve that we have to put the diodes inside the feedback loop of an opamp. That's what happens in the Kassutronics Precision ADSR which might be the subject of a future article.

SCHEMATIC:
Here is the schematic for this circuit. I've redrawn it from the sketch posted on Rene Schmitz website.
The opamps are numbered in the order they are used on the stripboard. All diodes have been replaced with Schottky diodes which work much better in this circuit.


Click here for a FALSTAD SIMMULATION of this circuit.

I've added some extra's to this design. The original design only uses two opamps but I wanted to include a LED and also an inverted output so I decided to use a quad opamp, the TL074, and include an attenuverted output where you can have in inverted envelope signal with the potmeter turned fully counter clockwise, attenuation with zero signal when the potmeter is at the 12 o'clock position and a normal envelope when the potmeter is turned fully clockwise. I took the design from the AD/AR attenuverter mod from Ole Stavnshoej design (project 44). This is a great option to have when you use the ADSR with a filter. Turning the attenuverter will give the filter some very cool resonance response.
I decided to adapt the design to more run of the mill parts, like for instance I used 1M potmeters instead of the 2M2 ones in the original schematic. I changed the 220Ohm resistors to 100Ohm types and the capacitor from 2µ2 to 4µ7 to keep the original timebase intact. This is all explained in the text underneath the original schematic on the Schmitzbits website.
The circuit is relatively simple so I was able to build it up on a very eurorack friendly sized piece of stripboard. It's only 21 strips by 33 holes. Although I left the V,W and X strips on the board, they are not populated. You can use them to connect L brackets to mount the board to a panel. The three transistors on the Gate input represent the same setup as we've seen before in the Yusynth 7555 ADSR only there he had no resistors at the base of transistors 2 and 3. It works as follows: the first two transistors make up a schmitt trigger which turns any input signal into a sharp gate signal. That signal now goes through a capacitor that turns any long gate signal into a short pulse. That pulse is inverted in the third transistor stage to make it acceptable for the 7555 chip, going in at pin 2. 
Once the ADSR has been triggered the sustain level for that cycle is frozen. You can not add sustain while the ADSR is in its cycle, unlike the Digisound ADSR which can do this. Not that that's important. it's just something I noticed while testing the circuit.
The 1M resistor, in red on the schematic, can be added to provide for some input hysteresis. This will improve triggering on slowly changing waveforms. In the layout below, the purple 1M resistor on the left indicates where it should go if you want to include it. I left it out. Only include it if you really think you're going to need it. If in doubt, Leave it out.

LAYOUTS:
Here are the layouts I made for this project. As always they are verified. I used them to build my module. It's important to use logarithmic 1M potmeters for Attack, Decay and Release. The time based parameters. Otherwise it will be much more difficult to set these parameters accurately. It will work with linear types but get logarithmic pots for these. Sustain is a level control so that can and should be a 10K linear type potmeter.
I used Schottky diodes throughout this design because with 1N4148 diodes there's a DC offset voltage present on the output. Using Schottky diodes helps to prevent that.

Wiring diagram:


Stripboard only:


Cuts and wirebridges seen from the component side. You know the drill by now; mark the cuts on the component side with a Sharpie or Edding pen and then stick a pin through the marked holes and mark them again on the copper side. Then cut at the marked places with a sharp, hand held, 6- or 7mm drill bit.


Here is the Bill of Materials. I altered the diode types to Schottky diodes because they will work much better in this design. I put in the BAT4* series (like: BAT41, BAT42, BAT43 etc) because they work really well and have good availability in webshops. Any Schottky diode will do though.



OSCILLOSCOPE IMAGES:
Here are some screen shots from my oscilloscope to give you an impression of what the signal looks like. All testing was done with a +/-12V powersupply:

Here's the normal envelope output. The envelope signal does have a small positive offset voltage of 400mV I noticed. But this won't cause any VCA to stay open so it's of no consequence. 
However I changed the diodes for Attack and Release into Schottky diodes and that reduced the offset to just 16mV (16 thousandth of a volt) which is the same as 0V to me. The offset voltage is the result of the fact that the 4.7µF cap has to discharge through a diode and a diode has a voltage drop over it of about 0.6V (with silicon diodes). So the lower that voltage drop the better. With Schottky diodes the voltage drop is only about 0.2V which allows the cap to discharge as good as fully.


Here's the normal output in yellow and the inverted in blue coming from the attenuverter mod I added on myself. It works like a charm.


Here you can see, in the blue trace, the attenuverter in action. I'm turning the potmeter as the trace goes from left to right.


This is the signal at a pretty high rate at almost 3Hz. No problem for this ADSR.


In yellow you can see the pulse as it comes out of the third transistor and into pin 2 of the 7555. It's a inverted pulse, triggered by the gate signal, that starts the ADSR.


This time the yellow trace is the gate signal at the input. This was measured after the 10K input resistor. The gate signal was a +/-5V pulse wave from an LFO.


PICTURES:
Here are some pictures from the build proces.
Stripboard with cuts and wirebridges done.


Finished stripboard ready for wiring up.


All wired up ready for testing


I decided to use this ADSR for my DIY Kosmo synth and not for Eurorack so I took the YuSynth ADSR and replaced the stripboard with this one. I had to widen one hole to fit the attenuverter potmeter to which I added a bi-coloured LED to fill up another hole where a switch had been. I used a 4K7 resistor to connect it to the attenuverted output socket. I also re-used the manual trigger button that was already present in the panel. I took two 47K resistors and made a voltage divider so when I press the manual trigger it sends 7.5V to the gate input. (My DIY synth runs on +/-15V mostly).
Backview of the panel:


Here's what it now looks like mounted into the synth. My ADSR module has two Gate inputs each with a Schottky diode in series with the socket (soldered straight to the socket). This is to prevent +7.5V entering the Gate socket when I push the manual trigger button.


Luckily I could re-use the potmeters, which were 1M logarithmic types with a 10K linear pot for the sustain, the same as in this project.
You can see the blue LED underneath the attenuverter potmeter. The hole I had to fill up was 6mm and this LED is only 3mm so I used hotglue and made a sort of white blob that lights up red or blue. Worked out pretty well :)
I kept the dual gate inputs from my previous ADSR because I think it's handy to have. The gate inputs have Schottky diodes on them so that when I push the manual trigger button I don't get 7,5 Volt pushed into the gate patch cable(s). It's a safety feature I advise you to copy if you are going to include a manual trigger button.
Troubleshooting tip: If your Decay and Sustain are not working then the most likely cause will be a broken Sustain potmeter. It happend to me when I built it into the panel I used for the YuSynth 7555 ADSR and it turned out it had a broken Sustain potmeter all the time.

DEMO:
Here's a video I found on YouTube of someone demonstrating this ADSR in action. He's using it on the cutoff of a lowpass filter. Sounds pretty sweet. If he had the version with my attenuverter mod it would have sounded even better LOL ;) 



So that's another one done. I thought it was about time for a new ADSR project on this website, especially since some people seem to have problems getting the YuSynth 7555 ADSR of project 24 to work right. That's weird though because I always rated that one as near perfect but I think this will make an excellent alternative especially with the extra's I added. I'm really chuffed that it worked so well. Okay, I hope you will enjoy building this one. 

If you have any questions or comments about this project then please post them in the comments below of on the special Facebook group for this website.

If you like this content and would like to support the work I do here then you can buy me a coffee. There's a button for that underneath the menu if you're on a PC or Mac. Otherwise you can use this Paypal Me link and cut out the middle man. All donations go straight back into new projects and the upkeep of the website. Thank you!!

Sunday, 8 December 2024

Synthesizer Build part-62: 2164 VCF/VCA by Thomas Henry.

This is the Fonitronik Thomas Henry AS2164 state variable filter and VCA in one. I used two stripboards that clip together with pinheaders making this a very eurorack friendly design. However this is not a beginner friendly project. You need good soldering skills for this one. Even for me this was not a 'hole in one' like a lot of the previous projects. I made a few mistakes but I found them in the end so all is well.

This filter uses the AS2164 or V2164 chip which, in its original form, was a chip from SSM (Solid State Music). These chips were used in many late 70's polyphonic analog synthesizers like the Prophet 5 for instance. The 2164 is not actually a filter chip. It has four independent VCA's on board and in this design two of those are used to make a great sounding 2 pole filter (12dB/Oct.).  This filter has that vintage liquidy feel to it when you add a lot of resonance. It sounds amazing.
The left over two VCA blocks in the chip are used to make a single VCA. Of course you don't have to build the VCA if you don't think you need it. You can build just the filter board if you want. However you can not only build the VCA board (using my layouts) for the obvious reason that the 2164 chip is housed on the filter board.

Here is the schematic:


This project will run on both a dual 15V or a dual 12V powersupply. It's designed for 15V as you can see on the schematic but I built it for Eurorack dual 12V and it works fine.
As you can see it's quite a simple design and in my experience those produce the best sounds. The top part of the schematic shows the filter and the bottom part the VCA. I decided to make the two parts that make up this module on two separate pieces of stripboard so that I could make them small enough to fit flat behind a 14hp faceplate, with one board on top of the other. They connect together using pinheaders. The VCA board is connected to the 2164 chip via those pinheaders. The depth of the finished module will be around the 4 CM mark.

LAYOUTS:
Below are the layouts I made for this module. As always they are verified, I used them for my build.

Here's an overview of both boards. In the layouts you can see a Coarse and Fine control for the filter cut-off. The fine control is there in case you want to use the filter as an oscillator in full resonance, so you can tune it, but I never use a filter like that so in my own project I switched the 3M3 resistor for a 100K one and put in an extra socket so I can use that as an extra CV input with level control, So the potmeter labelled as Coarse is in my case labelled as 'Cutoff' and the 'Fine' control is now my CV2 Level potmeter. I placed it all the way down on the faceplate. 
The PTC is an other component you don't need if you don't want to use this filter as a sinewave oscillator. Just put in a 2K resistor instead. That's what I did too. There's also a 7K5 resistor which I coloured purple, in the layout. Leave that out too. If you include it you change the VCA amplifier type from a class AB to a class A type. Totally unnecessary.
I used miniature potmeters in this project to save space and I made my own custom potmeter symbols in the layout software, the little green ones.


Here's the wiring diagram for the filter part. All potmeters are viewed from the back. It may look to you that the Resonance potmeter is wired the wrong way around with ground at the clockwise position but I found out that this is the right way to do it.


VCF stripboard only view:


Below is the wiring diagram for the Linear VCA part. The VCA has two audio inputs. One direct input without level control which is intended more for LFO signals. On the Fonitronik panel it is labelled as DC IN. In my design I did give it a level control but that potmeter is not on the layout. The top audio input has a level control and an AC/DC switch. AC is usually used for audio signals, filtering out any DC components like offset voltages that might be present. DC is used for very low frequency signals like from an LFO or envelope generator. The VCA is very snappy, it can switch on and off very fast so you can use audio rate signals to open and shut the VCA and get a sort of ringmodulator effect.
The 'initial' potmeter regulates the output volume of the VCA by adding an offset voltage to the envelope input but it does not open up the VCA when no key is pressed down. Most of the times that's the function of an Initial or Gain potmeter. So you can hear a signal continuously without having to press a key on the keyboard but with this VCA this doesn't seem to be the case. I can not imagine it's a mistake on my part because I have the potmeter wired up to the power-rails like it should.

(Last revised: 16-12-2024: The two potmeters with ground connections were wired the wrong way around. That is now corrected)

I know that in the schematic the 'Initial' potmeter goes through a 300K resistor and not a 100K like on the layout but I lowered it to 100K because the VCA did not open completely without pressing a key on the keyboard. It still doesn't though. 

VCA stripboard only view:


Here's an overview of the pinheaders, wirebridges, and cuts to be made for both boards, seen from the component side:


The VCA board has male pinheaders soldered directly to the copperside so the board connects to the filter board with the copperside facing the component side of the filter board.
This is a bit fiddly to solder, especially because I used a double row of pinheaders to make sure the connections are solid. I used the same method I used with the wavetable oscillator. I put some solder down between the holes where the pins sit and I put some flux on the solder part of the pins and pre-soldered them too. Then I put them in place and I only needed to heat the solder already there to make them connect to the stripboard. Do this before you solder in any components so you have enough room to work and fit the two boards together regularly to make sure it all aligns like it should.

Finally here's the Bill of Materials:


PICTURES:
Here are some pictures from the build proces:
The stripboards with wirebridges installed:


Here's how I soldered on the male pinheaders:



Both boards finished but without their chips. I only put those in at the last moment to prevent damaging them.


The faceplate with the holes drilled in and de-burred, with the waterslide design applied to it. You can see there are still some bits that are not completely flat but when it is dry it will all be tight.


As you can see in this picture it dried up beautifully. Now to cut out all the holes with a very sharp hobby knife and then give it a few more layers of lacquer.


Here's the end result, not yet wired up. I put in two 3 CM M3 bolts with counter-sunk heads and screwed them tight with nylon ringed locknuts. Then I put some white paint over the heads and applied the waterslide paper overtop of that. It doesn't make the screw heads totally invisible but it works. I forgot to put in a hole for the 3mm LED. I later drilled one in just underneath the top text.


While I was waiting for some components to come in the mail I wired up the backside of the panel as far as I could. I connected all grounds together with one copper wire and I also soldered all the potmeter pins that needed to be grounded to that same wire. This way I will only need one ground wire going to the stripboard to ground everything. This is how I usually wire up ground connections. Do not rely solely on the metal of the faceplate to be the ground. Remember Aluminium oxidizes and oxides are not good at conducting current.


When all components were in, I wired it all up which took me almost a whole day and then I plugged it in and.... it didn't work at all. I tried to troubleshoot it, I posted in the Facebook group about it but it wouldn't work. Then I left it for two days and came back at it with fresh eyes on a sunday morning and I found the mistakes within half an hour. I made two little errors in the layout and I soldered one wire to the wrong place and I forgot to connect the ground copperwire, which has all the socket grounds and potmeter grounds connected to it, to the stripboard. After I corrected that it all worked fine. Strangely enough the missing ground wire connection was something I noticed later on, but even without a ground connection everything worked! I was really surprised by that.  
Btw, I normalled the output of the VCA to the input of the filter so you can input audio into the VCA and get it out through the filter. You can of course also choose to normal the filter output to the VCA input to have the two in series. I thought it was more interesting to have the VCA in front of the filter. To replicate this all you have to do is solder a wire to the audio output of the VCA and then solder the other end to the switch connection of the audio input socket of the filter. When no patch-cable is connected to the filter audio input, it gets its audio from the VCA output. If you connect a cable to the filter input that VCA connection is broken.
Here's a look at the finished module:



It is still a pretty deep module. It's 47mm deep. But it will fit most eurorack cases I think. It's the wiring that makes the stripboard bend up a little but anyway, it works and that's what matters.
All layouts have been updated and are free of mistakes now.

VIDEO:
Here's a cool demo video I found on YouTube by Fonitronik:


A few final notes:
I based my panel design on the original Fonitroniks panel and the labeling on that is somewhat different than on the schematic. This caused me some confusion as I only really noticed it after I had finished the panel. For instance the DC IN on the VCA is actually an extra audio input. The Linear AM on the schematic is labelled Lin. FM on the original panel. So I would advise you to keep to the labeling of the schematic and the layouts and not use the Fonitroniks panel as inspiration, like I did.

Here is the original panel of the Eurorack module:


Here's the A4 size design I used to make my panel. Thankfully I had two designs on one A4 paper because I ruined the first one so I was glad I had a reserve.


Okay, that's it for this one.
If you like this content and would like to support the website and future projects, you can buy me a coffee. There's a button for that underneath the main menu if you're on a PC or Mac.
Otherwise you can use this PAYPAL.ME link and cut out the middle man. All donations go straight into future projects and the upkeep of the website. Thank you!!