+ All Categories
Home > Documents > Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC...

Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC...

Date post: 19-Jan-2016
Category:
Upload: abagail-cording
View: 217 times
Download: 0 times
Share this document with a friend
37
Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk
Transcript
Page 1: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Overview of Circuit Simulation Programs

ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS

January 8, 2008

Oleg Wasynczuk

Page 2: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Need for System-of-Subsystems Approach

Complex engineered systems such as aircraft, modern automobiles, or the terrestrial electric power grid involve a broad spectrum of technologies and interactive subsystems that must work synergistically in order to operate properly

Inter-dependencies between subsystems are becoming more and more prominent

Page 3: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

More-Electric Aircraft Power System

Page 4: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Modeling Approaches

Page 5: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Synchronous Machine Subsystem Models

Distributed Parameter Coupled Circuit Steady State

)( uxfx

,dtd

IZEeV j ~~

jEe

jXRZ

I~

V~

Page 6: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Power Electronic Subsystem ModelsAverage ValueDetailed

)( uxfx

,dtd

)()(

)()( );(

iiiif

if

iiiiii

sgst

ttsdtd

,,

,

1

110

x

Txxxfx

Page 7: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Simulation Approaches

Circuit-Based Approaches (Spice, EMTP, Saber, PSIM, Simplorer)

System-Based Approaches (Simulink, ACSL, Dymola) Block-diagram and/or differential equation oriented Extensive set of tool boxes including

ASMG (Simulink, ACSL) Power System Blockset (Simulink) …

Finite-Element-Based Approaches (Ansys, Maxwell, …)

Page 8: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Circuit-Based Approaches

Page 9: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Circuit-Based Approaches

Example Subsystem

(Motor Controller)

Page 10: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Circuit-Based Approaches

Page 11: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Circuit-Based Approaches

Resistor-Companion Circuit

Page 12: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

15

2

1

654

321321

9

8

7

k

SS

S

S

v

v

v

ggg

gggggggg

i

i

i

i

i

Update Formula

O(n3) computational complexity where n = number of non-datum nodes

Circuit-Based Approaches

Page 13: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Simulation Approaches

Circuit-Based Approaches (Spice, Saber, PSIM, Simplorer)

System-Based Approaches (Simulink, ACSL, Dymola) Block-diagram and/or differential equation oriented Extensive set of tool boxes including

ASMG (Simlink, ACSL) Power System Blockset (Simulink) …

Finite-Element-Based Approaches (Ansys, Maxwell, …)

Page 14: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

System-Based Approaches

Hierarchical system definition

Page 15: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

System-Based Approaches

Common Simulink Component Models

Page 16: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

System-Based Approaches

Page 17: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

System-Based Approaches

1

1

1

0

1p

i

ikiki

p

i

iki

k th ,xfxx

When user starts model, Simulink applies selected integration algorithm to approximate solution at discrete but not necessarily uniform instants of time

General Multi-step Formula

Implicit algorithms require solution of nonlinear equation (dimension = number of states) at each time step. Newton-Raphson iteration generally used.

Explicit if 01

Page 18: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

System-Based Approaches

Stiff System: A system with both fast and slow dynamics

Stiffly Stable Integration Algorithm: the ability to increase the time step after fast transients subside

Stiffly Stable Algorithms are implicit!

Page 19: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

System-Based Approaches

Computational Complexity

Page 20: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

System-Based Approaches

Dilemma

Page 21: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Simulink Algorithms

Shampine and Reichelt, The MATLAB ODE Suite, SIAM J. Sci. Comput.,Vol. 18, No. 1, pp. 1-22, January 1997.

System-Based Approaches

Page 22: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Simulation Approaches

Circuit-Based Approaches (Spice, Saber, PSIM, Simplorer)

System-Based Approaches (Simulink, ACSL, Dymola) Block-diagram and/or differential equation oriented Extensive set of tool boxes including

ASMG (Simulink, ACSL) Power System Blockset (Simulink) …

Finite-Element-Based Approaches (Ansys, Maxwell, …)

Page 23: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Finite-Element Based Approaches

4000-10000 Nodes

uSaa

M dtd

FEA

Page 24: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Conventional Parallel Computing Paradigm

Page 25: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Conventional Parallel Computing Paradigm

Page 26: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Conventional Parallel Computing Paradigm

Page 27: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Conventional Parallel Computing Paradigm

At best m-fold reduction in computation time assuming zero communication latency

Computational gain further bounded by Amdahl’s Law

p

T)α1(αTT 1

1 p where serial portion 1,0α

therefore

α

1S

)α1(α

1

T

TS 1

pp

p

Page 28: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Distributed Heterogeneous Simulation (DHS)

Page 29: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

DHS Definition

Synchronized interconnection of any number of dynamic subsystem simulations

Developed using any combination of programs/languages

Implemented on:• Single computer/workstation/supercomputer• Local area network (Intranet)• Wide area network (Internet)

Page 30: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Sample DHS Computer Setup

Page 31: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

DHS Concept

Much better than M-fold (potentially M3) improvement in speed

Page 32: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

DHS Links Environment

Page 33: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Flexibility of DHS

Heterogeneous platforms (Windows, Unix, Linux, ...) Heterogeneous languages (ACSL, MATLAB/Simulink,

Saber, EASY5, C, C++, FORTRAN, Java,…) Heterogeneous simulation approaches (single-rate, multi-

rate, state model based, resistor-companion, finite difference/element,...)

Heterogeneous networks (Ethernet, SCI, ScramnetTM, MyrinetTM,...)

Page 34: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Use “best” language for each component/subsystem Proprietary information protected Super-linear increase in computational speed across a network

of desktop computers No need to translate models into common language Legacy code can be used directly Conducive to team design/analysis Remote interconnection Eliminate need to develop average-value models for system

stability assessment Real-time (hardware-in-the-loop) capability for some systems System Integrator(s) do not have to be familiar with the

language(s) used to create subsystem simulation(s)

Key Advantages of DHS

Page 35: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

More-Electric Aircraft Power System

Optimum Allocation

Page 36: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Optimum Allocation

Page 37: Overview of Circuit Simulation Programs ECE 546 DIGITAL COMPUTATIONAL TECHNIQUES FOR ELECTRONIC CIRCUITS January 8, 2008 Oleg Wasynczuk.

Optimum Allocation

18.5 speedup with 4 computers


Recommended