I am doing project, I am trying to simulate an overvoltage/under voltage protection controller on LTSpice. How do I create overvoltage/unudervoltage on a source? For example a transient voltage spike? Please Help.


For a transient voltage spike you can click on your voltage source and under the advanced option choose the exponential output. Here you can provide the parameters for your spike such as the rise time and the fall time.

The absolute best method would be to construct a piecewise linear model (PWL).

In this, model you specify the voltage output at each time. Through linear interpolation the software will draw straight lines between these points and which will essentially construct your desired output.

A good reference:

LTspice Tutorial - Types of Sources - Voltage Sources - SFFM

| improve this answer | |
  • 3
    \$\begingroup\$ You can also model with two or three of the voltage sources in series. One could be a DC voltage level, one could be generating sine wave "noise" and one could be setup to produce a spike waveform. \$\endgroup\$ – Michael Karas May 27 '15 at 7:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.