Search This Blog

Saturday, September 25, 2010


Worked on SPICE simulation today/tonight. I found a symbol and simulation model for a log potentiometer (audio taper) online, and attempted to teach myself to implement it in LTSPICE.

Why?

Well, the project I'm putting together uses log-taper pots, as do many audio-related electronic devices. They do so because the human ear hears changes in sound levels as a logarithmic function of voltage.

Because this is an electronic project for a college level course, I figure I may try to do some college level work. Hence the simulation.

LTSPICE was not taking my ".inc" SPICE directive and pointing to the model, so I copied the .SUBCKT (sub circuit) model data into a new file of its own and pointed the schematic symbol to that data instead. It worked!

I have a 100k-ohm audio taper stepped attenuator that I measured for a reference of resistance values. The model is practical enough for simulation use.

For use as a volume control, the simulation model does not give any valuable data, however, used with equalizer circuits, which this project contains, it would be interesting to plot values of the frequency changes as a result of resistance change.

LTSPICE has a function that allows a parameter of a device to be tested at varying values. I have drawn up a simple voltage-divider network using a logarithmic potentiometer model and ploted the DC voltage levels as a function of rotation. Note that I haven't figured out how to define a time step sequence of value change events. All the DC values are displayed on the same graph, but you can see that the levels are indeed plotted in a non-linear pattern. Had a linear pot been used, the DC voltage variations between one another would have been exactly the same.






Here's the model data for the log pot that I found. Credit shown to the originator.

* A Collection of Potentiometers
* ==============================
* Helmut Sennewald,                          12/23/2003         V1.1
*
*       pot_plog         exp(k*(1-x))
*
*       1 ____    1.0=wiper  
*             | 
*            | |  3
*            | |<---- wiper 0..1
*            | |
*       Rtap | |  Tap
*            | |
*       2 ____|   0.0=wiper
*
*
*     RTOT = total resistance
*     WIPER = ratio of travel of the wiper
*     RTAP = reference resistance at wiper=Tap
*            It is needed only for pot_plog, pot_nlog and pot_pow.
*            RTAP is measured between pin-2 and wiper.
*     TAP = ratio of travel when Rtap is reached


*---------- The Ideal Positive Logarithm Potentiometer --------------
*
* 1.0 <----- 0.0
*        |3
*      __V__
*  1--|_____|--2
*       
*  o--R1-o-R2--o
*
*  RTAP is resistance at travel TAP
*  Example: Rtot=10k, R=1 @ 0.001 
*           RTAP=1, TAP=0.001
*  RTAP and TAP define a point of the curve resistance versus ratio.
*
.SUBCKT pot_plog 1 2 3
* Parameters: Rtot, wiper, Rtap, tap
.param w=limit(0.01m,wiper,0.99999)
*
.param pwrexp=ln(Rtap/Rtot)/(1-tap)
.param ratio=exp(pwrexp*(1-w))
*
R1 1 3 {Rtot*(1-ratio)}
R2 3 2 {Rtot*(ratio)}
.ENDS


3:30-5:30; 11:00-1:30 (4.5HRS)

Monday, September 20, 2010

Worked on PCB layout for solid-state preamp stage. Need to make PCB:
- Print traces-only 1:1 layout on 2 laser printer transparency sheets
- Make 2-layer overlay of PCB pattern for pre-sensitized PCB material
- Expose PCB to UV light
- Develop PCB
- Cut to size, drill, clean
- Tin-plate PCB




10PM-12:30AM (2.5HRS)

Friday, September 17, 2010


Spent time today collecting data, simulation models & subcircuit data for LTSpice circuit simulation. A filled in form sent to Fairchild Semiconductors gave me a free spice model for a J201 JFET.

I also found some work I had done, modeling the behavior of an audio logarithmic potentiometer. For a 10K resistor, I had measured the resistance between the wiper and one outer lead, dependent on the rotational value. So, to put it in other terms, I found the resistance when the knob was turned all the way down, in the middle, all the way up, and points inbetween.

I spent some time with Mathematica, playing around with fitting functions, and eventually came up with a formula that fit pretty nicely into the plotted resistance points for the 10k resistor I had.











It should be noted that manufacturers don't seem to have a standard for printing the carbon trace that makes up the logarithmic nature of the "audio"-log pots, and I measured several potentiometers that displayed varying resistances for a particular rotation.

I did happen to come across (online) several simulation-ready models that can be used in LTSpice, and which I intend on finding out exactly how they work.

8:30PM - 12:30AM (4HRS)

Thursday, September 9, 2010

