Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- LTspice
- Messages
Search
Re: I need 74ls193 for LTSpice
Hi
The similation file of 74HC193 is bellow site. ---------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------- I think it is a excellent file and it works correctly in LTspice. Shiggy 2013/4/14 ltspice_ajax <ltspice_ajax@...> ** [Non-text portions of this message have been removed] |
Re: Step a resistor over time
Hi Ron,
toggle quoted message
Show quoted text
Thanks for sharing the inline table approach - very useful too! But I can't seem to see what differentiates the step version from the slope version. Can you elaborate please? Thanks, Mike --- In LTspice@..., Ron Liff <ron_liff@...> wrote:
|
Re: inverting opamp simulation: rapid component variation
You would expect one peak to be quite a different from the other, because it is basically nonlinear. Consider a step input going from low resistance to high; the loop gain will be high and the bandwidth low. Step change in the opposite direction is to a higher bandwidth regime with low feedback resistance and low loop gain. So, rise and fall times could be quite different (so long as neither test exceeds the op-amp slew rate).
toggle quoted message
Show quoted text
Thus, when driven with a sine, depending on the dR/dt, the waveform COULD be quite different at the positive and negative peaks. Jim Wagner Oregon Research Electronics On Apr 14, 2013, at 7:33 PM, Andy wrote:
MOHAMMAD A MAKTOOMI <amaktoomamu@...> wrote:Andy, how could you guess so quickly that waveform was missing some< ()? |
Re: inverting opamp simulation: rapid component variation
MOHAMMAD A MAKTOOMI <amaktoomamu@...> wrote:
Andy, how could you guess so quickly that waveform was missing some< ()? I ask this because this will help me start thinking the way an experiencedWhen I looked at the waveforms, I noticed that the positive peaks of the 1 MHz output were irregular, even when zoomed in. It looked to me as if it suffered from aliasing, being sampled but not with a high enough sampling rate. That led me to check for the plotwinsize=0 option, and then to add the max timestep parameter. Andy |
Re: All_Files.Htm
--- In LTspice@..., Andy <Andrew.Ingraham@...> wrote:
Andy,Yes, I did have the problem a few weeks ago, and at that time, I think,The problem never went away for me. I have the same problem. I have no idea what the problem is, but I can live with it, because I don't need to use the file very often. I agree it is a Yahoo problem. Rick |
Re: inverting opamp simulation: rapid component variation
MOHAMMAD A MAKTOOMI <amaktoomamu@...> wrote:
Thank you, Andy for your hints.Yes indeed, and I think that is why you must do this as a .TRAN analysis. .AC analysis just doesn't work for your case. Then .STEP the frequency. With your 741 op-amp model, you do have an interesting situation because of the severe distortion at higher frequencies (which by the way only a .TRAN analysis would show, if there was a way to do this as a .AC analysis). Given that, you need to consider what parameter of output amplitude you measure: peak-to-peak vs. RMS vs. fundamental amplitude? Andy |
Re: All_Files.Htm
Yes, I did have the problem a few weeks ago, and at that time, I think,The problem never went away for me. Until a month or so ago, when you clicked on it, it did open directly (at least in most web browsers). Then that suddenly stopped working, and hasn't worked since. All it lets me do is download it. This is true in either Chrome or IE. Once downloaded, I can open it in the same web browser with no problem. It is a pain in the neck having to download it every time (or to fine the copy I downloaded last week), but it does work. If the problem went away for you, I wonder what you did to make it work. And I wonder why Helmut never sees this problem. The last time around that this was discussed (a few weeks ago?), it seems everyone had the same problem, except for Helmut. Odd. Whatever this is, I think it is some sort of Yahoo!groups problem. Something about how they serve up the file to you, makes your web browser think it needs to save it instead of open it. Andy |
Re: inverting opamp simulation: rapid component variation
Helmut, is it possible to represent the information available from transient analysis of () in frequency domain? I mean, just as one can perform a transient of an RC circuit to see its charging-discharging profile and and AC analysis to see a first order low pass behavior, can the problem in thread have these two views?
toggle quoted message
Show quoted text
Andy, how could you guess so quickly that waveform was missing some peaks and the step-size be reduced in the setup ()? I ask this because this will help me start thinking the way an experienced user thinks. --- In LTspice@..., "Helmut" <helmutsennewald@...> wrote:
|
Re: Step a resistor over time
Hi Richard,
? Aside from the form Helmut gave you, you can set any resistor to as many changes as you need. The format, which is entered in the resistance window in place of a single value is : ??? ???? R=table(time,0,res1,time1a,res1,time1b,res2.....,last res) ? Example : R=table(time,0,10K,3m,10K,3.00001m,100K,6m,100K,6.00001m,1) ? This starts with the resistance value at 10K until 3mS after start, then steps to 100K until 6mS and then to 1 ohm for the rest of the run. The run duration sets the max time end point. Careful to place comma's between each entry, and no spaces. ? If you want a slope change instead of a step, for example a changing value of 100 ohms to 10 ohms over a 10mS time and back to 100 ohms over the next 10mS,?the form would be: ? ???? R=table(time,0,100,10m,10,20m,100) ? Lastly, always check your entries for pairs. There must be a time/value pair for each entry. This listing approach is invaluable for all sorts of applications which require either a slope or step change such as load testing etc. ? - Cordially - RC ? ________________________________ From: Richard Norman <rnorman3@...> To: "ltspice@..." <ltspice@...> Sent: Sunday, April 14, 2013 2:30 AM Subject: [LTspice] Step a resistor over time ? Hi All, is it possible to step a resistor over time? Right now if I use the step command like this: .step param R 100 1000 100 .tran 0 1ms 0 1 I end up with a bunch of parallel horizontal lines. What I want is a bunch of points (maybe even connected) over time. So in other words, over the 1ms, I want the resistance to step from 100 to 1000. Is it possible? Thanks! Richard [Non-text portions of this message have been removed] [Non-text portions of this message have been removed] |
Re: THD of a sine with a small dent at crossover
Hello Mark,
You could use my uploaded THD simulation. The results from .FOUR agree with my formula. Give it a try. Best regards,THD = 100%*2*pi*sqrt(1/3*(D/T)^3) Helmut --- In LTspice@..., "Echidna" <mchambin@...> wrote:
|
Re: THD of a sine with a small dent at crossover
Thanks a lot, you found where I was wrong.
toggle quoted message
Show quoted text
Indeed, I was tricked by the .FOUR function default calculation on 9 harmonics only. I tried with 99 harmonics and got a much different result. The calculated THD is very sensitive to the number of harmonics With D = 10 us ; T = 1ms 9 harmonics THD = 0.25% 49 harmonics THD = 0.56% 99 harmonics THD = 0.66% 199 harmonics THD = 0.69% 999 harmonics THD = 0.71% I had done your calculation and did find THD proportional to (D/T)^1.5 Then, to check it, I used LTspice simulations giving me wrong results. Then got confused. I am confident the (D/T)^1.5 is right. However I am unable to check it with LTspice simulations. It is so sensitive about the number of harmonics, I am not sure these simulation results make sense. Best regards, Marc. --- In LTspice@..., "qrx3" <fredh@...> wrote:
|
Re: High-power Infrared LED model desired
--- In LTspice@..., John Woodgate <jmw@...> wrote:
John, Get over it. Of course, it is silly to specify any parameters to 10 digits, but so what? I'm sure Ikf varies by +/-25%, but so what? Rick |
Re: High-power Infrared LED model desired
John Woodgate
In message <kkf6tn+ghqn@...>, dated Sun, 14 Apr 2013, Helmut
<helmutsennewald@...> writes: Most models from other vendors don't have Ikf at all. So the modelsIt isn't how good the models are that is bugging me; it's the unreality of giving the parameters to so many significant figures. I suspect that if tolerances were added we would see: IKF = 392.8188163 +/-1%, so that only a value of 393 is justified, given a range of 388.9 to 396.7. But even if the tolerance is 0.1%, the same argument applies; to state 10 figures is meaningless. But it's hardly a matter of outstanding global importance. -- OOO - Own Opinions Only. See www.jmwa.demon.co.uk They took me to a specialist burns unit - and made me learn 'To a haggis'. John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK |
Re: High-power Infrared LED model desired
Hello John,
toggle quoted message
Show quoted text
Most models from other vendors don't have Ikf at all. So the models from OSRAM are at least as good as the models from other vendors. I recommend to use the OSRAM models. Best regards, Helmut --- In LTspice@..., John Woodgate <jmw@...> wrote:
|
Re: THD of a sine with a small dent at crossover
Greetings,
toggle quoted message
Show quoted text
If we make some assumptions then the math becomes easy enough that even I can do it. First, imagine that you are taking a pure sinewave and subtracting a small signal from it to create the waveform you want. The pure sinewave has no distortion, while the small signal looks roughly like a tiny triangle starting at 0V and reaching some maximum voltage before dropping back to 0V, symmetrically at each zero crossing. That maximum voltage is sine(2 pi D / T), for small values of D/T this is about linear. If we assume that your 'dent' is small enough that it does not appreciably affect the energy at the fundamental frequency (i.e. the distortion is 'small'), then the total distortion is roughly the ratio of the RMS value of small pulse divided by the RMS voltage of the fundamental. It's simple to show that the RMS value of a triangular pulse is proportional to (D/T)^1.5 as Helmut stated in the other thread, so that should be what you observe in THD also. The reason this disagrees with what you found has to do with the way THD is calculated by the .FOUR function. Notice that the error log shows Fourier components up to 9th order, or 9kHz in your example. Note also that the magnitude of the distortion components is the SAME for each one (since your signal is symmetric there will only be odd components, ignore the even ones as they are noise), it has not started to drop off by the 9th. The calculated THD is based on only those four frequencies, it should be easy to imagine that if you calculated more components the THD would keep going up. How many do you need? To get an idea, look at the width of your distortion pulse, 10us in your example. It's a good bet that the 'missing' pulse has components up to at least 100kHz. So you may need to go past the 99th harmonic to get anything accurate. Or, remove the fundamental and measure the RMS of what remains, much easier. Once this is understood it's easy to see why your observation came out too low (not enough coefficients included in the measurement) and also why the observed exponent is too high (as D increases the number of important coefficients will be reduced, so the THD will not increase as fast as you observed, exponent of 1.5 instead of 2). HTH, Fred --- In LTspice@..., "Helmut" <helmutsennewald@...> wrote:
|
Re: High-power Infrared LED model desired
John Woodgate
In message <kkf3is+3juc@...>, dated Sun, 14 Apr 2013, Helmut <helmutsennewald@...> writes:
N= 1.570213683Not Helmut's responsibility, but isn't it disquieting that these are given to 10 significant figures? Doesn't inspire confidence. Can we sue if IKF turns out to be 392.8188162?(;-) -- OOO - Own Opinions Only. See www.jmwa.demon.co.uk Things to do today: Cut a hole in reality and push a turnip through. John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK |
Re: High-power Infrared LED model desired
--- In LTspice@..., "nedkonz" <ned@...> wrote:
Hello, The model for the OSRAM SFH4248 is in the file OSRAM-IR-POWERTOPLED.lib .MODEL SFH4248 D + IS= 1.50099E-15 + N= 1.570213683 + RS= 0.762136823 + IKF= 392.8188163 + IBV = 0.00000001 + NBV = 1 + IBVL = 0.000000001 + NBVL = 180 + BV = 24 + CJO = 1.46E-11 + VJ = 0.56 + M = 0.055 + FC = 0.4 + TT = 0.000000008 + EG = 1.3 Best regards, Helmut |
High-power Infrared LED model desired
Hi folks,
I'm trying to model an infrared remote control transmitter circuit that I'm designing and haven't had much luck finding a SPICE model for the higher-power IR LEDs like I'm using. In this case, I have the OSRAM SFH4248 940nM emitter, and their site doesn't have any models for their IR LEDs. I've also looked in the files area here without any luck. Could anyone point me to a model for this diode? Thanks! |
Re: All_Files.Htm
John Woodgate
In message <759B589F6950452C8C99FA8446748D7E@Maison3>, dated Sun, 14 Apr 2013, basier. philippe <basier.philippe@...> writes:
But you wrote that you have had the same problemYes, I did have the problem a few weeks ago, and at that time, I think, everyone (more or less) did. The problem went away after a week or two, with no explanation, as far as I know. -- OOO - Own Opinions Only. See www.jmwa.demon.co.uk They took me to a specialist burns unit - and made me learn 'To a haggis'. John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK |
to navigate to use esc to dismiss