SlideShare a Scribd company logo
1 of 38
Introduction to LTspice IV
Why called LTspice IV?
• LTspice IV stands for Linear Technology
simulation program with integrated circuit
emphasis version 4.
• It is freeware software implementing a SPICE
simulator of electronic circuits, produced by
semiconductor manufacturer: Linear Technology
Corporation (LTC)[A.1].
• It provides a schematic capture and waveform
viewer with enhancements and models to speed
the simulation[A.2].
Why using LTspice IV?
• LTspice IV can do simulation for advanced
technologies; e.g. 90nm, 65nm, … etc, while
PSpice A/D cadence version 16.0 can not
withstand for new technology process.
Start your LTspice IV file
• After downloading LTspice IV from
http://www.linear.com/designtools/software/
The following website appears. Choose
Download LTspice IV for Windows
Start your LTspice IV file
• double click on LTspice IV icon .
• To start your work:
File New Schematic
Or press on New Schematic
This icon appears after
selecting New schematic
Example
• Build voltage divider circuit; which consists of
two resistors, their values 1k and 2k, and 10V
voltage supply.
Press on component icon
to get the elements
After you press on
component icon, the
following window appears
Write in this box
or search to get
the element
• To get voltage supply, you can write voltage,
battery, or cell. All of them give you voltage
source either DC, AC, Pulse, Sine, PWL, Exp,
or SFFT.
Right click on the element
to choose its type and to
specify its value.
If it is DC voltage source
enter its value here
If not press Advanced
Select
the
type
of
signal
AC
Value
Enter the value of
resistor
To insert the ground Another way to insert resistor
To connect elements using wire
* Simulate the circuit by choosing
Simulate  run
Select type of analysis
After selecting type of
analysis and choosing
the node, the plot
window appears.
The output
How to deal with MOSFET?
• There are two types of MOS for both NMOS and
PMOS in LTspice IV:
1. nmos and pmos: the substrate is connected to
the source.
2. nmos4 and pmos4: the substrate is not
connected to the source. For this type you can
add the model you are working on; e.g. TSMC
or IBM 0.25μm, 90nm, …, etc.
The model of NMOS should be saved in notepad (.txt) where here the name of the model is
CMOSN
How to deal with MOSFET?
nmos nmos4
Choosing nmos4
right click on it the
following window
appears
Name of the
model
Length of
transistor
To write the model file
Select SPICE
directive
Write
.include name_of_the_txt_model_file.txt
Note: it should be saved in the file that your are w
spice file.
After connecting the circuit
as shown and selecting the
type of analysis which is
.dc VG 0.01 1.2 1m
, the circuit is completed.
Press plot
simulation
after selecting
plot window,
then press
Visible Trance
When you press on Visible
Trance the following window
appears . Then select the
variable you want .
To copy the
plot go to
Tools Copy
bitmap to
clipboard, then
paste it in your
document.
To export the
plot to Matlab
go to
FileExport
This window will
appear. Select the
variable that you want.
By default it also
exports the x-axis
variable; in this plot is
Vg. The exported file
will be saved in the
current file you are
working in as notepad
file .txt
The exported
file contains
two columns,
Vg and Id(M1)
This is the m.file that must be saved in the current file you are working in.
% post process an LT-spice simulation with Matlab
clear all;
clc;
close all;
% dlmread: read ASCII-delimited file of numeric data into matrix
data = dlmread('model1_IdvsVgs90.txt','',1,0) %(‘name of txt file’, skip one row (headings))
% '' means let Matlab figure out the delimiter
% 1,0 means read data whose upper left corner is at row 1 and col 0
VGS = data(:,1);
ID = 1000*data(:,2); % to make current in mA
%plot the magnitude frequency response of the RC circuit
plot(VGS,ID)
xlabel('V_G_S(V)');
ylabel('I_D(mA)');
title(' The IV Characteristic of NMOS transistor using 90nm technology')
grid
Matlab plot
0 0.2 0.4 0.6 0.8 1 1.2 1.4
0
0.02
0.04
0.06
0.08
0.1
0.12
0.14
0.16
0.18
0.2
VGS
(V)
I
D
(mA)
The IV Characteristic of NMOS transistor using 90nm technology
Extra about LTspice plot
How to thicken up the lines in your schematic or
simulations?
1. Open the control panel (tools menu bar).
2. To thicken the schematic lines, Select the
Drafting Options tab and check "Draft Thick
Lines“.
3. To thicken simulation lines, Select the
Waveforms tab and check "Plot data with thick
lines“.
Extra about LTspice
Can LTspice deal with netlist?
Yes, the user can start working on LTspice using
netlist.
Fileopenselect Netlist .cir  type any name
of non-exist file then the netlist window will be
open.
Extra references
• http://denethor.wlu.ca/ltspice/
• http://www2.cose.isu.edu/~chiustev/courses/E
E4429/LTspice_Basics.pdf
• http://eecs.oregonstate.edu/education/docs/tuto
rials/LT%20Spice_VarResistor.pdf
• http://web02.gonzaga.edu/faculty/talarico/2014
-08/ee303/ho.html
• http://web02.gonzaga.edu/faculty/talarico/eeng
304/documents/class-CAD.html
• http://denethor.wlu.ca/ltspice/#otheranalysis
To plot the power dissipation
• http://www.linear.com/solutions/1148
A very good book to start and deal with LTspice
• E. Bruun, CMOS Integrated Circuit Simulation
with LTspice IV a Tutorial Guide, 1st ed., 2015.
Thank you