+ Not much work done tonight:
   - Cleaned up workbench (aluminum cuttings, dust, etc)
   - Researched transformer placement, wire placement
+ Next steps:
   - Draw up a full working schematic
   - Build a parts list: see what I have, find out what I don't


(0.75HRS)

Wednesday, September 8, 2010


+ Found other possible speakers to use for project:
   - 1960's Calrad Alnico 12" speakers: I remember finding these
     for around $20 in a Salinas, CA (or about there) antique store



    


+ Reworked chassis for new application
   - Removed front hinged door and hardware
   - Cut off unnecessary threaded posts
   - Ground off spot welds and removed interior 

     braces/metal. Ground down residual metal posts.

        

+ Things to do (chassis)
   - Mount previously used front panel to "new" back of chassis
      + Clamp plate to chassis
      + Mark plate, through threaded holes in chassis
      + Drill holes in plate (size of screw to be used?)
      + Mount front panel plate to chassis with screws
   - Prepare amplifier control panel
      + Control panel will lay flat on the longer,
         narrow sides of the chassis (side with holes)
      + Dry-fit control panel
      + Determine spacer needed to lay flush with chassis
      + Determine where/how control panel will attach to chassis
      + Determine how many controls (knobs/switches) needed
         - Draw up plan in CadStd
         - Verify/double check
      + Drill holes for controls
   - Prepare chassis for transformers
   - Determine locations for circuit components; tubes, etc.
   - Determine how chassis will be installed into cabinet

(2HRS)

Tuesday, September 7, 2010

Today I put together this blog. I spent several hours setting up the posts from my written logbook. I had to find the links for the appropriate websites, convert and upload images of the various schematics, data sheets, and SPICE models. Google made it very easy, having the same web space to store all the data. Way to go, Google!

Took some time to learn a tiny bit of HTML code. It helped.

I also found a possible appropriate chassis for this amp. It used to be a 4 space rack unit chassis, with a front panel that swings out. I plan on taking off the front panel, sticking it on the back, which has numerous openings, from previous use. Recycle & reuse! I have to thank my friend Ken for the chassis. He'll be proud it's becoming a home to a DIY tube amp. Hopefully I can post pics tomorrow of the metal shredding. Done for tonight...

(2.5HRS)

Monday, September 6, 2010


+ SORT THROUGH APPROPRIATE POWER TRANSFORMERS
+ TEST 2 POSSIBLE TRANSFORMERS:

   - FENDER TYPE - VOLTAGE (UNLOADED)
      + RED-RED: 345VAC        HV B+
      + BRN-BRN: 41.7VAC        BIAS
      + GRN-GRN: 7.25VAC        HEATER

   - FISHER (ORIGINAL) - VOLTAGE (UNLOADED)
      + RED-RED/YEL: 178VAC        HV B+
      + BRN-OR: 25.2VAC        BIAS
      + BLU-WHT: 7.0VAC        HEATER
      + GRN-YEL: 7.1VAC        HEATER (ACC - SMALLER GAUGE)

      + * FISHER PWR USES VOLTAGE DOUBLER TO ACHIEVE
         430VDC B+; ALSO VERY HEAVY, AS IT WAS DESIGNED
         FOR MORE TUBES/CURRENT

   - CONSIDER STANDBY SWITCH LOCATED AT OUTPUT TUBES CATHODES
      + SEE TUT1, P 6-58

   - RE: REVERB CIRCUIT ADD-ON, CONSIDER ADDITIONAL
      HEATER CURRENT REQUIREMENTS
      + SEE TUT1, P 8-23 FOR POSSIBLE SOLID STATE VERSION
      + 2N5485 N-CH JFET, MTP2N45 (OBSOLETE) N-CH PWR MOSFET

      + 10K:2 OHM TRANSFORMER - POSSIBLY USE HAMMOND
         125E UNIVERSAL O/P XFMR
      + IMPEDANCE MATCH NEGLIGIBLE: USE 9AB3C1B
         ACCUTRONICS TANK: LONG REVERB, 6 SPRINGS, LONG DECAY

      + ANOTHER THOUGHT - ADD ON AN ADDITIONAL
         TRANSFORMER FOR EXTRA TUBE AND ADDITIONAL
         SOLID STATE (RELAY) SWITCHING
 
+ NEED TO LOOK FOR POSSIBLE CHASSIS


(2.5HRS)

Saturday, September 4, 2010


