National Instruments 370753C-01 Manual De Usuario

Descargar
Página de 157
© National Instruments Corporation
3-1
3
Building System Connections
Large system models are frequently built by connecting smaller models 
together. You can perform different types of linear system interconnections 
using the Xmath functions discussed in this chapter.
MathScript allows operators (
*
,
+
, and so on) to be overloaded—given 
different behaviors when used with different objects. A number of simple 
types of connections have been implemented as overloaded operators on 
systems, while more complex connections are available through 
specialized functions.
Linear System Interconnection Operators
Overloaded operators provide a quick way to perform different types of 
basic connections between systems. Table 3-1 illustrates these operations 
on a pair of systems 
Sys
1
 and 
Sys
2
 with outputs 
y
1
 and 
y
2
 and inputs 
u
1
 
and 
u
2
, respectively.
 
Table 3-1.  Summary of Interconnection Operators
Diagram
Description
Sys = Sys1 + Sys2
Parallel connection where 
y = y
1
 + y
2
. The inputs are 
tied together where 
u = u
1
= u
2
.
Sys = Sys1 – Sys2
Parallel connection where
  y   =   y
1
 + y
2
.
 
In the unary 
case
,
 
Sys = –Sys
1
 where 
y = –y
1
. The inputs are tied 
together where 
u = u
1
= u
2
.
Sys1
Sys2
+
y
u
u1
u2
y1
y2
Sys1
Sys2
y
u
u1
u2
y1
y2