Loading ...

Translate

Thursday, 10 May 2018

The big hifi preamplifier project - The main preamplifier board.

It's been a while. This project is taking up a lot of time (and money!) ... here's the latest instalment...

So, we have our sources selected (see here) and the signal needs to be amplified.

I'd like everything to be remote controlled. I'd like a simple and subtle bass and treble controls, and balance.

I'm going to put power supply regulation on the board, so we'll need to supply the board with +/-24V of well filtered DC.

I'm going to incorporate a "side chain" with the Korg Nutube in it, and make it switchable in or out.

I'll use NE5532 op-amps, because they're cheap and cheerful, and a damn fine performer.

So... after some thoughts about remote control, I'm left with 2 options.

Motorised pots: Damned expensive, and I'll need 4 stereo ones. Mechanical mounting issues.
Digital pots: I've used these with great effect on previous commercial projects. Very cheap compared with motorised pots, and cheap compared with normal mechanical pots, considering the spec. Enter the Microchip MCP41100.  Just the job. 100K, 256 positions, simple SPI interface,linear. I'll put some resistance across the output to simulate log, and if that's not good enough we can tweak the response in the software.


OK, so our power arrives in at JP4, there's some filtration by C9,10,12 and 13 just in case any pickup has occured from the rectifier and filter unit. The +5v will be regulated externally, and has a separate ground. The +/-24V is regulated by an LM317 and LM337 respectively to +/- 17V  (I know it says +/-15V on the diagram!) Each IC has it's own 0.1uF ceramic decoupling cap. There are 3 leds to show the supplies are present. Control signals arrive at JP1 from the microcontroller board. The SPI signals are taken to each digital pot, and each digital pot's CS (active low) lines for each IC are also available. There's a bit of bunkum on the web that digital pots are only capable of working within their supply voltage, of +5V and GND. This is wrong. It's digital part, yes. The resistance output, no. It's just that, and behaves like any normal pot, so will be quite happy with our audio signal. 
Audio arrives at JP2, and is given some gain by IC2. this is fed to a buffer amp, IC1, which then returns the audio to the REC OUT socket, for recording purposes. Audio is also fed from IC2 to the tone control, formed by two digital pots (per channel) and IC10. Bass is controlled by IC3 (and IC4) and the treble by IC7 (and IC8). Maximum boost and cut is limited to about +/- 3dB, centred on 20Hz and 20KHz. Audio leaves IC10 and passes to IC11 (and IC12) which are the volume controls. I did, originally add a balance control in, and then realise this was utterly pointless, as I could have independent control over both the left and right volume controls, and do the balance in software, and not run the risk of compromising channel separation. Audio leaves the volume controls, passes K1 into the final buffer. IC13 , and out via JP5. If we want more (or less gain) we can alter the value of R59 (R60) to suit. K1 is used to switch in the Nutube valve. The Nutube cannot operate differentially, so the audio is DC isolated by C29 (and C40), and bias is applied from the 3.3V regulator (IC5) via R30 (R48). Some experimentation will be required to set the correct bias. Anode is supplied from our 17V rail, with a bit of filtering courtesy of R17 and C11/15. The audio is developed across the anode load resistor R32 (R45), and passed to a simple FET buffer Q2 (Q1). Now. I think I've dropped a whatsit here, I've passed the audio via a 100K pot R58 (R61) which is going to present a rather high impedance to the output. I'll take some measurements, and see how it performs. Sadly I didn't notice this schoolboy error before I sent the board for manufacture..  The required 1.7V for the filament is supplied from the 3.3V reg via R22/R23. As the tube is directly heated, the filament is also the cathode, so it's AC coupled to ground via C19/22 (C21/23).
Audio is also passed from the output to the meter drive circuit, buffered by IC14 (IC15), and rectified by two germainium diodes D5/6 (D7/8). This output is used to drive the output transistor T2 (T3) which drives the meter connected at JP6 (JP7). R68 (R69) is used to control the calibration of the meter. It's responce should be more PPM-like than VU (which, as every recording engineer knows, stands for "virtually useless"). It's not going to be that accurate, but will give us something to look at ;) You may need to alter the values of C57 (C58) and R82 (R83) to suit your meter. If you can't find germainium diodes, try a schottky diode. The relay for the Nutube is driven from the microcontroller board via T1. The 5v ground and audio ground are kept separate, to avoid clicks and pops when the relays switch, and to avoid noise being picked up from the uP.

Board layout.... 
Single sided board is going to be a problem. There's quite a lot going on, and I want to keep the form factor reasonably small. Double sided it is, and whilst I can do this at home using UV film resist, it's not easy to get a decent etch. I could purchase board readily prepared with UV resist, and these usually etch very well, but they are damned expensive here in the UK now. It's a shame that the spray on UV etch resist is no longer available. So, I'll get the board professionally made. I used to use a company called Olimex in Hungary, but they are at capacity with their own work now, so are not currently taking on small batches, which is a pity as pricing was good, and quality excellent. My friend Ben had some small boards made in China by www.smart-prototyping.com. The quality was great, so after a brief and helpful conversation on-line with Minnie Yu, I sent over the gerbers. Within 10 days, 5 boards arrived. Quality is at least as good as Olimex. 

When I laid the board out, I tied to keep the digital signals away or perpendicular to the analogue stuff. A friend of mine always used to say "Keep the ones and noughts out of the rig" ! 
There's an analogue ground plane each side of the board. 


A most exciting delivery from China...



Parts were ordered, and the board assembled...


One thing worth noting is the output coupling capacitors (C1,C2,C51 & C52)... I left plenty of room on the board, as I originally intended to use some poly's.. but Mr Self has written about non-linearities in some, so I though I'd try some multi-layer ceramic's... and they are TINY! This is a 2.2uF 50V example!....



I was going to carry on in this post, with control electronics and firmware, but, quite frankly, it's taking some time, and it's bloated into a project in it's own right...  So far it consists of a Teensy 3.2 microcontroller, and a few logic gates to expand the IO, I'll show more in the next exciting episode!

CoaST?

No comments:

Post a Comment