Google statistics

Showing posts with label Eagle CAD. Show all posts
Showing posts with label Eagle CAD. Show all posts

Sunday, 13 May 2018

NuTube Overdrive - Assembly, Test, source files

Disclaimer

This is just an amateur pedal with no intention for profit or to infringe any trademark.
Tube Screamer is a trademark of Hoshino Gakki Co.
Nutube is a trademark of KORG INC.
This pedal is not for sale. If you want to buy a similar pedal I recommend you Ibanez NTS Screamer.

Assembly

Nude PCB before assembly, components side:


PCB with SMD components assembled:

PCB fully assembled connectors and potentiometers side. Tests without enclosure were quite noisy:

PCB fully assembled connectors and potentiometers side:

PCB fully assembled on SMD components side:

Guitar pedal fully assembled verified and ready for tests:


Source files

Source files for Eagle schematics, BoM and layout as well as FreeCAD 3D files can be found on github:

Sound files

Chords tests:
Solo test:

Videos

NuTube Overdrive Test playlist video with Stone Roses solo, bluesy solo and chords:

Tuesday, 1 May 2018

NuTube Overdrive - Schematics, BoM, PCB layout, 3D

Disclaimer

This is just an amateur pedal with no intention for profit or to infringe any trademark.
Tube Screamer is a trademark of Hoshino Gakki Co.
Nutube is a trademark of KORG INC.
This pedal is not for sale. If you want to buy a similar pedal I recommend you Ibanez NTS Screamer.

Schematics

Some ferrites are used to filter noise at the input and output. +9VDC power voltage is also filtered by means of an EMI filter Murata NFM3DPC223R.
Op-Amps +4.5V mid voltage is generated by a LM4041 voltage reference.
Grid DC bias voltage is generated from +5V DC-DC output via a 4K7 resistor in series with a 10K trimmer. The trimmer midpoint is filtered with 10µF capacitor and connected to the grid via 33K resistor as recommended by manufacturer.
An MMBT5089 NPN transistor buffer is used between the two triode sections.
NPN buffers are also connected at the input and the output of the pedal.
An Op-Amp buffer is used at the output of the second triode section, the buffer output is connected to the 100K Mix linear potentiometer.
NuTube triodes have 500K linear trimmers on anode loads connected to +9VDC.
+5VDC is connected via 240R series resistor and filtered with 1µF capacitors to provide the required filament voltage to triodes.
R8 and R38 pull-down resistors are required to avoid popping when engaging or disengaging the effect via true-bypass 3PDT footswitch.
S1 is the switch that allows disconnecting the clipping diodes. BAV199 are dual diodes in a single SOT23 package. R14 shorts one of the diodes to provide asymmetrical clipping.
R13 can be removed to disconnect C8 220nF capacitor and disable bass-boost mod.
The output of the mix potentiometer is connected to the tone section via an Op-Amp buffer.
Volume potentiometer is a 100K audio/log taper.

NuTube Screamer Schematics, page 1
NuTube triodes require a +5VDC filament voltage with 200mA current per triode . A TPS62175DQCR DC-DC converter generates +5VDC 500mA from +9VDC input. +5V is also used to generate grid DC bias between +2V and +3V.

NuTube Screamer Schematics, page 2. Grid bias voltage +5V DC-DC converter

Bill of Materials


