MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide

Browse online or download User's Guide for Software MATLAB CONTROL SYSTEM TOOLBOX 9. MATLAB CONTROL SYSTEM TOOLBOX 9 User`s guide User Manual

MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 1: Control System1 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 2: How to Contact The MathWorks:2 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 3: How to Contact The MathWorks:3 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 4: How to Contact The MathWorks:4 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 5: How to Contact The MathWorks:5 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 6: How to Contact The MathWorks:6 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 7: How to Contact The MathWorks:7 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 8: How to Contact The MathWorks:8 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 9: How to Contact The MathWorks:9 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 10: Control Design Tools10 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 11: The Root Locus Design GUI11 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 12: Design Case Studies12 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 13: Reliable Computations13 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 14: Contents14 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 15: Contents15 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 16: Preface16 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 17: Installation17 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 18: Installation18 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 19: Typographic Conventions19 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 20: Typographic Conventions20 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 21: Quick Start21 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 22: 1 Quick Start22 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 23: LTI Models23 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 24: LTI Models24 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 25: Model Conversion25 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 26: Model Conversion26 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 27: LTI Properties27 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 28: LTI Properties28 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 29: LTI Properties29 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 30: LTI Properties30 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 31: LTI Properties31 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 32: LTI Properties32 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 33: LTI Properties33 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 34: LTI Properties34 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 35: LTI Properties35 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 36: LTI Properties36 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 37: LTI Properties37 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 38: LTI Properties38 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 39: System Interconnections39 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 40: System Interconnections40 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 41: System Interconnections41 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 42: System Interconnections42 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 43: System Interconnections43 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 44: System Interconnections44 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 45: System Interconnections45 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 46: System Interconnections46 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 47: Other Uses of FRD Models47 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 48: Other Uses of FRD Models48 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 49: Precedence Rules49 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 50: Precedence Rules50 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 51: Precedence Rules51 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 52: Precedence Rules52 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 53: Creating LTI Models53 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 54: Creating LTI Models54 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 55: Pure Gains55 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 56: Pure Gains56 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 57: MIMO Zero-Pole-Gain Models57 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 58: MIMO Zero-Pole-Gain Models58 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 59: MIMO Zero-Pole-Gain Models59 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 60: MIMO Zero-Pole-Gain Models60 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 61: MIMO Zero-Pole-Gain Models61 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 62: MIMO Zero-Pole-Gain Models62 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 63: MIMO Zero-Pole-Gain Models63 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 64: MIMO Zero-Pole-Gain Models64 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 65: MIMO Zero-Pole-Gain Models65 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 66: MIMO Zero-Pole-Gain Models66 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 67: MIMO Zero-Pole-Gain Models67 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 68: MIMO Zero-Pole-Gain Models68 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 69: MIMO Zero-Pole-Gain Models69 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 70: MIMO Zero-Pole-Gain Models70 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 71: MIMO Zero-Pole-Gain Models71 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 72: MIMO Zero-Pole-Gain Models72 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 73: MIMO Zero-Pole-Gain Models73 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 74: MIMO Zero-Pole-Gain Models74 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 75: MIMO Zero-Pole-Gain Models75 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 76: MIMO Zero-Pole-Gain Models76 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 77: Direct Property Referencing77 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 78: Direct Property Referencing78 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 79: Direct Property Referencing79 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 80: Direct Property Referencing80 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 81: Direct Property Referencing81 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 82: Direct Property Referencing82 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 83: Direct Property Referencing83 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 84: Direct Property Referencing84 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 85: Direct Property Referencing85 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 86: Direct Property Referencing86 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 87: Automatic Conversion87 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 88: Automatic Conversion88 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 89: Time Delays89 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 90: Time Delays90 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 91: Distillation Column Example91 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 92: Distillation Column Example92 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 93: Distillation Column Example93 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 94: Distillation Column Example94 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 95: Distillation Column Example95 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 96: Distillation Column Example96 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 97: Distillation Column Example97 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 98: Distillation Column Example98 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 99: Distillation Column Example99 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 100: 2 LTI Models100 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 101: 2 LTI Models101 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 102: 2 LTI Models102 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 103: References103 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 104: References104 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 105: Operations on LTI Models105 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 106: 3 Operations on LTI Models106 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 107: 3 Operations on LTI Models107 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 108: 3 Operations on LTI Models108 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 109: 3 Operations on LTI Models109 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 110: 3 Operations on LTI Models110 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 111: 3 Operations on LTI Models111 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 112: 3 Operations on LTI Models112 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 113: Resizing LTI Systems113 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 114: Resizing LTI Systems114 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 115: Arithmetic Operations115 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 116: Arithmetic Operations116 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 117: Multiplication117 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 118: Multiplication118 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 119: Multiplication119 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 120: Multiplication120 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 121: Concatenation of LTI Models121 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 122: Concatenation of LTI Models122 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 123: Concatenation of LTI Models123 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 124: Concatenation of LTI Models124 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 125: Concatenation of LTI Models125 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 126: Concatenation of LTI Models126 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 127: Matched Poles and Zeros127 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 128: Matched Poles and Zeros128 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 129: Matched Poles and Zeros129 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 130: Matched Poles and Zeros130 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 131: Matched Poles and Zeros131 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 132: Matched Poles and Zeros132 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 133: Arrays of LTI Models133 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 134: 4 Arrays of LTI Models134 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 135: Introduction135 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 136: Introduction136 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 137: The Concept of an LTI Array137 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 138: The Concept of an LTI Array138 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 139: The Concept of an LTI Array139 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 140: The Concept of an LTI Array140 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 141: The Concept of an LTI Array141 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 142: The Concept of an LTI Array142 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 143: The Concept of an LTI Array143 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 144: The Concept of an LTI Array144 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 145: Building LTI Arrays145 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 146: Building LTI Arrays146 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 147: Building LTI Arrays147 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 148: Building LTI Arrays148 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 149: Building LTI Arrays149 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 150: Building LTI Arrays150 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 151: Building LTI Arrays151 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 152: Building LTI Arrays152 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 153: Indexing Into LTI Arrays153 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 154: Indexing Into LTI Arrays154 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 155: Indexing Into LTI Arrays155 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 156: Indexing Into LTI Arrays156 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 157: Operations on LTI Arrays157 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 158: Operations on LTI Arrays158 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 159: Dimension Requirements159 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 160: Dimension Requirements160 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 161: Dimension Requirements161 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 162: Dimension Requirements162 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 163: Model Analysis Tools163 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 164: 5 Model Analysis Tools164 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 165: General Model Characteristics165 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 166: General Model Characteristics166 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 167: Model Dynamics167 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 168: Model Dynamics168 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 169: State-Space Realizations169 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 170: State-Space Realizations170 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 171: Time and Frequency Response171 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 172: Time and Frequency Response172 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 173: Frequency Response173 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 174: Frequency Response174 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 175: Frequency Response175 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 176: Frequency Response176 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 177: Frequency Response177 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 178: Frequency Response178 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 179: Customizing the Plot Display179 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 180: Customizing the Plot Display180 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 181: Customizing the Plot Display181 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 182: Customizing the Plot Display182 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 183: The LTI Viewer183 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 184: 6 The LTI Viewer184 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 185: 6 The LTI Viewer185 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 186: 6 The LTI Viewer186 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 187: 6 The LTI Viewer187 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 188: 6 The LTI Viewer188 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 189: File menu has189 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 190: File menu has190 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 191: 1 Click on the marker191 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 192: 1 Click on the marker192 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 193: Importing Models193 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 194: Importing Models194 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 195: Importing Models195 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 196: Importing Models196 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 197: The LTI Viewer Menus197 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 198: The LTI Viewer Menus198 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 199: Interactive Help199 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 200: Interactive Help200 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 201: The Right-Click Menus201 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 202: The Right-Click Menus202 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 203: Characteristics or the203 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 204: Characteristics or the204 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 205: The Axes Grouping Submenu205 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 206: The Axes Grouping Submenu206 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 207: The Axes Grouping Submenu207 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 208: The Axes Grouping Submenu208 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 209: Shift key while209 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 210: Shift key while210 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 211: Shift key while211 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 212: Shift key while212 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 213: Arrays pull-down tab213 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 214: Arrays pull-down tab214 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 215: Arrays pull-down tab215 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 216: Arrays pull-down tab216 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 217: Index into Dimensions217 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 218: Index into Dimensions218 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 219: Index into Dimensions219 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 220: Index into Dimensions220 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 221: The LTI Viewer Tools Menu221 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 222: The LTI Viewer Tools Menu222 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 223: The LTI Viewer Tools Menu223 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 224: The LTI Viewer Tools Menu224 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 225: The LTI Viewer Tools Menu225 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 226: The LTI Viewer Tools Menu226 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 227: The LTI Viewer Tools Menu227 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 228: The LTI Viewer Tools Menu228 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 229: 2 Select either:229 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 230: 2 Select either:230 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 231: Simulink LTI Viewer231 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 232: Simulink LTI Viewer232 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 233: Model_Inputs_and_Outputs233 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 234: Model_Inputs_and_Outputs234 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 235: Model_Inputs_and_Outputs235 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 236: Model_Inputs_and_Outputs236 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 237: Model_Inputs_and_Outputs237 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 238: Model_Inputs_and_Outputs238 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 239: Get Line arized Mod el239 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 240: Get Line arized Mod el240 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 241: Get Line arized Mod el241 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 242: Get Line arized Mod el242 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 243: Performing Linear Analysis243 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 244: Performing Linear Analysis244 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 245: Performing Linear Analysis245 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 246: Performing Linear Analysis246 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 247: Saving Analysis Models247 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 248: Saving Analysis Models248 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 249: Saving Analysis Models249 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 250: 7 Control Design Tools250 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 251: Root Locus Design251 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 252: Root Locus Design252 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 253: Pole Placement253 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 254: Pole Placement254 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 255: Pole Placement255 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 256: Pole Placement256 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 257: Optimal State-Feedback Gain257 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 258: Optimal State-Feedback Gain258 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 259: LQG Design259 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 260: LQG Design260 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 261: The Root Locus Design261 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 262: 8 The Root Locus Design GUI262 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 263: 8 The Root Locus Design GUI263 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 264: 8 The Root Locus Design GUI264 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 265: A Servomechanism Example265 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 266: A Servomechanism Example266 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 267: A Servomechanism Example267 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 268: A Servomechanism Example268 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 269: A Servomechanism Example269 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 270: A Servomechanism Example270 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 271: Specifying the Design Model271 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 272: Specifying the Design Model272 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 273: Gain text boxon the273 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 274: Gain text boxon the274 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 275: As you get close to a closed275 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 276: As you get close to a closed276 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 277: Zoom button to zoom in277 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 278: Zoom button to zoom in278 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 279: Zoom button to zoom in279 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 280: Zoom button to zoom in280 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 281: Gain,andpressingthe281 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 282: Gain,andpressingthe282 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 283: Gain box283 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 284: Gain box284 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 285: Add Grid/Boundary menu285 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 286: Add Grid/Boundary menu286 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 287: Edit Compensator menu item to287 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 288: Edit Compensator menu item to288 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 289: Add compensator poles here289 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 290: Add compensator poles here290 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 291: Add compensator poles here291 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 292: Add compensator poles here292 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 293: Compensator293 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 294: Compensator294 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 295: Marker for the295 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 296: Marker for the296 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 297: Then type297 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 298: Then type298 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 299: Designating the Model Source299 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 300: Designating the Model Source300 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 301: Listing Poles and Zeros301 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 302: Listing Poles and Zeros302 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 303: Show Ob ject buttons in this303 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 304: Show Ob ject buttons in this304 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 305: The plant, P (Gservo)305 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 306: The plant, P (Gservo)306 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 307: The plant, P (Gservo)307 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 308: The plant, P (Gservo)308 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 309: The plant, P (Gservo)309 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 310: 9 Design Case Studies310 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 311: 9 Design Case Studies311 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 312: 9 Design Case Studies312 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 313: 9 Design Case Studies313 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 314: 9 Design Case Studies314 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 315: 9 Design Case Studies315 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 316: 9 Design Case Studies316 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 317: 9 Design Case Studies317 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 318: 9 Design Case Studies318 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 319: 9 Design Case Studies319 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 320: 9 Design Case Studies320 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 321: 9 Design Case Studies321 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 322: 9 Design Case Studies322 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 323: H = zpk(0,–0.333,1);323 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 324: H = zpk(0,–0.333,1);324 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 325: H = zpk(0,–0.333,1);325 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 326: H = zpk(0,–0.333,1);326 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 327: H = zpk(0,–0.333,1);327 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 328: H = zpk(0,–0.333,1);328 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 329: H = zpk(0,–0.333,1);329 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 330: H = zpk(0,–0.333,1);330 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 331: H = zpk(0,–0.333,1);331 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 332: H = zpk(0,–0.333,1);332 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 333: D = zpk(0.85,0,1,Ts)333 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 334: D = zpk(0.85,0,1,Ts)334 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 335: D = zpk(0.85,0,1,Ts)335 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 336: D = zpk(0.85,0,1,Ts)336 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 337: D = zpk(0.85,0,1,Ts)337 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 338: D = zpk(0.85,0,1,Ts)338 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 339: LQG Regulation339 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 340: LQG Regulation340 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 341: LQG Regulation341 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 342: LQG Regulation342 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 343: LQG Regulation343 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 344: LQG Regulation344 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 345: LQG Regulation345 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 346: LQG Regulation346 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 347: LQG Regulation347 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 348: LQG Regulation348 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 349: LQG Regulation349 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 350: LQG Regulation350 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 351: Cross-Coupling Between Axes351 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 352: Cross-Coupling Between Axes352 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 353: Cross-Coupling Between Axes353 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 354: Cross-Coupling Between Axes354 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 355: MIMO LQG Design355 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 356: MIMO LQG Design356 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 357: MIMO LQG Design357 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 358: MIMO LQG Design358 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 359: Steady-State Design359 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 360: Steady-State Design360 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 361: Kalman Filtering361 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 362: Kalman Filtering362 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 363: Kalman Filtering363 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 364: Kalman Filtering364 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 365: Time-Varying Kalman Filter365 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 366: Time-Varying Kalman Filter366 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 367: Time-Varying Kalman Filter367 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 368: Time-Varying Kalman Filter368 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 369: Time-Varying Kalman Filter369 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 370: Time-Varying Kalman Filter370 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 371: Time-Varying Kalman Filter371 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 372: Time-Varying Kalman Filter372 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 373: Time-Varying Kalman Filter373 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 374: 10 Reliable Computations374 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 375: 10 Reliable Computations375 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 376: 10 Reliable Computations376 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 377: 10 Reliable Computations377 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 378: 10 Reliable Computations378 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 379: 10 Reliable Computations379 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 380: 10 Reliable Computations380 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 381: Choice of LTI Model381 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 382: Choice of LTI Model382 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 383: Choice of LTI Model383 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 384: Choice of LTI Model384 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 385: Choice of LTI Model385 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 386: Choice of LTI Model386 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 387: Choice of LTI Model387 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 388: Choice of LTI Model388 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 389: Choice of LTI Model389 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 390: Choice of LTI Model390 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 391: Choice of LTI Model391 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 392: 11 Reference392 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 393: Category Tables393 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 394: Category Tables394 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 395: Category Tables395 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 396: Category Tables396 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 397: Category Tables397 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 398: Category Tables398 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 399: Category Tables399 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 400: Category Tables400 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 401: Category Tables401 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 402: 11append402 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 403: Example The commands403 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 404: Feedback connection404 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 405: Syntax asys = augstate(sys)405 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 406: Syntax sysb = balreal(sys)406 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 407: Phase (deg); Magnitude (dB)407 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 408: Algorithm Consider the model408 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 409: Syntax bode(sys)409 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 410: Syntax bode(sys)410 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 411: Syntax bode(sys)411 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 412: Syntax bode(sys)412 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 413: Syntax bode(sys)413 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 414: Syntax sysd = c2d(sys,Ts)414 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 415: Syntax sysd = c2d(sys,Ts)415 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 416: Syntax sysd = c2d(sys,Ts)416 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 417: Modal Form417 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 418: Modal Form418 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 419: Modal Form419 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 420: Examples Example 1420 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 421: Example 2421 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 422: Example 2422 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 423: Example w = logspace(1,2,2);423 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 424: 11connect424 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 425: 11connect425 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 426: 11connect426 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 427: 11connect427 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 428: 11connect428 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 429: Center, 1976429 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 430: Syntax [P,Q] = covar(sys,W)430 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 431: Syntax [P,Q] = covar(sys,W)431 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 432: Syntax [P,Q] = covar(sys,W)432 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 433: Syntax Co = ctrb(A,B)433 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 434: Syntax Co = ctrb(A,B)434 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 435: Syntax Co = ctrb(A,B)435 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 436: Syntax Co = ctrb(A,B)436 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 437: Syntax Co = ctrb(A,B)437 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 438: Syntax sysc = d2c(sysd)438 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 439: Syntax sysc = d2c(sysd)439 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 440: Syntax sysc = d2c(sysd)440 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 441: Syntax sys1 = d2d(sys,Ts)441 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 442: Syntax [Wn,Z] = damp(sys)442 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 443: Syntax [Wn,Z] = damp(sys)443 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 444: Syntax [Wn,Z] = damp(sys)444 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 445: Syntax [Wn,Z] = damp(sys)445 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 446: 1746–1754446 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 447: 11dcgain447 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 448: Syntax sys = delay2z(sys)448 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 449: Syntax sys = delay2z(sys)449 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 450: Syntax sys = delay2z(sys)450 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 451: Syntax X = dlyap(A,Q)451 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 452: Syntax sys = drss(n)452 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 453: Syntax sys = drss(n)453 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 454: Syntax sys = drss(n)454 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 455: Syntax sys = dss(a,b,c,d,e)455 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 456: Example The command456 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 457: 11dssdata457 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 458: Syntax s = esort(p)458 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 459: , sort Sort system poles459 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 460: Syntax est = estim(sys,L)460 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 461: Syntax est = estim(sys,L)461 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 462: 11evalfr462 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 463: 11feedback463 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 464: 11feedback464 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 465: 11feedback465 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 466: Example 3466 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 467: Syntax sys = filt(num,den)467 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 468: Example Typing the commands468 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 469: Example Typing the commands469 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 470: Example Type the commands470 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 471: Create transfer functions471 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 472: Create transfer functions472 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 473: Set model properties473 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 474: 11freqresp474 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 475: 11freqresp475 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 476: 11freqresp476 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 477: 11gensig477 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 478: Plot the resulting signal478 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 479: Plot the resulting signal479 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 480: Plot the resulting signal480 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 481: Plot the resulting signal481 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 482: Plot the resulting signal482 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 483: Syntax hasdelay(sys)483 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 484: Syntax impulse(sys)484 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 485: Syntax impulse(sys)485 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 486: Amplitude486 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 487: Amplitude487 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 488: Syntax initial(sys,x0)488 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 489: Syntax initial(sys,x0)489 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 490: Syntax initial(sys,x0)490 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 491: Purpose Invert LTI systems491 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 492: Purpose Invert LTI systems492 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 493: Purpose Invert LTI systems493 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 494: Syntax boo = isct(sys)494 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 495: Syntax boo = isempty(sys)495 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 496: Syntax boo = isproper(sys)496 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 497: Syntax boo = issiso(sys)497 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 498: Continuous-Time Estimation498 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 499: Discrete-Time Estimation499 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 500: Discrete-Time Estimation500 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 501: Discrete-Time Estimation501 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 502: Discrete-Time Estimation502 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 503: Discrete-Time Estimation503 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 504: Discrete-Time Estimation504 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 505: Syntax sys = lft(sys1,sys2)505 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 506: Syntax sys = lft(sys1,sys2)506 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 507: Syntax rlqg = lqgreg(kest,k)507 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 508: Syntax rlqg = lqgreg(kest,k)508 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 509: Syntax rlqg = lqgreg(kest,k)509 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 510: Syntax rlqg = lqgreg(kest,k)510 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 511: Syntax [K,S,e] = lqr(A,B,Q,R)511 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 512: Form LQG regulator512 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 513: Form LQG regulator513 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 514: Form LQG regulator514 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 515: Form LQG regulator515 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 516: Syntax lsim(sys,u,t)516 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 517: Syntax lsim(sys,u,t)517 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 518: Then simulate with lsim518 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 519: Then simulate with lsim519 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 520: Then simulate with lsim520 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 521: Then simulate with lsim521 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 522: Then simulate with lsim522 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 523: Syntax ltiview523 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 524: See Also bode Bode response524 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 525: See Also bode Bode response525 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 526: See Also bode Bode response526 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 527: 11margin527 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 528: MATLAB responds with528 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 529: MATLAB responds with529 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 530: Syntax sysr = minreal(sys)530 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 531: M odel order reduction531 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 532: Purpose Model order reduction532 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 533: Purpose Model order reduction533 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 534: Purpose Model order reduction534 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 535: Purpose Model order reduction535 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 536: Syntax n = ndims(sys)536 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 537: Syntax ngrid537 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 538: Open−Loop Gain (dB)538 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 539: Syntax nichols(sys)539 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 540: Syntax nichols(sys)540 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 541: Syntax nichols(sys)541 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 542: Syntax nichols(sys)542 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 543: Syntax nichols(sys)543 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 544: Syntax nichols(sys)544 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 545: See Also bode Bode plot545 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 546: Syntax nyquist(sys)546 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 547: Syntax nyquist(sys)547 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 548: Syntax nyquist(sys)548 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 549: Syntax Ob = obsv(A,B)549 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 550: Syntax Ob = obsv(A,B)550 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 551: Syntax Ob = obsv(A,B)551 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 552: Syntax Ob = obsv(A,B)552 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 553: Syntax [A,B,C,D] = ord2(wn,z)553 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 554: Syntax [num,den] = pade(T,N)554 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 555: Syntax [num,den] = pade(T,N)555 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 556: N>10 should be avoided556 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 557: N>10 should be avoided557 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 558: 11parallel558 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 559: 11parallel559 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 560: Purpose Pole placement design560 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 561: Purpose Pole placement design561 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 562: Purpose Pole placement design562 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 563: Syntax pzmap(sys)563 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 564: Imag Axis564 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 565: Imag Axis565 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 566: Syntax rsys = reg(sys,K,L)566 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 567: Syntax rsys = reg(sys,K,L)567 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 568: Syntax rsys = reg(sys,K,L)568 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 569: Example sys = rss(4,1,1,2,3);569 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 570: 11rlocfind570 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 571: 11rlocfind571 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 572: Purpose Evans root locus572 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 573: Purpose Evans root locus573 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 574: Purpose Evans root locus574 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 575: Syntax rltool575 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 576: Syntax rltool576 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 577: Syntax rltool577 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 578: F and H578 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 579: Syntax sys = rss(n)579 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 580: Syntax sys = rss(n)580 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 581: 11series581 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 582: 11series582 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 583: 11series583 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 584: Property584 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 585: Property585 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 586: Property586 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 587: Property587 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 588: Property588 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 589: Property589 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 590: Syntax sgrid590 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 591: Syntax sgrid591 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 592: Syntax sigma(sys)592 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 593: Syntax sigma(sys)593 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 594: Syntax sigma(sys)594 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 595: Syntax sigma(sys)595 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 596: Nichols plot596 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 597: Syntax size(sys)597 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 598: Test if LTI model is empty598 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 599: Syntax msys = sminreal(sys)599 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 600: Syntax msys = sminreal(sys)600 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 601: Syntax sys = ss(a,b,c,d)601 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 602: Conversion to State Space602 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 603: Conversion to State Space603 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 604: Conversion to State Space604 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 605: Syntax sysT = ss2ss(sys,T)605 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 606: Syntax [sysb,T] = ssbal(sys)606 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 607: Syntax [sysb,T] = ssbal(sys)607 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 608: 11ssdata608 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 609: 11ssdata609 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 610: Syntax step(sys)610 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 611: Syntax step(sys)611 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 612: Syntax step(sys)612 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 613: Syntax step(sys)613 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 614: Syntax sys = tf(num,den)614 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 615: Syntax sys = tf(num,den)615 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 616: Syntax sys = tf(num,den)616 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 617: Syntax sys = tf(num,den)617 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 618: Example 4618 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 619: Example 4619 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 620: Example 4620 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 621: 11tfdata621 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 622: 11tfdata622 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 623: Specify transfer functions623 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 624: Syntax td = totaldelay(sys)624 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 625: Syntax td = totaldelay(sys)625 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 626: Syntax zgrid626 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 627: Syntax zgrid627 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 628: Syntax sys = zpk(z,p,k)628 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 629: Syntax sys = zpk(z,p,k)629 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 630: Variable630 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 631: Example Example 1631 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 632: Example Example 1632 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 633: Syntax [z,p,k] = zpkdata(sys)633 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 634: Syntax [z,p,k] = zpkdata(sys)634 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 635: Get properties of LTI models635 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 636: Get properties of LTI models636 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 637: Get properties of LTI models637 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 638: See state-space models638 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 639: See also LTI models639 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 640: See I/O groups640 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 641: See also Simulink LTI Viewer641 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 642: See frequency response642 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 643: See Simulink LTI Viewer643 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 644: See LTI objects644 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 645: See LTI objects645 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 646: See LTI objects646 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 647: See transfer functions647 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 648: See zeros648 MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide, Page 649: See zeros649
/ 649
Table of contents

