Saturday 30 September 2017

Panel technique

Concerning the module panels, I use Ray Wilson's techniques.

Working on the random module panel.
I decided to order two Doepfer 42HP (about 21 cm) blank panels.  They are not very expensive and they are the right height and the right thickness (2 mm).
One panel is dedicated to the DIY synth.  I should be able fit it on that size.
I cut the second blank panel with a good metal saw to have 3 panels of the desired sizes for my first modules.

It's doable but it's a pain.  And it's not easy to get them straight.
I'll try to stick to 4 or 8HP blank panels next time.   Using the large panel and my saw for larger sizes.

I use Inkscape to draw the panels.  It's open source.  A bit rough around the edge but overall quite powerful.  I print at least one intermediate version to test and two final versions : one with the indication for the holes and one with the final markings.


Locating holes

Holes are located thanks to a specific version of the panel drawing (in fact one of the drawing's layer), a punch and a hammer.
I then pierce them : 6-mm hole for jacks and LEDs, 8-mm hole for a potentiometer.  I use a 2-mm larger drill lightly to smooth the edges but you can use a step drill and insist a little.




Temporary annotated panel



I then try with the temporary paper version and I annotate all modifications.   This is my way to detect and correct the small imperfections.

Finally, when I'm happy with the final design, I laminate the paper template and I glue it on the aluminum panel.











I let some space outside the panel to be able to slide it to place.  Moreover I don't trust my ability with scissors.

Once dried up, I cut the excess with a sharp blade, using the edges of the panel as a ruler, and I start punching the holes with an precision knife.

Cutting holes
Removing excess of the laminated paper panel











Finally, it's time to put everything back into place.  Nuts and knobs gently hide the imperfections of the holes.

Details


Saturday 2 September 2017

First family photograph

You might have noticed that this blog is a little bit late with regards to the real progress of my synthesizer project.

This post is, for once, right on time.

My first 3 DIY Eurorack modules are now finished.
It's time for a family photograph...


And under the hood...


Friday 1 September 2017

Guitar effect in a Eurorack module

To add effects to my modular synthesiser, I had the idea to buy some guitar effect pedal kits and design the necessary adaptation circuit to include them in a Eurorack module.  One need some sort of adaptation to go from 12V to 9V power supply and to lower the audio signal level : from max 20Vpp to about 1 Vpp.   I reckon most pedals might take a line level input, so at least a ten-fold attenuation (-20 dB) was needed.

Final module : on the left, the pedal kit; on the right, the adaptation PCB.
I chose some kits from Das Musikding as I knew already they are high quality : a Chorus and a Phaser, as planned.
I decided to start with the Phaser.
Indeed, assembling the kit was a breeze. 

Then I started to design the adaptation circuit.

Breadboarding in progress.

My original idea was to have a simple dry-wet passive potentiometer with a buffer before and after.  But the attenuation in the middle position was too much.  It was good enough when used statically thanks to the boost of the second stage but you couldn't go smoothly from dry to wet.

Then I tried with having two different volumes knob, one for the dry signal, one for the wet signal and mix both.
But it wasn't the feel I was looking for.  I wanted a traditional dry-wet knob.

I finally stumbled upon this schematics from R.G. Keen.  It was spot on what I was looking for.

The three dry-wet topologies I tried.

Power supply side of the adaptation
The power supply uses a simple serial line regulator.  The implementation principles are very well explained on Sonelec website.  I chose to use an LM317 because I had some in my drawer.  These LM317 in TO92 package were a mistake in an order I made previously.  They were sitting in my drawer ever since as they can only draw 100mA.  Now is the time to put them into use.
A LM7809 would have been better suited for this job.   Some might even argue that the added components (3 resistors, 1 capacitor) are more expensive than an LM7809, but it's another story.


Cardboard panel prototype

 I wasn't too sure about the potentiometer and jack places on the panel.  So I made a cardboard mock up before punching holes in the aluminium panel.  I intend to use this technique later with the Doepfer DIY synth.  So I'd better learn.








Cabling in progress
I used PCB connectors for the link between the two PCB.
But this time, I opted to solder wires from the lower side of the PCB to the pots and jacks, instead of using  connectors. 
Note the plastic feet glued on top of the centre pot : the pedal PCB extended over it so I had to avoid unwanted contact between the two.

I cabled everything wrong at first : input on output, potentiometers the wrong way.  Every time it was possible to make a mistake, I did one.  It was a nice and clean way to connect the jacks and the pots the first time.  It was a pain to change afterwards.

Moreover, after having cabled everything, I had a more thorough look at the oscilloscope.  I decided to modify the circuit.  I removed the original 1uF capacitors in the signal path as they were eating all my low end.  Original schema might be nice for guitars, but not for the extended audio range of a synth.  I also added the compensation capacitors on both op amps, because they tended to oscillate.

Not easy to debug in this position.
Despite my early efforts on the breadboard, I didn't notice or take too seriously both behaviours.

Un-soldering and soldering parts with the circuit so tightly attached to the panel controls was a pain.  PCB connectors would have been handy.
I really need to make up my mind about them.







Final circuit and layouts are available here below.   This time, I correctly oriented the power connector.






I used Fritzing for the schematics because I thought it would permit me to smoothly go from schematics to breadboard layout.  Schematic capture is OK.  But the breadboard module is not as usable as DIYLC, so I ended up using the latter for the layout.

A bit of work for the panel marking …



… and here is the finalised module.


A word about the gain staging to finish. 
I intended to have the first stage to go from -40dB (/100) to -20dB (/10).  From R.G. Keen, I gathered that the panner circuit would divide roughly by 3 (or -10 dB) and the 51k feedback resistor of the output op amp would give an initial  x3.41 gain.  I designed the output stage to have a final maximum gain of + 37 dB (x70). This way I could more or less cover the level drop by the first stage and the panner.   I indicated +30 dB on the panel to take into account the -10dB from the panner and it looked cooler than +27 dB.

Measurement confirmed my hypothesis.
At the highest settings, with a 10Vpp input, full dry, the output stage saturated gently.  Expected : at maximum gain, the circuit would go a bit higher than 22 Vpp
But when the output stage was at minimum gain, I expected a voltage drop of -40 dB : down to 100mVpp.  I saw … 0 V at the output.   Strange.  I certainly once again overlooked a detail.

Anyway, I have more than enough gain dynamics.  I was fed up with debugging this circuit.  That would do for now.  I updated the front panel to acknowledge that particular behaviour.