Upload
others
View
26
Download
1
Embed Size (px)
Citation preview
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.
LEFT CHANNEL RIGHT CHANNEL
POWER
Q1B_EQ1A_E
SHEET NAME:
DATE:
PROJECT:
SHEET:
USER:
ELAB, Dept. of Physics
UNIVERSITY OF OSLO©
RIGHT_OUT:RIGHT CHANNEL
RIGHT_OUT:RIGHT CHANNEL
LEFT_OUT:LEFT CHANNEL
LEFT_OUT:LEFT CHANNEL
RIGHT_IN:RIGHT CHANNEL
LEFT_IN:LEFT CHANNEL
P5V0
4
3
2
1
L Ch
Switch
R Ch
COM
CN2
Jack 3.5 Stereo
MARK[1-3]FIDUCIAL MARK
4
3
2
1
L Ch
Switch
R Ch
COM
CN1
Jack 3.5 Stereo
1
2 3 4
CN7
Phono Mono
1
3
2
CN3
PJ-202BH
1MH[1-2]
MH/3.2mm
1
2 3 4
CN6
Phono Mono
1
2
3
VPOS_IN
VNEG_IN
CN5
MICRO-FIT
2
1
3
CW
RP
4
10
K0
1
2
3
4
56
VCC
D-
D+
ID/SENSE/NC
GNDSHIELD
CN4
uUSB
2
1
3
CW
RP
5
10
K0
21
3
Q2
_C
CW
RP2
100R
Potmeter to replace fixed resistors used only for
simulation on left channel. Remove resistors from pcb.
Fiducial MarksMountingHoles
3.2mm
DO NOT CONNECT
SWITCH TO GND
1 / 4
Roght Channel
11.10.2016
halvorst
TOP
Left Channel
(for simulation)
MicroFit
Pinheader
for battery
3.5mm Jack or
Phono connector
for signal in.
3.5mm Jack or
Phono connector
for signal out
(Select one)
headphone amplifier v1
"Gain"
potmeters
5V0 Input
to Switcher
Either
USB or
2.1mm
(Select one)
SHEET NAME:
DATE:
PROJECT:
SHEET:
USER:
ELAB, Dept. of Physics
UNIVERSITY OF OSLO©
LEFT_IN:TOP
LEFT_OUT:TOP
VNEG
VPOS
3
1
2
Q2
_C
Q2
BC817W
1 2
C3
10PF
1 2
C2
6P8F
6
1
5
Q1A
_E
Q1-A
FMBM5551
1
3
D4
BA
S1
6-2
15
1
3
D1B
AS
16
-21
5
1
3
D2
BA
S1
6-2
15
3
1
2
Q3
BC817W
1 2
C1
1U0F
4
3
2
Q1B
_E
Q1-B
FMBM5551
1
2
R3
1K
00
1
2
R7
10
R0
1
2
R4
4K
70
1 2R5
10K0
1
2
R9
150
R1
2
R1
0
150
R
1
3
D3
BA
S1
6-2
15
4
1
3
Q5
FZT651TA
3
1
2
Q4
BC807-40W
4
1
3
Q6
FZT751TA
1
2
R2
1K
00
1
2
R6
10
R0
1
2
R12
1K
50
1
2
R1
10
K0
1
2
R8
47R
0
1
2
R1
1
270R
1
2
R1
3
47R
0
1
2
C5
10
0U
F/1
6V
/C
1
2
C6
10
0U
F/1
6V
/C
1
2
C4
10
0U
F/1
6V
/C
2 / 4
OBS! 1206 SIZE
OBS! 1206 SIZE
11.10.2016
halvorst
LEFT CHANNEL
Resistors here only
used for simulation,
to be replaced with
potmeter on pcb.
headphone amplifier v1
VPOS_IN
VPOS_SW
VNEG_SW
VNEG_IN
VNEG_SW
SHEET NAME:
DATE:
PROJECT:
SHEET:
USER:
ELAB, Dept. of Physics
UNIVERSITY OF OSLO©
P5V0
VNEG
VPOS
3
4
13
2
14
15
16
1
17
7
6
9
10
11
12
5
8SWN
SWN
GND
VOUTN
VPP
SDA
SCL
ADDR
GND
RAMPP
RAMPN
VOUTP
CAPP
CAPP
SWP
VIN
nSHDN
VPOS_SW
P1
LTC3582-12
1
2
C13
4U
7F
/25
V
1 2
C17
10NF
1
2
C1
5
4U
7F
/25
V
A
C D11
LE
D L
IGH
TB
LU
E
1 2
C16
1U0F
1
2
C14
4U
7F
/25
V
2
6
8
7
5
4
3
1
SW1
EG2310A
1 2
C18
10NF
1 2
L2
6U8
1
2
L1
6U
8
1
2
R2
1
4K
70
A
C
D9
B0
54
0W
S
A
C
D1
0
B0
54
0W
S
Switcher circuit 5V -> +/-12V
3 / 4
11.10.2016
halvorst
POWER
Switch to select
Power Source:
TOP - Switcher
MID - Off
BOT - Direct
headphone amplifier v1
SHEET NAME:
DATE:
PROJECT:
SHEET:
USER:
ELAB, Dept. of Physics
UNIVERSITY OF OSLO©
RIGHT_IN:TOP
RIGHT_OUT:TOP
VNEG
VPOS
1 2
C7
1U0F
1 2
C9
10PF
1
3
D6
BA
S1
6-2
15
1
3
D8
BA
S1
6-2
15
3
1
2
Q8
BC817W
1 2
C8
6P8F
6
1
5
Q7-A
FMBM5551
4
1
3
Q11
FZT651TA
3
1
2
Q10
BC807-40W
4
1
3
Q12
FZT751TA
21
3
CW
RP3
100R
1
2
R1
6
1K
00
1
3
D7
BA
S1
6-2
15
1
3
D5
BA
S1
6-2
15
3
1
2
Q9
BC817W
4
3
2
Q7-B
FMBM5551
1
2
R15
1K
00
1
2
R1
4
10
K0
1
2
R1
7
4K
70
1 2R18
10K0
1
2
R1
9
10
R0
1
2
R2
0
10
R0
1
2
R22
15
0R
1
2
R2
3
15
0R
1
2
R2
4
270R
1
2
R25
1K
50
1
2
C10
10
0U
F/1
6V
/C 1
2
C1
1
10
0U
F/1
6V
/C
1
2
C1
2
10
0U
F/1
6V
/C
OBS! 1206 SIZE
OBS! 1206 SIZE
4 / 4
11.10.2016
halvorst
RIGHT CHANNEL
headphone amplifier v1