Sunday, 26 August 2018

DIY-101 synth voice - part 1

I bought a Doepfer DIY synth nearly two years ago.
It was lying on my shelf ever since.  
This month I made a eurorack module with it.  I'll document it's making in two parts.

Close-up of the finished panel

The Doepfer DIY synth is an assembled printed circuit board that includes all the necessary functions to build a basic analog synthesizer: VCO, VCF, VCA, EG, LFO, you name it.  You can design your own synth.  All you have to do is to provide a case and all the connections to the mandatory controls : jacks and potentiometers. 

Before I could get to a finished product I'm proud of, I went into a lengthy thought process.
My first idea was to make a semi-modular synth whose functions are as close as possible to an Roland SH-101.

I tried several panel designs before deciding on the final one.











XAOC Karl Marx Stadt module provided the necessary faith that I could build a 42 HP (about 21 cm) module to house the Doepfer DIY synth.

Moreover, I was inspired by the Motherfucker-19 work from YokoBoko.  It helped me making some decisions on jack placement and avoiding some mistakes during cabling (not that I didn't do any…).  You can find description and instructions on the module modulagrid page.

As usual, I prototyped the panel on cardboard to check my placement hypothesis.  It seemed critical here.  I wanted to specifically check  the density of jacks on the low part and the room for the spacers to hold the board.
Back side of the early cardboard prototype.


Annotated paper and cardboard proto
I used my traditional way for panels : punching to locate the holes, drilling, then printing the panel, laminating and glueing it.










This time, I chose to drill the holes with a wood block beneath the panel.    It proves to be way more comfortable than my usual technique of maintaining the panel over the edge of the bench.  The panel is firmly clamped and I move the drill freely to get to the next hole.  I know, I should get a drilling press…
Holes are 6 mm for LEDS, jacks and switches and 8 mm for pots.  It is a bit large for the pots.  But it proved helpful later.


Bob cleans-up
This generated a lot of chips and dirt. Fortunately, Bob helped me to clean the mess.









Given the panel is 3U 42HP, or 212 mm x 128,5 mm, it fits nicely on an A4 sheet of paper.
It's a large sheet.  So placing it parallel to the panel edges is essential.  A small deviation could give an awful result.
I'm quite happy with the final result except the paper is one millimeter too much on the right and could have been half a millimeter lower.




Bob cuts holes

I cut the holes with an X-Acto knife.   Here again Bob gave me a hand.

This is the time to place all pots, jacks, switches and LEDs.  There are 51 of them (23 pots, 23 jacks, 3 switches and 2 LEDs).
As the holes for pots were a bit larger than needed I corrected the most obvious alignment problems by moving the pot half a millimeter here, a millimeter there.



Sorted potentiometers


Here is the final panel before cabling.

Final before cabling
Go to part 2.


Friday, 27 July 2018

Repairing my VCO

A-110-1 standard VCO

Maybe you followed this blog for a while and wondered why I didn't write more about the Doepfer A-110-1 Standard VCO that is shown on some photographs.
Or maybe you don't care.

This module is the first module I bought new  It's also the first I fried : I plugged the connector in reverse during one of my trials, before I have a case.

The module began to act odd.  Plugging its output to Rings input halted the later.  It became very hot.
I stopped everything and began to investigate.







 -12V pin of the module connected to an unconnected pin of the bus board, presumably close to ground voltage.  Gnd pin was at 12V and 12V pin at 0V.   I headed to the A-110 service manual from Doepfer to find out which parts could have been stressed.

I spotted two components that would certainly suffer to be powered in reverse (inversion of the 12V and gnd pins) : the CA3046 transistor array (IC3) and the 78L10 10V regulator (IC5).




The two components I changed.

I reckoned the two TL074 op-amps wouldn't have been stressed as they were powered between 0V and a floating voltage that would most certainly be close to 0V.  I removed them and tested them on a breadboard : they were OK.

I also checked the TL431 Reference Voltage and it gave me the proper 3V it should.  So it was OK as well.

Maybe other transistors were stressed but I have no idea how to verify without desoldering them.  The plan is to change the CA3046 and 78L10 first and test the module.


Calibrating the module.
After some difficulties to get a CA3046 (they are reported as obsolete in DIP14 package by main distributors) and de-solder the 78L10 (I guess my de-soldering braid was oxidized), I finally replaced the two parts. 
Et voila.  A quick check at the oscilloscope showed all outputs seemed fine.  Maybe only these two components were affected after all.

Finally, I re-calibrated the module, following the service manual, skipping step 1 though (too complex).


I can finally use my VCO.  End of the story.


Thursday, 31 May 2018

Rampage

The second kit from Befaco I built is the Rampage.

And it is not for the faint of heart.

Befaco Rampage

The kit is good quality (as was the A*B+C).  However, with 227 parts (about 560 pins to solder), 3 connectors and around 40 jacks, pots and various switches, I wouldn't quality it as easy.




Rampage kit


















I chose this module as an alternative to Make Noise's Math, one of the most recommended module in forums.  With some exceptions, Rampage fills the same roles.  Moreover, it is available as a kit which fulfills my desire to build my synth as much as I can.

Main board close-up


According to Befaco website :
"The module is built around two voltage controlled integrators. Integrators (also known as Lag Processors or Slew limiters) allow you to process your voltages, converting sharp square waves in ramp-like waveforms.
These lovely devices can, for instance, convert a gate signal into a simple envelope, or achieve a “portamento” or “glide” effect when applied to pitch CV."


A properly patched Rampage can assume more than 20 different functions : envelope generator, oscillator, comparator, polyrythmic gate generator, trigger delay, etc…

Before mechanical assembly
Assembly instructions are similar to the previous kit : same advantages, same drawbacks.

With a kit of that size and density, you have to be systematic in order to make sure to be "good first time".  Debugging such a circuit afterwards was not in my intentions.

Calibration of the triangle shape
 
I estimated that the two Schottky diodes of the kit were too large for the PCB footprint and I replaced them by some in my stock.

I also found an oddity in the presence of a solder joint below one of the potentiometer.  I reckon there should be enough room between the back of the pot and the joint when the pot is tightly attached to the panel, but I decided to mask it anyway with some insulation tape.

Better safe than sorry.













Still, I implemented the mod presented in this Muff Wiggler thread to ensure reliable gates by soldering 1M pull-downs resistors at the outputs.

Additional pull-down resistors

Finally, a photograph of the Befaco boys in action and a bit of sound.

Befaco boys in action




Here above, Rampage channel A is programmed as an LFO which frequency is determined by the output of the S&H and cadences the patch.  Channel B is the envelope triggered by channel A and whose attack is also determined by the ouput of the S&H.
A*B+C plays the role of the VCA.   The sound source is the pink noise from the S&H module.
The sound is coming out via Rings (whose parameters are, ... guess what ? ... controlled by the output of the S&H) and the phaser.
Additional effects : NI Supercharger, TAL Reverb II & LoudMax

Friday, 11 May 2018

A * B + C

To complete my synth, I recently bought 2 DIY kits from Befaco.

The first one is called A*B+C.

Finished module

The kit is  good quality and rather simple.

Before soldering

The A*B+C is a dual, four-quadrant multiplier with VC Offset.

It can perform different operations on its inputs :
- amplifier and inverter of A input.
- VCA on A, with envelope CV on B.
- VC offset generation with C input.
- attenuation/inversion of C input
- ring modulation of audio signals in A and B.

Moreover, the output of the the first channel is normaled to the mixer of the second channel.  So the module can serve as CV/audio mixer.

Before assembly

Assembly instructions are good but could have been clearer, especially for the final assembly.
A couple of photos wouldn't have been too much.  But I didn't encounter any major issue.

My only gripe was about some parts that had a larger size than their footprint on the PCB.  I had to replace the two Schottky diodes with those I had in stock and solder 2 couples of resistors vertically. One resistor even had to be soldered on the other side of the board.

Once again, nothing major in my view.

Profile view.  You can see the vertically mounted resistors

Finally, the module suffers from a high level of background noise as indicated in this Muff Wiggler forum thread.   Anyway, it does not seem prohibitive.   There is a suggested mod but it looks like it modifies the potentiometers behaviour, so I didn't want to perform it (and I didn't have the necessary 1/8 W resistors).   Time will tell.

