element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Vishay
  • Products
  • Manufacturers
  • Vishay
  • More
  • Cancel
Vishay
Blog Simulating a VERILOG PID controller with NTC thermistors in QSPICE
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Vishay to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: alain_stas
  • Date Created: 19 Jul 2024 10:54 AM Date Created
  • Views 1948 views
  • Likes 3 likes
  • Comments 1 comment
  • pid
  • NTC sensors
  • verilog
Related
Recommended

Simulating a VERILOG PID controller with NTC thermistors in QSPICE

alain_stas
alain_stas
19 Jul 2024

Temperature control circuits, despite the rise of digital technology, continue to rely on analog sensors like NTC thermistors and RTDs, which are prevalent in automotive and industrial applications due to their reliability and cost effectiveness. While digital simulation software such as SYNOPSYS Saber RD and Simulink Simscape is available for those who can afford it, they often lack precise models for passive components like thermistors. SPICE analysis, therefor, remains a mainstay for circuit analysis due to its popularity and accessibility. Recently, however, QSPICETm — a free software developed by Mike Engelhardt of LTspice® fame — has emerged. It uniquely supports digital simulations with VERILOG and C++, bridging the gap between traditional SPICE and modern digital circuit descriptions. this blog will present a complete simulation of a PID controller defined in QSPICETm coupled to a Vishay NTC thermistor NTCS0603E3103FLT.

image

The PID controller has been separated into its 3 blocks (proportional/ differential/ integrative) and each block has been verilated separately in order to verify their functionality.

image

Optimization of the PID coefficients is easily performed by sweeping the values of Kd, Ki, Kp through realistic ranges and the result of temperature control can be seen hereunder.

imagetime (s)

The offset between the oven temeprature and the set temperature prfile is now kept to a minimum.

  • Sign in to reply
  • mp2100
    mp2100 11 months ago

    I am looking forward to more of this.  I hadn’t heard of Qsplice, and that sounds like an interesting development.  I deal with instrumentation every day, but I haven’t worked with simulation software for it.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube