modelPIDScale

Test model for PID controller with scaling of the control error

Information

Validation test for the block IDEAS.Controls.OBC.CDL.Reals.PID with and without setting of the parameter that scales the control error.

The test has two combinations of a PID controller and a plant. In PIDSca, the control error is scaled inside the controller, whereas in the configuration that has PIDNoSca, the setpoint signal and the measurement signal is scaled outside of the controller. Both controllers and plants have the same trajectory, thereby validating that the scaling is implemented correctly.

Components

TypeNameDefaultDescription
IDEAS.Controls.OBC.CDL.Reals.Sources.PulsepulseSetpoint
IDEAS.Controls.OBC.CDL.Reals.PIDpidScaPID controller with scaling of control input
IDEAS.Controls.OBC.CDL.Reals.IntegratorWithResetpla1Plant model
Reals.Sources.ConstantresValReset value
Logical.Sources.ConstantresSigReset signal
IDEAS.Controls.OBC.CDL.Reals.PIDpidNoScaPID controller without scaling of control input
IDEAS.Controls.OBC.CDL.Reals.MultiplyByParametergaiGain to scale setpoint
IDEAS.Controls.OBC.CDL.Reals.MultiplyByParametergai1Gain to scale measured value
IDEAS.Controls.OBC.CDL.Reals.IntegratorWithResetpla2Plant model

Revisions