Electric Guitar Pickup SPICE Model (w/Sig. Gen.) - diyAudio
Go Back   Home > Forums > Design & Build > Software Tools

Software Tools SPICE, PCB CAD, speaker design and measurement software, calculators

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 13th March 2011, 08:16 AM   #1
diyAudio Member
 
pweaudiotech's Avatar
 
Join Date: Feb 2008
Default Electric Guitar Pickup SPICE Model (w/Sig. Gen.)

I have designed a simple Electric Guitar SPICE Subcircuit that includes a Signal Generator 440Hz Sine Wave Output at 100mv. The Parameter "440" is the Frequency (440Hz) and the Parameter "100M" is the Voltage (100mv) in the "+ SIN( 0 100M 440 0 0 0 )" line of the Subcircuit and these values can be modiifed to vary the Frequency and Voltage of the Output. The Windings Inductance of the Pickup is 2 Henries (L1), the Pickup DC Resistance is 10,000 Ohms (R1) and the Capacitance is 120 picofarads (C1). Since there are only two connections (+ = 1 and GND = 2) any simple 2 connection Schematic Symbol may be used.

*Electric Guitar Pickup SPICE Subcircuit
*
*Connections: + GND
.SUBCKT GUITPKUP 1 2
VG1 2 1 DC 0 AC 1 0
+ SIN( 0 100M 440 0 0 0 )
C1 3 1 120P
R1 4 2 10K
L1 3 4 2
.ENDS
  Reply With Quote
Old 13th March 2011, 11:10 AM   #2
diyAudio Member
 
pweaudiotech's Avatar
 
Join Date: Feb 2008
Here are two more advanced versions of Electric Guitar Pickup Spice with Signal Generator:

*Electric Guitar Pickup with 250kOhm Volume Control SPICE Subcircuit
*
*VG1=Sine Wave Generator (100mV P-P 440Hz)
*XP1=Volume Control (250kOhms 50 Percent Maximum)
*C1=Pickup Capacitance (120pF)
*R1=Pickup Resistance (10kOhms)
*L1=Pickup Inductance (2.5H)
*
*Connections: OUT GND
.SUBCKT PKUPWVOL 1 2
VG1 4 1 DC 0 AC 1 0
+ SIN( 0 100M 440 0 0 0 )
XP1 1 3 2 PotMeter PARAMS: Res=250K Percent=500M
C1 1 3 120P
R1 5 4 10K
L1 3 5 2.5
.ENDS

*Electric Guitar Pickup with 250kOhm Volume and Tone Controls SPICE Subcircuit
*
*VG1=Sine Wave Generator (100mV P-P 440Hz)
*XP1=Volume Control (250kOhms 50 Percent Maximum)
*XP2=Tone Control (250kOhms 50 Percent Maximum)
*C1=Pickup Capacitance (120pF)
*C2=Tone Capacitor (.05uF)
*C3=Output Capacitor (.001uF)
*R1=Pickup Resistance (10kOhms)
*L1=Pickup Inductance (3H)
*
*Connections: OUT GND
.SUBCKT EGUITAR 1 2
VG1 6 1 DC 0 AC 1 0
+ SIN( 0 100M 440 0 0 0 )
C3 3 2 1N
XP2 4 5 5 PotMeter PARAMS: Res=250K Percent=500M
C2 4 1 50N
XP1 1 5 3 PotMeter PARAMS: Res=250K Percent=500M
C1 5 1 120P
R1 7 6 10K
L1 5 7 3
.ENDS

Last edited by pweaudiotech; 13th March 2011 at 11:13 AM.
  Reply With Quote
Old 16th March 2011, 01:18 PM   #3
diyAudio Member
 
pweaudiotech's Avatar
 
