|
|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Tubes / Valves All about our sweet vacuum tubes :) Threads about Musical Instrument Amps of all kinds should be in the Instruments & Amps forum |
| diyAudio Sponsor | ||
|
|
||
|
|
Thread Tools | Search this Thread |
|
|
#11 | |
|
diyAudio Member
Join Date: May 2005
Location: Stittsville, Ontario, Canada
|
Valveitude :
Quote:
But there are 2 other factors that can affect the reality of distortion indicated by spice. The first is the transformer. Your transformer model is not very realistic in that it has no resistance, or capacitance, or core saturation effects. The first 2 mean frequency response will not be correct, and the second means distortion will not be correct. There are several ways to model the resistance and capacitance, but I do not know how to model the core saturation effects, but I believe there are ways. But of course you can still use your model to compare changes in the tube circuitry. The second thing to look out for with respect to harmonics with spice is the minimum time step used when you run the transient analysis. I only mention this since you state this is your first time spiceing something. You may already know this. But to prove it to yourself enter a spice circuit consisting of a sine wave voltage source at say 1000 Hz, and a resistor load. Put in a Four statement. Run the simulation and you will find that although you should in reality get 0 distortion, since it is pure sine wave source, LTSpice gives you lots of distortion unless the maximum time step specified is small enough. What I do is take the period of the source and divide by 16384 for accurate runs, and by 2048 for quicker runs. So that I dont have to recalculate stuff every time I change frequencies, I use the following set of parameters in and include file : ;**** declarations for transient analysis ; param Freq is declared on the main schematic .param Period = 1 / {Freq} .param Period2 = 2 / {Freq} ; 2 periods .param Period3 = 3 / {Freq} ; 3 periods .param Period4 = 4 / {Freq} ; 4 periods .param HPoints = 16384 ; power of 2 for most accurate fourier analysis .param HTmax = 1/ ( {Freq} * {HPoints} ) ; maximum time step for best fourier analysis .param Points = 2048 ; number of points per period for other runs .param Tmax = 1/( {Freq} * {Points} ) ; maximum time step for other runs .param HalfP = 0.5 / {Freq} ; half a period, for square waves .param Trise = 1 / ( {Freq} * 1000 ) ; rise time for square waves, also fall time I then use the parameters in my circuit rather than numbers.
__________________
Robert McLean |
|
|
|
|
|
#12 | ||
|
diyAudio Member
Join Date: Apr 2005
Location: Naches,WA
|
Quote:
Quote:
Does the input capacitance effect more than the frequency response ? P.S. I can sleep easier Sy knowing your extreme makeover has seemed to be a success. Your old avatar was giving me the willie's ( I suppose that was the point
__________________
Experience is a wonderful thing. It enables you to recognize a mistake when you make it again. |
||
|
|
|
|
#13 | ||||||
|
diyAudio Member
Join Date: Apr 2005
Location: Naches,WA
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Casey
__________________
Experience is a wonderful thing. It enables you to recognize a mistake when you make it again. |
||||||
|
|
|
|
#14 | |||
|
diyAudio Member
Join Date: Apr 2005
Location: Naches,WA
|
Quote:
Quote:
Quote:
Casey
__________________
Experience is a wonderful thing. It enables you to recognize a mistake when you make it again. |
|||
|
|
|
|
#15 |
|
diyAudio Moderator
|
The RC time constant you need to look at is the source impedance of the circuit driving the Spud with the Spud's input capacitance. Then verify that the source has the capability to source enough current to drive that capacitance to whatever is the required voltage at the highest desired frequency.
Dirch Passer will only be grinning at you until I find an even ookier avatar. The search continues...
__________________
“Listening to records is like ****ing a picture of Brigitte Bardot.” - Sergiu Celibidache |
|
|
|
|
#16 | ||
|
diyAudio Member
Join Date: Apr 2005
Location: Naches,WA
|
Quote:
Quote:
__________________
Experience is a wonderful thing. It enables you to recognize a mistake when you make it again. |
||
|
|
|
|
#17 | |
|
diyAudio Member
Join Date: Apr 2005
Location: Naches,WA
|
Quote:
__________________
Experience is a wonderful thing. It enables you to recognize a mistake when you make it again. |
|
|
|
|
|
#18 |
|
diyAudio Member
Join Date: May 2005
Location: Stittsville, Ontario, Canada
|
Valvitude :
quote: There are several ways to model the resistance and capacitance Which method would you suggest ? I use the following type of model. It can be expanded to do push pull, and ultralinear, and multiple outputs. .SUBCKT 5KSE P1 P2 Sp1 Sp2 * Single ended audio transformer * 5k to 8 ohm, 10 to 40KHz * LP1 1 P2 40.26021568H ; PRIMARY LSA 2 Sp2 0.064416345H ; SPEAKER SECONDARY KALL LP1 LSA 0.999499875 ; RP1 P1 1 56 RS Sp1 2 .1 .ENDS Basically you can set the 3 dB points by varying the coupling factor. So if the 3db points are specified, you can calculate the required coupling factor. I have the eqautions somewhere, but I am having trouble finding them. Basically they are the equations for broadband transformer coupling. I have a spread sheet I use for the calculations. Now the model is not totally realistic, but at least it gives an upper and lower frequency roll off. I have tried other models based on a leakage inductance combined with a transformer with K =1, but I found these gave trouble in some circuits for some reason. quote: So that I dont have to recalculate stuff every time I change frequencies, I use the following set of parameters in and include file : Egg-suh-lent!!! I WILL play with that. How do you toggle between fast/accurate ? In the transient dialog box I just enter the parameter names rather than values ie for the full accuracy run for Stop Time enter {Period2} for Start Time enter {Period} for Maximum Timestep enter {hTMax} I start at {Period} rather than 0 to give the circuit time to settle down a bit. for a quick check I do Stop Time {Period} Start Time 0 Maximum Timestep {TMax} and of course on the schematic I have the statements .inc MyLibs.inc (which contains those equations, and other stuff ) .param Freq = 1k (or whatever I want ) and in my voltage source and Four statement I put {Freq} wherever a frequency is called for.
__________________
Robert McLean |
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| open circuit ? in patch cord | Moondog55 | Parts | 4 | 1st December 2007 11:36 PM |
| How to patch a torn speaker? | syntrax | Multi-Way | 3 | 1st December 2006 08:49 PM |
| Cone Patch/Repair? | Aesthetikz | Multi-Way | 5 | 18th September 2006 01:42 PM |
| lol the patch.exe from micorsoft | karma | Everything Else | 1 | 2nd October 2003 05:46 PM |
| New To Site? | Need Help? |
| Page generated in 0.17937 seconds (63.06% PHP - 36.94% MySQL) with 11 queries |