Part Number Mfg Name Description Qty Reference Value
CRCW06030000ZSTB Vishay Thick Film Resistors - SMD 0603 1/10watt ZEROohm Jumper 2 R13, R14 0R
ERJ-3EKF1001V Panasonic Thick Film Resistors - SMD 0603 1Kohms 1% Tol 7 R5, R9, R16, R23, R25, R27, R33 1K
CR0603-FX-1004ELF Bourns Thick Film Resistors - SMD 0603 1M 1% 1/10W 7 R3, R7, R8, R11, R24, R26, R31 1M
C1608X7R1V105K080AE TDK CAP CER 1UF 35V 10% X7R 0603 8 C3, C4, C5, C6, C7, C18, C19, C23 1u
RC0603FR-073K3L Yageo Thick Film Resistors - SMD 0603 3.3kohms 1% Tol 1 R28 3.3k
ERJ-3EKF4701V Panasonic Thick Film Resistors - SMD 0603 4.7Kohms 1% Tol 1 R15 4.7k
C2012X5R1E475K125AB TDK CAP CER 4.7uF 25volts X5R 10% 0805 2 C21, C31 4.7u
ERJ-3EKF4701V Panasonic Thick Film Resistors - SMD 0603 4.7Kohms 1% Tol 1 R35 4k7
CR0603-FX-1002HLF Bourns Thick Film Resistors - SMD 0603 10KOHM 1/10WATT 1% 6 R1, R2, R10, R12, R22, R32 10k
GRM21BR6YA106KE43L Murata CAP CER 10UF 35V X5R 0805 15 C1, C2, C10, C12, C13, C14, C15, C16, C17, C20, C24, C25, C26, C30, C33 10u
SRN4018-100M Bourns FIXED IND 10UH 1.3A 180 MOHM SMD 1 L1 10u
C2012X5R1V226M125AC TDK CAP CER 22UF 35V X5R 0805 1 C32 22u
CR0603-FX-3302ELF Bourns Thick Film Resistors - SMD 0603 33K ohm 1% 2 R17, R18 33k
06035D473MAT2A AVX CAP CER 0.047UF 50V X5R 0603 2 C9, C29 47n
GCM1885C2A470JA16D Murata CAP CER 47PF 100V C0G/NP0 0603 1 C11 47p
ERJ-3EKF5102V Panasonic Thick Film Resistors - SMD 0603 51Kohms 1% Tol 1 R19 51k
RC0603FR-0768KL Yageo Thick Film Resistors - SMD 0603 68kohms 1% Tol 1 R34 68k
ERJ-3EKF8202V Panasonic RES SMD 82K OHM 1% 1/10W 0603 1 R41 82k
RC0603FR-07100RL Yageo RES SMD 100 OHM 1% 1/10W 0603 1 R29 100
ERJ-3EKF1003V Panasonic RES SMD 100K OHM 1% 1/10W 0603 2 R6, R40 100k
EEE-1VA101XP Panasonic CAP ALUM 100UF 20% 35V SMD 1 C22 100u
RC0603FR-07180KL Yageo Thick Film Resistors - SMD 0603 180K 1% 1/10W 1 R36 180k
ERJ-PA3F2200V Panasonic RES SMD 220 OHM 1% 1/4W 0603 2 R30, R37 220
GRM188R61H224KAC4D Murata CAP CER 0.22UF 50V X5R 0603 3 C8, C27, C28 220n
ERJ-3EKF2400V Panasonic RES SMD 240 OHM 1% 1/10W 0603 2 R20, R21 240
CR0603-FX-4303ELF Bourns Thick Film Resistors - SMD 0603 430K ohm 1% 1 R39 430k
CR0603-FX-5103ELF Bourns Thick Film Resistors - SMD 0603 510kohms 1% Tol 1 R4 510k
PTV09A-4020S-A104 Bourns Potentiometers 9mm 100Kohms Audio 1 VOL A100K
PTV09A-4020F-B502 Bourns Potentiometers 9mm 5Kohms Linear 1 TONE B5K
3314G-2-103E Bourns TRIMMER 10K OHM 0.25W SMD 1 RV1 B10k
PTV09A-4020S-B104 Bourns Potentiometers 9mm 100Kohms Linear 1 MIX B100K
PTV09A-4020S-B504 Bourns Potentiometers 9mm 500Kohms Linear 1 GAIN B500K
3314G-1-504E Bourns TRIMMER 500K OHM 0.25W SMD 2 VR1, VR2 B500k
BAV199235 NXP Rectifiers DIODE LOW LEAKAGE 2 D1, D2 BAV199
BLM31PG121SN1L Murata EMI Filter Beads Chips & Arrays 1206 120 OHM 2 FB1, FB2 BLM31PG121SN1L
PJ-202A CUI CONN POWER JACK 2.1MM PCB 1 J2 DCJ0202
SSL-LX5093GD Lumex LED GRN DIFF 5MM ROUND T/H 1 LED1 GREEN
NMJ4HCD2 REAN Phone Connectors 2C MONO 2-SPST NC 1 J1 INPUT
LM4041CIDBZR Texas Instruments Voltage References Adjustable Precision Mcrpwr Shunt .5% 1 U4 LM4041CIDBZ
LME49723MA/NOPB Texas Instruments Audio Amplifiers Dual Audio Op Amp 2 U1, U3 LME49723
MBR0520LT1G ON Semiconductor Schottky Diodes & Rectifiers 0.5A 20V 1 D3 MBR0520LT1G
MMBT5089 Fairchild Semiconductor Transistors Bipolar - BJT NPN Transistor General Purpose  3 T1, T2, T3 MMBT5089
NFM3DPC223R1H3L Murata EMI/RFI Suppressors & Ferrites 0.022uF 50V 2A' 1 CF1 NFM3DC
831-87-032-10-001101 APEM Inc. Conn SIP Socket Strip SKT 32 POS 2mm Solder ST Thru-Hole 1 U2 NUTUBE 6P1
NMJ4HCD2 REAN Phone Connectors 2C MONO 2-SPST NC 1 J3 OUTPUT
TPS62175DQCR Texas Instruments IC REG BUCK BST ADJ 0.5A 10WSON 1 U5 TPS62175DQCR
MHS122K APEM Inc. SWITCH SLIDE SPDT 300MA 30V 1 S1 clip

