Thursday, 7 November 2019

Synthesizer Build part-2: THE VCO

A word in advance: this article deals with the first VCO I've ever built and is based on the datasheet schematic combined with the LookMumNoComputer lay-out for the CEM or AS3340 chip. I personally had great trouble getting this VCO tuned over a wide range of octaves.  I could also never get really deep notes from this design. I have since found a much better VCO design so if you want to build a simple but excellent working and tunable VCO on stripboard I refer you to Synthesizer Build part-18: A Really Good VCO design.

Here's the original text for the first VCO build:
After having constructed the power supply and the power bus system it is time to move on to the next step. The Voltage Controlled Oscillator. I'm not going to go into details as to how it works etc. There's plenty info online about that.  In order to make this a complete build, not just the circuit board I needed something to mount the knobs and in- and outputs on. So I ordered a sheet of Aluminium, 200 x 1000 X 1.5 mm and powder coated gray/black on one side. That is fantastic stuff to make panels out off and I highly recommend it. You can saw off panels of the right width using an electric jigsaw with a fine toothed metal saw. Make sure you guide the saw with a straight piece of wood or metal to get nice straight panels.

For my VCO I chose the AS3340 chip which is a complete 1 volt per Octave VCO in a chip. It's a clone of the CEM3340 which were used in the 80's in synths like the Prophet 5 and many others.
The VCO we're building here will have almost all the options that the AS3340 chip has to offer and those we didn't include are not worth having anyway ;)
The schematic I used is pretty much just the schematic that comes on the datasheet.

This is the one I used:


I used the layout made by Sam Battle, from LookMumNoComputer and did a few enhancements on it. (Look to the one on the right).


For one, his layout is meant for the CEM3340 which uses a 10K pulldown resistor on pin 4, the squarewave output. For the AS chip, that's supposed to be a 51K resistor although I'm reliably informed it doesn't make a tad bit of difference what you use here. There was also a mistake in his design, namely the 10K resistor in the bottom left near the TL072. It is switched in parallel with the 10K on pin 4 making the overall resistance 5K. Just leave the bottom 10 K resistor out.
The 10K trimmer potmeter at the top left of the 3340 needs to be a multiple turn potmeter so you can set it very accurately.

Sam's layout doesn't include the High Frequency Tracking but you really need to include it in your VCO. I first build it without and at first it seemed to work fine but after having completed the whole synthesizer I couldn't get really deep bass tones out of it. That is until I included the High Frequency Tracking. Seems a paradox that something meant for High Frequency adjustments can have so much influence on the bass notes but if you look at the schematics you can see that it pulls the CV voltage on pin 15 down to ground a bit through the 20K potmeter. I kept out the 360K resistor between +15V and CV input because that kicks the VCO into really high notes. I don't know why that resistor is there but it really screws up the frequencies. I left it out but maybe I should have experimented further with that resistor in place. Anyway...
The HF adjustment pot only adjusts about half a note over its full throw so when you first test it it might look as though it doesn't work but it does when you start tuning the higher octaves of the VCO.

Furthermore I gave the buffer for the triangle wave a gain of 2 by adding two 100K resistors to the TL072. That gets the level of the triangle output up to 10V peak-to-peak, in line with the output voltages of the other two waveforms. Btw, you can use any resistor value between 50K and 1M for this purpose as long as both resistors have the same value.

I also added the Positive and Negative Hard Sync options from the Digisound 80 Modular design so that's also available on this VCO.

Here is the layout that I drew and used:


So there we have it. It's become quite a comprehensive VCO with lots of options.
I added a 100K resistor to the +15V input of the Pulse Width Modulation potmeter to get it to work over the complete throw of the potmeter and I added a switch to have the ability to decouple it from the PW Control Voltage if you have PWM controlled by an LFO for instance. You don't have to decouple it but the option is there.

I tested the finished print and everything worked as expected but there was a funny quirck in the squarewave output. Below 1.35kHz there was a strange triangular wave ringing on the downward slope of the square-wave. Here's some pictures of that from my scope:



I opened a discussion about this in the Synth DIY Facebook Group and there were many suggestions but I still haven't figured out the cause. It's not a de-coupling issue anyway.
I suspect that leaving out the High Frequency Tracking I mentioned earlier may be the cause. (Note: I did some more tests and it turns out that it does have a big influence on this issue. Including HF Track with the 360K resistor to +15V almost gets rid of the problem but on low frequencies there still is a bit of ringing on the downward slope but not nearly as much as now.
But as I mentioned before, the 360K resistor really screws up the frequency response so it can not be included. I have heared that there might be batches of chips that have this fault, so it might be the chip. I don't know and don't really care because you don't hear it and everything works fine.

[Edit: In the second VCO I built and now use (see article 18) this ringing is still there but it is much less then in this design. The new VCO has at most 3 spikes in the downward slope of the squarewave. Anyway it has proven to be not a problem what so ever. You can't hear it and it doesn't affect the working of either VCO in any way.]

Although the connection is there in the layout, I did not use the Soft Sync input on my final build. I don't think I'll need it. I did use the FM input. You can connect a second VCO to that for instance.
Here's a look at the finished product, panel and all. The powder coated Aluminium was a great choise and looks so cool. It doesn't scratch easy at all, it's perfect for this project.




I'll explain what's on the panel.
We have the FM input at the top left. The big knob at the top is the Coarse Tune potmeter, below that on the left are the CV1 and CV2 inputs and on the right are the Triangle-, Ramp- or Sawtoothwave and below that the Squarewave outputs. ( I always put inputs on the left and outputs on the right.)
Then there are three inputs to the left of the blue knobs. Those are the Pulse Width Control Voltage input, the blue knob next to it controls its level. Underneath that are the Positive Hard Sync and Negative Hard Sync inputs. The bottom blue knob is the Manual Pulse Width control if you don't use a control voltage. The switch with the diode symbol let's you choose to put a diode in the external Pulse With input line which de-couples it from the internal PWM control or to bypass that diode and get more range on the PWM control knob. [edit] I have since scrapped this idea and I took out the diode. The switch is now used to turn off or on the manual Pulse Width Modulation potmeter as described above. (It's not necessary but the switch was there so might aswel use it for something). I added one more output which isn't in this picture and that is a "CV out" function to connect the second VCO to the first one. It's simply switched in parallel with the CV-1 input.


Okay, that's it for this one. If you have questions or suggestions please write them in a comment. Next part will be about a filter, probably the Prophet One Low Pass filter.
Stay tuned!

4 comments:

  1. I just built a few of the 'look mum no computer' designs you based this on would I be able to add HF tracking with just the components you added to the top left of the board?(20k pot and looks like a 1m resistor?)Im having trouble getting it to tune past an octave. Thanks for posting this stuff by the way!

    ReplyDelete
    Replies
    1. Hey thanks for commenting. Yes, might be able to add HF tracking by putting in the components. That will certainly help because I did this too after I had built it. But I really advise you to not waist too much time on this VCO because it's not very good. You should check out my Digisound-80 VCO page (chapter 18). That is a much better design and almost as simple as this one and using mostly the same components. That VCO is really easy to tune. I made 3 of those so far and I love them. Good Luck!

      Delete
  2. cool thanks. I saw those I might look into them more if these dont work out but these are already built so I might as well do what i can with them. thanks for the help!

    ReplyDelete
    Replies
    1. Of course if they are already built then you should use them. The problem with LMNC layouts is that Sam Battle always tries to scale down the designs by leaving out components. That usually doesn't work out well because almost all of his designs have something wrong with them. So if there are problems you can just revert back to the datasheet schematic and add the things he left out. =)

      Delete