For Use with M

ATLAB
®
Computation
Visualization
Programming

Control System

Toolbox

User’s Guide

Version 4.2

PDF file · ·

Print

Print document

Sharing

Summary of Contents

Page 1 - Control System

For Use with MATLAB ® Computation Visualization Programming Control System Toolbox User’s Guide Version 4.2

Page 2 - How to Contact The MathWorks:

How to Contact The MathWorks: 508-647-7000 Phone 508-647-7001 Fax The MathWorks, Inc. Mail 24 Prime Park Way Natick, MA 01760-1500…

Page 3

i Contents Preface Installation 3 Getting Started 4 Typographic Conventions 5 Quick Start LTI Models 1-3 MIMOSystems 1-4 ModelConversion 1-5 LTIArrays…

Page 4

ii Contents System Interconnections 1-19 Control Design Tools 1-20 The Root Locus Design GUI 1-23 LTI Models Introduction 2-2 LTIModels 2-2…

Page 5

iii LTI Properties 2-26 GenericProperties 2-26 Model-SpecificProperties 2-28 SettingLTIProperties 2-30 AccessingPropertyValuesUsingget 2-31…

Page 6

iv Contents Operations on LTI Models Introduction 3-2 Precedence and Prop erty Inheritance 3-3 Extracting and Modifying Subsystems 3-5…

Page 7

v Resampling of Discrete-Time Models 3-27 References 3-28 Arrays of LTI Models Introduction 4-2 WhentoCollectaSetofModelsinanLTIArray 4-2…

Page 8

vi Contents DimensionRequirements 4-27 SpecialCasesforOperationsonLTIArrays 4-27 Examples of Operations on LTI Arrays with SingleLTIModels 4-28…

Page 9

vii DisplayingResponseCharacteristicsonaPlot 6-9 ImportingModels 6-11 Zooming 6-12 The LTI Viewer Menus 6-15 TheFileMenu 6-15 Importing a New Model…

Page 10 - Control Design Tools

viii Contents Specifying the Simulink Model Portion for Analysis 6-53 Adding Input Point or Output Point Blocks t o the Diagram 6-53 Removing Input…

Page 11 - The Root Locus Design GUI

ix The Root Locus Design GUI Introduction 8-2 A Servomechanism Example 8-4 Controller Design Using the Root Locus Design GUI 8-6…

Page 12

x Contents ClearingData 8-46 References 8-48 Design Case Studies Yaw Damper for a 747 Jet Transport 9-3 Open-LoopAnalysis 9-6 RootLocusDesign 9-9…

Page 13 - Reference

xi Reliable Computations Conditioning and Numerical Stability 10-4 Conditioning 10-4 NumericalStability 10-6 Choice of LT I Model 10-8 StateSpace 10-8…

Page 14 - Contents

xii Contents ConversiontoTransferFunction 11-226 Example1 11-226 Example2 11-227 Example3 11-227 Example4 11-228 CreationofZero-Pole-GainModels 11-238…

Page 15

Preface Installation 3 Getting Started 4 Typographic Conventions 5

Page 16 - Preface

Preface 2 MATLAB ® has a rich collection of functions immediately useful to the control engineer or system theorist. Complex arithmetic, eigenvalues…

Page 17 - Installation

Installation 3 Installation Instructions for installing the Control System Toolbox can be found in the MATLAB Installation Guide for your platform. We…

Page 18

Preface 4 Getting Started If you are a new user, begin with Chapters 2 through 5 to learn: How to specify and manipula te linear time-invariant models…

Page 19 - Typographic Conventions

Typographic Conventions 5 Typographic Conventions To Indicate This Guide Uses Example code Monospace type To assign the value 5 to A, enter A = 5…

Page 20

Preface

Page 21 - Quick Start

Quick Start LTI Models 1-3 MIMOSystems 1-4 ModelConversion 1-5 LTIArrays 1-6 LTI Properties 1-7 Model Characteristics 1-10 Operations on LTI Models…

Page 22 - 1 Quick Start

1 Quick Start 1-2 Thischapter providesa quick overviewof somefeatures ofthe ControlSystems Toolbox.

Page 23

You can specify linear time-invariant (LTI) systems a s transfer function (TF) models, zero/pole/gain (ZPK) models, state-space (SS) models, o r…

Page 24

1 Quick Start 1-4 To create discrete-time models, append the sample time Ts to the previous calling sequences. sys = tf(num,den,Ts) sys =…

Page 25 - Model Conversion

where each SISO entry is characterized by its n umerator and denominator. Cell arrays provide an ide al means to specify the resulting arrays of…

Page 26

1 Quick Start 1-6 MATLAB derives the zero/pole/gain representation of the transfer function h Zero/pole/gain: 1 (s+1)^2 LTI Arrays You can now create…

Page 27 - LTI Properties

LTI Properties 1-7 LTI Properties Inadditiontothemodeldata,theTF,ZPK,FRD,andSSobjectscanstoreextra information, such as the system sample time, time…

Page 28

1 Quick Start 1-8 Type: get(sys) a: -1 b: 1 c: 1 d: 0 e: [] StateName: {''} Ts: 0.5 InputDelay: 0 OutputDelay: 0 ioDelayMatrix: 0 InputName: {''}…

Page 29

LTI Properties 1-9 MATLAB returns ans = 3.0000e–01

Page 30

1 Quick Start 1-10 Model Characteristics The Control System Toolbox contains commands to query such model characteristics as the I/O dimensions…

Show all 649 pages
Page 31

Operations on LTI Models 1-11 Operations on LTI Models You can perform simple matrix operations, such as addition, multiplication, or concatenation on…

Page 32

1 Quick Start 1-12 extracts the subsystem mapping the first input to the third output. Note that row indices select the outputs while columnindices…

Page 33

Continuous/Discrete Conversions 1-13 Continuous/Discrete Conversions The commands c2d, d2c,andd2d perform continuous to discrete, discrete to…

Page 34