Join Date: Feb 2008
These are the most recent modified and improved versions of my Original Electric Guitar with Signal Generator SPICE Subcircuits:
*
*Electric Guitar Pickup with Signal Generator SPICE Subcircuits
*
*VG1=Sine Wave Generator (100mV P-P 440Hz)
*XP1=Volume Control (250kOhms 99 Percent Maximum)
*XP2=Tone Control (250kOhms 99 Percent Maximum)
*C1=Pickup Capacitance (120pF)
*C2=Tone Capacitor (.022uF)
*R1=Pickup Resistance (10kOhms)
*L1=Pickup Inductance (2.5H)
*
*
*Connections:*** OUT
************** | GND
************** | |
.SUBCKT GUITPKUP 1 2
VG1 3 2 DC 0 AC 1 0
+ SIN( 0 100M 440 0 0 0 )
C1 1 2 120P
R1 4 3 10K
L1 1 4 2.5
.ENDS
*
*
*
*Connections:**** OUT
*************** | GND
*************** | |
.SUBCKT PKUPWVOL 1 2
VG1 4 2 DC 0 AC 1 0
+ SIN( 0 100M 440 0 0 0 )
XP1 2 3 1 PotMeter PARAMS: Res=250K Percent=990M
C1 3 2 120P
R1 5 4 10K
L1 3 5 2.5
.ENDS
*
*
*
*Connections:** OUT
************* | GND
************* | |
.SUBCKT EGUITAR 1 2
VG1 5 2 DC 0 AC 1 0
+ SIN( 0 100M 440 0 0 0 )
C2 1 2 22N
XP2 1 4 1 PotMeter PARAMS: Res=250K Percent=990M
XP1 2 4 3 PotMeter PARAMS: Res=250K Percent=990M
C1 4 2 120P
R1 6 5 10K
L1 4 6 2.5
.ENDS
  Reply With Quote
Old 19th March 2011, 09:36 AM   #4
diyAudio Member
 
pweaudiotech's Avatar
 
Join Date: Feb 2008
IMPORTANT! DISREGARD THE PREVIOUS SUBCIRCUITS AND UTILIZE ONLY THE FOLLOWING:
NOTE: CHANGING VG1 PARAMETER SET: + SIN( 0 100M 1K 0 0 0 ) INCREASES THE SIGNAL GENERATOR TO 1 kHz TO IMPROVE TONE CONTROL RESPONSE FOR SIMULATION.
*
*Electric Guitar Pickup with Signal Generator SPICE Subcircuits
*
*VG1=Sine Wave Generator (100mV P-P 440Hz)
*XP1=Volume Control (250kOhms 99 Percent Maximum)
*XP2=Tone Control (250kOhms 99 Percent Maximum)
*C1=Pickup Capacitance (120pF)
*C2=Tone Capacitor (.022uF)
*R1=Pickup Resistance (10kOhms)
*L1=Pickup Inductance (2.5H)
*
*
*Connections:*** OUT
************** | GND
************** | |
.SUBCKT GUITPKUP 1 2
VG1 3 2 DC 0 AC 1 0
+ SIN( 0 100M 440 0 0 0 )
C1 1 2 120P
R1 4 3 10K
L1 1 4 2.5
.ENDS
*
*
*
*Connections:**** OUT
*************** | GND
*************** | |
.SUBCKT PKUPWVOL 1 2
VG1 4 2 DC 0 AC 1 0
+ SIN( 0 100M 440 0 0 0 )
XP1 2 3 1 PotMeter PARAMS: Res=250K Percent=990M
C1 3 2 120P
R1 5 4 10K
L1 3 5 2.5
.ENDS
*
*
*
*Connections:** OUT
************* | GND
************* | |
.SUBCKT EGUITAR 1 2
VG1 5 1 DC 0 AC 1 0
+ SIN( 0 100M 440 0 0 0 )
XP2 3 4 4 PotMeter PARAMS: Res=250K Percent=990M
C2 4 1 22N
XP1 1 3 2 PotMeter PARAMS: Res=250K Percent=990M
C1 3 1 120P
R1 6 5 10K
L1 3 6 2.5
.ENDS
*
*
*
NOTE: CHANGING VG1 PARAMETER SET TO: + SIN( 0 100M 1K 0 0 0 ) INCREASES THE SIGNAL GENERATOR TO 1 kHz TO IMPROVE TONE CONTROL RESPONSE FOR SIMULATION.
*
*
*
*Connections:** OUT
************* | GND
************* | |
.SUBCKT EGUITAR 1 2
VG1 5 1 DC 0 AC 1 0
+ SIN( 0 100M 1K 0 0 0 )
XP2 3 4 4 PotMeter PARAMS: Res=250K Percent=990M
C2 4 1 22N
XP1 1 3 2 PotMeter PARAMS: Res=250K Percent=990M
C1 3 1 120P
R1 6 5 10K
L1 3 6 2.5
.ENDS