+ FIND SPICE MODELS FOR PREAMP AND POWER TUBES
   - 12AX7 1, 2; 12AT7 1, 2; 7591
   - INSTALL LINEAR TECHNOLOGY'S "LT SPICE" ONTO LINUX MACHINE,
     USING WINE
   - USE ".inc" SPICE INCLUDE DIRECTIVE AND POINT TO FILE
     OF MODEL.LIB FILE
   - QUICK TEST OF MODELS TO PASS SINE WAV - TESTS OK
+ RESEARCH POSSIBILITY OF USING SOLID STATE
   (OPAMP) DRIVER FOR REVERB SECTION
   - POSSIBLE BENEFITS:
      + QUIETER: LESS SUSCEPTIBLE TO NOISE
      + CLEANER (LESS OVERDRIVEN) SIGNAL TO REVERB
      + 2 FEWER TUBES, 1 LESS TRANSFORMER
      + BAD DRIVER/RECEIVER TUBE WILL NOT BE THERE TO CAUSE
         PROBLEMS, IF THEY MALFUNCTION
      + WIDER RANGE OF REVERB TANKS AVAILABLE TO USE
   - POSSIBLE DRAWBACKS:
      + LOSE "ORIGINAL" DESIGN "SOUND"
      + MORE COMPONENTS
      + MORE TIME TO BUILD - PCB OR PERFOBOARD
         OPPOSED TO POINT-TO-POINT
    

(2HRS)

Friday, September 3, 2010

+ EDIT FISHER 500-C SCHEMATIC:
    - DETERMINE PARTS TO BE USED
    - REDRAW OUTPUT SECTION
    - EDIT POWER SUPPLY
+ EDIT FENDER AB763 SCHEMATIC:
    - DETERMINE SECTION TO BE USED
    - REDRAW PREAMP SECTION (WITH REVERB, POSSIBLY)
    - NOTE POWER SUPPLY NOTATIONS
+ RESEARCH PHASE INVERTER TYPES:
    - DETERMINED 500-C TO HAVE CATHODYNE PHASE INVERTER
        + AKA SPLIT-LOAD
        + AKA CONCERTINA: OUTPUT LOOKS LIKE A CONCERTINA BELLOWS
    - CONSIDER MODIFYING CIRCUIT FOR "PLEASANT" OVERDRIVE OR
        + CHANGING TO AC-COUPLED LONG TAIL PAIR (FENDER TYPE)
    - PROJECT NOTES: EXPLAIN WHY PHASE INVERTER IS NEEDED
   
+ CHANGE GRID LEAK RESISTOR FROM 330K -> 220K
    - HIGHER THAN TUBE SPEC TO START OFF WITH
+ DECISION MADE TO USE FENDER LTP PH. INV.
    * WHAT ABOUT FEEDBACK LOOP COMPONENT VALUES???
    * 2.2K || 1000pF


(3HRS)

Thursday, September 2, 2010

+ RESEARCH SCHEMATIC OF FISHER 500-C TUBE INTEGRATED AMPLIFIER
+ RESEARCH VARIOUS SCHEMATICS OF FENDER TUBE GUITAR AMPS
+ DETERMINE CIRCUIT TO BE USED:
   - DELUXE REVERB (BLACKFACE)
   - CKT # AB763
+ RESEARCH CABINET TYPES
   - DETERMINED SOLID PINE TO BE USED FOR SIDES, TOP AND BOTTOM
+ CONSIDER METALWORK REQUIREMENTS (CHASSIS)
   - STANDALONE CHASSIS
   - IN-CABINET CHASSIS


(2HRS)

Wednesday, September 1, 2010

Overview:

This project/web page is intended to be an online source
of documentation for an electronics course project.
The project being built is a guitar amplifier.
The design specifications of the amplifier follow.

+ "Combo" type amplifier
+ Vacuum tube output stage
   - 12AT7 Phase Inverter (DATA P1, P2, P3, P4)
   - 7591 output tubes (DATA P1, P2, P3, P4, P5)
   - Fisher 500-C output transformer
+ Solid state power supply
   - Unknown mfr recycled power transformer
   - Full wave bridge rectifier B+
   - Adjustable bias negative voltage supply
+ User selectable hybrid input stage:
   - Front panel switch - internal relay
   - 2 channel input:
      + Fender type tube preamp stage
         - 12AX7 gain stage (DATA P1, P2, P3, P4, P5)
         - Vol, Bass, Mid, Tre eq, Bright switch
      + Vox-style solid state preamp stage
         - Solid state
         - Modeled using JFETs after VOX Top Boost circuit
         - Gain, Vol, Bass, Tre
+ Transducers:
   - 2 vintage 12" Pyle brand speakers
     originally from Califone speaker boxes