New component: Edge triggered pulse generator (Trig2pulse)

I created a edge triggered pulse generator call Trig2pulse using only symbol and subckt definitions. (ie. No C-block was used).

It can take a digital-like input signal to trigger a user-specified output pulse on a rising edge (Trig2pulse.qsym) or a falling edge (_Trig2pusle.qsym).

Here are the relevant files needed:

Comments are welcomed.

Len

This is expected to be .qsym (symbol) but you put a schematic. You can edit your post to upload correct file.

Very clever and simple way in generating a one shot. Here I modify the trigger logic to include logic reference trigger level.

Trig2pulse(mod).qsym (1.4 KB)
compare.Trig2pulse.qsch (7.8 KB)

@KSKelvin ,

Thank you. you are correct. I changed the rising edge symbol.

Your suggestion is a good one. I was trying to minimize the input parameter list.

Your suggestion of the Ref param is one of the mods that people can make.

I thought this component is a good example of how to “trick out” QSpice. I figured my efforts are a good starting point for other future ideas.

There is more to QSpice that meets the eye (or brain). Mike has done a great job to make QSpice flexible.

Len

2 Likes

There is a trick in symbol creation. In Symbol Properties, right-click on the attribute and make it invisible. This can keep your symbol clear while maintaining the flexibility of controlling the circuit.

1 Like