More Related Content

Similar to Introduction to l tspice iv

Mca2050 computer architecture
Mca2050  computer architectureMca2050  computer architecture
Mca2050 computer architecturesmumbahelp
 
Ecd302 unit 05(misc simulation tools)(new version)
Ecd302 unit 05(misc simulation tools)(new version)Ecd302 unit 05(misc simulation tools)(new version)
Ecd302 unit 05(misc simulation tools)(new version)Xi Qiu
 
Programming the ARM CORTEX M3 based STM32F100RBT6 Value Line Discovery Board
Programming the ARM CORTEX M3 based STM32F100RBT6 Value Line Discovery BoardProgramming the ARM CORTEX M3 based STM32F100RBT6 Value Line Discovery Board
Programming the ARM CORTEX M3 based STM32F100RBT6 Value Line Discovery BoardGaurav Verma
 
Application specific Programming of the Texas Instruments ...
Application specific Programming of the Texas Instruments  ...Application specific Programming of the Texas Instruments  ...
Application specific Programming of the Texas Instruments ...butest
 
My seminar new 28
My seminar new 28My seminar new 28
My seminar new 28rajeshkvdn
 
MQTC_v2014_Tracing_On_Linux.pdf
MQTC_v2014_Tracing_On_Linux.pdfMQTC_v2014_Tracing_On_Linux.pdf
MQTC_v2014_Tracing_On_Linux.pdfHaziNayabD
 
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...Toradex
 
