WOLFRAM SYSTEM MODELER

Add4

Output the sum of the four inputs

Wolfram Language

In[1]:=
SystemModel["Aircraft.Utilities.Add4"]
Out[1]:=

Information

This blocks computes output y as sum of the three input signals u1, u2, u3 and u4:


y = k1*u1 + k2*u2 + k3*u3 + K4*u4;

Example:


parameter: k1= +2, k2= -3, k3=1, k4 = -2;

results in the following equations:

y = 2 * u1 - 3 * u2 + u3 -2u4;

Parameters (4)

k1

Value: +1

Type: Real

Description: Gain of 1st input

k2

Value: +1

Type: Real

Description: Gain of 2nd input

k3

Value: +1

Type: Real

Description: Gain of 3rd input

k4

Value: +1

Type: Real

Description: Gain of 4th input

Inputs (4)

u1

Type: RealInput

Description: Connector 1 of Real input signals

u2

Type: RealInput

Description: Connector 2 of Real input signals

u3

Type: RealInput

Description: Connector 3 of Real input signals

u4

Type: RealInput

Description: Connector 3 of Real input signals

Outputs (1)

y

Type: RealOutput

Description: Connector of Real output signals

Connectors (5)

u1

Type: RealInput

Description: Connector 1 of Real input signals

u2

Type: RealInput

Description: Connector 2 of Real input signals

u3

Type: RealInput

Description: Connector 3 of Real input signals

u4

Type: RealInput

Description: Connector 3 of Real input signals

y

Type: RealOutput

Description: Connector of Real output signals

Used in Components (3)

HoverPID

Aircraft.ControlSystems.MultiRotorControllers

Control the attitude and height of the quadrotor through PID controllers

PositionAttitudePID

Aircraft.ControlSystems.MultiRotorControllers

Control the position and attitude of the quadrotor through PID controllers

Mixer

Aircraft.Utilities

Mixer to convert force and moments to the propeller forces