Main Content

Approximate Plant Model by Additive Error Methods

Given a system G in LTI form, the following commands reduce the system to any desired order you specify. The judgment call is based on its Hankel singular values.

G = rss(30,4,3); % random 30-state model
% balanced truncation to models with sizes 12:16
[G1,info1] = balancmr(G,12:16); 
% Schur balanced truncation by specifying `MaxError'
[G2,info2] = schurmr(G,'MaxError',[1,0.8,0.5,0.2]);

Figure contains an axes object. The axes object contains 30 objects of type line. These objects represent G, G1, G2.

The plot compares the original model G with the reduced models G1 and G2.

To determine whether the theoretical error bound is satisfied, calculate the peak difference across frequencies between the gain of the original system and the reduced system. Compare that to the error bound stored in the info structure.

ans = 15.7214
ans = 79.3580

Or, plot the model error vs. error bound via the following commands:

[sv,w] = sigma(G-G1(:,:,1));
title('Error Bound and Model Error')

Figure contains an axes object. The axes object with title Error Bound and Model Error, xlabel rad/sec, ylabel SV contains 4 objects of type line.

See Also

Related Topics