Monday, 16 April 2018

Output

Even if most mixers are able to cope with the typical audio voltages a modular synth work with (around 5V peaks), professional line level is defined as typical at +4  dBu (or 1.7 V peak).   So it can be good to have an adaptation module with a bit of attenuation and an output buffer capable to drive the line from the synth to a mixer or an audio interface.
Moreover, using 6.35 mm jacks is more practical to interface with external gears than keeping 3.5 mm jack.

My output module



I got inspired by Make Noise's Rosie : cross fader between A and B inputs, send and return functions and the attenuation stage to match line level.

Make Noise chose to have the levels of the send-return at modular level, to use with effects in the modular synth itself (like their own reverb module).   I decided to go with variable attenuation and gain in the send-return path to be able to use it with external effects like guitar pedals.
As a result, the return jack can still be used as a third potential input for the module, but it might need some attenuation beforehand in order to match the levels of the A-B inputs.







Messing around on the breadboard

The electric schematic is an assembly of three circuits, with slight modifications.
Ouput module electrical schematics

First, the crossfader at the input comes from the panner schematic from R.G. Keen.  I modified the resistors value to match the resistors and the potentiometer I already had. 
Second, the output stage is the output stage from Dintree Output mixer.  I removed the R69 resistor to better match my target output level.
Third, the send-return circuits are Ken Stone's stomp box adapter with variable attenuation and gain.  I removed the 10uF capacitor in the return feedback loop as it created an potentially audible high pass filter at minimum gain.

