Simulink Control Design™ - MathWorks

(Tuis.) #1

Tune Simulink Blocks Using Compensator Editor


This example shows how to tune Simulink® blocks using the Compensator Editor dialog
box in Control System Designer.

Open the Model

This example uses a model of a speed control system for a sparking ignition engine. The
initial compensator has been designed in a fashion similar to the method shown in “Single
Loop Feedback/Prefilter Compensator Design” on page 9-54.

Open and explore the engine speed control model.

open_system('scdspeedctrl')

Introduction

This example uses the Compensator Editor to tune Simulink blocks. When tuning a
block in Simulink using Control System Designer, you can tune the block parameters
directly or you can tune a zero-pole-gain representation of the block. For example, in the
speed control example there is a PID controller with filtered derivative
scdspeedctrl/PID Controller:

Tune Simulink Blocks Using Compensator Editor
Free download pdf