1 Quick Start 1-14 Time and Frequency Response Thefollowingcommandsproducevarioustimeandfrequencyresponseplotsfor LTI models (see “Time and Frequency…

Page 35

Time and Frequency Response 1-15 produces the Bode plot shown below. To superimpose and compare the responses of several LTI systems, use the syntax…

Page 36

1 Quick Start 1-16 These commands automatically determine an appropriate simulation horizon or frequency range ba sed on t he system dynamics. To o…

Page 37

You can also analyze time and frequency domain responses using the LTI Viewer; see “The LTI Viewer” on page 6-1 for more information. The LTI Viewer…

Page 38

1 Quick Start 1-18 For more detail on the use of the LTI Viewer and how it can be integrated into a Simulink diagram, see Chapter 6, “The LTI Viewer.”

Page 39 - System Interconnections

System Interconnections 1-19 System Interconnections You ca n derive LTI models for various system interconnections ranging from simple series…

Page 40

1 Quick Start 1-20 Control Design Tools The Control System Toolbox supports three mainstream control design methodologies: gain selection from root…

Page 41

Control Design Tools 1-21 Figure 1-1: Simple Regulation Loop The following commands design the optimal LQG regulator for this problem. sys =…

Page 42

1 Quick Start 1-22 To validate the design,closethe loop with feedback andcomparetheo pen- and closed-loop impulse responses with impulse. % Close loop…

Page 43

The Root Locus Design GUI 1-23 The Root Locus Design GUI You ca n also design a compensator using the Root Locus Design Graphical User Interface…

Page 44

1 Quick Start

Page 45

Introduction 2-2 Creating LTI Models 2-8 LTI Properties 2-26 Model Conversion 2-42 Time Delays 2-45 Simulink Block for LTI Systems 2-57 References…

Page 46

Introduction The Control System Too lbox offers ex tensiv e to ols to manip ulate and anal yze linear time-invariant (LTI) models. It supports b oth…

Page 47 - LTI Objects

Introduction 2-3 Using LTI Models in the Control System Toolbox You can manipulate TF, SS, and ZPK models using the arithmetic and model…

Page 48

Creating an LTI Object: An Example An LTI object of the type TF, ZPK, SS, or FRD is created whenever you i nvoke the corresponding constructor…

Page 49 - Precedence Rules

Introduction 2-5 Precedence Rules Operations like addition and commands like feedback operate on more than one LTI model at a time. If these LTI…

Page 50

For example, the parallel connection of t wo LTI systems sys1 and sys2 can be expr es sed as sys = sys1 + sys2 because parallel connection amounts to…

Page 51

Introduction 2-7 set Set LTI model properties. size Get output/input/array dimensions or model order. ss Create a state-space model. ssdata, dssdata…

Page 52

Creating LTI Models The functions tf, zpk, ss,andfrd creat e transfer function models, zero-pole-gain models, state-space models, and frequency…

Page 53 - Creating LTI Models

Creating LTI Models 2-9 where num and den are row vectors listing the coefficients of the polynomials and , respectively, when these polynomials are…

Page 54

MIMO Transfer Function Models MIMO transfer functions are two-dimensional arrays of elementary SISO transfer f un c tio n s. There are se v era l ways…

Page 55 - Pure Gains

Creating LTI Models 2-11 For example, for the rational transfer matrix , the two cell arrays N and D should contain the row-vector representations of…

Page 56

while E = tf creates an empty transfer function. Zero-Pole-Gain Models This section explains how to specify continuous-time SISO and MIMO…

Page 57 - MIMO Zero-Pole-Gain Models

Creating LTI Models 2-13 produces Zero/pole/gain: –2 s (s–2) (s^2 – 2s + 2) You can also specify zero-pole-gain models as rational expressions in the…

Page 58

wher e Z is the p -by-m cell array o f zero s (Z{i,j} = zeros of ) P is the p-by-m cell array o f p oles (P{i,j} = poles of ) K is the p -by-m matrix…

Page 59

Creating LTI Models 2-15 Use the command ss to create state-space models sys = ss(A,B,C,D) For a model with Nx states, Ny out pu t s, and Nu inputs A…

Page 60

to which MATLAB responds a = x1 x2 x1 0 1.00000 x2 –5.00000 –2.00000 b = u1 x1 0 x2 3.00000 c = x1 x2 y1 0 1.00000 d = u1 y1 0 In addition to the A…

Page 61

Creating LTI Models 2-17 it is often desirable to work with the descriptor form when the matrix is poorly conditioned with respect to inversion. The…

Page 62

Here is the input frequency of each sinusoid, i = 1 ... n,andG(w)= . The steady state output response of this system satisfies A frequency response…

Page 63

Creating LTI Models 2-19 For example, the MAT-file LTIexamples.mat contains a frequency vector freq, and a corresponding complex frequency response…

Page 64

Discrete-Time Models Creating discrete-time models is very much like creating continuous-time models, exce p t that you must als o spe cif y a samp…

Page 65

Creating LTI Models 2-21 produces Transfer function: z – 0.2 z + 0.3 Sampling time: unspecified Note: Do no t simply omit Ts in this case . This would…

Page 66

Similarly, z = zpk('z', 0.1); H = [z/(z+0.1)/(z+0.2) ; (z^2+0.2*z+0.1)/(z^2+0.2*z+0.01)] produces the single-input, two-output ZPK model…

Page 67

Creating LTI Models 2-23 produces the transfer function which differs from by a factor . To avoid such convention clashes, the Control System Toolbox…

Page 68

Data Retrieval The functions tf, zpk, ss,andfrd pack the model data and sample time in a singleLTI object.Conversely,thefollowingcommandsprovide…

Page 69

Creating LTI Models 2-25 displays the coefficients of the numerator and denominator of the first input channel. ans = 0 1 –1 ans = 1 2 10 Note that…

Page 70

LTI Properties The previous s ection shows how to create LTI objects that encapsulate the model data and sample time. You also have the option t o…

Page 71

LTI Properties 2-27 ThesampletimepropertyTs keeps track of the sample time (in seconds) of discrete-time systems. By convention, Ts is 0 (zero) for…

Page 72

Model-Specific Properties The remaining LTI properties are specific to one of the four model types (TF, ZPK, SS, or FRD). For single LTI models, these…

Page 73

LTI Properties 2-29 Most of these properties are dedicated to storing the model data. Note that the matrix is set to [] (the empty matrix) for…

Page 74

Setting LTI Properties There are three ways to specify LTI property values: You can set properties when creating LTI models with tf, zpk, ss,orfrd.…

Page 75

LTI Properties 2-31 For example, you can specify the delay directly when you create the model, and then use the set command to assign InputName…

Page 76

where the string PropertyName is ei ther the full pr o pe r ty name, or a ny abbreviatio n wi th enoug h charact ers to i denti fy the pr opert y uniq…

Page 77 - Direct Property Referencing

LTI Properties 2-33 Direct Property Referencing An alternative way t o q uery /mo d ify pro p ert y values is by s tructure- lik e referencing. Recall…

Page 78

prod uces ans = 'u' Any valid syntax for structures extends to LTI objects. For example, given the TF model h = tf(1,[1,0],'variable','p'); you can…

Page 79

LTI Properties 2-35 This sets the Ts property to the v alue 0.5, as is confirmed by h.Ts ans = 0.5000 Forcontinuous-timemodels,thesampletimepropertyTs…

Page 80

Note that tf(0.1,[1 –1],0.1) + tf(1,[1 0.5],0.5) returns an error message. ??? Error using ==> lti/plus In SYS1+SYS2, both models must have the same…

Page 81

LTI Properties 2-37 This produces Transfer function from input "thrust" to output "velocity": 1 p + 10 Note how the display reflects the input and…

Page 82

To see how input and output groups (I/O groups) work: 1 Create a random state-space model with one state, three inputs, and three outputs. 2 Assign…

Page 83

LTI Properties 2-39 To do this, type h = rss(1,3,3); set(h, 'InputGroup',{[1 2] 'controls'}) set(h, 'OutputGroup', {[1] 'temperature'; [2 3]…

Page 84

Notice that the middle column of the I/O group listing indicates whether the groupisaninputgroup( I)oranoutputgroup(O). In general, to specify M input…

Page 85

LTI Properties 2-41 You can use regular cell array syntax for accessing or modifying I/O group components. For example, to delete the first output…

Page 86

Model Conversion There are four LTI model types you can use with the Control System Toolbox: TF,ZPK,SS,andFRD.Thissection shows how…

Page 87 - Automatic Conversion

Model Conversion 2-43 for continu ous-time models, and for discret e-time models. Automatic Conversion Some algorithms operate only on one type of LTI…

Page 88

balancing automatically when you convert any TF or ZPK model to state space u s in g ss. Conversions to the transfer function representation using tf…

Page 89 - Time Delays

Time Delays 2-45 Time Delays Using the ioDelayMatrix, InputDelay,andOutputDelay properties of LTI…

Page 90

Interconnections of continuous-time delay systems as long a s the resulting transfer function from input to output is of t he form where is a rational…

Page 91 - Distillation Column Example

Time Delays 2-47 This creates the LTI model with the following transfer function. Here is the entry of Note: State-space models with I/O delays have…

Page 92

Figure 2-3: Distillation Column Schematica lly, t he dis tillat io n p rocess functions as follo ws: Stea m flow s into the reb oil er and vapo rizes…

Page 93

Time Delays 2-49 The regulated output variabl es are: Percentage of methanol in the distillate Percentage of methanol in the bottom products. The goal…

Page 94

The resulti ng T F mod e l i s dis play ed as Transfer function from input "R" to output... 12.8 Xd: exp(–1*s) * 16.7 s + 1 6.6 Xb: exp(–7*s) * 10.9 s…

Page 95

Time Delays 2-51 Note that the 0.1 second delay is on the input in the first model, and on the output in the second model. InputDelay and OutputDelay…

Page 96

The resulting model is displayed as Transfer function from input to output... 1 #1: exp(–0.1*s) * - s 2 #2: exp(–0.1*s) * s + 1 By comparison, to…

Page 97

Time Delays 2-53 produces the discrete-time transfer function Transfer function: 1 z^(–3) * z^2 + 0.5 z + 0.2 Sampling time: 0.1 Notice the z^(–3)…

Page 98

absorbs the input delay in H1 int o thetransfer functiondenom inatorto produce the third -ord e r tra nsf er function Transfer function: 1 z^3 – z^2…

Page 99

Time Delays 2-55 channel delays. The resulting model has a minimum number of delays. When this minimization takes place: All orpartof theI/O…

Page 100

type pade(H,[],[],[1 1;2 1]) where H is the TF representation of defined in the “Distillation Column Example” on page 2-47. This command produces a…

Page 101

Simulink Block for LTI Systems 2-57 Simulink Block for LTI Systems You can incorporate LTI objects into Simulink diagrams using the LTI System block…

Page 102

transfer functions or zero-pole-gain models, as it depends on the choice of state coordinates used by the realization algorithm. As a result, you…

Page 103 - References

References 2-59 References [1] Dorf, R.C. and R.H. Bi shop, Modern Control Systems, Addison-Wesley, Menlo Park, CA, 1998. [2] Wood, R.K. and M.W.…

Page 104

2 LTI Models

Page 105 - Operations on LTI Models

Operations on LTI Models Introduction 3-2 Precedence and Property Inheritance 3-3 Extracting and Modifying Subsystems 3-5 Referencing FRD Models…

Page 106 - 3 Operations on LTI Models

3 Operations on LTI Models 3-2 Introduction You can perform basic matrix operations such as addition, multiplication, or concatenation on LTI models.…

Page 107

Precedence and Property Inheritance 3-3 Precedence and Property Inheritance You can apply operations to LTI models of different types. The resulting…

Page 108

3 Operations on LTI Models 3-4 In general, when two LTI models sys1 and sys2 are combined using operations such as +, *, [,], [;], append,andfeedback…

Page 109

Extracting and Modifying Subsystems 3-5 Extracting and Modifying Subsystems relate subsets of the inputs and outputs of a system. The transfer matrix…

Page 110

3 Operations on LTI Models 3-6 Note: sys, the LTI model that has had a portion reassigned, retains its original model type (TF, ZPK, SS, or FRD)…

Page 111

Extracting and Modifying Subsystems 3-7 To extract the transfer function from the first input to the first output, type T(1,1) Transfer function: 1 s…

Page 112

3 Operations on LTI Models 3-8 I/O channel or g roup names) as a keyword. There are two ways you can specify FRD models using frequencies: Using…

Page 113 - Resizing LTI Systems

Extracting and Modifying Subsystems 3-9 is equivalent to sys(1,[2 4 5] Similarly, if pressure isthenameassignedtoanoutputchanneloftheLTI model…

Page 114

3 Operations on LTI Models 3-10 For state-space models, both concatenation and subsystem assignment increase the model order because they assume t hat…

Page 115 - Arithmetic Operations

Arithmetic Operations 3-11 Arithmetic Operations You can apply almost all arithmetic operations to LTI models, including those shown below. To…

Page 116

3 Operations on LTI Models 3-12 represents the parallel interconnection shown below. If sys1 and sys2 are two state-space models with data and , the…

Page 117 - Multiplication

Arithmetic Operations 3-13 Multiplication of two LTI models connects them in series. Specifically, sys = sys1 * sys2 returns an LTI model sys for the…

Page 118

3 Operations on LTI Models 3-14 The resulting inverse model is of the same type as sys. Related operations include: Left division sys1\sys2, which is…

Page 119

Arithmetic Operations 3-15 You can use pertransposition to obtain the Hermitian (conjugate) transpose of the frequency response of a given system. The…

Page 120

3 Operations on LTI Models 3-16 Model Interconnection Functions The Control System Toolbox provides a number of functions to help with the model…

Page 121 - Concatenation of LTI Models

Model Interconnection Functions 3-17 Concatenation of LTI Models LTI model concatenation is done in a manner similar to the way you concatenate…

Page 122

3 Operations on LTI Models 3-18 Use append(sys1,sys2) to specify the block-decoupled LTI model interconnection. See append on page 11-12 for more…

Page 123

Model Interconnection Functions 3-19 For example, if sys1 has m inputs and p outputs, while sys2 has p inputs and m outputs, then the negative…

Page 124

3 Operations on LTI Models 3-20 Continuous/Discrete Conversions of LTI Models The function c2d discretizes continuous-time TF, SS, or ZPK models.…

Page 125

Continuous/Discrete Conversions of LTI Models 3-21 The signal is then fed to the continuous system , and the resulting output is sampled every seconds…

Page 126

3 Operations on LTI Models 3-22 and you get back the original discrete-time system (up to canceling the pole/zero pair at z=–0.5): Zero/pole/gain…

Page 127 - Matched Poles and Zeros

Continuous/Discrete Conversions of LTI Models 3-23 Similarly, the d2c conversion relies on the inverse correspondence Tustin with Frequency Prewarping…

Page 128

3 Operations on LTI Models 3-24 Discretization of Systems with Delays You can also use c2d to discretize SISO or MIMO continuous-time models with time…

Page 129

Continuous/Discrete Conversions of LTI Models 3-25 The step responses of the continuous and discretized models are compared in the figure below. This…

Page 130

3 Operations on LTI Models 3-26 vectors when it is p ossible to reduce the total number of I/O delays. The resulting model has a minimum number of…

Page 131

Resampling of Discrete-Time Models 3-27 Resampling of Discrete-Time Models You can resample a discrete-time TF, SS, or ZPK model sys1 by typing sys2 =…

Page 132

3 Operations on LTI Models 3-28 References [1] Åström, K.J. and B. Wittenmark, Computer-Controlled Systems: Theory and Design, Prentice-Hall, 1990…

Page 133 - Arrays of LTI Models

Arrays of LTI Models Introduction 4-2 When to Collect a Set of Models in an LTI Array 4-2 Restrictions for LTI Models Collected in an Array 4-2…

Page 134 - 4 Arrays of LTI Models

4 Arrays of LTI Models 4-2 Introduction You can use LTI arrays to collect a set of LTI models into a single MATLAB variable. You then use this…

Page 135 - Introduction

Introduction 4-3 Where to Find Information on LTI Arrays Thenext twosections giveexamples thatillustratetheconcept ofanLTI array, its dimensions, and…

Page 136

4 Arrays of LTI Models 4-4 The Concept of an LTI Array To visualize the concept of an LTI array, consider the set of five transfer function models…

Page 137 - The Concept of an LTI Array

The Concept of an LTI Array 4-5 Just as you might collect a set of two-by-two matrices in a multidimensional array, you can collect this set of five…

Page 138

4 Arrays of LTI Models 4-6 Higher Dimensional Arrays of LTI Models You can also collect a set of models in a two-dimensional array. The following…

Page 139

Dimensions, Size, and Shape of an LTI Array 4-7 Dimensions, Size, and Shape of an LTI Array The dimensions and size of a single LTI model are…

Page 140

4 Arrays of LTI Models 4-8 Thenext figure illustrates the concepts of dimension and sizefor the LTI array m2d, a 2-by-3 array of one-input, two-output…

Page 141

Dimensions, Size, and Shape of an LTI Array 4-9 Five related quantities are pertinent to understanding the array dimensions: N, the number of models…

Page 142

4 Arrays of LTI Models 4-10 Note: By convention, a single LTI model is treated as a 1-by-1 array of models. For s ingle LTI models, size returns only…

Page 143

Dimensions, Size, and Shape of an LTI Array 4-11 Notice that size returns a vector whose entries correspond to the length of each of the four…

Page 144

4 Arrays of LTI Models 4-12 Building LTI Arrays There are several ways to b uild LTI arrays: Using a for loop to assign each model in the array Using…

Page 145 - Building LTI Arrays

Building LTI Arrays 4-13 Suppose, based on measured input and output data, you estimate confidence intervals , and for each of the pa rameters, and .…

Page 146

4 Arrays of LTI Models 4-14 The first two colon indices ( ) select all I/O channels from the I/O dimensions of H. Thet hird indexof H refers to the…

Page 147

Building LTI Arrays 4-15 For the purposes of efficient computation, you can initialize an LTI array to zero, and then reassign the entire array to the…

Page 148

4 Arrays of LTI Models 4-16 When you concatenate several models or LTI arrays along the jth array dimension, such as in stack(j,sys1,sys2,...,sysn)…

Page 149

Building LTI Arrays 4-17 % Set up the LTI array using stack. COL1 = stack(1,H11,H21); % The first column of the 2-by-2 array COL2 = stack(1,H12,H22)…

Page 150

4 Arrays of LTI Models 4-18 where Both zeros and poles are multidimensional cell arrays whose cell entries contain the v ectors of zeros and poles for…

Page 151

Building LTI Arrays 4-19 where is the maximum of the number of states in each model in the array. is the number of inputs in each model. is the number…

Page 152

4 Arrays of LTI Models 4-20 Indexing Into LTI Arrays You can index into LTI arrays in much the same way as y ou would for multidimensional arrays to…

Page 153 - Indexing Into LTI Arrays

Indexing Into LTI Arrays 4-21 For example, if sys is a 5-by-2 a rray of state-space models defined by sys = rss(4,3,2,5,2); youcan access(and…

Page 154

4 Arrays of LTI Models 4-22 selects the first two input channels, and the first output channel in each model of the LTI array A, and returns the…

Page 155

Indexing Into LTI Arrays 4-23 Similarly, the commands sys(:,:,3,2) = sys(:,:,4,1); sys(1,2,3,2) = 0; reassign the entire model in the (3,2) position…

Page 156

4 Arrays of LTI Models 4-24 Similarly, sys(:,:,[3 4],:) = [] deletes the third and fourth rows of this two-dimensional array of models.

Page 157 - Operations on LTI Arrays

Operations on LTI Arrays 4-25 Operations on LTI Arrays Using LTI arrays, you can apply almost all of the basic model operations that work on single…

Page 158

4 Arrays of LTI Models 4-26 Example: Addition of Two LTI Arrays The following diagram illustrates the addition of two 3-by-1 LTI arrays sys1+sys2.…

Page 159 - Dimension Requirements

Operations on LTI Arrays 4-27 Note that: Each model in sys1 and sys2 must have the same number of inputs and outputs. This is required for the…

Page 160

4 Arrays of LTI Models 4-28 where sys, the result of the operation, is an L TI array with the same array dimensions as sys1. You can use shortcuts for…

Page 161

Operations on LTI Arrays 4-29 You can do this efficiently by first setting up an LTI array h containing the SISO models and then using concatenation…

Page 162

4 Arrays of LTI Models 4-30 adds a single SISO transfer function model to each entry in each model of the LTIarrayofMIMOmodels [h,h]. Finally, G =…

Page 163 - Model Analysis Tools

Model Analysis Tools General Model Characteristics 5-2 Model Dynamics 5-4 State-Space Realizations 5-7 Time and Frequency Response 5-9 TimeResponses…

Page 164 - 5 Model Analysis Tools

5 Model Analysis Tools 5-2 General Model Characteristics General model characteristics include t he model type, I/O dimensions, and continuous or…

Page 165 - General Model Characteristics

General Model Characteristics 5-3 This example ill ustrates the use of some of these commands. See the related reference pages for more details. H =…

Page 166

5 Model Analysis Tools 5-4 Model Dynamics The Control System Toolbox offers commands to determine the system poles, zeros,DCgain,norms,etc.Youcanapply…

Page 167 - Model Dynamics

Model Dynamics 5-5 Here is an example of model analysis using some of these commands. h = tf([4 8.4 30.8 60],[1 4.12 17.4 30.8 60]) Transfer function…

Page 168

5 Model Analysis Tools 5-6 Thesefunctionsalsoo perateonLTIarraysandreturnarrays.F or example,the poles of a three dimensional LTI array sysarray are…

Page 169 - State-Space Realizations

State-Space Realizations 5-7 State-Space Realizations The following functions are useful t o analyze, perform state coordinate transformations on, and…

Page 170

5 Model Analysis Tools 5-8 state-spacecomputations.Consequently,itiswisetousethemonly foranalysis purposes and not in control design algorithms.

Page 171 - Time and Frequency Response

Time and Frequency Response 5-9 Time and Frequency Response The Control System Toolbox contains a set of commands that provide the basic time and…

Page 172

5 Model Analysis Tools 5-10 where sys is any continuous or discrete LTI model or LTI array. For MIMO models, these commands produce an array of plots…

Page 173 - Frequency Response

Time and Frequency Response 5-11 Note: When specifying a time vector t = [0:dt:tf],rememberthe following constraints on the spacing dt between time…

Page 174

5 Model Analysis Tools 5-12 In addition, the function margin determines the gain and phase margins for a given SISO open-loop model. These functions…

Page 175

Time and Frequency Response 5-13 For example, bode(sys,{0.1 , 100}) draws the Bode plot between 0.1 and 100 radians/second. You can also specify a…

Page 176

5 Model Analysis Tools 5-14 several LTI models on a single plot. To do so, invoke the corresponding command line function using the list sys1,...…

Page 177

Time and Frequency Response 5-15 The following example compares a continuous model with its zero-order-hold discretization. sysc = tf(1000,[1 10…

Page 178

5 Model Analysis Tools 5-16 bode(sysc,'--',sysd,'-') % compare Bode responses A comparison of the continuous and discretized responses reveal s a…

Page 179 - Customizing the Plot Display

Time and Frequency Response 5-17 Customizing the Plot Display You can plo t da ta g e nerated by several response a na ly sis functions app lied to…

Page 180

5 Model Analysis Tools 5-18 For example, the following sequence of commands displays the Bode plot, s tep response, p ole/zero map, and some…

Page 181

Time and Frequency Response 5-19 Another example is subplot(221) bode(h) subplot(222) step(h) subplot(223) pzmap(h) subplot(224) plot(rand(1, 100)) %…

Page 182

5 Model Analysis Tools 5-20 Model Order Reduction You can derive reduced-order models with the following commands. Use minreal to delete…

Page 183

Introduction 6-2 Getting Started U sing the LTI Viewer: An Example ..6-4 The LTI Viewer Menus 6-15 The Right-Click Menus 6-18 The LTI Viewer Tools M…

Page 184

Introduction The LTI Viewer is a graphical user interface for viewing and manipulating the response plots of LTI models. You can display the following…

Page 185

Introduction 6-3 Zoom in on or out from the individual displayed plots Toggle the grid on or off on a plot Select which I/O channels the LTI Viewer…

Page 186

Getting Started Using the LTI Viewer: An Example This section contains a brief introduction to the LTI Viewer through an example that leads you…

Page 187

Getting Started Using the LTI Viewer: An Example 6-5 Transfer function: 2 s^3 + 1.2 s^2 + 15.1 s + 7.5 s^4 + 2.12 s^3 + 10.2 s^2 + 15.1 s + 7.5…

Page 188

Note: When you initia lize the LTI Viewer with lsim or initial,theseplot types require some extra arguments. For more information on the syntax for…

Page 189 - Tools menu items

Getting Started Using the LTI Viewer: An Example 6-7 Right-Click Menus: Setting Response Characteristics To a ccess the individual response plot…

Page 190

1 Right -click anywherein theplotregionof thestepresponseplots.This opens the following menu list in the plot region. Figure 6-1: The Right-Click Menu…

Page 191 - 1 Click on the marker

Getting Started Using the LTI Viewer: An Example 6-9 Your LTI Viewer should now look like this. Notice that there is one settling time or peak…

Page 192

Note that you can: Use either the right or the left mouse button when you select a marker on a plot. Left-click anywhere on a particular plot line to…

Page 193 - Importing Models

Getting Started Using the LTI Viewer: An Example 6-11 Importing Models If the closed-loop models Gcl1 and Gcl2 donotmeetyourspecifications,you may…

Page 194

Note: A given LT I Viewer c an only be used to analyze m odels with the same number of inputs and outputs. If you want to a nalyze models with…

Page 195

Getting Started Using the LTI Viewer: An Example 6-13 a Point your mouse to any corner of the rectangle of the region you want to zoom in on. b…

Page 196

After releasing the mouse on the zoom region, the LTI Viewer looks like this. Noticethatyou’veonlyzoomedonthe stepresponse plot;theBodeplotremains…

Page 197 - The LTI Viewer Menus

The LTI Viewer Menus 6-15 The LTI Viewer Menus The LTI Viewer has three main menus: File Tools Help The File menu provides features pertinent to…

Page 198

For directions for loading LTI models into the LTI Viewer workspace when you open it, see “Initializing the LTI Viewer with Multiple Plots” on page…

Page 199 - Interactive Help

The LTI Viewer Menus 6-17 The first submenu, Overview, opens the help text describing how to use the LTI Viewer menus and right-click menus that…

Page 200

The Right-Click Menus You can access most of the controls for the individual response plots displayed by the LTI Viewer through the right-click menus…

Page 201 - The Right-Click Menus

The Right-Click Menus 6-19 This isthe right-clickmenu forSISOmodels. These menu items control the LTI Viewer plots for all models: Plot Type—Youcan…

Page 202

are in the LTI Viewer workspace, but their responses are not displayed on the plot associated with the open menu. You can select any model in the list…

Page 203 - Characteristics or the

The Right-Click Menus 6-21 Note: To multiselect submenu items (such as in the Characteristics or the Systems menus), re-open the right-click menu for…

Page 204

Your LTI Viewer looks like this. Figure 6-8: Nyquist Plots of the Four I/O Responses in ssF8 Notice th at the I/O names for this model appear on the…

Page 205 - Axes Grouping

The Right-Click Menus 6-23 Right-click on any part of the plot region (anywhere on the grid of plots). This opens the following menu. Figure 6-9: The…

Page 206

You can use the Axes Grouping submenu to reconfigure the grouping of these I/O response curves with the following submenu items. Inputs: The response…

Page 207

The Right-Click Menus 6-25 Outputs: The response curves from a g iven input to all of the outputs are…

Page 208

All: All of the I/O response curves are displayed (grouped) in a single plot region. Figure 6-12: Axes Grouping: All The Select I/Os Menu Item The LTI…

Page 209 - Shift key while

The Right-Click Menus 6-27 When you select Select I/Os from the right-click menu, the following window opens. This I/O Selector window allows you to…

Page 210

With the Axes Grouping set to None, the display looks like this. Note: To reset the Ax es Grouping to None, open the right-click menu on the plot…

Page 211

The Right-Click Menus 6-29 For a given LTI array in the LTI Viewer workspace, you can use this interface to display the plots of a subset of models in…

Page 212

To display the responses of only some of the models in the LTI array, you must first complete the following two steps: 1 Right-click anywhere i n the…

Page 213 - Arrays pull-down tab

The Right-Click Menus 6-31 This opens the Model Selector for LTI Arrays window in the (default) Index into Dimensions setup . Figure 6-14: LTI Array…

Page 214

OnceyouhaveselectedthenameofanLTIarrayintheModel Selector for LTI Arrays window, you can select models in the LTI array whose response plots you want…

Page 215

The Right-Click Menus 6-33 For example to display only the first row of models in the 2-by-3 LTI array m2d, either: Select the first index in the…

Page 216

Figure 6-16: Step Response of the First Row of Models in m2d There are a variety of ways you can index into the dimensions of an LTI array using the…

Page 217 - Index into Dimensions

The Right-Click Menus 6-35 Indexing into the LTI Array Using Design Specification Criteria You can also use several plot-specific design criteria to…

Page 218

4 Position your mouse pointer in the textbox next to the design specification characteristic. 5 Type a MATLAB relational expression in the textbox…

Page 219

The Right-Click Menus 6-37 Figure 6-19: Step Response of the Model with the Maximum Rise Time You can also use any logical expression in variables…

Page 220

at the MATLAB command line, and $ > any(any(Q)) in the Model Selector for LTI Arrays window. This displays o nly the plots of those models for which…

Page 221 - The LTI Viewer Tools Menu

The LTI Viewer Tools Menu 6-39 The LTI Viewer Tools Menu Three preferences windows provide additional options for customizingthe LTI Viewer display.…

Page 222

load this model). With the Available LTI Viewer Configurations window open: 1 Select the radio button for the two-plot configuration. 2 Use the…

Page 223

The LTI Viewer Tools Menu 6-41 Figure 6-21: Response Preferences Window You can use the Response Preferences window to: Specify the time duration for…

Page 224

value. You can use the Time vector (sec.) portionoftheTime Domain field shown below to do this. The Time vector (sec.) field accepts one, two, or…

Page 225

The LTI Viewer Tools Menu 6-43 The Frequency vector (rad/sec.) field also provides you with the option to recalculateanew frequencyvectorforeach…

Page 226

rise time. For example, you can change the value for the settling time to 5% as shown below. Figure 6-22: Changing the Settling Time Percentage Value…

Page 227

The LTI Viewer Tools Menu 6-45 After selecting Linestyle Preferences from the Tools menu, t he following Linestyle Preferences window opens. Figure…

Page 228

You can designate that the chosen preference (color, marker, or linestyle) distinguish the plotted response curves by any (or all) of the following.…

Page 229 - 2 Select either:

The LTI Viewer Tools Menu 6-47 2 Select either: Apply to keep the Linestyle Preferences window open when you apply these changes OK to apply the…

Page 230

Simulink LTI Viewer If you have Simulink, you can use the Simulink LTI Viewer,aversionofthe LTI Viewer that performs linear a nalysis on any portion…

Page 231 - A Sample Analysis Task

Simulink LTI Viewer 6-49 Notice that the title of this Simulink model is vdp, and that it contains static nonlinearities. A Sample Analysis Task…

Page 232

The basic procedure for carrying out this type of analysis is outlined below: 1 Open the Simulink LTI Viewer. 2 Specify your analysis model: a Specify…

Page 233 - Model_Inputs_and_Outputs

Simulink LTI Viewer 6-51 When you select Linear Analysis, t wo new windows open: an LTI Viewer window and a Simuli n k diagram called…

Page 234

The Simulink LTI Viewer differs from the regular LTI Viewer, in that: The Simulink LTI Viewer includes an additional menu for acquiring the analysis…

Page 235

Simulink LTI Viewer 6-53 The title bar shows the name of the Simulink model to which it is linked. The menu bar contains an additional menu called…

Page 236

To set up the analysis model for the vdp Simulink model: 1 Insert an Input Point block on the line labeled x2 going into the Product block. 2 Insert…

Page 237

Simulink LTI Viewer 6-55 . Grab an Input Point block, drag it, and release it on the Simulink model here.

Page 238

Keep the following in mind when using the Input Point a nd Output Point blocks to specify analysis models: You must p lace at least one Input Point…

Page 239 - Linearized Model

Simulink LTI Viewer 6-57 Consider the following simple diagram. Based on the location of the Input Point and Output Point blocks, you might think that…

Page 240

1 Select Set Operating Point in the Simulink menu. This opens the Operating Point window. Figure 6-24: The Operating Point Window for Changing…

Page 241

Simulink LTI Viewer 6-59 4 Select OK. A dialog box opens. a Selecting Yes closes the Operating Point window and linearizes the model automatically.…

Page 242

For this e xample, we use the Zero initial states setting, shown in the figure below. Note the following: The inputs listed on the Operating Point…

Page 243 - Performing Linear Analysis

Simulink LTI Viewer 6-61 While the Operating Point window is in the Initial state in Simulink diagram mode, the linearization values used by the…

Page 244

Importing a Linearized Analysis Model to the LTI Viewer To linearize and load your firstanalysis model for the van der Pol example into the LTI…

Page 245

Simulink LTI Viewer 6-63 You can viewthe linearizedmodels in the LTIViewerworkspaceor chang ethe plot type using the right-click menus. See “The…

Page 246

As is shown below, the linearized model for the new value of Mu appearsasthe last item in the Systems submenu, and the Bode plots for both models are…

Page 247 - Saving Analysis Models

Simulink LTI Viewer 6-65 Notice the foll o wing about the models lis ted in the Systems list on the right-click menu: The names reflect the title of…

Page 248

To export analysis models from the LTI Viewer workspace: 1 Highlight the models you want to save in the Export List.(Youcan multiselect models on the…

Page 249

Control Design Tools Root Locus Design 7-3 Pole Placement 7-5 State-FeedbackGainSelection 7-5 StateEstimatorDesign 7-5 PolePlacementTools 7-6 LQG…

Page 250 - 7 Control Design Tools

7 Control Design Tools 7-2 We use the term control system design to refer to the process of selecting feed ba ck gains in a closed-loop control…

Page 251 - Root Locus Design

Root Locus Design 7-3 Root Locus Design The root locus method is used to describe the trajectories of the closed-loop poles of a feedback system as…

Page 252

7 Control Design Tools 7-4 If you are interested in just the root locus plot, use the command rlocus.This command takes one argument: a SISO model of…

Page 253 - Pole Placement

Pole Placement 7-5 Pole Placement The closed-loop pole locations have a direct impact on time response characteristics such as rise time, settling…

Page 254

7 Control Design Tools 7-6 The estimator poles are the eigenvalues of , which can be arbitrarily assigned by proper selection of the estimator gain…

Page 255

Pole Placement 7-7 The function acker is limited to SISO systems and should only be used for systems with a small number of states. The function place…

Page 256

7 Control Design Tools 7-8 LQG Design Linear-Quadratic-Gaussian (LQG) control is a modern state-space technique fordesigning optimal dynamic…

Page 257 - Kalman State Estimator

LQG Design 7-9 Optimal State-Feedback Gain In LQG control, the regulation performance is measured by a quadratic performance criterion of the form The…

Page 258

7 Control Design Tools 7-10 LQG Regulator To form the LQG regulator, simply connect the Kalman filter and LQ-optimal gain as shown below: This…

Page 259 - LQG Design

LQG Design 7-11 discrete problems as well as the design of d iscrete LQG regulators for continuous plants.…

Page 260

7 Control Design Tools

Page 261 - The Root Locus Design

The Root Locus Design GUI Introduction 8-2 A Servomechanism Example 8-4 Controller Design Using the Root Locus Design GUI ..8-6…

Page 262 - 8 The Root Locus Design GUI

8 The Root Locus Design GUI 8-2 Introduction The root locus method is used to descri be the trajectories in the complex plane of the closed-loop poles…

Page 263

Introduction 8-3 Editing the compensator pole and zero locations Opening the LTI Viewer Saving the compensator and models to the workspace or the disk…

Page 264

8 The Root Locus Design GUI 8-4 A Servomechanism Example A simple version of an electrohydraulic servomechanism model consists of: A push-pull…

Page 265 - A Servomechanism Example

A Servomechanism Example 8-5 Aclosed-l oopmodelfortheelectrohydraul i cvalvepositioncontrolcan besetup as follows. Figure 8-1: Feedback Control for an…

Page 266

8 The Root Locus Design GUI 8-6 Controller Design Using the Root Locus Design GUI In t h is section, we use the servomechanism example to describe…

Page 267

Controller Design Using the Root Locus Design GUI 8-7 This brings up the following GUI. Importing Models into the Root Locus Design GUI The Root Locus…

Page 268

8 The Root Locus Design GUI 8-8 There are four ways to import SISO LTI models into the R oot Locus Design GUI: Load a model from the MATLAB workspace.…

Page 269

Controller Design Using the Root Locus Design GUI 8-9 Opening the Import LTI Design Model Window To import thelinearized…

Page 270

8 The Root Locus Design GUI 8-10 Choosing a Feedback Structure TheRootLocus designtoolcan beapplied toSISO LTIsystems whosefeedback structure is i n…

Page 271 - Specifying the Design Model

Controller Design Using the Root Locus Design GUI 8-11 The Feedback Structure portionoftheImport LTI De sign Model window shows the current selection…

Page 272

8 The Root Locus Design GUI 8-12 To specify the design model components for this servomechanism example: 1 Load the linearized servomechanism model…

Page 273 - Gain text boxon the

Controller Design Using the Root Locus Design GUI 8-13 The root locus of the design model is displayed in the plot region of the GUI. Your Root Locus…

Page 274

8 The Root Locus Design GUI 8-14 unstable if the gain set point is increased so as to place any of the closed-loop poles in the right-half of the…

Page 275 - As you get close to a closed

Controller Design Using the Root Locus Design GUI 8-15 The following two figures capture this procedure. The right-most pair of closed-loop poles seem…

Page 276

8 The Root Locus Design GUI 8-16 The Zoom controls are shown below. Once it is selected, you can operate any of the first three Zoom buttons in one of…

Page 277 - Zoom button to zoom in

Controller Design Using the Root Locus Design GUI 8-17 The use of zooming to find the limits of stability on the root locus is depicted in…

Page 278

8 The Root Locus Design GUI 8-18 The critical gain value for stability is approximately 43.9. Note: You can also test how much the g ain ca n be incre…

Page 279

Controller Design Using the Root Locus Design GUI 8-19 Storing and Retrieving Axes Limits You can store and change axes limits in two ways: Using the…

Page 280

8 The Root Locus Design GUI 8-20 You can also set or revise axes limits and other axes preferences in the Root Locus Axes Preferences window. To open…

Page 281 - Gain,andpressingthe

Controller Design Using the Root Locus Design GUI 8-21 Change the gain to 20 by edi ting the text box next to Gain,andpressingthe Enter key. Notice…

Page 282

8 The Root Locus Design GUI 8-22 Check the Step box, as shown below. Once you check the Step b ox, an LTI Viewer window opens. The plot type for this…

Page 283 - Gain box

Controller Design Using the Root Locus Design GUI 8-23 To increase the gain to about 33 using your mouse: 1 Hold your mouse button down as you click…

Page 284

8 The Root Locus Design GUI 8-24 The step response plot on the dynamically linked LTI Viewer automatically updates when you release the mouse button.…

Page 285 - Tools menu

Controller Design Using the Root Locus Design GUI 8-25 Let’s place approximate design region bo undaries on our root locus plot based on our design…

Page 286

8 The Root Locus Design GUI 8-26 After you press OK, the Root Locus Design GUI calculates and displays the specified boundaries. Not all four branches…

Page 287 - Edit Compensator menu item to

Controller Design Using the Root Locus Design GUI 8-27 Once you have the gain specified, you can add poles or zeros to the compensator.Youcan…

Page 288

8 The Root Locus Design GUI 8-28 The default mode for the toolbar is the drag mode. In this mode, you can: Click on a specific location on the root…

Page 289 - Add compensator poles here

Controller Design Using the Root Locus Design GUI 8-29 Try placing a pair of complex poles just above the right-most real closed-loop pole. The…

Page 290

8 The Root Locus Design GUI 8-30 Try adding a pair of complex zeros just to the left of and a little bit below the…

Page 291

Controller Design Using the Root Locus Design GUI 8-31 Editing Compensator Pole and Zero Locations In this section we use the Edit Compensator window…

Page 292

8 The Root Locus Design GUI 8-32 You can use the Edit Compensator window to: Edit the locations of compensator poles and zeros. Add compensator poles…

Page 293 - Compensator

Controller Design Using the Root Locus Design GUI 8-33 With the gain set point at 9.7, your root locus looks as follows. Note: Whenever the numerator…

Page 294

8 The Root Locus Design GUI 8-34 To check where the closed-loop roots are with respect to the boundary of the design region, let’s zoom in a bit.…

Page 295 - Marker for the

Controller Design Using the Root Locus Design GUI 8-35 The step response looks good. However, to be certain that you’ve met your design…

Page 296

8 The Root Locus Design GUI 8-36 Saving the Compensator and Models Now that you have successfully designed your compensator, you may want to save your…

Page 297 - Then type

Controller Design Using the Root Locus Design GUI 8-37 the compensator is now in the workspace, in the variable named comp. Then type comp to see that…

Page 298

8 The Root Locus Design GUI 8-38 Additional Root Locus Design GUI Features This section describes several features of the Root Locus Design GUI not…

Page 299 - Designating the Model Source

Additional Root Locus Design GUI Features 8-39 Designating the Model Source The source of your design model data is indicated in the Import From field…

Page 300

8 The Root Locus Design GUI 8-40 Using the Help Menu Click on the Help menu and you find that it contains five menu items: Main Help Edit Compensator…

Page 301 - Listing Poles and Zeros

Additional Root Locus Design GUI Features 8-41 Erasing Compensator Poles and Zeros You ca n delete any co m p ens ator poles and zeros in o ne of two…

Page 302

8 The Root Locus Design GUI 8-42 To view the current closed-loop poles: Select List Closed-Loop Poles fromtheTools menu. Ifyous elect thismenu, a…

Page 303 - OK to close this window

Additional Root Locus Design GUI Features 8-43 The following window opens. For each component of the design model, this window t ells you: The…

Page 304

8 The Root Locus Design GUI 8-44 Note: The name s you enter in this windo w are only u sed whe n you ge nerate a Simulink diagram of the closed-lo op…

Page 305 - Pre-filter, F

Additional Root Locus Design GUI Features 8-45 If you a nswered Yes, a Simulink diagram such as this appears. The Simulink diagram is linked tothe…

Page 306

8 The Root Locus Design GUI 8-46 The Convert Model/Compensator window, shown below, opens. Once you select a discretization method, sampling time, and…

Page 307

Additional Root Locus Design GUI Features 8-47 Totestthese features,select Clear Model. Notice that your compensator is not altered, and its poles and…

Page 308

8 The Root Locus Design GUI 8-48 References [1] Clark, R.N., Control System Dynamics, Cambridge University Press, 1996. [2] Dorf, R.C. and R.H.…

Page 309

Yaw Damper for a 747 Jet Transport 9-3 Open-LoopAnalysis 9-6 RootLocusDesign 9-9 WashoutFilterDesign 9-14 Hard-Disk Read/Write Head C ontroller 9-20…

Page 310

This chapter contains four detailed case studies of control system design a nd analysis using the Control System Toolbox. Demonstration files for…

Page 311

Yaw Damper for a 747 Jet Transport 9-3 Yaw Damper for a 747 Jet Transport This case study demonstrates the tools for classical control design by…

Page 312

You can display the LTI model sys by typing sys.MATLABrespondswith a = beta yaw roll phi beta -0.0558 -0.9968 0.0802 0.0415 yaw 0.598 -0.115 -0.0318 0…

Page 313

Yaw Damper for a 747 Jet Transport 9-5 Compute the open-loop eigenvalues and plot them in the -plane. damp(sys) Eigenvalue Damping Freq. (rad/s)…

Page 314

Supposeyou wantto designa compensatorthatincreasesthe dampingof these poles, so tha t the resulting complex poles have a damping ratio with natural…

Page 315

Yaw Damper for a 747 Jet Transport 9-7 concerned about the behavior during the first few seconds rather than the first few minutes. Nextlook at the…

Page 316

Typically, yaw dampers are designed using the yaw rate as sensed output and the rudder as control input. Look at the corresponding frequency response…

Page 317

Yaw Damper for a 747 Jet Transport 9-9 Root Locus Design Since t he simplest compensator is a static gain, first try t o determine appropriate gain…

Page 318

This is the root locus for negative feedback and shows that the system goes unstable almost immediately. If, instead, you use positive feedback, you…

Page 319

Yaw Damper for a 747 Jet Transport 9-11 The '+' marks on the previous figure show a possible selection. The corresponding gain and closed-loop poles…

Page 320

Plot the closed-loop impulse response for a duration of 20 seconds. impulse(cl11,20) The response settles quickly and does not oscillate much. Now…

Page 321

Yaw Damper for a 747 Jet Transport 9-13 feedback with index vectors selecting this input/output pair). At the MATLAB prompt, type cloop =…

Page 322

Plot the MIMO impulse response. impulse(cloop,20) Look at the plot from aileron (input 2)to bankangle (output 2).When you move the aileron, the system…

Page 323 - H = zpk(0,–0.333,1);

Yaw Damper for a 747 Jet Transport 9-15 The washout filter places azero at the origin, which constrains the spiral mode pole to remain near the…

Page 324

and draw another root locus for this open-loop model. rlocus(–oloop) sgrid Now the maximum damping is about . You ca n select the gain providing…

Page 325

Yaw Damper for a 747 Jet Transport 9-17 The selected pole locations are marked by '+' on the root locus above. The resulting gain value and…

Page 326

Look at the closed-loop response from rudder to yaw rate. cl11 = feedback(oloop,–k); impulse(cl11,20) The response settles nicely but has less damping…

Page 327

Yaw Damper for a 747 Jet Transport 9-19 Then close t he loop around the first I/O pair of the MIMO model sys and simulate the impulse response. cloop…

Page 328

Hard-Disk Read/Write Head Controller This case study demonstrates the ability to perform classical digital control design by going through the design…

Page 329

Hard-Disk Read/Write Head Controller 9-21 Using the values kg , Nm/(rad/sec), Nm/rad, and Nm/rad, form the transfer function description of this…

Page 330

You can compare the Bode plots of the continuous and discretized models with bode(H,'-',Hd,'--')

Page 331

Hard-Disk Read/Write Head Controller 9-23 To analyze the discrete system, plot its step response, type step(Hd) The system oscillates quite a bit.…

Page 332

Thesimplestcompensatoris just again,so try therootlocus technique to select an appropriate feedback gain. rlocus(Hd) As shown in the root locus, the…

Page 333 - D = zpk(0.85,0,1,Ts)

Hard-Disk Read/Write Head Controller 9-25 The corresponding open-loop model is obtained by the series connection D = zpk(0.85,0,1,Ts) oloop = Hd * D…

Page 334

The p lant response is the dashed line and the open-loop response with the compensator is the solid line. The plot above shows that the compensator…

Page 335

Hard-Disk Read/Write Head Controller 9-27 Now try the root locus again with the plant and compensator as open loop. rlocus(oloop) zgrid This time, the…

Page 336

Type ddamp(poles,Ts) to see the equivalent damping and natural frequency for each of the eigenvalues. To analyze this design, form the closed-loop…

Page 337

Hard-Disk Read/Write Head Controller 9-29 Now look at the robustness of your design. The m ost common classical robustness criteriaare the gain…

Page 338

The command produces t he plot shown below. This design is robust and can tolerate a 11 dB gain increase or a 40 degree phase lag in the open-loop…

Page 339 - LQG Regulation

LQG Regulation 9-31 LQG Regulation This case study demonstrates the use of the LQG design tools in a process controlapplication.Theg oal…

Page 340

This shape is impressed by two pairs of rolling cylinders (one per axis) positioned by hydraulic actuators. The gap between the two cylinders is…

Page 341

LQG Regulation 9-33 This leads to the following generic model for each axis of the rolling process. Figure 9-1: Open-loop model for x- or y-axis The…

Page 342

The model data for each axis is summarized below. Model Data for the x-Axis Model Data for the y-Axis LQG Design for the x-Axis As a first approx ima…

Page 343

LQG Regulation 9-35 Start with the -axis. First specify the model components as transfer function objects . % Hydraulic actuator (with input "u-x") Hx…

Page 344

The variable Px now contains an open-loop state-space model complete with input and output names. Px.inputname ans = 'u-x' 'w-ex' 'w-ix' Px.outputname…

Page 345

LQG Regulation 9-37 high-frequency content of with the low-pass filter and use the filtered value in the LQ performance criterion. lpf = tf(30,[1 30])…

Page 346

Let’s look at the regulator Bode response between 0.1 and 1000 rad/sec. bode(Regx,{0.1 1000}) The phase response has an interesting physical…

Page 347

LQG Regulation 9-39 Next, compare the open- and closed-loop responses from disturbance to thickness gap. Use feedback to close the loop. To help…

Page 348

You are now ready to compare the open- and closed-loop Bode responses from disturbance to thickness gap. bode(Px(1,2:3),'--',clx(1,2:3),'-',{0.1 100})…

Page 349

LQG Regulation 9-41 simulation, and derive equivalent discrete white noise inputs for this sampling rate. dt = 0.01 t = 0:dt:50 % time samples %…

Page 350

LQG Design for the y-Axis TheLQG design for the -axis (regulation of the thickness)followsthe exact samestepsasforthe -axis. % Specify model…

Page 351 - Cross-Coupling Between Axes

LQG Regulation 9-43 Compare the open- and closed-loop response to the white noise input disturban ces. dt = 0.01 t = 0:dt:50 wy = sqrt(1/dt) *…

Page 352

process exhibits some degree of cross-coupling between axes. Physically, an increase in hydraulic force along the -axis compresses the material, which…

Page 353

LQG Regulation 9-45 Accordingly, the thickness gaps and rolling forces are related to the outputs of the - and -axis models by Let’s see how the…

Page 354

You are now ready to simulate the open- and closed-loop responses to the driving white noises wx (for the -axis) and wy (for the -axis). wxy = [wx…

Page 355 - MIMO LQG Design

LQG Regulation 9-47 MIMO LQG Design Start with the complete two-axis state-space model Pc derived above. The model inputs and outputs are Pc.inputname…

Page 356

The resulting LQG regulator RegMIMO has two inputs and two outputs. RegMIMO.inputname ans = 'x-force' 'y-force' RegMIMO.outputname ans = 'u-x' 'u-y'…

Page 357

LQG Regulation 9-49 Next, plot the open- and closed-loo p time responses to the white noise inputs (using the MIMO LQG regulator for feedback). % Form…

Page 358

Kalman Filtering This final case study illustrates the use of the Control System Toolbox for Kalman filter design and simulation. Both steady-state…

Page 359 - Steady-State Design

Kalman Filtering 9-51 In these equations: • is the estimate of given past measuremen ts up to • is the updated estimate based on the last measurement…

Page 360

This is done by % Note: set sample time to –1 to mark model as discrete Plant = ss(A,[B B],C,0,–1,'inputname',{'u' 'w'},... 'outputname','y')…

Page 361 - Kalman Filtering

Kalman Filtering 9-53 Becauseyouareinterestedinthe outputestimate ,keeponlythefirstoutput of kalmf.Type kalmf = kalmf(1,:); kalmf a = x1_e x2_e x3_e…

Page 362

The blockdiagram below shows how to generateboth true and filtered outputs. You can construct a state-space model of this block diagram with the…

Page 363

Kalman Filtering 9-55 Finally, close the sensor loop by connecting the plant output to the filter input with positive feedback. % Close loop around…

Page 364

and compare the true and filtered responses graphically. subplot(211), plot(t,y,'--',t,ye,'-'), xlabel('No. of samples'), ylabel('Output')…

Page 365 - Time-Varying Kalman Filter

Kalman Filtering 9-57 The error covariance before filtering (measurement error) is MeasErrCov = 1.1138 while the error covariance after filtering…

Page 366

with and as defined on page 9-50, and in the following. For simplicity, we have dropped the subscripts indicating the time dependence of the…

Page 367

Kalman Filtering 9-59 you can implement the time-varying filter with the following for loop. P = B*Q*B'; % Initial error covariance x = zeros(3,1); %…

Page 368

You can now compare the true and estimated output graphically. subplot(211), plot(t,y,'--',t,ye,'-') subplot(212), plot(t,y-yv,'-.',t,y-ye,'-') The…

Page 369

Kalman Filtering 9-61 The time-varying filter also estimates the covariance errcov of the estimatio n error at each sample. Plot it to see if your…

Page 370

Compare with the estimation error covariance derived from the experimental data. Type EstErr = y–ye; EstErrCov = sum(EstErr.*EstErr)/length(EstErr)…

Page 371

Kalman Filtering 9-63 References [1] Grimble, M.J., Robust Industrial Control: Optimal Design Approach for Polynomial Systems, Prentice Hall, 1994, p.…

Page 372

9 Design Case Studies

Page 373

Reliable Computations Conditioning and Numerical Stability 10-4 Conditioning 10-4 Numerical Stability 10-6 Choice of LTI Model 10-8 StateSpace 10-8…

Page 374 - 10 Reliable Computations

10 Reliable Computations 10-2 When working with low-order SISO models (less than five states), computers are usually quite forgiving and insensitive…

Page 375

At the same time, it is important to appreciate the limitations of computer analyses. By following a few guidelines, you can avoid certain tools and…

Page 376

10 Reliable Computations 10-4 Conditioning and Numerical Stability Two of the key concepts in numerical anal ysis are the conditioning of problems and…

Page 377

Conditioning and Numerical Stability 10-5 Notice how much the smal l change in the data is magnified in the solution. One way t o measure the…

Page 378

10 Reliable Computations 10-6 row of A. This perturbed matrix has n distinct eigenvalues with . Thus, you can see that this small perturbation in the…

Page 379

Conditioning and Numerical Stability 10-7 Using row 1 as the pivot row (i.e., subtracting 1000 times row 1 from row 2) you arrive at the equivalent…

Page 380

10 Reliable Computations 10-8 Choice of LTI Model Now turn to the implications of the results in the last se ction on the linear modelingtechniques…

Page 381 - Choice of LTI Model

Choice of LTI Model 10-9 A major difficulty is the extreme sensitivity of the roots of a polynomial to its coefficients. This example is adapted from…

Page 382

10 Reliable Computations 10-10 verylittle. Thisis true in general.Different roots have different sensitivitiesto different perturbations. Computed…

Page 383

Choice of LTI Model 10-11 and the conversionfrom zero-pole-gainto state s pace incurs no loss of accuracy in the poles. format long e [sort(eig(a1))…

Page 384

10 Reliable Computations 10-12 Its eigenvectors and eigenvalues are given as follows. [v,d] = eig(A) v = 0.7071 –0.0000 –0.3162 0.6325 –0.7071 0.0000…

Page 385

Choice of LTI Model 10-13 Note also that the eigenvectors have changed. [vc,dc] = eig(Ac) vc = –0.5017 0.2353 0.0510 0.0109 –0.8026 0.7531 0.4077…

Page 386

10 Reliable Computations 10-14 • The pole locations are very sensitive to the coefficients of the denominator polynomial. • The balanced companion…

Page 387

Scaling 10-15 Scaling Statespace isthepreferredmodelfor LTIsystems,especiallywithhigher order models. Even with state-space models, however, accurate…

Page 388

10 Reliable Computations 10-16 excellent discussion of scaling is given in the introduction to the LINPACK Users’ Guide, [1]. Choose scaling based…

Page 389

Summary 10-17 Summary This chapter has described numerous things that can go wrong when performing numerical computations. You won’t encounter most of…

Page 390

10 Reliable Computations 10-18 References [1] Dongarra, J.J., J.R. Bunch, C.B. Moler, and G.W. Stewart, LINPACK Users Guide, SIAM Publications…

Page 391

Reference

Page 392 - 11 Reference

11 Reference 11-2 This chapter contains detailed descriptions of all Control System Toolbox functions. It begins with a list of functions grouped by…

Page 393 - Category Tables

Category Tables 11-3 Category Tables Table 11-1: LTI Models Function Name Description drss Generate random discrete state-space model. dss Create…

Page 394

11 Reference 11-4 Table 11-2: Model Characteristics Function Name Description class Display model type ('tf', 'zpk', 'ss', or 'frd'). hasdelay Test…

Page 395

Category Tables 11-5 residue Provide partial fraction expansion (see Using MATLAB). ss Converttoastatespacemodel. tf Convert to a transfer function…

Page 396

11 Reference 11-6 ss2ss State coordinate transformation. ssbal Diagonal balancing of state-space realizations. Table 11-6: Model Dynamics Function…

Page 397

Category Tables 11-7 connect Connect the subsystems of a block-diagonal model according to an interconnection scheme of your choice. conv Convolve two…

Page 398

11 Reference 11-8 ltiview Open the LTI Viewer for linear response analysis. step Calculate step r esponse. Table 11-9: Frequency Response Function…

Page 399

Category Tables 11-9 sigma Calc u late singular value plot. zgrid Superimpose z-plane grid on root locus or pole/zero map. Table 11-10: Pole Placement…

Page 400

11 Reference 11-10 kalmd Calculate the discrete Kalman estimator for continuous models. lqgreg Form LQG regulator given LQ gain and Kalman filter.…

Page 401

acker 11-11 11acker Purpose Pole placement design for single-input systems Syntax k = acker(A,b,p) Description Given the single-input system and a…

Page 402 - 11append

append 11-12 11append Purpose Group LTI models by appending their inputs and outputs Syntax sys = append(sys1,sys2,...,sysN) Description append…

Page 403 - Example The commands

append 11-13 Arguments The input arguments sys1,..., sysN can be LTI models of any type. Regular matrices are also accepted as a representation of…

Page 404 - Series connection

append 11-14 c = x1 x2 y1 1.00000 0 y2 0 0 y3 0 3.00000 d = u1 u2 u3 y1 0 0 0 y2 0 10.00000 0 y3 0 0 4.00000 Continuous-time system. See Also connect…

Page 405 - Syntax asys = augstate(sys)

augstate 11-15 11augstate Purpose Append the state vector to the output vector Syntax asys = augstate(sys) Description Given a state-space model sys…

Page 406 - Syntax sysb = balreal(sys)

balreal 11-16 11balreal Purpose Input/output balancing of state-space realizations Syntax sysb = balreal(sys) [sysb,g,T,Ti] = balreal(sys) Description…

Page 407 - Phase (deg); Magnitude (dB)

balreal 11-17 which indicates that the last two states of sysb are weaklycoupledto the input and output. You can then delete these states by sysr =…

Page 408 - Algorithm Consider the model

balreal 11-18 Algorithm Consider the model with controllability and observability gramians and . The state coordinate transformation produces the…

Page 409 - Syntax bode(sys)

bode 11-19 11bode Purpose Compute the Bode frequency response o f LTI models Syntax bode(sys) bode(sys,w) bode(sys1,sys2,...,sysN)…

Page 410

bode 11-20 uses red dashed lines for the first system sys1 and green 'x' markers for the second system sys2. When invoked w ith left-hand arguments…

Page 411

bode 11-21 by typing g = tf([1 0.1 7.5],[1 0.12 9 0 0]); bode(g) To plot the response on a wider frequency range, for example, from 0.1 to 100…

Page 412

bode 11-22 You can also discretize this system using zero-order hold and the sample time second, and compare the continuous and discretized responses…

Page 413

bode 11-23 structure. The reduction to Hessenberg form provides a good compromise between efficiency and reliability. See [1] for more details on this…

Page 414 - Example Consider the system

c2d 11-24 11c2d Purpose Discretize continuous-time systems Syntax sysd = c2d(sys,Ts) sysd = c2d(sys,Ts,method) Description sysd = c2d(sys,Ts)…

Page 415

c2d 11-25 with input delay second. To discretize this system using the triangle approximation with sample time second, type H = tf([1 –1],[1 4…

Page 416

c2d 11-26 The next command compares the continuous and discretized step responses. step(H,'-',Hd,'--') See Also d2c Discrete to continuous conversion…

Page 417 - Companion Form

canon 11-27 11canon Purpose Compute canoni cal state-space re alizations Syntax csys = canon(sys,'type') [csys,T] = canon(sys,'type') Description…

Page 418

canon 11-28 For state-space models sys, [csys,T] = canon(a,b,c,d,'type') also returns the state coordinate transformation T relating the original…

Page 419

care 11-29 11care Purpose Solve continuous-time algebraic Riccati equations (CARE) Syntax [X,L,G,rr] = care(A,B,Q) [X,L,G,rr] = care(A,B,Q,R,S,E)…

Page 420 - Examples Example 1

care 11-30 Alternatively, [X1,X2,L,report] = care(A,B,Q,...,'implicit') also turns off error messages but now returns in implicit form. Note that this…

Page 421 - Example 2

care 11-31 Finally, note that the variable l contains the closed-loop eigenvalues eig(a– b*g) . l l = –3.5026 –1.4370 Example 2 To solve the -like…

Page 422

care 11-32 See Also dare Solve discrete-time Riccati equations lyap Solve continuous-time Lyapunov equations References [1] Arno ld , W.F., III and…

Page 423 - Example w = logspace(1,2,2);

chgunits 11-33 11chgunits Purpose Convert the frequency units of an FRD model Syntax sys = chgunits(sys,units) Description sys = chgunits(sys,units)…

Page 424 - 11connect

connect 11-34 11connect Purpose Derive state-space model from block diagram description Syntax sysc = connect(sys,Q,inputs,outputs) Description…

Page 425

connect 11-35 externaloutputsare outputs2 and7 of sys,theninputs and outputs should be set to inputs = [1 2 15]; outputs = [2 7]; The final model sysc…

Page 426

connect 11-36 Given the matrices of the state-space model sys2 A = [ –9.0201 17.7791 –1.6943 3.2138 ]; B = [ –.5112 .5362 –.002 –1.8470]; C = […

Page 427

connect 11-37 c = x1 x2 x3 x4 ? 2.5 0 0 0 y1 0 -3.2897 2.4544 0 y2 0 -13.501 18.075 0 ? 0 0 0 -1.4142 d = uc u1 u2 ? ? 0 0 0 0 y1 0 -0.5476 -0.141 0…

Page 428

connect 11-38 You can obtain a state-space model for the overall interconnection by typing sysc = connect(sys,Q,inputs,outputs) a = x1 x2 x3 x4 x1 -5…

Page 429 - Center, 1976

connect 11-39 References [1] Edwards, J.W., “A Fortran Program for the Analysis of Linear Continuous and Sampled-Data Systems,” NASA Report TM X56038…

Page 430 - Syntax [P,Q] = covar(sys,W)

covar 11-40 11covar Purpose Output and state covariance of a system driven by white noise Syntax [P,Q] = covar(sys,W) Description covar calculates the…

Page 431

covar 11-41 and MATLAB returns p = 30.3167 You ca n compare t his output of covar to simulation results. randn('seed',0) w = sqrt(5) randn(1,1000); %…

Page 432

covar 11-42 and is given by Note that is well defined for nonzero in the discrete case. Limitations The state and output covariances are d efined for…

Page 433 - Syntax Co = ctrb(A,B)

ctrb 11-43 11ctrb Purpose Form the controllability matrix Syntax Co = ctrb(A,B) Co = ctrb(sys) Description ctrb computes the controllability matrix…

Page 434

ctrb 11-44 Limitations The calculation of Co may be ill-conditioned with respect to inversion. An indication of this can be seen f rom this simple…

Page 435

ctrbf 11-45 11ctrbf Purpose Compute the controllability staircase form Syntax [Abar,Bbar,Cbar,T,k] = ctrbf(A,B,C) [Abar,Bbar,Cbar,T,k] =…

Page 436

ctrbf 11-46 Example Compute the controllability staircase form for A = 1 1 4 –2 B = 1 –1 1 –1 C = 1 0 0 1 and locate the uncontrollable mode.…

Page 437

ctrbf 11-47 Algorithm ctrbf is an M-file that implements the Staircase Algorithm of [1]. See Also ctrb Form the controllability matrix minreal Minimum…

Page 438 - Syntax sysc = d2c(sysd)

d2c 11-48 11d2c Purpose Convert discrete-time L TI models to continuous time Syntax sysc = d2c(sysd) sysc = d2c(sysd,method) Description d2c converts…

Page 439

d2c 11-49 As with zero-order hold, the inverse discretization operation c2d(Hc,0.1,'tustin') gives back the original . Algorithm The 'zoh' conversion…

Page 440

d2c 11-50 Convert Hc back to discrete time by typing c2d(Hc,Ts) yielding Zero/pole/gain: (z+0.5) (z+0.2) (z+0.5)^2 (z^2 + z + 0.4) Sampling time: 0.1…

Page 441 - Syntax sys1 = d2d(sys,Ts)

d2d 11-51 11d2d Purpose Resample discrete-time LTI models or add input delays Syntax sys1 = d2d(sys,Ts) Description sys1 = d2d(sys,Ts) resamples the…

Page 442 - Syntax [Wn,Z] = damp(sys)

damp 11-52 11damp Purpose Compute damping factors and natural frequencies Syntax [Wn,Z] = damp(sys) [Wn,Z,P] = damp(sys) Description damp calculates…

Page 443

damp 11-53 Type damp(H) and MATLAB returns Eigenvalue Damping Freq. (rad/s) –1.00e+000 + 1.41e+000i 5.77e–001 1.73e+000 –1.00e+000 – 1.41e+000i…

Page 444

dare 11-54 11dare Purpose Solve discrete-time algebraic Riccati equations (DARE) Syntax [X,L,G,rr] = dare(A,B,Q,R) [X,L,G,rr] = dare(A,B,Q,R,S,E)…

Page 445

dare 11-55 and L = eig(A–B*G,E). Two additional syntaxes are provided to help develop applications such as -optimal control design. [X,L,G,report] =…

Page 446 - 1746–1754

dare 11-56 References [1] Arno ld, W.F., III and A.J. Laub, “Generalized Eigenproblem Algori thms and Software for Algebraic Riccati Equations,” Proc.…

Page 447 - 11dcgain

dcgain 11-57 11dcgain Purpose Compute low frequency (DC) gain of LTI system Syntax k = dcgain(sys) Description k = dcgain(sys) computes the DC gain k…

Page 448 - Syntax sys = delay2z(sys)

delay2z 11-58 11delay2z Purpose Replace delays of discrete-time TF, SS, or ZPK models by poles at z=0, or replace delays of FRD models by a phase…

Page 449

dlqr 11-59 11dlqr Purpose Design linear-quadratic (LQ) state-feedback regulator for discrete-time plant Syntax [K,S,e] = dlqr(a,b,Q,R) [K,S,e] =…

Page 450

dlqr 11-60 lqr State-feedback LQ regulator for continuous plant lqrd Discrete LQ regulator for continuous plant lqry State-feedback LQ regulator with…

Page 451 - Syntax X = dlyap(A,Q)

dlyap 11-61 11dlyap Purpose Solve discrete-time Lyapunov equations Syntax X = dlyap(A,Q) Description dlyap solves the discrete-time Lyapunov equation…

Page 452 - Syntax sys = drss(n)

drmodel, drss 11-62 11drmodel, drss Purpose Generate stable random discrete test models Syntax sys = drss(n) sys = drss(n,p) sys = drss(n,p,m) sys =…

Page 453

drmodel, drss 11-63 Example Generate a ran dom discrete LTI system with three states, two inputs, and two outputs. sys = drss(3,2,2) a = x1 x2 x3 x1…

Page 454

dsort 11-64 11dsort Purpose Sort discrete-time poles by magnitude Syntax s = dsort(p) [s,ndx] = dsort(p) Description dsort sorts the discrete-time…

Page 455 - Syntax sys = dss(a,b,c,d,e)

dss 11-65 11dss Purpose Specify descriptor state-space models Syntax sys = dss(a,b,c,d,e) sys = dss(a,b,c,d,e,Ts) sys = dss(a,b,c,d,e,ltisys) sys =…

Page 456 - Example The command

dss 11-66 Example The command sys = dss(1,2,3,4,5,'td',0.1,'inputname','voltage',... 'notes','Just an example') creates the model with a 0.1 second…

Page 457 - 11dssdata

dssdata 11-67 11dssdata Purpose Quick access to descriptor state-space data Syntax [a,b,c,d,e] = dssdata(sys) [a,b,c,d,e,Ts] = dssdata(sys)…

Page 458 - Syntax s = esort(p)

esort 11-68 11esort Purpose Sort continuous-time poles by real part Syntax s = esort(p) [s,ndx] = esort(p) Description esort sorts the continuous-time…

Page 459 - Compute (transmission) zeros

esort 11-69 See Also dsort, sort Sort system poles eig Calculate eigenvalues and eigenvectors pole Compute system poles pzmap Pole-zero map zero…

Page 460 - Syntax est = estim(sys,L)

estim 11-70 11estim Purpose Form state estimator given estimator gain Syntax est = estim(sys,L) est = estim(sys,L,sensors,known) Description est =…

Page 461

estim 11-71 estim handles both continuous- and discrete-time cases. You can use the functions place (pole placement) or kalman (Kalman filtering) to…

Page 462 - 11evalfr

evalfr 11-72 11evalfr Purpose Evaluate frequency response at a single (complex) frequency Syntax frsp = evalfr(sys,f) Description frsp = evalfr(sys,f)…

Page 463 - 11feedback

feedback 11-73 11feedback Purpose Feedback connection of two LTI models Syntax sys = feedback(sys1,sys2) sys = feedback(sys1,sys2,sign) sys =…

Page 464

feedback 11-74 computes a closed-loop model sys for the more general feedback loop. The vector feedin contains indices into the input vector of sys1…

Page 465

feedback 11-75 Examples Example 1 To connect the plant with the controller using negative feedback, type G = tf([2 5 1],[1 2…

Page 466 - Example 3

feedback 11-76 Example 2 Consider a state-space plant P with five inp uts and four outputs and a state-spacefeedbackcontroller K with…

Page 467 - Syntax sys = filt(num,den)

filt 11-77 11filt Purpose Specify discrete transfer functions in DSP format Syntax sys = filt(num,den) sys = filt(num,den,Ts) sys = filt(M) sys =…

Page 468 - Example Typing the commands

filt 11-78 MIMO transfer functions are regarded as arrays of SISO transfer functions (one per I/O channel), each of which is characterized by its…

Page 469

frd 11-79 11frd Purpose Create a frequency response data (FRD) object or convert another model type to an FRD model Syntax sys =…

Page 470 - Example Type the commands

frd 11-80 sysfrd = frd(sys,frequency,'Units',units)convertsan FRD model froma TF, SS, or ZPK model while specifying the units for frequency to be…

Page 471 - Create zero-pole-gain models

frd 11-81 tf Create transfer functions zpk Create zero-pole-gain models

Page 472

frdata 11-82 11frdata Purpose Quick access to data for a frequency response data object Syntax [response,freq] = frdata(sys) [response,freq,Ts] =…

Page 473 - Set model properties

frdata 11-83 returns the FRD model data resp = 0.2040 + 0.4565i 2.4359 - 4.3665i freq = 10 100 See Also frd Create or convert to FRD models get Get…

Page 474 - 11freqresp

freqresp 11-84 11freqresp Purpose Compute frequency response over grid of frequencies Syntax H = freqresp(sys,w) Description H = freqresp(sys,w)…

Page 475

freqresp 11-85 at the frequencies . Type w = [1 10 100] H = freqresp(P,w) H(:,:,1) = 0 0.5000– 0.5000i –0.2000+ 0.6000i 1.0000 H(:,:,2) = 0 0.0099…

Page 476

freqresp 11-86 Algorithm For transfer functions or zero-pole-gain models, freqresp evaluates the numerator(s) and denominator(s) at the specified…

Page 477 - 11gensig

gensig 11-87 11gensig Purpose Generate test input signals for lsim Syntax [u,t] = gensig(type,tau) [u,t] = gensig(type,tau,Tf,Ts) Description [u,t] =…

Page 478 - Plot the resulting signal

gensig 11-88 Plot the resulting signal. plot(t,u) axis([0 30 –1 2]) See Also lsim Simulate response to arbi trary inputs 0 5 10 15 20 25 30 −1 −0.5 0…

Page 479

get 11-89 11get Purpose Access/query LTI property values Syntax Value = get(sys,'PropertyName') get(sys) Description Value = get(sys,'PropertyName')…

Page 480

get 11-90 or query only about the numerator and sample time values by get(h,'num') ans = [1x2 double] and get(h,'ts') ans = 0.1000 Because the…

Page 481

gram 11-91 11gram Purpose Compute controllability and observability gramians Syntax Wc = gram(sys,'c') Wo = gram(sys,'o') Description gram calculates…

Page 482

gram 11-92 tocompute thegramians ofa continuousor discretesystem.The LTImodel sys must b e in state-space form. Algorithm The controllability gramian…

Page 483 - Syntax hasdelay(sys)

hasdelay 11-93 11hasdelay Purpose Test if an LTI model has time delays Syntax hasdelay(sys) Description hasdelay(sys) returns 1 (true) if the LTI…

Page 484 - Syntax impulse(sys)

impulse 11-94 11impulse Purpose Compute the impulse response of LTI models Syntax impulse(sys) impulse(sys,t) impulse(sys1,sys2,...,sysN)…

Page 485

impulse 11-95 As with bode or plot, you can specify a particular color, linestyle, and/or marker for each system, for example…

Page 486 - Amplitude

impulse 11-96 use t he following commands. a = [–0.5572 –0.7814;0.7814 0]; b = [1 –1;0 2]; c = [1.9691 6.4493]; sys = ss(a,b,c,0); impulse(sys) The l…

Page 487

impulse 11-97 Because t his system has two inputs, y is a 3-D array with dimensions size(y) ans = 101 1 2 (the first dimension is the length of t).…

Page 488 - Syntax initial(sys,x0)

initial 11-98 11initial Purpose Compute the initial condition response of state-space models Syntax initial(sys,x0) initial(sys,x0,t)…

Page 489

initial 11-99 To plot the initial condition responses of several LTI models on a single figure, use initial(sys1,sys2,...,sysN,x0)…

Page 490

initial 11-100 to the initial condition a = [–0.5572 –0.7814;0.7814 0]; c = [1.9691 6.4493]; x0 = [1 ; 0] sys = ss(a,[],c,[]); initial(sys,x0) See…

Page 491 - Example Consider

inv 11-101 11inv Purpose Invert LTI systems Syntax isys = inv(sys) Description inv inverts the input/output relation to produce the LTI system with…

Page 492

inv 11-102 You can verify that H * Hi is the identity transfer f uncti on (static gain I). Limitations Do not use inv to model feedback connections…

Page 493

inv 11-103 Use feedback or star to avoid such pitfalls. cloop = feedback(g,h) Zero/pole/gain: s (s^2 + s + 1)

Page 494 - Syntax boo = isct(sys)

isct, isdt 11-104 11isct, isdt Purpose Determine whether an LTI model is continuous or discrete Syntax boo = isct(sys) boo = isdt(sys) Description boo…

Page 495 - Example Both commands

isempty 11-105 11isempty Purpose Test if an LTI model is empty Syntax boo = isempty(sys) Description isempty(sys) returns 1 (true) if the LTI model…

Page 496 - Syntax boo = isproper(sys)

isproper 11-106 11isproper Purpose Test if an LTI model is proper Syntax boo = isproper(sys) Description isproper(sys) returns 1 (true) if the LTI…

Page 497 - Syntax boo = issiso(sys)

issiso 11-107 11issiso Purpose Test if an LTI model is single-input/single-output (SISO) Syntax boo = issiso(sys) Description issiso(sys) returns 1…

Page 498 - Continuous-Time Estimation

kalman 11-108 11kalman Purpose Design continuous- or discrete-time Kalman estimator Syntax [kest,L,P] = kalman(sys,Qn,Rn,Nn) [kest,L,P,M,Z] =…

Page 499 - Discrete-Time Estimation

kalman 11-109 the output and state estimates and . Note that estimates the true plant output Discrete-Time Estimation Given the discrete plant and the…

Page 500

kalman 11-110 andgeneratesoptimal“current”outputandstateestimates and using all available measurements including . The gain matrices and are derived…

Page 501

kalman 11-111 for more general plants sys where the known inputs and stochastic inputs are mixed together, and not all outputs are measured. The index…

Page 502

kalmd 11-112 11kalmd Purpose Design discrete Kalman estimator for continuous plant Syntax [kest,L,P,M,Z] = kalmd(sys,Qn,Rn,Ts) Description kalmd…

Page 503

kalmd 11-113 lqgreg Assemble LQG regulator lqrd Discrete LQ-optimal gain for continuous plant References [1] Franklin, G.F., J.D. Powell, andM.L.…

Page 505 - Syntax sys = lft(sys1,sys2)

lft 11-115 11lft Purpose Redheffer star product (linear fractional transformation) of two LTI models Syntax sys = lft(sys1,sys2) sys =…

Page 506

lft 11-116 The abbreviated syntax sys = lft(sys1,sys2) produces: The lower LFT of sys1 and sys2 if sys2 has fewer inputs and outputs than sys1. This…

Page 507 - Syntax rlqg = lqgreg(kest,k)

lqgreg 11-117 11lqgreg Purpose Form LQG regulator given state-feedback gain and Kalman estimator Syntax rlqg = lqgreg(kest,k) rlqg =…

Page 508

lqgreg 11-118 In discrete time, you can form the LQG regulator using either the prediction of basedonmeasurementsupto , orthe currentstate estimate…

Page 509

lqgreg 11-119 Continuous regulator for continuous plant: use lqr or lqry and kalman. Discrete regulator for discrete plant: use dlqr or lqry and…

Page 510

lqgreg 11-120 Example See the examples “Control Design Tools” on page 1-20 and “LQG Regulation” on page 9-31. See Also kalman Kalman estimator design…

Page 511 - Syntax [K,S,e] = lqr(A,B,Q,R)

lqr 11-121 11lqr Purpose Design linear-quadratic ( LQ) state-feedback regulator for continuous plant Syntax [K,S,e] = lqr(A,B,Q,R) [K,S,e] =…

Page 512 - Form LQG regulator

lqr 11-122 See Also care Solve continuous Riccati equations dlqr State-feedback LQ regulator for discrete plant lqgreg Form LQG regulator lqrd…

Page 513

lqrd 11-123 11lqrd Purpose Design discrete LQ regulator for continuous plant Syntax [Kd,S,e] = lqrd(A,B,Q,R,Ts) [Kd,S,e] = lqrd(A,B,Q,R,N,Ts)…

Page 514

lqrd 11-124 With the notation the discretized plant has equations and the weighting matrices for the e quivalent discrete cost function are The…

Page 515

lqry 11-125 11lqry Purpose Linear-quadratic (LQ) state-feedback regulator with output weighting Syntax [K,S,e] = lqry(sys,Q,R) [K,S,e] =…

Page 516 - Syntax lsim(sys,u,t)

lsim 11-126 11lsim Purpose Simulate LTI model response to arbitrary inputs Syntax lsim(sys,u,t) lsim(sys,u,t,x0) lsim(sys1,sys2,...,sysN,u,t)…

Page 517

lsim 11-127 simulatestheresponsesofseveralLTI modelstothesameinputhistoryt,u and plots these responses on a single figure. As with bode or plot, you…

Page 518 - Then simulate with lsim

lsim 11-128 Then simulate with lsim. H = [tf([2 5 1],[1 2 3]) ; tf([1 –1],[1 1 5])]; lsim(H,u,t)

Page 519

lsim 11-129 Note that if you begin the simulation with a nonzero value for t(1), then the zero-initial condition response is shifted in time, as shown…

Page 520

lsim 11-130 To illustrate why resampling is sometimes necessary, consider the second-order model Tosimulateits responsetoasquarewavewithperiod1…

Page 521

lsim 11-131 The response exhibits strong oscillations. Less obvious from this plot is the fact that lsim has resampled the input to reveal the…

Page 522

lsim 11-132 The two responses look quit e different. T o clarify this discrepancy, superimposethetwoplotsby lsim(h,'b--',hd,'r-',u,t) The cause is now…

Page 523 - Syntax ltiview

ltiview 11-133 11ltiview Purpose Initialize an LTI Viewer for LTI system response analysis Syntax ltiview ltiview(plottype,sys)…

Page 524 - See Also bode Bode response

ltiview 11-134 extras is one o r more input arguments as specified by the function named in…

Page 525

lyap 11-135 11lyap Purpose Solve continuous-time Lyapunov equations Syntax X = lyap(A,Q) X = lyap(A,B,C) Description lyap solves the special and g…

Page 526

lyap 11-136 References [1] B artels, R.H. and G.W. Stewart, “Solution of the Matrix Equation AX + XB =C,”Comm . of the ACM, Vol. 15, No. 9, 1972. [2]…

Page 527 - 11margin

margin 11-137 11margin Purpose Compute gain and phase margins and associated crossover frequencies Syntax [Gm,Pm,Wcg,Wcp] = margin(sys)…

Page 528 - MATLAB responds with

margin 11-138 Example You can compute the gain and phase margins of the open-loop discrete-time transfer function. Type hd = tf([0.04798 0.0464],[1…

Page 529

margin 11-139 You can also display these margins graphically. margin(hd) Algorithm The phase margin is computed using theory, and the gain margin by…

Page 530 - Syntax sysr = minreal(sys)

minreal 11-140 11minreal Purpose Minimal realization or pole-zero cancellation Syntax sysr = minreal(sys) sysr = minreal(sys,tol) Description sysr =…

Page 531 - Structured model reduction

minreal 11-141 See Also balreal Gramian-based input/output bal ancing modred M odel order reduction sminreal Structured model reduction

Page 532 - Purpose Model order reduction

modred 11-142 11modred Purpose Model order reduction Syntax rsys = modred(sys,elim) rsys = modred(sys,elim,'mdc') rsys = modred(sys,elim,'del')…

Page 533

modred 11-143 The last three diagonal entries of the balanced gramians are small, so eliminate the last three states with modred using both matched DC…

Page 534

modred 11-144 The reduced-order model hdel is clearly a better frequency-domain approximation of . Now compare the step responses.…

Page 535

modred 11-145 Next, the derivative of is set to zero and the resulting equation is solved for . T he reduced-order model is given by The discrete-time…

Page 536 - Example sys = rss(3,1,1,3);

ndims 11-146 11ndims Purpose Provide the number of the dimensions of an LTI model or LTI array Syntax n = ndims(sys) Description n = ndims(sys) i s…

Page 537 - Syntax ngrid

ngrid 11-147 11ngrid Purpose Superimpose a Nichols chart on a Nichols plot Syntax ngrid Description ngrid superimposes Nichols chart grid lines over…

Page 538 - Open−Loop Gain (dB)

ngrid 11-148 Type nichols(H) ngrid See Also nichols Nichols plots Open−Loop Phase (deg) Open−Loop Gain (dB) Nichols Charts −500 −450 −400 −350 −300…

Page 539 - Syntax nichols(sys)

nichols 11-149 11nichols Purpose Compute N ichols frequency response of LTI models Syntax nichols(sys) nichols(sys,w) nichols(sys1,sys2,...,sysN)…

Page 540

nichols 11-150 When i nvoked with left-hand arguments, [mag,phase,w] = nichols(sys) [mag,phase] = nichols(sys,w) return the magnitude and phase (in…

Page 541

nichols 11-151 Algorithm See bode. See Also bode Bode plot evalfr Response at single complex frequency freqresp Frequency response computation ltiview…

Page 542

norm 11-152 11norm Purpose Compute LTI model norms Syntax norm(sys) norm(sys,2) norm(sys,inf) norm(sys,inf,tol) [ninf,fpeak] = norm(sys) Description…

Page 543

norm 11-153 The discret e-time counterpart is Usage norm(sys) or norm(sys,2) both return the norm of the TF, SS, or ZPK model sys. This norm is…

Page 544

norm 11-154 Compute its infinity norm by typing [ninf,fpeak] = norm(H,inf) ninf = 2.5488 fpeak = 3.0844 These values are confirmed by the Bode plot of…

Page 545 - See Also bode Bode plot

norm 11-155 MATLAB returns ans = 8.1268 Algorithm norm uses the same algorithm as covar for the norm, and the al gorithm of [1] for the infinity norm.…

Page 546 - Syntax nyquist(sys)

nyquist 11-156 11nyquist Purpose Compute Nyquist frequency response of LTI models Syntax nyquist(sys) nyquist(sys,w) nyquist(sys1,sys2,...,sysN)…

Page 547

nyquist 11-157 When i nvoked with left-hand arguments [re,im,w] = nyquist(sys) [re,im] = nyquist(sys,w) return the re al and imaginary parts of the…

Page 548

nyquist 11-158 H = tf([2 5 1],[1 2 3]) nyquist(H) See Also bode Bode plot evalfr Response at s ingle complex frequency freqresp Frequency response…

Page 549 - Example Determine if the pair

obsv 11-159 11obsv Purpose Form the observability matrix Syntax Ob = obsv(A,B) Ob = obsv(sys) Description obsv computes the observability matrix for…

Page 550

obsv 11-160 MATLAB responds with unob = 0 See Also obsvf Compute the o bservability staircase form

Page 551

obsvf 11-161 11obsvf Purpose Compute the observability staircase form Syntax [Abar,Bbar,Cbar,T,k] = obsvf(A,B,C) [Abar,Bbar,Cbar,T,k] =…

Page 552

obsvf 11-162 Example Form the observability staircase form of A = 1 1 4 –2 B = 1 –1 1 –1 C = 1 0 0 1 by typing [Abar,Bbar,Cbar,T,k] = obsvf(A,B,C)…

Page 553 - Syntax [A,B,C,D] = ord2(wn,z)

ord2 11-163 11ord2 Purpose Generate continuous second-order systems Syntax [A,B,C,D] = ord2(wn,z) [num,den] = ord2(wn,z) Description [A,B,C,D] =…

Page 554 - Syntax [num,den] = pade(T,N)

pade 11-164 11pade Purpose Compute the Padé approximation of models with time delays Syntax [num,den] = pade(T,N) sysx = pade(sys,N) sysx =…

Page 555

pade 11-165 sysx = pade(sys,NI,NO,Nio) specifies independent approximation orders for each input,output, and I/O delay.These approximation ordersare…

Page 556 - N>10 should be avoided

pade 11-166 Example Compute a third-order Padé approximation of a 0.1 second I/O delay and compare the time and frequency responses of the true delay…

Page 557

pade 11-167 References [1]Golub,G.H.andC.F.VanLoan,Matrix Computations, Johns Hopkins University Press, Baltimore, 1989, pp. 557–558.

Page 558 - 11parallel

parallel 11-168 11parallel Purpose Parallel connection of two LTI models Syntax sys = parallel(sys1,sys2) sys =…

Page 559

parallel 11-169 sys = parallel(sys1,sys2,inp1,inp2,out1,out2) forms the more general parallel connection. The index vectors inp1 and inp2 s pecify…

Page 560 - Syntax K = place(A,B,p)

place 11-170 11place Purpose Pole placement design Syntax K = place(A,B,p) [K,prec,message] = place(A,B,p) Description Given the single- or…

Page 561

place 11-171 Algorithm place uses the algorithm of [1] which, for multi-input systems, optimizes the choice of eigenvectors for a robust solution. We…

Page 562

pole 11-172 11pole Purpose Compute the poles of an LTI system Syntax p = pole(sys) Description pole computes the poles p of the SISO or M IMO LTI…

Page 563 - Syntax pzmap(sys)

pzmap 11-173 11pzmap Purpose Compute the pole-zero ma p of an LTI model Syntax pzmap(sys) [p,z] = pzmap(sys) Description pzmap(sys) plots the…

Page 564 - Imag Axis

pzmap 11-174 Example Plot the poles and zeros of the continuous-time system. H = tf([2 5 1],[1 2 3]) pzmap(H) Algorithm pzmap uses a combination of…

Page 565

pzmap 11-175 sgrid, zgrid Plot lines of constant damping and natural frequency zero Compute system (transmission) zeros

Page 566 - Syntax rsys = reg(sys,K,L)

reg 11-176 11reg Purpose Form regulator given state-feedback and estimator gains Syntax rsys = reg(sys,K,L) rsys = reg(sys,K,L,sensors,known,controls)…

Page 567

reg 11-177 This regulator should be connected to the plant using positive feedback. rsys = reg(sys,K,L,sensors,known,controls) handles more general…

Page 568

reg 11-178 Example Given a continuous-time s tate-space model sys = ss(A,B,C,D) with seven outputs and four inputs, suppose you have designed: A…

Page 569 - Example sys = rss(4,1,1,2,3);

reshape 11-179 11reshape Purpose Change the shape of an LTI array Syntax sys = reshape(sys,s1,s2,...,sk) sys = reshape(sys,[s1 s2 ... sk]) Description…

Page 570 - 11rlocfind

rlocfind 11-180 11rlocfind Purpose Select feedback gain from root locus plot Syntax [k,poles] = rlocfind(sys) [k,poles] = rlocfind(sys,p) Description…

Page 571

rlocfind 11-181 where p i s the complex point you supply as an input argument to rlocfind (or whereyoupoint towith themouse),and n and d…

Page 572 - Syntax rlocus(sys)

rlocus 11-182 11rlocus Purpose Evans root locus Syntax rlocus(sys) rlocus(sys,k) [r,k] = rlocus(sys) r = rlocus(sys,k) Description rlocus computes the…

Page 573

rlocus 11-183 the closed-loop poles are the roots of rlocus adaptively selects a set of positive gains to produce a smooth plot. Alternatively…

Page 574

rlocus 11-184 h = tf([2 5 1],[1 2 3]); rlocus(h) For examples, see “Root Locus Design” on page 9-9 and “Hard-Disk Read/Write Head Controller” on page…

Page 575 - Syntax rltool

rltool 11-185 11rltool Purpose Initialize the Root Locus Design GUI Syntax rltool rltool(sys) rltool(sys,comp)…

Page 576

rltool 11-186 The R oot Locus Design GUI looks like t his. Edit the gain set point to change the closed-loop pole locations. Compensator descrip…

Page 577

rltool 11-187 This tool can be applied to S ISO LTI systems whose feedback structure is in one of the following two configurations. In either…

Page 578 - F and H

rltool 11-188 model (sys) in the forward loop of a negative unity feedback system, as shown in the diagram below. In this case, F and H are taken to…

Page 579 - Syntax sys = rss(n)

rmodel, rss 11-189 11rmodel, rss Purpose Generate stable random continuous test models Syntax sys = rss(n) sys = rss(n,p) sys = rss(n,p,m) sys =…

Page 580

rmodel, rss 11-190 Example Obtain a stable random continuous LTI model with three states, two inputs, and two outputs by typing sys = rss(3,2,2) a =…

Page 581 - 11series

series 11-191 11series Purpose Series connection o f two LTI models Syntax sys = series(sys1,sys2) sys = series(sys1,sys2,outputs1,inputs2)…

Page 582

series 11-192 Theindexvectorsoutputs1 andinputs2 indicatewhich outputs of sys1 and which inputs of sys2 should be connected. The resulting model sys…

Page 583

set 11-193 11set Purpose Set or modify LTI model properties Syntax set(sys,'Property',Value) set(sys,'Property1',Value1,'Property2',Value2,...)…

Page 584 - Property

set 11-194 Notethatset doesnotrequire anyoutputargument.Checktheresultwithget by typing get(sys) a: 1 b: 2 c: 3 d: 0 e: [] StateName: {''} Ts: 0…

Page 585

set 11-195 Table 11-15: LTI Properties Property Name Admissible Property Values Ts 0 (zero) for continuous-time systems Sample time in seconds for…

Page 586

set 11-196 OutputDelay Output delays specified with Nonnegative real numbers for continuous-time models (seconds) Integers for discrete-time models…

Page 587

set 11-197 Table 11-17: TF Model Properties Property Name Admissible Property Values num, den Real-valued row vectors for the coefficients of the…

Page 588

set 11-198 Remark For discrete-time transfer functions, the convention used to represent the numerator anddenominatordepends onthe choice ofvariable…

Page 589

set 11-199 Because t he resulting transfer functions are different, make sure to use the convention consistent with your choice of variable. See Also…

Page 590 - Syntax sgrid

sgrid 11-200 11sgrid Purpose Generate an s-plane grid of constant damping factors and natural frequencies Syntax sgrid sgrid(z,wn) Description sgrid…

Page 591

sgrid 11-201 Limitations sgrid plots the grid over the current axis regardless of whether the axis contains a root locus diagram or pole-zero map.…

Page 592 - Syntax sigma(sys)

sigma 11-202 11sigma Purpose Singular values of the frequency response of LTI models Syntax sigma(sys) sigma(sys,w) sigma(sys,w,type)…

Page 593

sigma 11-203 w = {wmin,wmax}. To use part icular frequency points, set w to the corresponding vector of frequencies. Use logspace to generate…

Page 594

sigma 11-204 Remark If sys is an FRD model, sigma(sys,w), w can o nly include frequencies in sys.frequency. Example Plot the singular value responses…

Page 595

sigma 11-205 You can do this by typing H = [0 tf([3 0],[1 1 10]) ; tf([1 1],[1 5]) tf(2,[1 6])] subplot(211) sigma(H) subplot(212) sigma(H,[],2)…

Page 596 - Nyquist plot

sigma 11-206 nichols Nichols plot nyquist Nyquist plot

Page 597 - Syntax size(sys)

size 11-207 11size Purpose Provide the output/input/array dimensions of LTI models, the model order of TF, SS, and ZPK models, and the number of…

Page 598 - Test if LTI model is SISO

size 11-208 Example Consider the random LTI array of state-space models sys = rss(5,3,2,3); Itsdimensionsareobtainedbytyping size(sys) 3x1 array of…

Page 599 - Syntax msys = sminreal(sys)

sminreal 11-209 11sminreal Purpose Perform model reduction based on structure Syntax msys = sminreal(sys) Description msys = sminreal(sys) eliminates…

Page 600

sminreal 11-210 all of the states of sys, including those of sys2 are retained. To eliminate the unobservable states from sys2, while retaining the…

Page 601 - Syntax sys = ss(a,b,c,d)

ss 11-211 11ss Purpose Specify state-space models or convert an LTI model to state space Syntax sys = ss(a,b,c,d) sys = ss(a,b,c,d,Ts) sys = ss(d) sys…

Page 602 - Conversion to State Space

ss 11-212 with sample time Ts (in seconds). Set Ts = –1 or Ts = [] to lea ve t he sample time unspecified. sys = ss(d) specif ies a stat ic g ain ma…

Page 603

ss 11-213 Examples Example 1 The command sys = ss(A,B,C,D,0.05,'statename',{'position' 'velocity'},... 'inputname','force',... 'notes','Created…

Page 604

ss 11-214 The resulting state-space model order has order three, t he minimum number of states needed to represent…

Page 605 - Syntax sysT = ss2ss(sys,T)

ss2ss 11-215 11ss2ss Purpose State coordinate transformation for state-space models Syntax sysT = ss2ss(sys,T) Description Given a state-space model…

Page 606 - Syntax [sysb,T] = ssbal(sys)

ssbal 11-216 11ssbal Purpose Balance state-space models using a diagonal similarity transformation Syntax [sysb,T] = ssbal(sys) [sysb,T] =…

Page 607

ssbal 11-217 Balance this model with ssbal by typing ssbal(sys) a = x1 x2 x3 x1 1 2500 0.39063 x2 0 100 1562.5 x3 2560 64 0 b = u1 x1 0.125 x2 0.5 x3…

Page 608 - 11ssdata

ssdata 11-218 11ssdata Purpose Quick access to state-space model data Syntax [a,b,c,d] = ssdata(sys) [a,b,c,d,Ts] = ssdata(sys) Description [a,b,c,d]…

Page 609

stack 11-219 11stack Purpose Build an LTI array b y stacking LTI models or LTI arrays along array dimensions of an LTI array Syntax sys =…

Page 610 - Syntax step(sys)

step 11-220 11step Purpose Step response of LTI systems Syntax step(sys) step(sys,t) step(sys1,sys2,...,sysN) step(sys1,sys2,...,sysN,t)…

Page 611

step 11-221 All systems must have the same number of inputs and outputs b ut may otherwise be a mix of continuous- and discrete-time systems. This…

Page 612

step 11-222 a = [–0.5572 –0.7814;0.7814 0]; b = [1 –1;0 2]; c = [1.9691 6.4493]; sys = ss(a,b,c,0); step(sys) The l eft plot shows the step response…

Page 613

step 11-223 Algorithm Continuous-time models are converted to state space and discretized using zero-order hold on the inputs. The sampling period is…

Page 614 - Syntax sys = tf(num,den)

tf 11-224 11tf Purpose Specify transfer functions or convert LTI model to transfer function form Syntax sys = tf(num,den) sys = tf(num,den,Ts) sys =…

Page 615

tf 11-225 If all SISO entries of a MIMO transfer function have the same denominator, you can set den to the row vector representation of this common…

Page 616

tf 11-226 s = tf('s') to specify a TF model using a rational function in the Laplace variable, s. z = tf('z',Ts) to specify a TF model with sample…

Page 617

tf 11-227 To do this, type num = {[1 1] ; 1} den = {[1 2 2] ; [1 0]} H = tf(num,den,'inputn','current',... 'outputn',{'torque' 'ang. velocity'},...…

Page 618 - Conventions

tf 11-228 with common denominator and sample time of 0.2 seconds. nums = {1 [1 0];[–1 2] 3} Ts = 0.2 H = tf(nums,[1 0.3],Ts) % Note: row vector for…

Page 619

tf 11-229 engineers use the variable a nd order the numerator and denominator terms in descending powers of , for example, The polynomials and are…

Page 620

tf 11-230 uses the DSP convention and creates See also filt for direct specification of discrete transfer functions using the DSP convention. Note…

Page 621 - 11tfdata

tfdata 11-231 11tfdata Purpose Quick access to transfer function data Syntax [num,den] = tfdata(sys) [num,den] = tfdata(sys,'v') [num,den,Ts] =…

Page 622

tfdata 11-232 you can extract the numerator and denominator coefficients by ty ping [num,den] = tfdata(h,'v') num = 0 1 1 den = 1 2 5 This syntax…

Page 623 - Specify transfer functions

tfdata 11-233 tf Specify transfer functions zpkdata Quick access to zero-pole-gain data

Page 624 - Syntax td = totaldelay(sys)

totaldelay 11-234 11totaldelay Purpose Return the total combined I/O delays for an LTI model Syntax td = totaldelay(sys) Description td =…

Page 625

zero 11-235 11zero Purpose Transmission zeros of LTI models Syntax z = zero(sys) [z,gain] = zero(sys) Description zero computesthe zeros of SISO…

Page 626 - Syntax zgrid

zgrid 11-236 11zgrid Purpose Generate a z-plane grid of constant damping factors and nat ural frequencies Syntax zgrid zgrid(z,wn) Description zgrid…

Page 627

zgrid 11-237 To see t he z -plane grid o n the root locus plot, type rlocus(H) zgrid axis('square') Limitations zgrid plots the grid over the current…

Page 628 - Syntax sys = zpk(z,p,k)

zpk 11-238 11zpk Purpose Specify zero-pole-gain models or convert LTI model to zero-pole-gain form Syntax sys = zpk(z,p,k) sys = zpk(z,p,k,Ts) sys =…

Page 629

zpk 11-239 s = zpk('s') to specify a ZPK model from a rational transfer function of the Laplace variable, s. z = zpk('z',Ts) to specify a ZPK model…

Page 630 - Selection

zpk 11-240 Each pair specifies a particular LTI property of the model, for example, the input names or the input delay time. See set entry and the…

Page 631 - Example Example 1

zpk 11-241 Example 1 Specify the following zero-pole-gain model. To do this, type z = {[] ; –0.5} p = {0.3 ; [0.1+i 0.1–i]} k = [1 ; 2] H =…

Page 632

zpk 11-242 Example 3 Create a discrete- time ZPK model from a rational expression in the variable z, by typing z = zpk('z',0.1); H =…

Page 633 - Syntax [z,p,k] = zpkdata(sys)

zpkdata 11-243 11zpkdata Purpose Quick access to zero-pole-gain data Syntax [z,p,k] = zpkdata(sys) [z,p,k] = zpkdata(sys,'v') [z,p,k,Ts,Td] =…

Page 634

zpkdata 11-244 Example Given a zero-pole-gain model with two outputs and one input H = zpk({[0];[–0.5]},{[0.3];[0.1+i 0.1–i]},[1;2],–1) Zero/pole/gain…

Page 635 - Specify zero-pole-gain models

zpkdata 11-245 See Also get Get properties of LTI models ssdata Quick access to state-space data tfdata Quick access to transfer function data zpk…

Page 636

zpkdata

Page 637

I-1 Index A acker 11-11 addition of LTI models 3-11 scalar 3-12 adjoint. See pertransposition algebraic loop 11-76 aliasing 5-13 analysis models…

Page 638 - See state-space models

Index I-2 SS model, to 2-42 state-space, to 2-44, 11-212 TF model, to 2-42 ZPK model, to 2-42 covar 11-40 covariance error 9-56, 9-62, 11-110 noise…

Page 639 - See time response

Index I-3 control design 9-20 equivalent continuous poles 11-52 frequency 5-13, 11-23 Kalman estimator 9-50, 11-108 random 11-62 resampling 3-27 See…

Page 640 - See also InputName

Index I-4 Nyquist 5-13, 11-23 range 5-12 frequency response 2-18, 5-11 at single frequency ( evalfr) 11-72 Bode plot 11-19 customized plots 5-17…

Page 641 - See delay

Index I-5 square wave 11-87 input point block 6-56 See also Simulink LTI Viewer InputDelay. See delays InputGroup 2-26, 2-27 conflicts, naming 3-4 See…

Page 642 - See LTI properties

Index I-6 extracting subsystems 4-21 indexing into 4-20 interconnection functions 4-25 LTI Viewer, model selector 6-28, 6-31 model d imensions 4-7…

Page 643 - See Simulink LTI Viewer

Index I-7 model-specific properties 2-28 online help ( ltiprops)2-26 property names 2-26, 2-30, 11-89, 11-193 property values 2-26, 2-31, 11-89…

Page 644 - See also OutputName

Index I-8 multiplication 3-13 scalar 3-13 multiselection of items in a window 6-11 N natural fr equency 11-52 ndims 11-146 ngrid 11-147 Nichols chart…

Page 645

Index I-9 See also I/O, groups OutputName 2-34 conflicts, naming 3-4 See also I/O, names overshoot 5-9 P pade 11-164 Padé approximation ( pade) 2 -55…

Page 646

Index I-10 See also LTI Viewer response preferences, setting 6-40 response, I/O 3-5 Riccati equation 7-9 continuous ( care) 11-29 discrete ( dare)…

Page 647 - See transfer functions

Index I-11 analysis models 6-50 clearing 6-53 open and closed loop 6-56 saving 6-65 specifying 6-53, 6-56 input point blocks 6-53 linearizing models…

Page 648 - See also noise

Index I-12 tfdata output, form of 2-24 time delays. See delays time response 5-9 customized plots 5-17 final time 5-10, 11-94 impulse response (…

Page 649

Index I-13 pole-zero map 11-173 property 2-28 transmission 11-235 zooming LTI Viewer 6-12 Root Locus Design GUI 8-15 zpk 2-12, 11-238 ZPK objects. See…

More documents for Software MATLAB CONTROL SYSTEM TOOLBOX 9

Questions about MATLAB CONTROL SYSTEM TOOLBOX 9

No questions about this manual yet. Ask the first one.

Ask a question

We answer from the manual and name the page. The question appears on the site after it is checked.

All questions and answers ›

Related products and manuals for Software MATLAB CONTROL SYSTEM TOOLBOX 9