Achieving a 50% Reduction in Cross-AZ Network Costs from Kafka (Uday Sagar Si...
Achieving a 50% Reduction in Cross-AZ Network Costs from Kafka (Uday Sagar Si...Achieving a 50% Reduction in Cross-AZ Network Costs from Kafka (Uday Sagar Si...
Achieving a 50% Reduction in Cross-AZ Network Costs from Kafka (Uday Sagar Si...confluent
 
Stream ciphers presentation
Stream ciphers presentationStream ciphers presentation
Stream ciphers presentationdegarden
 
Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 vijaydeepakg
 

Similar to Introduction to l tspice iv (20)

Mca2050 computer architecture
Mca2050  computer architectureMca2050  computer architecture
Mca2050 computer architecture
 
DSP_Assign_1
DSP_Assign_1DSP_Assign_1
DSP_Assign_1
 
Ecd302 unit 05(misc simulation tools)(new version)
Ecd302 unit 05(misc simulation tools)(new version)Ecd302 unit 05(misc simulation tools)(new version)
Ecd302 unit 05(misc simulation tools)(new version)
 
Programming the ARM CORTEX M3 based STM32F100RBT6 Value Line Discovery Board
Programming the ARM CORTEX M3 based STM32F100RBT6 Value Line Discovery BoardProgramming the ARM CORTEX M3 based STM32F100RBT6 Value Line Discovery Board
Programming the ARM CORTEX M3 based STM32F100RBT6 Value Line Discovery Board
 
Bitstuffing
BitstuffingBitstuffing
Bitstuffing
 
Application specific Programming of the Texas Instruments ...
Application specific Programming of the Texas Instruments  ...Application specific Programming of the Texas Instruments  ...
Application specific Programming of the Texas Instruments ...
 
My seminar new 28
My seminar new 28My seminar new 28
My seminar new 28
 
Introduction to Microcontrollers
Introduction to MicrocontrollersIntroduction to Microcontrollers
Introduction to Microcontrollers
 
Ug10 2
Ug10 2Ug10 2
Ug10 2
 
MQTC_v2014_Tracing_On_Linux.pdf
MQTC_v2014_Tracing_On_Linux.pdfMQTC_v2014_Tracing_On_Linux.pdf
MQTC_v2014_Tracing_On_Linux.pdf
 
6. TinyOS_2.pdf
6. TinyOS_2.pdf6. TinyOS_2.pdf
6. TinyOS_2.pdf
 
Gmid ruida
Gmid ruidaGmid ruida
Gmid ruida
 
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
 
Achieving a 50% Reduction in Cross-AZ Network Costs from Kafka (Uday Sagar Si...
Achieving a 50% Reduction in Cross-AZ Network Costs from Kafka (Uday Sagar Si...Achieving a 50% Reduction in Cross-AZ Network Costs from Kafka (Uday Sagar Si...
Achieving a 50% Reduction in Cross-AZ Network Costs from Kafka (Uday Sagar Si...
 
scilab
scilabscilab
scilab
 
Stream ciphers presentation
Stream ciphers presentationStream ciphers presentation
Stream ciphers presentation
 
Lab1
Lab1Lab1
Lab1
 
Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 Sudhir tms 320 f 2812
Sudhir tms 320 f 2812
 
INET for Starters
INET for StartersINET for Starters
INET for Starters
 
Scilab
ScilabScilab
Scilab
 

More from Hoopeer Hoopeer

Tektronix mdo3104 mixed domain oscilloscope
Tektronix mdo3104 mixed domain oscilloscopeTektronix mdo3104 mixed domain oscilloscope
Tektronix mdo3104 mixed domain oscilloscopeHoopeer Hoopeer
 
Low power sar ad cs presented by pieter harpe
Low power sar ad cs presented by pieter harpeLow power sar ad cs presented by pieter harpe
Low power sar ad cs presented by pieter harpeHoopeer Hoopeer
 
Cadence tutorial lab_2_f16
Cadence tutorial lab_2_f16Cadence tutorial lab_2_f16
Cadence tutorial lab_2_f16Hoopeer Hoopeer
 
Step by step process of uploading presentation videos
Step by step process of uploading presentation videos Step by step process of uploading presentation videos
Step by step process of uploading presentation videos Hoopeer Hoopeer
 
233466440 rg-major-project-final-complete upload
233466440 rg-major-project-final-complete upload233466440 rg-major-project-final-complete upload
233466440 rg-major-project-final-complete uploadHoopeer Hoopeer
 
435601093 s-parameter LTtspice
435601093 s-parameter LTtspice435601093 s-parameter LTtspice
435601093 s-parameter LTtspiceHoopeer Hoopeer
 
Influential and powerful professional electrical and electronics engineering ...
Influential and powerful professional electrical and electronics engineering ...Influential and powerful professional electrical and electronics engineering ...
Influential and powerful professional electrical and electronics engineering ...Hoopeer Hoopeer
 
Ki0232 3 stage fm transmitter
Ki0232 3 stage fm transmitterKi0232 3 stage fm transmitter
Ki0232 3 stage fm transmitterHoopeer Hoopeer
 
Teager energy operator (teo)
Teager energy operator (teo)Teager energy operator (teo)
Teager energy operator (teo)Hoopeer Hoopeer
 
Teager energy operator (teo)
Teager energy operator (teo)Teager energy operator (teo)
Teager energy operator (teo)Hoopeer Hoopeer
 
Cadence tutorial lab_2_f16
Cadence tutorial lab_2_f16Cadence tutorial lab_2_f16
Cadence tutorial lab_2_f16Hoopeer Hoopeer
 
Performance of the classification algorithm
Performance of the classification algorithmPerformance of the classification algorithm
Performance of the classification algorithmHoopeer Hoopeer
 
Bardeen brattain and shockley
Bardeen brattain and shockleyBardeen brattain and shockley
Bardeen brattain and shockleyHoopeer Hoopeer
 

More from Hoopeer Hoopeer (20)

Symica
SymicaSymica
Symica
 
Gene's law
Gene's lawGene's law
Gene's law
 
Tektronix mdo3104 mixed domain oscilloscope
Tektronix mdo3104 mixed domain oscilloscopeTektronix mdo3104 mixed domain oscilloscope
Tektronix mdo3104 mixed domain oscilloscope
 
Low power sar ad cs presented by pieter harpe
Low power sar ad cs presented by pieter harpeLow power sar ad cs presented by pieter harpe
Low power sar ad cs presented by pieter harpe
 
Cadence tutorial lab_2_f16
Cadence tutorial lab_2_f16Cadence tutorial lab_2_f16
Cadence tutorial lab_2_f16
 
Step by step process of uploading presentation videos
Step by step process of uploading presentation videos Step by step process of uploading presentation videos
Step by step process of uploading presentation videos
 
233466440 rg-major-project-final-complete upload
233466440 rg-major-project-final-complete upload233466440 rg-major-project-final-complete upload
233466440 rg-major-project-final-complete upload
 
435601093 s-parameter LTtspice
435601093 s-parameter LTtspice435601093 s-parameter LTtspice
435601093 s-parameter LTtspice
 
Influential and powerful professional electrical and electronics engineering ...
Influential and powerful professional electrical and electronics engineering ...Influential and powerful professional electrical and electronics engineering ...
Influential and powerful professional electrical and electronics engineering ...
 
Ki0232 3 stage fm transmitter
Ki0232 3 stage fm transmitterKi0232 3 stage fm transmitter
Ki0232 3 stage fm transmitter
 
Teager energy operator (teo)
Teager energy operator (teo)Teager energy operator (teo)
Teager energy operator (teo)
 
Teager energy operator (teo)
Teager energy operator (teo)Teager energy operator (teo)
Teager energy operator (teo)
 
En physics
En physicsEn physics
En physics
 
Beautiful lectures
Beautiful lecturesBeautiful lectures
Beautiful lectures
 
Cadence tutorial lab_2_f16
Cadence tutorial lab_2_f16Cadence tutorial lab_2_f16
Cadence tutorial lab_2_f16
 
Performance of the classification algorithm
Performance of the classification algorithmPerformance of the classification algorithm
Performance of the classification algorithm
 
Electronics i ii razavi
Electronics i ii razaviElectronics i ii razavi
Electronics i ii razavi
 
Bardeen brattain and shockley
Bardeen brattain and shockleyBardeen brattain and shockley
Bardeen brattain and shockley
 
978 1-4615-6311-2 fm
978 1-4615-6311-2 fm978 1-4615-6311-2 fm
978 1-4615-6311-2 fm
 
William gilbert strange
William gilbert strangeWilliam gilbert strange
William gilbert strange
 

Recently uploaded

ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLManishPatel169454
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 

Recently uploaded (20)

ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 

Introduction to l tspice iv

  • 2. Why called LTspice IV? • LTspice IV stands for Linear Technology simulation program with integrated circuit emphasis version 4. • It is freeware software implementing a SPICE simulator of electronic circuits, produced by semiconductor manufacturer: Linear Technology Corporation (LTC)[A.1]. • It provides a schematic capture and waveform viewer with enhancements and models to speed the simulation[A.2].
  • 3. Why using LTspice IV? • LTspice IV can do simulation for advanced technologies; e.g. 90nm, 65nm, … etc, while PSpice A/D cadence version 16.0 can not withstand for new technology process.
  • 4. Start your LTspice IV file • After downloading LTspice IV from http://www.linear.com/designtools/software/
  • 5. The following website appears. Choose Download LTspice IV for Windows
  • 6. Start your LTspice IV file • double click on LTspice IV icon . • To start your work: File New Schematic
  • 7. Or press on New Schematic
  • 8. This icon appears after selecting New schematic
  • 9. Example • Build voltage divider circuit; which consists of two resistors, their values 1k and 2k, and 10V voltage supply.
  • 10. Press on component icon to get the elements After you press on component icon, the following window appears Write in this box or search to get the element
  • 11. • To get voltage supply, you can write voltage, battery, or cell. All of them give you voltage source either DC, AC, Pulse, Sine, PWL, Exp, or SFFT.
  • 12. Right click on the element to choose its type and to specify its value. If it is DC voltage source enter its value here If not press Advanced
  • 14. Enter the value of resistor
  • 15. To insert the ground Another way to insert resistor
  • 16. To connect elements using wire
  • 17. * Simulate the circuit by choosing Simulate  run
  • 18. Select type of analysis
  • 19. After selecting type of analysis and choosing the node, the plot window appears. The output
  • 20. How to deal with MOSFET? • There are two types of MOS for both NMOS and PMOS in LTspice IV: 1. nmos and pmos: the substrate is connected to the source. 2. nmos4 and pmos4: the substrate is not connected to the source. For this type you can add the model you are working on; e.g. TSMC or IBM 0.25μm, 90nm, …, etc.
  • 21. The model of NMOS should be saved in notepad (.txt) where here the name of the model is CMOSN
  • 22. How to deal with MOSFET? nmos nmos4
  • 23. Choosing nmos4 right click on it the following window appears Name of the model Length of transistor
  • 24. To write the model file Select SPICE directive Write .include name_of_the_txt_model_file.txt Note: it should be saved in the file that your are w spice file.
  • 25. After connecting the circuit as shown and selecting the type of analysis which is .dc VG 0.01 1.2 1m , the circuit is completed.
  • 26. Press plot simulation after selecting plot window, then press Visible Trance
  • 27. When you press on Visible Trance the following window appears . Then select the variable you want .
  • 28. To copy the plot go to Tools Copy bitmap to clipboard, then paste it in your document.
  • 29. To export the plot to Matlab go to FileExport
  • 30. This window will appear. Select the variable that you want. By default it also exports the x-axis variable; in this plot is Vg. The exported file will be saved in the current file you are working in as notepad file .txt
  • 31. The exported file contains two columns, Vg and Id(M1)
  • 32. This is the m.file that must be saved in the current file you are working in. % post process an LT-spice simulation with Matlab clear all; clc; close all; % dlmread: read ASCII-delimited file of numeric data into matrix data = dlmread('model1_IdvsVgs90.txt','',1,0) %(‘name of txt file’, skip one row (headings)) % '' means let Matlab figure out the delimiter % 1,0 means read data whose upper left corner is at row 1 and col 0 VGS = data(:,1); ID = 1000*data(:,2); % to make current in mA %plot the magnitude frequency response of the RC circuit plot(VGS,ID) xlabel('V_G_S(V)'); ylabel('I_D(mA)'); title(' The IV Characteristic of NMOS transistor using 90nm technology') grid
  • 33. Matlab plot 0 0.2 0.4 0.6 0.8 1 1.2 1.4 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2 VGS (V) I D (mA) The IV Characteristic of NMOS transistor using 90nm technology
  • 34. Extra about LTspice plot How to thicken up the lines in your schematic or simulations? 1. Open the control panel (tools menu bar). 2. To thicken the schematic lines, Select the Drafting Options tab and check "Draft Thick Lines“. 3. To thicken simulation lines, Select the Waveforms tab and check "Plot data with thick lines“.
  • 35. Extra about LTspice Can LTspice deal with netlist? Yes, the user can start working on LTspice using netlist. Fileopenselect Netlist .cir  type any name of non-exist file then the netlist window will be open.
  • 36. Extra references • http://denethor.wlu.ca/ltspice/ • http://www2.cose.isu.edu/~chiustev/courses/E E4429/LTspice_Basics.pdf • http://eecs.oregonstate.edu/education/docs/tuto rials/LT%20Spice_VarResistor.pdf • http://web02.gonzaga.edu/faculty/talarico/2014 -08/ee303/ho.html • http://web02.gonzaga.edu/faculty/talarico/eeng 304/documents/class-CAD.html
  • 37. • http://denethor.wlu.ca/ltspice/#otheranalysis To plot the power dissipation • http://www.linear.com/solutions/1148 A very good book to start and deal with LTspice • E. Bruun, CMOS Integrated Circuit Simulation with LTspice IV a Tutorial Guide, 1st ed., 2015.

Editor's Notes

  1. The symbol: http://upload.wikimedia.org/wikipedia/en/f/fd/Linear-Technology-logo.png
  2. [A.1] http://en.wikipedia.org/wiki/LTspice [A.2] http://www.linear.com/designtools/software/
  3. The Matlab code is from: http://web02.gonzaga.edu/faculty/talarico/eeng304/ho/exportdata.pdf
  4. http://jeastham.blogspot.ae/2011/10/thick-lines-in-ltspice.html
  5. http://jeastham.blogspot.ae/2011/10/thick-lines-in-ltspice.html
  6. Erik Bruun’s book is available on: http://bookboon.com/en/cmos-integrated-circuit-simulation-with-ltspice-iv-ebook