LTSpice - Digital - Pulse Generator on Edge? (monostable)

Status
Not open for further replies.

ACharnley

Member
Is there an out-the-box digital control that'll do it?

I can generate using components but want to keep it clean with a single digital control if possible (better replication of the MCU which will be doing it in software).
 
Is this what you are trying to do ?



The above also allows you to control the pulse width generated at output.

Or is this -



What is the rate at the input, latency to output, and output pulse width range you want ?


Regards, Dana.
 
Hi

There is no pre-made leading edge detector in LTspice.

but you can make one like this:


The two schmitt buffer devices provide input hysteresis for the AND device
The inverter "delay" device sets the pulse width using the Td parameter.

A trailing edge detector:

 
Brill will try that in an hour. Currently doing it as the attached. Works fine but want to keep to digital representation.
 

Attachments

  • Screenshot_2022-01-31_14-35-48.png
    31.5 KB · Views: 261
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…