Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Schmitt trigger simulation

Status
Not open for further replies.

lrjaj0000

New Member
how can I schmitt trigger paramter ( U=4v, U(under))=0,8 , Uover=1,6)defenierien
 

Attachments

  • schmitt.JPG
    schmitt.JPG
    68.8 KB · Views: 5,512
The CD4000.lib which is a download from the User Group has the CD40106 Schmitt inverter

Its set for the CD trigger thresholds and cannot be modified.
 

Attachments

  • AAesp01.gif
    AAesp01.gif
    28.7 KB · Views: 1,667
  • Draft18.asc
    440 bytes · Views: 1,053
how can I schmitt trigger paramter ( U=4v, U(under))=0,8 , Uover=1,6)defenierien
Don't use the CD40106 model mentioned in post #2.
Instead, in your schematic (which I assume shows the Schmitt inverter from the LTS Digital folder) just right click on the Schmitt symbol and edit the Value to read Vhigh=4 Vt=1.2 Vh=.4 Trise=.1u Tfall=.1u

That will set Vdd to 4V, the lower threshold to 1.2 -.4 = .8V, and the upper threshold to 1.2 + .4 = 1.6V.
(The Trise and Tfall values are not critical, but are >0 to enable the simulation to run).
 
Last edited:
hi alec,
I would say using a 'non standard' set up for a CMOS Schmitt Inverter could cause problems if the OP designs a digital circuit based on those settings and in the real world uses a regular Schmitt IC inverter.

Of course it may be just a college assignment.??

Eric
 
Hi Eric,
In what way is the LTS Schmitt 'non-standard'? It is a generic part in the standard Digital library provided by LT with the LTS download. The Help file clearly indicates that its values Vhigh, Vlow, Vt, Vh etc are customisable (I assume to allow for different logic families, e.g. to cover the 3-15V supply range of the CD4000 family); so presumably the simulation correctly takes custom values into account. Why should that cause problems? It is perfectly valid to use 4000 logic at 4V.
 
hi alec,

I am assuming that the CD40106 thresholds are 'standard' from the CD4000.lib, modelled using manufacturers datasheets.

I am not saying that LTS model is not standard, I mean that if the OP sets his own thresholds to suit his simulation, when he tries a regular CD40106 IC, his real world circuit will not perform in the same way as as his simulation model.
 
I mean that if the OP sets his own thresholds to suit his simulation, when he tries a regular CD40106 IC, his real world circuit will not perform in the same way as as his simulation model
Ah, I see now what you were getting at Eric. Agreed.
I assume that in a real 40106 the thresholds are internally set by potential dividers and so are fixed fractions of Vdd. If the OP has Vdd=4V, then .8V and 1.6V seem unrealistically low for the thresholds.
 
hi alec_t,
thank you for your help, can you plaese tell me how you get " the lower threshold to 1.2 -.4 = .8V, and the upper threshold to 1.2 + .4 = 1.6V".

thanks
 
how can I be expected frequency when I opposed from a capacity of 1n and resistance 10kohm

Do you mean what is the corner frequency or the frequency of a Schmitt oscillator.?
 
Hi,

The CMOS version of the Schmitt Trigger was not intended to be used as a precise frequency generator. It's main purpose is to clean up slow moving edges so slower changing signals can be used to clock other circuits more sensitive to edge rise and fall times.
If you look at a data sheet you'll see the lower and upper thresholds are all over the place, and that makes it a bad choice for a frequency generator that needs a stable repeatable (chip to chip) frequency. Hobby stuff might be ok but for precision stuff go with something else.
 
Hi,

Here's a better formula for the frequency F:

tp=RC*(ln((vL-Vcc)/(vH-Vcc))+ln(vH/vL))
F=1/tp

vL is low threshod,
vH is high threshold.
Make Vcc slightly lower than power source voltage like 4.8 for a 5v power supply.
 
hi Al,
Interestingly is the difference between the observed frequency from the LTS plot of ~141kHz and the ~76kHz from your formula, which is more accurate than the 83kHz derived from the 1/[1.2*RC].

To get a 141kHz from your formula I had to set the vL=1.9v vH=3.5v and Vss=4.8v
[of course there other combinations that give the 141kHz]

Its appears that LTS is using different vL, vH and Vss from its plotted values of Vc.????

Strange.
 

Attachments

  • AAesp07.gif
    AAesp07.gif
    27.2 KB · Views: 861
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top