Documente Academic
Documente Profesional
Documente Cultură
U ECE 404/504
Minimum to Download
» Mingw version of ATP
» ATPDraw -- latest version or latest patch
– Presently Atpdraw57.zip
» PlotXY
Option: ATP Easy Installer
» Download from secure sites in Japan
1
U ECE 404/504
I Installing ATPDraw
Lecture 5
I ATPDraw
Lecture 5
2
U ECE 404/504
U ECE 404/504
3
U ECE 404/504
U ECE 404/504
I Editing “startup”
Lecture 5
4
U ECE 404/504
I Setting Up ATPDraw
Lecture 5
Open up ATPDraw
Select: “Tools” pull down menu
Select: “Options...”
Choose “Preferences” tab
» You select a text editor, or use Notepad (default)
» “ATP” is where you set path to your batch file
Armafit: which we won’t cover in this course
U ECE 404/504
I ATPDraw “Preferences”
Lecture 5
5
U ECE 404/504
U ECE 404/504
6
U ECE 404/504
U ECE 404/504
7
U ECE 404/504
The “Save”
Save or “Apply”
Apply buttons aren
aren’tt
sufficient to permanently save change
Also choose: Tools --> Save Options
These are all saved into a file called
ATPDraw.ini
» Typically
T i ll saved d iin user’s
’ settings
tti
» Could put copy in the directory with
ATPDraw.exe
U ECE 404/504
8
U ECE 404/504
I Example 1 Lecture 5
Try to run
example
p case
to make sure
program
installed and
set up
correctly
U ECE 404/504
9
U ECE 404/504
U ECE 404/504
10
U ECE 404/504
The “Update”
Update buttons isn
isn’tt sufficient to
save for next time
All choose: Tools --> Save Options
U ECE 404/504
11
U ECE 404/504
U ECE 404/504
12
U ECE 404/504
U ECE 404/504
13
U ECE 404/504
U ECE 404/504
14
U ECE 404/504
U ECE 404/504
15
U ECE 404/504
Comments
» For file
» For drawing
U ECE 404/504
I Inductor Lecture 5
L is in mH unless you
have set Xopt to a
frequency
Label creates a label on
the drawing next to the
component
Help menus are pretty
good
Kp numerical oscillation
damping constant
» Adds parallel resistor
» More on that later
Intro to ATP and ATPDraw 32 Spring 2013
16
U ECE 404/504
I Capacitor Lecture 5
Capacitance is in
microFarads unless
Copt set
Note program sets a
default value to prevent
errors if you randomly
connect nodes
Ks numerical oscillation
damping constant
» Adds series resistor
» More on that later
U ECE 404/504
I RLC Lecture 5
17
U ECE 404/504
Can choose a
series 3 phase
RLC
Options include
Y connected
and Delta
connected
18
U Inductor with Initial ECE 404/504
U ECE 404/504
19
U ECE 404/504
Set T_close I
Set T_open
» T_open must be
larger than T_close
Imar is absolute
value of current it
will interrupt
Can select outputs
U ECE 404/504
20
U ECE 404/504
Individual
timing
ti i ffor
each phase
No reclose
characteristic
U ECE 404/504
sources
Machines and TACS controlled
sources on other pop-up
menus
Most of these sources are
referenced to ground
21
U Version 5.6+ AC source ECE 404/504
I (1&3 phase)
Lecture 5
1 ph voltage 3 ph current
source source
U ECE 404/504
22
U What is Needed in ECE 404/504
I Transients Lecture 5
23
U Single Phase ECE 404/504
Winding resistance
Leakage inductance
Core loss--total losses
Non-linear inductor model for magnetizing
branch
Intro to ATP and ATPDraw 47 Spring 2013
U ECE 404/504
24
U Avoid ATP Ideal ECE 404/504
I Transformer Lecture 5
U ECE 404/504
25
U Single Phase Saturable ECE 404/504
U ECE 404/504
26
U Viewing The Saturation ECE 404/504
I Characteristic Lecture 5
U ECE 404/504
27
U ECE 404/504
Option to model
homopolar reluctance
» Saturable-Three Leg
Much additional
information needed.
See help menu.
28
U ECE 404/504
Components are
highlighted
hi hli ht d iin red
d until
til you
edit values
Can connect components
together by dragging left
mouse button between
nodes and then clicking on
finishing node
1 Ph or 3 Ph on context
Intro to ATP and ATPDraw 57 Spring 2013
U ECE 404/504
29
U ECE 404/504
U ECE 404/504
Can also
copy your
components
Remembers
output
requests
and values
Need to
enter new
names
30
U ECE 404/504
31
U ECE 404/504
U ECE 404/504
32
U ECE 404/504
Simulate mechanical/electromechanical
Non-linear reponses
Create models for devices without built-in
models – for example, arc resistances
Create harmonic sources
Variable frequency sources
I Network Solution
Lecture 5
TACS
Commands
Controlled Sources
33
U ECE 404/504
I General Format
Lecture 5
U ECE 404/504
34
U ECE 404/504
I Sources Lecture 5
» ZER0 = 0.0
» MINUS1 = -1.0
10
» UNITY = PLUS1 = 1.0
» PI = FORTRAN Compiler Constant for PI
35
U ECE 404/504
U ECE 404/504
36
U TACS Measurements from ECE 404/504
I Network Lecture 5
U ECE 404/504
37
U ECE 404/504
G(s)
U ECE 404/504
I Limiters Lecture 5
38
U ECE 404/504
Non-Windup limiter
» Doesn’t saturate and backs off limit quickly
» Implement with first order transfer function
– One pole, no zeros in the function
– Additional poles and zeros are ignored
Both windup and non-windup limits occur in practice
» Need to understand behavior of the system
y yyou’re
modeling
U ECE 404/504
39
U ECE 404/504
» Derivative
» Input IF
Input-IF
» Signal selector
» Sample and track
» Min/Max function
» Min/Max tracking
» Counter
» True RMS
I Expressions Lecture 5
40
U Free-Format FORTRAN ECE 404/504
I Expressions Lecture 5
Allowed functions:
» SQRT, ABS
SQRT ABS, EXP,
EXP LOG,
LOG LOG10
» SIN, COS, TAN, COTAN (argument in radians)
» ASIN, ACOS, ATAN (answer in radians)
» SINH, COSH, TANH
» TRUNC, MINUS, INVRS
» RAD DEG,
RAD, DEG NOT
» SIGN (-1 for neg. number, +1 for pos. number or zero)
» SEQ6, RAN (random number generator)
I Expressions Lecture 5
Limitations:
» The user is allowed up to 20 levels of nesting
nesting.
» Can't do SQRT(A**2+B**2) and similar
» Can combine functions: SQRT(ABS(INVRS(X) ) )
» Does not allow: GOTO, IF, DO, SUBROUTINE, or
FUNCTION
41
U ECE 404/504
U ECE 404/504
42
U ECE 404/504
U ECE 404/504
43
U ECE 404/504
U ECE 404/504
44
U ECE 404/504
U ECE 404/504
45
U ECE 404/504
U ECE 404/504
46
U ECE 404/504
U ECE 404/504
47
U ECE 404/504
U ECE 404/504
48
U ECE 404/504
49
U ECE 404/504
LDEL
ISER VOUT
LDEL
U
U ECE 404/504
12
0 *10 -3
0 2 4 6 8 10
(file drawrlc.pl4; x-var t) t: VO UT v:VLC
50
U ECE 404/504
12
0 *10 -3
0 2 4 6 8 10
(file drawrlc.pl4; x-var t) v:VLC v:LDEL
51