what‘s new in pspice 17 - flowcad.de · flowcad om 2 flowcad confidential what‘s new in pspice...
TRANSCRIPT
FlowCAD
ww
w.F
low
CA
D.c
om
1
FlowCAD Confidential
What‘s New in PSpice 17.2
FlowCAD
ww
w.F
low
CA
D.c
om
2
FlowCAD Confidential
What‘s New in PSpice Summary
• New Website www.PSpice.com
• TI Workbench based on PSpice
• Performance and capacity upgrades for switching circuits
including 64-bit support
• Device Modeling Interface - Support for C/C++, SystemC
and compact models with VerilogA-ADMS
• Reports enable simulation-driven extraction of layout
constraint values for optimizing analog designs with
increased reliability
FlowCAD
ww
w.F
low
CA
D.c
om
3
FlowCAD Confidential
New Website www.PSpice.com
PSpice community
• PSpice models
• Tutorial videos
• User forum
• Applications
• Events
• Central point for all
PSpice user
FlowCAD
ww
w.F
low
CA
D.c
om
4
FlowCAD Confidential
TI Workbench based on PSpice
Open Design
• Circuit
• Models
FlowCAD
ww
w.F
low
CA
D.c
om
5
FlowCAD Confidential
17.2 Release with focus on IoT
• Internet of Things devices
FlowCAD
ww
w.F
low
CA
D.c
om
6
FlowCAD Confidential
IoT is “A Smart Sensor”
Sensors
Computation Communication
69,- €
FlowCAD
ww
w.F
low
CA
D.c
om
7
FlowCAD Confidential
IoT Devices with PSpice
• Stand-alone GPS navigation devices
• Light responsive sensors
• Simple thermostats
• Motion sensors
??? PSpice Models available
FlowCAD
ww
w.F
low
CA
D.c
om
8
FlowCAD Confidential
IoT Simulation SystemC / ARM Fast Model
• Significant effort in building processor model
• Suitable only for multi-year projects
• PSpice would be required on Linux to allow use of Cadence VSP
IoT
Te
stb
en
ch
Ps Vp(t) DOUT
DIN Pr Vr(t) DAC
ADC Sensor [pressure => Vp(t)]
Regulator [Δ pressure <=Vr(t)]
PSpice Mixed Signal
Controller Virtual Platform
SystemC Testbench to
Represent IoT Environment
RTL
ARM
Cortex-M0
TLM
Router
Interrupt
Tra
nsa
cto
r
TLM
TLM/RTL Transactor , SystemC
TLM Peripherals & ARM Fast Model
R
A
M
R
O
M
T
M
R
U
R
T
TLM
Router
I/O
, T
imin
g &
Constr
ain
t M
odels
FlowCAD
ww
w.F
low
CA
D.c
om
9
FlowCAD Confidential
IoT Simulation C-Algrorithm
• Simple and largely independent of processor used
• Example demo in S/W controlled power supply design
IoT
Te
stb
en
ch
Ps Vp(t) DOUT
DIN Pr Vr(t) DAC
ADC Sensor [pressure => Vp(t)]
Regulator [Δ pressure <=Vr(t)]
PSpice Mixed Signal
Controller Virtual Platform
SystemC Testbench to
Represent IoT Environment
RTL
ARM
Cortex-M0
Tra
nsa
cto
r
C/C++ Algorithm I/
O, T
imin
g &
Constr
ain
t M
odels
Software
Algorithm
FlowCAD
ww
w.F
low
CA
D.c
om
10
FlowCAD Confidential
IoT Simulation C-Algrorithm
CLK
U1
Sof tware Controlled Switch
RE
F
GND
SW
1
SW
2F
B
CLK
I
Vs112Vdc
VOUT
V
RLoad
50
D4
MUR150
CLKDSTM1OFFTIME = 0.01uS
ONTIME = 0.01uSDELAY =STARTVAL = 0
OPPVAL = 1
L4
47uH
C4
22u
U2
NOISECOMP
OUTPUT1
INPUT2
V
0
V
VIN
Vs250Vdc
PARAMETERS:
D = 0.2PER = 10
FlowCAD
ww
w.F
low
CA
D.c
om
11
FlowCAD Confidential
IoT Simulation C-Algrorithm
FlowCAD
ww
w.F
low
CA
D.c
om
12
FlowCAD Confidential
IoT Device Modeling Interface
• Placed in Model Editor – Model – DMI Template Code Generator
• Think only about the code description of your component
Definition of
• IOs
• .Lib
• .DLL
• Parameters
• VS-project
FlowCAD
ww
w.F
low
CA
D.c
om
13
FlowCAD Confidential
IoT DMI Steps
Create
component using DMI
Describe the model behavior in
Visual Studio Community
(i.e. C/C++, SystemC)
Compile and debug generating
.DLL
Associate PSpice
model with symbol and
simulate
Model Code DMI
Physical
Devices
Analog
Behavioral
Devices
Digital
Devices
C/C++, SystemC, VerilogA,
MATLAB Blocks Communicating
with PSpice PSpice Simulator
FlowCAD
ww
w.F
low
CA
D.c
om
14
FlowCAD Confidential
IoT Simulation Hardware in the Loop
• Minimal modeling effort
IoT
Te
stb
en
ch
Ps Vp(t) DOUT
DIN Pr Vr(t) DAC
ADC Sensor [pressure => Vp(t)]
Regulator [Δ pressure <=Vr(t)]
PSpice Mixed Signal
Controller Virtual Platform
SystemC Testbench to
Represent IoT Environment
RTL
ARM
Cortex-M0
Tra
nsa
cto
r
Hardware I/
O, T
imin
g &
Constr
ain
t M
odels
HIL
Hardware
in the
Loop
FlowCAD
ww
w.F
low
CA
D.c
om
15
FlowCAD Confidential
IoT – Hardware Platforms
ESP8266
Espruino Pico
FRDM-K64F
CC3200
FlowCAD
ww
w.F
low
CA
D.c
om
16
FlowCAD Confidential
IoT – Arduino UNO
FlowCAD
ww
w.F
low
CA
D.c
om
17
FlowCAD Confidential
Arduino with Sensor as device in PSpice
FlowCAD
ww
w.F
low
CA
D.c
om
18
FlowCAD Confidential
Arduino with Sensor as device in PSpice
Define Arduino Board I/O with DMI as analog
part type
Define communication between PSpice and the board using USB
serial protocol creating VS project
Define the code you want to evaluate in
Arduino
Define the code you want to evaluate in
PSpice and generate .dll
Associate macro-model to schematic on
OrCAD Capture canvas
Run PSpice simulation and analyze results
FlowCAD
ww
w.F
low
CA
D.c
om
19
FlowCAD Confidential
Adding Sensors on Arduino
LED on
Photo-resistor
Thermal
Sensor
Tilt motion
Sensor
Analog Pins Digital Pins
USB
FlowCAD
ww
w.F
low
CA
D.c
om
20
FlowCAD Confidential
Online Videos at YouTube
Please visit our YouTube
channel for more product
videos:
- 166 videos online today
www.YouTube.com/FlowCAD
FlowCAD
ww
w.F
low
CA
D.c
om
21
FlowCAD Confidential
FlowCAD (Deutschland)
Mozartstrasse 2
85622 Feldkirchen bei München
Tel: +49 (89) 4563-7770
Fax:+49 (89) 4563-7790
FlowCAD (Schweiz)
Hintermättlistrasse 1
5506 Mägenwil
Tel: +41 (0) 56 485 91 91
Fax: +41 (0) 56 485 91 95
FlowCAD (Polen)
ulica Sasiedzka 2A
80-298 Gdansk
Tel: +48 58 342 75 94
Fax. +48 58 342 70 60
Für weitere Fragen und Informationen stehen wir gerne zur Verfügung
• Please don‘t hesitate to contact us
Kontakt zu FlowCAD / contact us
FlowCAD
ww
w.F
low
CA
D.c
om
22
FlowCAD Confidential