FYS4260 Project Operational Amplifier / Head Phone Amplifier

FYS4260 Project
Operational Amplifier / Head Phone Amplifier
The design consist of a dual channel amplifier built with discrete components, and a switcher for
selecting either a dual channel swithing power supply or battery as power source.
Power
The switching power supply takes 5V in and converts to +12V and -12V, ~150mA each. A slider switch
is added to select between this switcher and battery.
Amplifier circuit
Each channel in the circuit can be divided into a DiffAmp stage, a constant current stage, a voltage
amplifer stage and an output buffer. A thorough description can be found in the printout from
ELEKTOR magazine in the end of this document.
Your assignment will be the following:
1) Create a schematic drawing in CadSTAR based on the schematics in this document.
2) Select the power and audio connectors you want to use from the alternatives given in the
schematics.
3) Do a SPICE simulation in either LTSpice or PSpice, see guide on this further down.
4) Create a layout.
5) Assemble one board at ELAB on assembly day
6) Test, verify, do repairs/modifications, and do a simple measurement to compare with your
simulations.
SPICE Simulations
Export SPICE Netlist from CadSTAR
File -> File Export
1. Select Format PSpice
2. We only simulate on channel, make sure you have the correct sheet active or use “selected
sheets”
3. Click options and select header file
“FYS4260_Amplifier_Spice_Header_LTSpice.in” located in the project folder on
FELT/ELAB/FYS4260
4. Click Browse and select name and destination folder for the exported netlist.
Edit SPICE Netlist
The header file inserts the necessary generators and power supplies to successfully run the
simulation, but we need to tell which nodes they are connected. Open the exported netlist in a text
editor and located the Generators and Power Supply sections in the beginning of the netlist. From
CadSTAR we now need to locate the names of the VPOS, VNEG, Vin and Vout nodes in the netlist,
and replace the XX in the generated netlist with the correct node numbers. NOTE, the node numbers
and component names are going to be different in your design, this is just an example!
VPOS Is f.ex. the positive node of the C5 capacitor (GND is always node 0 is SPICE). This tells us that
VPOS is node 3 in this design.
VNEG Is the negative node of C6 -> Node 21. Replace XX in VNEG Power Supply with 21
Vin Is terminal 2 of C1 -> node 7
Vout is the common node of R6 and R7 -> node 2.
This gives
Vin 7 0 AC 1 SIN ( 0V 0.1V 1KHZ 0 0 0 )
VDC1 3 0 9V
VDC2 21 0 -9V
Rload 2 0 10R
Simulate in LTSpice
Open LTSpice, select File -> Open and locate your modified netlist. Run simulation, right click and
select add trace. Add your Vout node. To see other simulations just comment out the AC Sweep.
To use PSPICE follow the same procedure, but use the _PSIPCE header file when exporting from
CadSTAR.
Potmeter to replace fixed resistors used only for
simulation on left channel. Remove resistors from pcb.
100R
RP2
Q1B_E
2
1
Q1A_E
CN1
Jack 3.5 Stereo
LEFT_IN
4
2
3
2
3
1
2
CN2
Jack 3.5 Stereo
DO NOT CONNECT
SWITCH TO GND
"Gain"
potmeters
10K0
RP4
L Ch
Switch
R Ch
COM
3
Q2_C
CW
3.5mm Jack or
Phono connector
for signal in.
3.5mm Jack or
Phono connector
for signal out
(Select one)
RIGHT_IN
:LEFT CHANNEL
:RIGHT CHANNEL
LEFT CHANNEL
RIGHT CHANNEL
:LEFT CHANNEL
LEFT_OUT
4
:RIGHT CHANNEL
RIGHT_OUT
3
2
1
L Ch
Switch
R Ch
COM
CW
1
10K0
RP5
3
CW
CN7
Phono Mono
1
Left Channel
(for simulation)
:LEFT CHANNEL
Roght Channel
LEFT_OUT
1
2 34
CN6
Phono Mono
:RIGHT CHANNEL
RIGHT_OUT
1
2 34
CN3
PJ-202BH
P5V0
1
3
MicroFit
Pinheader
for battery
2
5V0 Input
to Switcher
Either
USB or
2.1mm
(Select one)
CN4
uUSB
VCC 1
6
MountingHoles
3.2mm
POWER
CN5
MICRO-FIT
D-
2
D+
3
2
ID/SENSE/NC
4
3
SHIELD
GND
1
VPOS_IN
VNEG_IN
5
Fiducial Marks
PROJECT:
MH[1-2]
1
MH/3.2mm
MARK[1-3]
FIDUCIAL MARK
headphone amplifier v1
SHEET NAME:
DATE:
SHEET:
USER:
11.10.2016
1/4
halvorst
TOP
ELAB, Dept. of Physics
UNIVERSITY OF OSLO
©
1
R4
4K70
R3
1K00
R2
1K00
1
2
2
2
2
1
1
2
2
C5
100UF/16V/C
1
R9
150R
1
C4
100UF/16V/C
VPOS
2
1
BC807-40W
Q4
4
3
10PF
1
1
2
C3
Q5
FZT651TA
3
2
1
2
3
1
1
2
1
D2
R11
270R
3
2
4
Q3
BC817W
R10
150R
1
FZT751TA
Q6
D1
1
1
BAS16-215
1
BAS16-215
3
2
R7
10R0
2
2
Q2
BC817W
OBS! 1206 SIZE
3
3
Resistors here only
used for simulation,
to be replaced with
potmeter on pcb.
1
1
2
2
3
C6
100UF/16V/C
Q2_C
R13
47R0
1
R8
47R0
2
:TOP
D4
1
1
LEFT_OUT
D3
3
2
BAS16-215
1
1
R12
1K50
Q1A_E
2
2
3
10K0
R5
BAS16-215
5
1
R1
10K0
Q1-B
FMBM5551
1
Q1-A
FMBM5551
Q1B_E
1
2
LEFT_IN
1
:TOP
OBS! 1206 SIZE
2
4
6
1U0F
C1
R6
10R0
1
6P8F
C2
VNEG
PROJECT:
headphone amplifier v1
SHEET NAME:
DATE:
SHEET:
USER:
11.10.2016
2/4
halvorst
LEFT CHANNEL
Dept. of Physics
©ELAB,
UNIVERSITY OF OSLO
Switch to select
Power Source:
TOP - Switcher
MID - Off
BOT - Direct
P1
LTC3582-12
3
SWN
P5V0
5
SWN
6U8
L2
1
2
VOUTP
VOUTN
VPOS_SW
9
VPOS_SW
1
VPOS_IN
3
4
VNEG_SW
5
VNEG_IN
7
8
1
6
2
1
RAMPN
RAMPP
7
2
15
16
VPP
SDA
SCL
ADDR
10NF
C18
10NF
C17
1
14
1
C14
4U7F/25V
1
2
2
VPOS
2
10
C15
4U7F/25V
VNEG_SW
1U0F
C16
C
SW1
EG2310A
6
VNEG
A
C
D11
CAPP
CAPP
11
2
GND
1
13
B0540WS
2
D10
A
A
LED LIGHTBLUE
12
1
R21
4K70
SWP
1
4
C13
4U7F/25V
1
8
2
nSHDN
VIN
6U8
D9
C
B0540WS
L1
Switcher circuit 5V -> +/-12V
2
GND
2
17
PROJECT:
headphone amplifier v1
SHEET NAME:
DATE:
SHEET:
USER:
11.10.2016
3/4
halvorst
POWER
ELAB, Dept. of Physics
UNIVERSITY OF OSLO
©
1
R17
4K70
R16
1K00
R15
1K00
1
2
2
2
2
1
1
2
2
C11
100UF/16V/C
1
R22
150R
1
C10
100UF/16V/C
VPOS
2
1
BC807-40W
Q10
4
3
10PF
1
1
2
C9
Q11
FZT651TA
3
2
1
3
2
R20
10R0
OBS! 1206 SIZE
2
D8
1
100R
RP3
2
CW
3
3
3
1
3
Q8
BC817W
1
1
1
4
Q9
BC817W
2
1
1
D6
R24
270R
3
R23
150R
1
BAS16-215
D5
2
BAS16-215
3
FZT751TA
Q12
2
1
2
2
3
C12
100UF/16V/C
1
2
:TOP
1
D7
1
BAS16-215
2
RIGHT_OUT
BAS16-215
5
3
1
Q7-B
FMBM5551
R14
10K0
1
Q7-A
FMBM5551
10K0
R18
R25
1K50
1
2
C7
1
RIGHT_IN
OBS! 1206 SIZE
2
4
6
1U0F
:TOP
2
1
6P8F
C8
R19
10R0
1
VNEG
PROJECT:
headphone amplifier v1
SHEET NAME:
DATE:
SHEET:
USER:
11.10.2016
4/4
halvorst
RIGHT CHANNEL
Dept. of Physics
©ELAB,
UNIVERSITY OF OSLO
Download PDF