PCB Layout

Top side

This is where all SMD components are mounted

NuTube Screamer PCB layout Top side (components)

Bottom side

This is where all the connectors and through-hole components are mounted: DC jack, input/output jacks, switch, potentiometers, LED and battery clipping contact for GND contact with enclosure
NuTube Screamer PCB layout Bottom side (connectors)
The following figure shows NuTube Screamer PCB pedal dimensions 72 x 54 mm and 1590B enclosure internal dimensions 107 x 55.45 mm
NuTube Screamer PCB and 1590B enclosure dimensions

3D assembly

Eagle layout can be imported into FreeCAD 3D to create a 3D assembly image that allows placing the different holes in the assembly and checking proper mechanical assembly.
LED had to actually be moved because it interfered with tone pot.

NuTube Screamer 3D assembly drawing

Monday, 8 September 2014

Tube Simulator - Practical Implementation - PCB layout, manufacturing, assembly (2/4)

PCB layout


The PCB has been designed in two layers, using a maximum of ground and power planes surface and numerous vias, specially in the central ground pads below ICs that dissipate more power: regulators and power audio amplifiers.

PCB width is mostly imposed by the front panel controls: switches, potentiometers and jacks.
With that in mind a proper aluminum box was chosen:
Hammond Manufacturing 1444-1372 13 x 7 x 2 inches (W x D x H) 

The L shape of the PCB leaves some space for AC power inlet, AC power switch, 1A AC fuse, AC/DC power supply, and the posibility of adding a PCB module for FX loop effects or digital reverb circuit (these modules have not been implemented yet)

Top layer


Bottom layer


PCB manufacturing


For PCB manufacturing I used Eurocircuits web site. Eagle CAD files can be uploaded and there is a very practical Price Calculator that allows having immediate quotes with options for standard pool or PCB prototypes for small PCBs . They also have the possibility to verify the PCB layout after file uploading.
I paid 140 euros (transport and taxes included) for one prototype on a 7 day working days delivery. Usually is recommended to manufacture at least two prototypes. PCBs are manufactured in Europe, they have a factory in Hungary.

Quality is very good with nice finish:

PCB assembly


The assembly drawing and the PCB ready for soldering components. SMD DC-DC converters with central pads where previously mounted using solder paste and hot soldering gun.
The solder paste that appears in the photo below was purchased in a generic DIY store and created lots of problems of oxidation. I recommend using a solder paste specific for electronic use with lowt melting temperature, usually RoHS (not leaded) solder pastes have a quite high melting point, but there are some RoHS compatible solder pastes like alloy 58 Bi / 42 Sn with a melting point as low as 138°C. The one I use is EDSYN - CR11 58/42 Bi/Sn from Farnell

It is very important to leave thermal reliefs on pads, specially in a design like this with large power and ground planes, otherwise solder iron heat will dissipate through the plane and soldering those pads will be a nightmare. I know because it happened to me.

The PCB with most of the components soldered. Rear connectors must be soldered with wires to allow PCB assembly in the chassis.

The AC/DC power supply module used was a Murata MVAD040-24 40W (23 euros) open switching power supply module with 120/230V AC@50/60Hz input and +24V DC@1.67A 40W. 



PCB mounted on the chassis aluminium base plate, with AC/DC power supply, 1A AC fuse and AC power switch:

Friday, 18 July 2014

Tube Simulator - Practical implementation - Schematics, BoM (1/4)

For the practical implementation of the Tube Simulator, Eagle CAD was used for schematics capture and PCB layout.

Component Selection and Bill of Materials:

SMD devices where used for smaller sizer, 0603 resistors are a good compromise between easy hand solderability and small size.

Texas Instruments LME49723 audio dual operational amplifier was chosen as a good compromise between low distortion, quality, cost, size, nice SOIC packaging and high power supply voltage.
I particularly like TI website for its quick and easy selection of components by means of a parameters table and a large choice of components.

Even though I am a big fan of MLCC (multilayer ceramic capacitors) I read in a series of articles in EDN website (Signal distortion from high-K ceramic capacitors and the follow-up More about understanding the distortion mechanism of high-K MLCCs) that film capacitors are better suited for audio applications since they are more linear in its frequency response and have less harmonic distortion than ceramic capacitors. MLCC capacitors experience large changes in capacitance as the voltage across them changes, which can result in harmonic distortion. So I decided to use film capacitors everywhere where the capacitor value was key to filtering the audio signal.

But I still used MLCC for signal bypassing and power supply decoupling.

The BoM was created in the Mouser website, with a huge selection of components and hardware

This is the link to he whole Bill of Materials on the Mouser website:

