home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Electronics for your PC
/
pcelectronics.bin
/
_archive
/
SYSAN01.ZIP
/
INPUTHLP.ENG
< prev
next >
Wrap
Text File
|
1995-11-27
|
4KB
|
143 lines
*** INPUT SYSTEM DATA ***
At every system input you are requested to enter a name. You may
choose an arbitrary name. This name helps you to distinguish between
various systems. If you do not enter a name, the system is called
'noname'.
Poles and zeros
────────────────
The transfer function of an analog system is:
s s
(1 - ──)(1 - ──)....
z1 z2 (s - z1)(s - z2)....
G(s) = K ──────────────────── = Kpn ────────────────────
s s (s - p1)(s - p2)....
(1 - ──)(1 - ──)....
p1 p2
and for a discrete system:
z z
(1 - ──)(1 - ──)....
z1 z2 (z - z1)(z - z2)....
G(z) = K ──────────────────── = Kpn ────────────────────
z z (z - p1)(z - p2)....
(1 - ──)(1 - ──)....
p1 p2
The poles p1, p2, ... and the zeros z1, z2, ... can be real or
complex. At the input first the number of poles and zeros is
requested (maximum 8). After that you have to put in the complex
poles or zeros. Once an imaginary part equal to 0 has been entered,
you can only put in real poles or zeros. Complex poles and zeros
are considered conjugate pairs.
Poles and zeros can be input as real and imaginary part (default)
or as modulus and argument (option).
Whether you have to put in K or Kpz depends on the choice in the
options menu.
Polynomials
───────────
Working with polynomials the transfer function is:
3 2
......b3s + b2s + b1s + b0
G(s) = ────────────────────────────
3 2
......a3s + a2s + a1s + a0
Discrete systems have the same form.
At this type of input you first enter the highest powers of the
denominator and the numerator. After that you enter the coefficients
of the denominator ..., a3, a2, a1, a0 and the coefficients of the
numerator ..., b3, b2, b1, b0. Directly after the completion of the
polynomial input, the poles, the zeros and the gain are calculated.
From this the program calculates the polynomial form with the
coefficient 1 for the highest power in the denominator. This is to
prevent tolerance problems.
Corner frequencies
──────────────────
System data can also be entered as corner frequencies of a Bode
diagram. You must say whether it is a single or a double
corner frequency. In case of a double corner frequency, the relative
damping coefficient zeta must be given.
An integrator means a corner frequency in the denominator at fre-
quency zero. A differentiator means a corner frequency in the
numerator at frequency zero. Finally you have to enter the gain K
or Kpz. The corner frequency part applies to analog systems only.
Input from File
───────────────
Here you may enter system data that were stored in a previous
session. The files can only be *.DFL files. The file directory is
the program directory. You may change the data file directory with
<D>. The change is maintained for all subsequent read and write
operations until it is changed again.
The data are first presented and thereafter may be input, may not
be used or may be deleted.
Directory change
Press <D>. Type the complete directory's path and terminate
with <Enter>. All *.DFL files of the newly selected directory
are shown and may be chosen. This directory is maintained for
all subsequent read and write operations.
Choice of a data file
Choose the wanted data file with the vertical arrow keys or
with PageUp/PageDown. <Enter>, the data are shown. You then
have the choice to return to the menu without input with
<Esc>, to activate the data with <Enter> or to delete the file
with <Del>. After the activation of the data you should go to
the main program with F10 and from there you have to choose
the desired program part.
Append system
─────────────
With this part you may add poles, zeros and gain to the system.
(Control function). The input rules are the same as those for the
input of poles and zeros for the main system.