LTspice Tutorial Part 4 - Intermediate Circuits
LTspice Tutorial Part 4 - Intermediate Circuits
Part 4- Intermediate
Circuits
Prerequisites
Congratulations! you have completed the advanced plotting section of the tutorial
Specifying IC’s
● Often we will want to use a component that is not in a default LTspice library
○ We can make these components ourselves
○ OR we can tweak the specifications of an existing component (much much easier)
Specifying IC’s
● We want to model a schmitt inverter, but “CD40106B” (official IC number in our kit) is not
in LTspice
● Solution: update default schmitt trigger model
Specifying IC’s
● Begin by opening a new model and inserting a component called “schmitinv” into it
Specifying IC’s
● Right click on the model and update the “Value” column with the info you need
○ Vhigh=9 Vt=4.45 Vh=.85 Trise=.1u Tfall=.1u
○ NOTE: this assumes you are giving the IC a 9V power supply- these values will change at
different supply voltages or for other IC’s. Please check datasheets to verify!
Specifying IC’s
Congratulations! You have now customized a general IC to use for your own circuits
Building an Oscillator Circuit
● Now we will build an Oscillator circuit
● Note the initial condition must be set as well
Building an Oscillator Circuit
● You will need to use the previous Schmitt inverter settings
● You will need to select a diode from the premade options
○ For best results select diode 1N914
Building an Oscillator Circuit
● Build the circuit and probe the inverted output of the schmitt inverter
● Run an analysis and get a plot similar to this
Building an Oscillator Circuit
● Congratulations! You have built and analyzed an oscillator in LTspice
Assignment:
Hint(try changing the values of the capacitors and resistors and see what happens)