Last edited by pweaudiotech; 19th March 2011 at 09:46 AM.
  Reply With Quote
Old 19th March 2011, 10:53 AM   #5
diyAudio Member
 
pweaudiotech's Avatar
 
Join Date: Feb 2008
Here are the Schematic Equivalents of the 3 Electric Guitar with Signal Generator SPICE Subcircuits: GUITPKUP.CIR, PKUPWVOL.CIR and EGUITAR.CIR
NOTE: If you design same yourself and Export a NETLIST the 'Node Numbers' may vary from those shown...Node Numbering and Order is dependent upon sequential placement of components and connections to same on a Schematic. This should not adversely affect you Subcircuit (.CIR) File.

Click the image to open in full size.

*Electric Guitar Pickup with Signal Generator SPICE Subcircuits
*
*VG1=Sine Wave Generator (100mV P-P 440Hz)
*XP1=Volume Control (250kOhms 99 Percent Maximum)
*XP2=Tone Control (250kOhms 99 Percent Maximum)
*C1=Pickup Capacitance (120pF)
*C2=Tone Capacitor (.022uF)
*R1=Pickup Resistance (10kOhms)
*L1=Pickup Inductance (2.5H)
*
*
*Connections:****OUT
************** | GND
************** | |
.SUBCKT GUITPKUP 1 2
VG1 3 2 DC 0 AC 1 0
+ SIN( 0 100M 440 0 0 0 )
C1 1 2 120P
R1 4 3 10K
L1 1 4 2.5
.ENDS
*
*
*
*Connections:*****OUT
*************** | GND
*************** | |
.SUBCKT PKUPWVOL 1 2
VG1 4 2 DC 0 AC 1 0
+ SIN( 0 100M 440 0 0 0 )
XP1 2 3 1 PotMeter PARAMS: Res=250K Percent=990M
C1 3 2 120P
R1 5 4 10K
L1 3 5 2.5
.ENDS
*
*
*
*Connections:***OUT
**************| GND
**************| |
.SUBCKT EGUITAR 1 2
VG1 5 1 DC 0 AC 1 0
+ SIN( 0 100M 440 0 0 0 )
XP2 3 4 4 PotMeter PARAMS: Res=250K Percent=990M
C2 4 1 22N
XP1 1 3 2 PotMeter PARAMS: Res=250K Percent=990M
C1 3 1 120P
R1 6 5 10K
L1 3 6 2.5
.ENDS
*
*
*
NOTE: CHANGING VG1 PARAMETER SET TO: + SIN( 0 100M 1K 0 0 0 ) INCREASES THE SIGNAL GENERATOR TO 1 kHz TO IMPROVE TONE CONTROL RESPONSE FOR SIMULATION.
*
*
*
*Connections:***OUT
**************| GND
**************| |
.SUBCKT EGUITAR 1 2
VG1 5 1 DC 0 AC 1 0
+ SIN( 0 100M 1K 0 0 0 )
XP2 3 4 4 PotMeter PARAMS: Res=250K Percent=990M
C2 4 1 22N
XP1 1 3 2 PotMeter PARAMS: Res=250K Percent=990M
C1 3 1 120P
R1 6 5 10K
L1 3 6 2.5
.ENDS

Last edited by pweaudiotech; 19th March 2011 at 10:56 AM.
  Reply With Quote
Old 19th March 2011, 07:09 PM   #6
diyAudio Member
 
pweaudiotech's Avatar
 
Join Date: Feb 2008
Here are the Schematic Equivalents of the 3 Electric Guitar with Signal Generator SPICE Subcircuits: GUITPKUP.CIR, PKUPWVOL.CIR and EGUITAR.CIR
NOTE: If you design same yourself with a typical Electronics SPICE Program and Export a NETLIST the 'Node Numbers' may vary from those shown...Node Numbering and Order is dependent upon sequential placement of components and connections to same on a Schematic. This should not adversely affect your Subcircuit (.CIR) File. These Subcircuits are designed with only two connections for a 'Macro' consisting of OUT' and 'GND' to simplify 'Macro' and Schematic Symbol Design.

