Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA Amazon AWS CompTIA Security+ AWS Certified Developer - Associate
Graphic Design Photoshop Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Personal Development Mindfulness Meditation Personal Transformation Life Purpose Emotional Intelligence Neuroscience
Web Development JavaScript React CSS Angular PHP WordPress Node.Js Python
Google Flutter Android Development iOS Development Swift React Native Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Google Analytics
SQL Microsoft Power BI Tableau Business Analysis Business Intelligence MySQL Data Modeling Data Analysis Big Data
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Online Business Business Plan Startup Blogging Freelancing Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
2021-02-08 05:14:36
30-Day Money-Back Guarantee
Teaching & Academics Engineering Electricity

Automate LTspice Circuit Simulation Using Python Scripting

for Electrical Engineers
Rating: 4.5 out of 54.5 (53 ratings)
288 students
Created by Ye Zhao, PhD
Last updated 2/2021
English
English [Auto]
30-Day Money-Back Guarantee

What you'll learn

  • Automate LTspice simulation
  • Use Python programming to create LTspice circuit files
  • Able to run unlimited number of simulation cases just by one click
  • Create the raw data from LTspice using Python
  • Import LTspice .raw data to the world of Python
  • Plot the data in Python IDE
  • Read measurement from LTspice log files into Python
  • Save plotted figures as image files

Requirements

  • Basics of SPICE circuit simulation (LTspice preferable)
  • Basics of programming experience (Python preferable)
  • A windows OS PC with LTspice XVII installed
  • A windows OS PC with Python IDE (e.g., Anaconda and Spyder)
  • Sorry this course is NOT prepared in macOS

Description

Update history

02/08/2021: Course material "Material v1.17 (2021-02-08).zip" is uploaded: "ltspy3meas" module is updated to fix a bug in reading the stepped measurement

07/19/2020: Course material "Material v1.16 (2020-07-19).zip" is uploaded: "ltspy3meas" module is updated to fix a bug in reading the measurement name list

06/28/2020: Course material "Material v1.15 (2020-06-28).zip" is uploaded: New Section "Sec5-6 Spyder graphics backend setting".

06/15/2020: Course material "Material v1.14 (2020-06-15).zip" is uploaded: "ltspy3meas" has been updated to import .step measurement.

06/10/2020: Course material "Material v1.13 (2020-06-10).zip" is uploaded. The output solution waveforms of the 2nd order LPF project are corrected.

05/05/2020: Note that 1080p video is NOW available. Just go to video "settings" and enable the "Auto option". Then 1080p streaming will become possible for you!

05/06/2020: the pdf of "Sec5-2 Intro to Matplotlib" is updated on page 3 to avoid some potential bugs.

05/05/2020: The Matlab file name for Sec3-3 Bode Plot is changed to "BodePlot_Matlab.m"

04/19/2020: A bug is fixed in "ltspy3meas" for Section 6 Lecture 32: Read Measurement data in log file

  • A detailed step-by-step tutorial about how to automate LTspice circuit simulation using Python scripting

  • LTspice is the #1 SPICE simulation tools that is free, robust and fast. But it requires a lot of human efforts to run manually.

  • Python can automate LTspice for you!

  • Python is so easy to learn that is prefect for electrical engineers

  • Python can unleash the full potential of LTspice

  • Python can save you time and money from tedious and time-consuming LTspice simulation

  • Read raw data into Python and plot it as figures

  • Python opens the door for you to the world of data science

Who this course is for:

  • Anyone who is interested in both LTspice and Python
  • Electrical engineers who have been curious about Python language
  • Extend the LTspice simulation capability
  • Anyone who want to avoid repetitive and tedious workload in LTspice simulation
  • Impress at work and boost the career

Course content

8 sections • 38 lectures • 3h 16m total length

  • Preview05:30
  • Preview02:58

  • Install LTspice
    00:02
  • Install Anaconda (including Spyder)
    00:02
  • Download: Course Material zip file
    00:08

  • Preview04:19
  • Preview05:54
  • Preview12:02
  • Preview05:44
  • Preview08:52
  • Run TRAN .cir using Python
    02:33
  • Run TRAN .txt using Python
    04:34
  • Edit TRAN .txt using Python
    08:49
  • Exercise - Edit and Run AC .txt using Python
    00:26
  • Solution - Edit and Run AC .txt using Python
    07:00
  • Summary
    01:43

  • Introduction of reading .raw data into Python IDE
    09:12
  • Raw data format of TRAN
    03:59
  • Raw data format of AC
    04:38
  • Raw data format of OP
    05:53
  • Raw data format of DC sweep
    06:24
  • Raw data format of DC sweep over voltage and temperature
    07:12
  • Raw data format DC transfer function (TF)
    08:03
  • FFT data format
    09:47
  • Summary
    01:39

  • Introduction
    03:16
  • Introduction to Matplotlib
    13:16
  • Pyplot: figure(), savefig(), close()
    05:52
  • Pyplot TRAN raw data
    03:54
  • Pyplot AC raw data
    06:39

  • Introduction to Measurement in LTspice
    07:48
  • Read Measurement data in log file
    07:18
  • Summary
    01:20

  • Introduction of the 2nd order LPF
    05:50
  • Hardware demo of the 2nd order LPF
    05:06
  • Preview02:30
  • Solution
    05:08

  • Congratulations
    00:45

Instructor

Ye Zhao, PhD
Principal Electrical Engineer
Ye Zhao, PhD
  • 4.4 Instructor Rating
  • 264 Reviews
  • 1,064 Students
  • 2 Courses

11/2017 – Current: Founder of EEsanity

04/2019 – Current: Principal Electrical Engineer, Analogic Corporation, Canton, MA USA

12/2017 – 04/2019: Senior Design Engineer, Murata Power Solutions, Westborough, MA USA

05/2015 – 11/2017: Senior Power Electronics Engineer, Yaskawa-Solectria Solar, Lawrence, MA, USA

06/2005 – 07/2008: Sales/Tech Support Engineer, ABB High Voltage Switchgear Co., Ltd., Beijing, China

Master (2011) and PhD (2015) from Northeastern University, Boston, MA, USA

Bachelor (2005) in Electrical Engineering from Beijing Jiaotong University, Beijing, China


  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Impressum Kontakt
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.