Re: Inductance modeling using table issue.
My last message didn't format very well, too early in the morning...obviously it is a sixth order polynomial, x6 means x**6 etc
By
Ian McCrum MI5AFL
·
#159420
·
|
Re: Inductance modeling using table issue.
Always good to see examples and I know know more about tables. I was idly playing with your data and whilst not really relevant to the discussion here but if you paste your data into Excel, graph it
By
Ian McCrum MI5AFL
·
#159419
·
|
Re: Conductance Negative
Can be done easily with a behavioral current source. The equation can be defined by: I = V(Vi,Vo)/R Where Vi and Vo are the voltages across the current source. Example netlist with a sweep: B1 Vi Vo I
By
btdeboi@...
·
#159418
·
|
Re: .MEAS syntax with variable parameters
Yeah. LTspice is clever about that. The parser must (silently) perform a number of iterations to determine the required evaluation precedence. I don't know whether that's generic in SPICE - I suspect
By
Tony Casey
·
#159417
·
|
Re: .MEAS syntax with variable parameters
Bingo! Thanks, Tony! I ended up with: .meas T1 TRIG V(N0)=2.25 TD=3u RISE=1 TARG V(Nx)=Vtarg TD=3u RISE=1 .meas VNx MAX V(Nx) FROM {5*Pw} TO {25*Pw} .meas Vtarg param 0.9*VNx Which returns the same as
By
Bell, Dave
·
#159416
·
|
Re: .MEAS syntax with variable parameters
Try: .meas VNx MAX V(Nx) FROM {5*Pw} TO {25*Pw} .meas Vtarg param 0.9*VNx .meas T1 TRIG V(N0)=2.25 RISE=1 TARG V(Nx)=*_Vtarg_* TD=3u RISE=1 ..instead. (You also had 2x TD=3u in the constraints, but I
By
Tony Casey
·
#159415
·
|
Re: .MEAS syntax with variable parameters
Yeah, with or without parens, it Fails. Nice feature when editing a ,MEAS (after a Run), there¡¯s a Test button that executes the measurements on the last data set. Click. Fails! Edit. Click. Data
By
Bell, Dave
·
#159414
·
|
Re: Good settings for RIAA square wave
For AC simulation use VOLTAGE-source connected with E-source with string LAPLACE=(1+T3*S)*(1+T5*S)/((1+T4*S)*(1+T6*S)*SCALE_1KHz) in Value field Place.param T3=3180uS T4=318uS T5=75uS T6=0uS
By
LV
·
#159413
·
|
Re: .MEAS syntax with variable parameters
I'm no expert in this area, but expressions within { } are evaluated before simulation, which is not what you want, of course. What if you use ordinary ( ) instead?
By
John Woodgate
·
#159412
·
|
.MEAS syntax with variable parameters
I'm frustrated by failure of a time measurement I'm trying to make. My circuit generates a pulse train with parameterized width, Pw. I want to measure a delay, from a rising edge of one node, N0, to
By
Bell, Dave
·
#159411
·
|
Re: Good settings for RIAA square wave
Carlos, Walter Jung had developed a SPICE file many years ago that uses the LAPLACE function in SPICE to define the precise time constants.? You run your RIAA circuit through his inverse RIAA
By
Jay Philippbar
·
#159410
·
|
Re: Good settings for RIAA square wave
Using a pulse or square wave ("SW" in the original message in this thread) can tell you things about the transient behavior, that a small-signal linear frequency sweep might not tell you. Andy
By
Andy I
·
#159409
·
|
Conductance Negative
Dear all, I am trying to simulate a circuit with negative conductance using transistors and passive components. Does anyone have a circuit for this? Best regards. Sebastian
By
sebastian.herrera@...
·
#159408
·
|
Re: Good settings for RIAA square wave
I would use an AC analysis. Produces a nice plot of frequency response that you can compare to the RIAA curve. That is what I did when I looked at the Carver C1 preamp stage. --
By
David Schultz
·
#159407
·
|
Re: Good settings for RIAA square wave
It doesn't seem right to use a pulse signal for an audio application. -- This email has been checked for viruses by AVG antivirus software. www.avg.com
By
John Woodgate
·
#159406
·
|
Re: Good settings for RIAA square wave
If this is for testing a preamp, it might also depend on whether the preamp has filtering for beyond-audio frequencies, including RFI. Andy
By
Andy I
·
#159405
·
|
Re: Good settings for RIAA square wave
For a 100 Hz square wave, set Tperiod = 10m.? Do you have a calculator?? 1/100 = 0.01 = 10e-3. Then set Ton = Tperiod - (Trise+Tfall)/2. That square wave would generate harmonics extending well past
By
Andy I
·
#159404
·
|
Re: Good settings for RIAA square wave
Not sure what you hope to learn from 20kHz square wave testing of an RIAA preamp, but it would depend on whether the 75¦Ìs pole is implemented passively, or in the main feedback loop. Are you testing
By
Tony Casey
·
#159403
·
|
Re: Good settings for RIAA square wave
I want to know if my Pulse settings are correct. Correct point in not using 20KHz, but something more in the listening range. Like 100Hz to 15KHz Carlos <AI.egrps+io@...> wrote:
By
Carlos E. Mart¨ªnez
·
#159402
·
|
Re: Good settings for RIAA square wave
Also, I wonder why someone would use a 20 kHz square wave, with anything related to RIAA.? Would you not be better off using a lower frequency, something within the audio band? Andy
By
Andy I
·
#159401
·
|