Post Go back to editing

SINE Wave in LTSpice

Category: Software
Product Number: LTS
Software Version: LTSpice 24.1.5

I recently downloaded LTSpice 24.1.5.

I am working on a problem that specifies an input waveform of 177 cos(377)t, where 177V is the peak voltage and 377 rad/s is the angular equivalent of 60 Hz (2*pi*60).

When I run the analysis calculating the source current for the specified load it displays a peak current of 22.3 A vs. a calculated peak value (verified in the answer sheet) of 12.11A.

I entered 60 Hz for the source description: SINE (0 177 60 0 0 0). Note that I am ignoring teh 90 degree shift between Sine and Cosine. Is my SINE statement correct, using a frequency of 60 Hz instead of 377 rad/s? 

Also, where can I find definitions of all the parameters associated with a specific function, in this case SINE?

 

Thanks,

T

One Phase Induction Motor.asc

  • HI  ,

    Shot in the dark here. My guess is that your calculations are for a Vp-p (peak to peak) of 177V, whereas LTspice defines sine via Vp (peak). In LTspice, set the amplitude to Vp of 88.5.

    The parameters are defined in Help. 

    mike

  • Thanks Mike! The amplitude is correct, 177Vp. This is the peak voltage of the household 120Vrms, 60 Hz line. The issue appears to be related to settling time, it takes about 3 s for the current to come to a steady state of ~ 12 A. My .tran setting was limited to 100ms.  I need to look at the circuit more closely to understand it. See the results below. 

  • Hi  ,

    seems like your computation in the above concern is for the steady state of the response. The simulation shows you even the start up condition.

    You can skip this condition by specifying where you would like to start saving data and it shall show you only the steady state condition.

    Here, I added a 4s skip to show only the steady state response, showing the exptected ~12A.

    Best Regards

    Earl

  • Thanks Earl - yes, I noticed that when I extended the .tran directive beyond 100 ms and, as noted, steady state begins at approximately 3-4 s. I just need to better understand the decaying offest at start-up. Thanks for the Info, Tony

  • Hi  ,

    Yes, I also noticed the decay to settle. Never ran it long enough to see full settling, but figured it would. I'm also curious about what is going on. I wonder if you would see the same on the bench top, though startup conditions are likely very different IRL.

    BTW, you can use .savestate and .loadstate to save the settled state and come back to it later.

    mike

  • Thanks, Mike, for the save and load state commands.

    I have a question about transformer modeling. I used two inductors and used the K directive to couple the inductors; however, the phase dots are not displayed. When I tried to enable them in the L1, L2 models, the 'Show Phase Dot' options are grayed out. See the screen shots of the L1, L2 model parameters and the schematic symbol, which is missing the dots on L1, L2. I can determine where the dots are located by using the measure current icon to view the direction of current measurement.

    Note that 'Show Phase Dot' is grayed out for both L1 and L2: