Overview
Comment: | Revised to work with LQ on alnalogue circuit example with integration |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
19c0c38ddef0f75491646728bf880b82 |
User & Date: | gawthrop@users.sourceforge.net on 2003-10-21 09:30:24 |
Other Links: | branch diff | manifest | tags |
Context
2003-10-21
| ||
09:55:02 | Make time horizon tau part of p_c struct check-in: fb3311a46f user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
09:30:24 | Revised to work with LQ on alnalogue circuit example with integration check-in: 19c0c38dde user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2003-10-20
| ||
17:10:31 | Link ancestry of version-0-1 to it's source branch check-in: c318408021 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/lib/control/PPP/ppp_lin_quad.m from [2ba9cc3698] to [b791777adb].
1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | - + - - - - - | function [k_x,k_w,K_x,K_w,Us0,J_uu,J_ux,J_uw,J_xx,J_xw,J_ww,A_u] = \ |
Modified mttroot/mtt/lib/control/PPP/ppp_lin_run.m from [96369350d9] to [fdb48937ab].
︙ | |||
52 53 54 55 56 57 58 | 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | - + - + + + + + + + + + + + + + + + + + + - + - + - + | endif if !struct_contains(p_c,"delta_ol") p_c.delta_ol = 0.5; # OL sample interval endif if !struct_contains(p_c,"T") |
︙ | |||
115 116 117 118 119 120 121 | 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 | - + - + - + - + - + + + + | if ControlType==0 # Step input I = 1; # 1 large sample p_c.delta_ol = p_c.T # I K_w = zeros(p_c.n_U,n_y); K_w(1,1) = 1; K_w(2,1) = -1; K_x = zeros(p_c.n_U,n_x); |
︙ | |||
176 177 178 179 180 181 182 | 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 | - - + + + + + + + + - + - + | endif ## Display the poles obs_poles ## Write the include file for the real-time function ## Use double length to allow for overuns |
︙ | |||
221 222 223 224 225 226 227 | 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 | + - + + + + + + + + + + + + + + + + + + - - - + + + + + - | Ui = A_ud'*Ui; y_e = [y_e; y_new']; e_e = [e_e; e_est']; endfor endif ##Control if ( (p_c.Tau_u==[])&&(p_c.Tau_y==[]) ) |
︙ |