Input Preamp and Output Amp Schematics (page 1)


Each opamp stage is based in the aforementioned LME49723 device consisting of two opamps.

In the first opamp stage, zener diodes are used to clip signal levels. A 6.2V zener diode BZX84C6V2LT1G is used in the positive cycles and a 4.3V zener diode BZX84C4V3LT1G is used in the negative cycles.

After the first opamp stage a Schottky diode BAT54 in series with a 470k resistor is used for soft clipping, this provides a clipping closer to germanium diodes.

On the second opamp stage there is a feedback branch with a NPN transistor (MMBT2907ALT1SMD) which has its base biased at 1.65V, a TI LM4041CIDBZ shunt voltage reference was used. Another feedback branch uses a 2.7V zener diode BZX84C2V7LT1G in series with a diode MMBD4148 and a 470ohm resistor for clipping negative cycles. A third branch used another 2.7V in series with a higher 10K resistor for soft clipping of positive cycles.

The third opamp stage is just a follower to send the signal to an external effect circuit and to the output amp section. The return is also input to this stage.

An equivalent circuit to the VOX AC30 bass/treble equalizer is placed at the input of the output amp section. The equalization switch adds a deeper mid notch when activated.

The first opamp stage of the output amp adds harder clipping with two silicon diodes MMBD4148 in parallel for clipping both positive and negative cycles. And also a schottky diode in series with a 47 ohm resistor that provides a kind of germanum diode clipping in the negative cycles.

The second opamp stage adds additional clipping in both cycles by using silicon diodes MMBD4148.

A log 100K potentiometer provides volume level control of the output amp.
The forth opamp is a double follower that sends the signal to the speaker simulator and the Line out connector.

Speaker Emulator and Headphone Amplifier Schematics (page 2)

The second page of schematics shows the speaker emulator circuit based on four Sallen-Key low-pass filter sections to provide a frequency response similar to that of a 12'' speaker like Celestion Vintage 30, as shown in a previous post. This filter enhances considerably frequencies around 2.5 kHz.

A log 100K potentiometer provides speaker emulator volume level.

A switch selects Line out signal from the speaker emulator output or the output amp to be connected to an external guitar amplifier.

The headphone input is always selected from the speaker emulator output.

The headphone amplifier used is a TI TPA6111A2D 150 mW stereo headphone amplifier in a SOIC-8 device connected to a 3.5 mm mini-jack.

25W Class D Amplifier, mounting holes, fiducials (page 3)

The third page of the schematics shows the 8ohm speaker amplifier based on a very efficient (94%) 25W Class-D amplifier TI TPA3112D1PWP with less than 0.1% THD+N from a +24V supply.

The high efficiency of this new class-D amplifiers allows a relatively high power output of 25W without the need of a heatsink on a small HTSSOP 28-pin device which considerably reduces PCB layout size. Special careful must be taken with the design of the central pad connected to the ground plane by numerous vias to allow proper heat dissipation.

Power Supplies (page 4):

An independent switching power supply module converts 220V AC@50Hz into +24V DC. A Murata MVAD040-24 40W (23 euros) open switching power supply module is used. The module has its own PCB and is mounted inside the box with standoffs and screws.

The main PCB is then powered at 24VDC. This is the highest voltage used for output class-D 25W power amplifier.
From 24V, discrete switching regulators generate +15V and +15V  to power the operational amplifiers.
From +15V a discrete switching regulator generates +5V to power the headphone amplifier.

The maximun power consumption budget is distributed as follows:
+24V @ 1.1A = 25W for the class D speaker power amplifier (94% efficiency)
+24V to +15V @ 0.6A = 9W for the positive rail of opamps
+15V to +5V @ 0.1A  = 0.5W for the headphone amplifier
24V to -15V @ 0.5A = 7.5W for the negative rail of opamps

Total maximum power consumption is 40W

All discrete DC-DC converters have been designed using TI Webench Design Center, a very useful tool for designing power supplies that allows optimizing BoM cost, footprint and efficiency.

The Webench tool generates the whole BoM and it even allows to export schematics and layout to several of the most common CAD applications including Eagle. Sometimes the results are not very good but at least the footprint of mos common components can be created.

Most regulators are based on step-down or buck topology using integrated controllers (power switching MOSFET integrated in the controller device) except for the +24V to -15V that uses inverting buck-boost topology.

The +24 to +15V DC-DC converter is based on TI LM25011 step-down regulator.
The +24V to -15V DC-DC converter is based on TI LM25575 step-down regulator in inverting buck topology
The +15V to +5V DC-DC converter is based on TI LM25019 step-down regulator

This schematic page also includes external Power-on LED and internal SMD power-on LEDs for every power rail: +24V, +15V, -15V and +5V as well as 24VDC power in connector to main PCB from external AC-DC power supply