
COMPARISON AND EVALUATION OF HARDWARE MODELLING AND SIMULATION TOOLS MATTIAS KARLSSON MASTER THESIS 2011 ELECTRICAL ENGINEERING COMPARISON AND EVALUATION OF HARDWARE MODELLING AND SIMULATION TOOLS MATTIAS KARLSSON This thesis work is performed at Jönköping Institute of Technology within the subject area Electrical Engineering. The work is part of the university’s master’s engineering degree. The author is responsible for the given opinions, conclusions and results. Supervisors: Ph.d. Håkan Forsberg and Professor Shashi Kumar Examinator: Professor Shashi Kumar Credit points: 30 points (D-level) Date: Archive number: Postal Address: Visiting Address: Telephone: Box 1026 Gjuterigatan 5 036-10 10 00 551 11 Jönköping Abstract Abstract Avionics Division of Saab AB develops advanced electronics that need to be robust and work in harsh environments with for example extreme temperatures and cosmic radiation without any failure. To succeed with this the electronics need to be simulated and tested. Therefore this thesis work is done to strengthen the Avionics Division’s knowledge of hardware modelling and simulation by evaluating the simulation tools LTSpice, PSpice and SystemVision, their functions and capabilities. In this thesis a survey is carried out with help of a questionnaire to study the Avionics Division’s needs for simulation. The survey is underlying an analysis of the analyses that can be performed by the simulation tools for example Sensitivity analysis, Worst Case analysis, Monte Carlo analysis and Parametric Sweep analysis. The different analyses are discussed in the thesis. The questionnaire is also underlying an analysis of the tools LTSpice, PSpice and SystemVision. The result of the analysis is summarized in Table 1. A case study of a circuit simulation in SystemVision, based on an existing circuit used by Avionics Division, is also done within this thesis work. The study is done to evaluate the tool’s usability, to see if it is easy to perform a simulation and if it is easy to find and use suitable models from the model library. The case study describes how a simulation is performed in SystemVision and how an AC analysis of a Butterworth filter is done. A stability and reliability check of the tool is performed as well as a robustness simulation. The analyses were easy to do and the overall impression is that SystemVision is reliable and user friendly structured. In order to check and compare the results of the AC analysis the same analysis is performed using LTSpice. The comparison shows that the results differ. This depending on that the models of the circuit were some what different in LTSpice and SystemVision. The final conclusion is that SystemVision would fit within Avionics Division’s workflow. Using SystemVision demands education of the engineers to secure maximum use of all the advantages of SystemVision. 1 Keywords Keywords SystemVision, Monte Carlo, VHDL-AMS, Spice, PSpice, LTSpice, modelling, simulation, AC analysis and Butterworth filter. 2 To my beloved Sofie Rasmus and Olivia Table of contents Contents 1 Introduction............................................................................... 6 1.1 BACKGROUND........................................................................................................................6 1.2 PURPOSE AND AIMS ................................................................................................................8 1.3 DELIMITS ...............................................................................................................................8 1.4 METHOD.................................................................................................................................9 1.5 OUTLINE ..............................................................................................................................10 2 Theoretical background......................................................... 12 2.1 INTRODUCTION TO SIMULATION ...........................................................................................12 2.2 ABSTRACTION LAYERS.........................................................................................................15 2.3 SPICE MODELS......................................................................................................................16 2.4 MAST..................................................................................................................................19 2.5 THE VHDL-AMS MODEL ....................................................................................................20 3 Survey....................................................................................... 23 3.1 THE ACCOMPLISHMENT OF THE QUESTIONNAIRE..................................................................23 3.2 TYPE OF HARDWARE DESIGNED TODAY................................................................................24 3.3 THOUGHTS ABOUT SIMULATING HARDWARE........................................................................24 3.4 COMPLEXITY AND LEVEL OF THE HARDWARE DESIGN ..........................................................26 3.5 EXPERIENCES FROM SIMULATING HARDWARE......................................................................27 3.6 ENSURING ACCURATE DATA.................................................................................................30 3.7 ENSURING ENOUGH DATA ....................................................................................................31 3.8 ENSURING ACCURATE MODELS.............................................................................................31 3.9 ENSURING THE CORRECT FORMULAE....................................................................................32 3.10 NEEDS WHEN SIMULATING THE HARDWARE .........................................................................33 3.11 HARDWARE COMPLEXITY.....................................................................................................37 3.12 OTHER AREAS OF SIMULATION .............................................................................................38 3.13 CONCLUSIONS ......................................................................................................................39 4 Simulation analyses ................................................................ 40 4.1 DC ANALYSIS.......................................................................................................................40 4.2 AC ANALYSIS.......................................................................................................................41 4.3 TRANSFER FUNCTION ANALYSIS...........................................................................................42 4.4 SENSITIVITY ANALYSIS ........................................................................................................43 4.5 WORST CASE ANALYSIS .......................................................................................................43 4.6 THE OPTIMIZER TOOL ...........................................................................................................43 4.7 TRANSIENT ANALYSIS ..........................................................................................................44 4.8 FOURIER ANALYSIS ..............................................................................................................47 4.9 TEMPERATURE SWEEP ..........................................................................................................47 4.10 MONTE CARLO ANALYSIS ....................................................................................................48 4.11 SMOKE ANALYSIS.................................................................................................................52 4.12 PARAMETRIC SWEEP ANALYSIS ............................................................................................52 5 Simulation tools ...................................................................... 55 5.1 SPICE....................................................................................................................................55 5.2 LTSPICE IV..........................................................................................................................58 5.3 PSPICE..................................................................................................................................65 4 Table of contents 5.4 SYSTEMVISION.....................................................................................................................70 5.5 SUMMARY ............................................................................................................................77 6 A case study of SystemVision................................................ 80 6.1 THE BUTTERWORTH FILTER IN LTSPICE ..............................................................................80 6.2 THE CASE STUDY IN SYSTEMVISION.....................................................................................82 6.3 AN AC ANALYSIS OF THE BUTTERWORTH FILTER ................................................................85 6.4 STABILITY AND RELIABILITY TEST .......................................................................................86 6.5 ROBUSTNESS SIMULATION ...................................................................................................87 6.6 CONCLUSION OF THE CASE STUDY........................................................................................89 7 Conclusions and
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages99 Page
-
File Size-