This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TINA/Spice: Piece wise program for the attached waveform

Other Parts Discussed in Thread: TINA-TI

Tool/software: TINA-TI or Spice Models

Hi,

I need a voltage generator source as per the below figure. How to program this requirement in piece wise linear.

Can anyone please help me to write program.

Thanks and regards,

T.Kishore

  • HI Kishore,

    I am assuming this is a spice specific question since you are posting in this forum. You should be able to do this on your own in TINA-TI (free simulator from TI). When you place a voltage source, you should see an option to specify time-voltage pairs (which is essentially PWL source).

    If you are new to TINA-TI, I would recommend that you go through the short video training series listed below. This should help you out in the long run and save you some time as well.
  • Hai
    Thanks for your reply, I tried to write program in PWL but waveform is not looks like expected one. Below is the written program,
    If there is any modification required in program
    0m 0
    10m 1400
    20m 1250
    30m 1385
    40m 1400

    Is there any manual with instructions for writing program kindly suggest me
  • This will not work since it is a Piecewise Linear Source. So you are joining (0,0) and (10m,1400) with a straight line.

    What you need is something like this:

    0m 0
    9.99m 0
    10m 1400
    ....
    ....

    This means that from 0m to 9.99m, voltage will remain at 0, then from 9.99m to 10m, voltage will rise to 1400V.
    Pick the 9.99m value based on the rise time that you want for your signal.