How does a pulse train work in PSpice?

How does a pulse train work in PSpice?

A voltage pulse or pulse train can be applied as an independent source in PSPICE using VEXP. The VEXP voltage source generates a waveform as shown in figure 5, where TC1 and TC2 are the time constants of the rising and falling exponentials, respectively.

What are the parameters of a PSPICE circuit?

The PSPICE schematic for this circuit is shown in figure 3. Figure 3. PSPICE Schematic Note that the pulse parameters are set to be: TD = 0 (no delay, start the pulse train at t = 0) TR = TF = 1n (10-9 makes the rise and fall times almost zero) V1 = 0 (pulse starts at zero) V2 = 1 (rises to one volt) PW = 1 (pulse width is 1 second)

How to step the duty cycle of a pulse souce?

Both parameters must have the same amount of steps to step simultaneously. In this case, the duty cycle is being stepped from 10% to 60%. A .define statement needs to be added to define the cycle parameter.

Is there way to sweep duty cycle over time In LTspice?

I can sweep the frequency in time by using modulate, but I couldn’t find any example on creating a varying duty cycle or a duty cycle is swept from zero to 100% at a given frequency f in a time interval. Is there a way/workaround to sweep duty cycle over time in LTspice? I have the following timer circuit which can do that.

Why does PSpice run for long Sim times?

Regarding the spikes. When you have a pulse source with 1us rise and this will cause long sim times when you run for 3s). Other option is the step size also, this will speed up your simulation. What type of diode do you use? Try another one (for example a 1n4148) and see what happens). Keep in mind that real diodes have capacitance.

Why does PSpice take 3e6 steps to run?

As this is 1us, it takes 3e6 steps to run the simulation. Regarding the spikes. When you have a pulse source with 1us rise and this will cause long sim times when you run for 3s). Other option is the step size also, this will speed up your simulation.