Finished circuit on the bench

And here is the final layout.  I had to correct a couple of slight mistakes but other than that it went smoothly.

The layout


I elaborated my gain chain to have +4dBu (around 1.7 V peak signal), if I enter a 5 V peak signal on one input and keep level potentiometer at two third.

As there are three op-amps in the audio loop, I made sure they were all in an non-inverting configuration to avoid phase inversion.

I added a peak detector as a simple comparator followed by a rectifier, a filter and the diode.  Classic.  This will detect peaks above 5 V (or 5 dB below the +18dBu clipping level) on the positive side only, but that will do.
Why this value ?  I first decided for a much lower 1.8 V peak.  But I reckoned it was far too low and that I should target a value around +12 dBu.  I decided to change a single resistor and I only have that 15k instead of the needed 12k.






If you're interested in the relationships between V, Vrms, dBu, dBV, I found this very useful website : http://www.sengpielaudio.com/calculator-db-volt.htm

View from the back


Ongoing panel


The panel is one of the most cramped I had to do. 
Notice the small id tag denoting this is my 20th DIY project.












Wire mess










Wiring was a mess.



8 HP was a fine choice.   But for the future, I have to resist the temptation to cram as much function as possible into the available space.

I first wanted more vintage look knob caps, but they were too large and I switched back to traditional copies of Davies 1900H.

Finally, here it is in it's natural habitat.

Final view

Friday, 6 April 2018

Passive attenuator and reference voltage

This module combines in 4HP some utilities I first planned for a 2U utility panel.

Finished module chilling on bench


From top to bottom : a passive attenuator, two reference voltages and a manual gate.

The attenuator and the gate are normalled to the 10V reference voltage.

The reference voltage electronic schematic is scavenged from the same function in Mutable Instrument Shades.   Hence the reference to Olivier Gillet, whose work is a great source of inspiration for me.












Ongoing panel assembly


Some of the components are soldered on the panel.
I hesitated to include the 51 ohms protection resistors at the op-amps outputs.  Maybe I should have put them inside the feedback loop of the op-amps ...  Nevertheless, the  circuit was built when I thought I might add them and I did not want to  ruined my earlier work, so they ended up on the panel.











The op-amp went into smoke as soon as I began the first test : I had inverted the -12 V and + 12 V pins.  :-(
I resorted to solve it with some trace removal and a couple of wires.

Problems solved.

So no layout this time : i'm too ashamed.  :-/
Still, here is the final electrical schematic.

Passive Attenuator and Reference Voltage


Monday, 2 April 2018

The next DIY modules

My next two DIY modules are simple utilities.

The two circuits in progress
I started with a passive multiple.  I called it 'bus module', somehow inspired by the CV bus from Make Noise.

Finished bus module


Nothing special here.

The jacks are cabled in parallel in two groups of four, the second one is normalled to the first one. 

Without a plug in the first jack of the B bus, the module behaves as a 1:6 multiple.  And with the plug in, the module is two 1:3 passive multiples (or two bus of 4 entries).


Bus module verso

So if it is passive, what is the electronic circuit for ?

The small electronic circuit is used to visualize the signal that flow through the module via two LEDs, one for each group.  They are red/green LEDs, green shows the positive side of the signal, red the negative side.  I got that idea from the Make Noise's CV bus.  The implementation is inspired from Mutable Instrument's Links.


Layout

Schematics




















The second module will be the subject of the next post.

In the mean time, let's see if the beast is alive...