# How can I step this voltage source in “transient analysis” in LTspice?

I try to step a DC voltage source in transient analysis in LTspice. Below there are five almost identical biased transistor circuits and plots for 1 sec duration. The only difference is that their DC bias is is increased from 500mV to 900mV with 100mV increments. So this DC bias is the DC voltage source in the question(V1, V2, V3, V4, V5). I know that such step is possible in DC analysis.

(left-click to zoom)

As you see above, to obtain those plots I had to create five circuits.

Is it possible to obtain the same plots above by using only one circuit and writing a SPICE command in LTspice?

• right click on voltage source ... advanced ... PWL – jsotola Apr 6 '18 at 18:26
• Add a .step command in the schematic. – HKOB Apr 6 '18 at 18:30
• @jsotola Imagine you had 100 iterations that would take the same effort as copying circuits. PWL only good if the increments are not same. I guess for my question .step method easier. I think my mistake was not to do .tran and use curly braces. – cm64 Apr 6 '18 at 18:54
• you can cut a table from excel into a text file .... then use PWL file=myData.txt – jsotola Apr 6 '18 at 20:07
• If .tran {t} is your total simulation time, besides a simple PWL that was already suggested and answered, you can add a PULSE 500m 900m 0 {t}. – a concerned citizen Apr 7 '18 at 6:54