Click the image to open in full size.

*Electric Guitar Pickup with Signal Generator SPICE Subcircuits
*
*VG1=Sine Wave Generator (100mV P-P 440Hz)
*XP1=Volume Control (250kOhms 99 Percent Maximum)
*XP2=Tone Control (250kOhms 99 Percent Maximum)
*C1=Pickup Capacitance (120pF)
*C2=Tone Capacitor (.022uF)
*R1=Pickup Resistance (10kOhms)
*L1=Pickup Inductance (2.5H)
*
*
*Connections:****OUT
************** | GND
************** | |
.SUBCKT GUITPKUP 1 2
VG1 3 2 DC 0 AC 1 0
+ SIN( 0 100M 440 0 0 0 )
C1 1 2 120P
R1 4 3 10K
L1 1 4 2.5
.ENDS
*
*
*
*Connections:*****OUT
*************** | GND
*************** | |
.SUBCKT PKUPWVOL 1 2
VG1 4 2 DC 0 AC 1 0
+ SIN( 0 100M 440 0 0 0 )
XP1 2 3 1 PotMeter PARAMS: Res=250K Percent=990M
C1 3 2 120P
R1 5 4 10K
L1 3 5 2.5
.ENDS
*
*
*
*Connections:***OUT
**************| GND
**************| |
.SUBCKT EGUITAR 1 2
VG1 5 1 DC 0 AC 1 0
+ SIN( 0 100M 440 0 0 0 )
XP2 3 4 4 PotMeter PARAMS: Res=250K Percent=990M
C2 4 1 22N
XP1 1 3 2 PotMeter PARAMS: Res=250K Percent=990M
C1 3 1 120P
R1 6 5 10K
L1 3 6 2.5
.ENDS
*
*
*
NOTE: CHANGING VG1 PARAMETER SET TO: + SIN( 0 100M 1K 0 0 0 ) INCREASES THE SIGNAL GENERATOR TO 1 kHz TO IMPROVE TONE CONTROL RESPONSE FOR SIMULATION.
*
*
*
*Connections:***OUT
**************| GND
**************| |
.SUBCKT EGUITAR 1 2
VG1 5 1 DC 0 AC 1 0
+ SIN( 0 100M 1K 0 0 0 )
XP2 3 4 4 PotMeter PARAMS: Res=250K Percent=990M
C2 4 1 22N
XP1 1 3 2 PotMeter PARAMS: Res=250K Percent=990M
C1 3 1 120P
R1 6 5 10K
L1 3 6 2.5
.ENDS

Last edited by pweaudiotech; 19th March 2011 at 07:14 PM.
  Reply With Quote
Old 21st March 2011, 01:24 AM   #7
diyAudio Member
 
pweaudiotech's Avatar
 
Join Date: Feb 2008
These Schematic Diagram Versions of Electric Guitar Single Pickup Configurations are more accurate:

Click the image to open in full size.

The following is more accurate also and is more readily converted to SPICE Macros that can be utilized as the Potentiometers have been replaced by the simple voltage dividers as shown:

*ELECTRIC GUITAR PICKUP (WITH SIGNAL GENERATOR) SPICE LIBRARY
*by Paul William Engholm
*
*
*
*Electric Guitar Pickup SPICE Subcircuit
*
*VG1=Sine Wave Generator (100mV P-P 440Hz)
*C1=Pickup Capacitance (120pF)
*R1=Pickup Resistance (10kOhms)
*L1=Pickup Inductance (2.5H)
*
*Connections:****OUT
************** | GND
************** | |
.SUBCKT GUITPKUP 1 2
VG1 3 2 SIN(0 0.1 1K)
C1 1 2 120P
R1 4 3 10K
L1 1 4 2.5H
.ENDS
*
*
*
*Electric Guitar Pickup with 250kOhm Volume Control SPICE Subcircuit
*
*VG1=Sine Wave Generator (100mV P-P 1 kHz)
*R3-R2=250kOhms Volume Control (Voltage Divider set to 99 Percent Maximum)
*C1=Pickup Capacitance (120pF)
*R1=Pickup Resistance (10kOhms)
*L1=Pickup Inductance (2.5H)
*
*Connections:****OUT
*************** | GND
*************** | |
.SUBCKT PKUPWVOL 1 2
VG1 4 2 SIN(0 0.1 1K)
R3 1 2 247.5K
R2 3 1 2.5K
C1 3 2 120P
R1 5 4 10K
L1 3 5 2.5H
.ENDS
*
*
*
*Electric Guitar Pickup with 250kOhm Volume and Tone Controls SPICE Subcircuit
*
*VG1=Sine Wave Generator (100mV P-P 440 Hz)
*R3-R2=250kOhms Tone Control (Voltage Divider set to 99 Percent Maximum)
*R5-R4=250kOhms Volume Control (Voltage Divider set to 99 Percent Maximum)
*C1=Pickup Capacitance (120pF)
*C2=Tone Capacitor (.022uF)
*R1=Pickup Resistance (10kOhms)
*L1=Pickup Inductance (2.5H)
*
*Connections:***OUT
************* | GND
************* | |
.SUBCKT EGUITAR 1 2
VG1 6 3 SIN(0 0.1 1K)
R5 2 3 247.5K
R4 4 2 2.5K
R2 5 1 2.5K
R3 4 5 247.5K
C2 5 3 22N
C1 4 3 120P
R1 7 6 10K
L1 4 7 2.5H
.ENDS

Last edited by pweaudiotech; 21st March 2011 at 01:27 AM.
  Reply With Quote
Old 13th April 2011, 02:57 AM   #8
AUDIODH is offline AUDIODH  United States
diyAudio Member
 
AUDIODH's Avatar
 
Join Date: Apr 2011
Location: Mayberry RFD, Alabama
Why would you??? Spice can't do that well at a real simulation, it doesn't have enough variables. IMHO
-Dave
  Reply With Quote
Old 13th April 2011, 10:57 PM   #9
diyAudio Member
 
Join Date: Feb 2010
Location: in half space
Paul, which pickup are you modeling?

Dave, I agree there are variables lacking, for instance no one has yet come up with a way to model the change from an A2 magnet to an A5, but Paul's model (which is the same as Terry Down's model*) manages to model volume and tone control changes accurately enough to be useful.


*Note that Terry's model uses a transmission line for the guitar cord, which works to prove his point, but does not work for, say, modeling treble bypass circuits. A simple capacitor does the trick.
  Reply With Quote
Old 14th April 2011, 01:47 AM   #10
AUDIODH is offline AUDIODH  United States
diyAudio Member
 
AUDIODH's Avatar
 
Join Date: Apr 2011
Location: Mayberry RFD, Alabama
Default PU Model

Well, really my not understanding the point of the model is really the question - maybe I missed something before this post.
I have designed guitar amps, and Pro Audio circuits for years. The variables I'm speaking of are the things manufacturers of pickups and guitars can't even duplicate with todays manufacturing technology. (Ever wonder why say three xyz brand guitars, out of the box, each sound different?)
Additionally, in the case of amplified guitasr, variables such as load, (as you said cable capacitance), Amp/pedal input Z, electro-acoustic feedback, strings age and gauge, pole adjustment...etc. seem to make a model it pretty useless, unless it's for a class project.
I've done my share of PSpice, and other modeling programs - but still I ask - why would you model a pickup?
I'm not trying to bust chops here, just trying to understand the point...
Thanks,
Dave
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Eico Sig Gen switch senorpopeye Parts 0 27th March 2010 05:50 PM
PC as sig gen - max 2V output...best circuit to crank this up? HankMcSpank Equipment & Tools 2 15th September 2009 08:50 AM
Belco Sig Gen. Age/Info etc Mooly Parts 5 17th July 2008 06:22 AM
Sig gen for FM alignment, diy? Conrad Hoffman Parts 10 15th December 2007 11:02 PM
Electric Guitar Bukitoo Instruments and Amps 10 11th March 2004 05:33 PM


New To Site? Need Help?

All times are GMT. The time now is 01:30 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2