I am trying to put the following equation onto my voltage source on LTSpice to get the same waveform. The waveforms and equations are attached
Electronic – How to model an EFT Surge wave equation on voltage source with LTSpice
ltspice
Related Topic
- Electronic – LTspice: How to show multiple probes with waveforms using stepping parameters in different colors
- Electronic – Voltage dependent current source in LTSpice
- Electronic – BJT Voltage Divider Bias Circuit Theoretical/Ideal Model Help ..LTSPICE
- Electrical – LTSpice arbitrary voltage block (bv) simulating full wave bridge rectifier
- Electronic – LTSpice: how to setup sinusoidal or exponential voltage source
- Electrical – How to model voltage controlled switch in LTSpice
- Electronic – How to model an inductor using a behavioural voltage source in LTspice (to get time-dependent inductors)
Best Answer
Insert an arbitrary behavioral voltage source, or
BV
component. Right-click it and set itsValue
parameter toV=A*Vp*(1-exp(-time/tau1))*exp(-time/tau2)
. Insert a SPICE command somewhere in your schematic that reads.param Vp=1, A=1.037, tau1=407.4n, tau2=68.22u
. Run a 100μs simulation. For the current, do similar but with an arbitrary behavioral current source, orBI
component.One thing to note: LTspice doesn't have a good idea where to set the time steps for transient simulations with behavioral sources, so you may need to customize the
Maximum Timestep
parameter in your transient simulation command by reducing it to an appropriate value.