Results
Both, the collected results and evaluations as well as the Scilab/XCos libraries can be downloaded from the download area.
In this section, a few exemplary results from the cart and pendulum system are presented. The system can either be defined by its differential equations or be assembled from blocks of the XCos extension Coselica, see Fig. 2. Once the unknown system parameters have been identified, a comparison between simulation and measurement is made for verification of the identification results (Fig. 3 and Fig. 4).
For calculation of a linear state controller the system has to be linearized around
and can be written to (d2=0):
For system identification we assume a constant but unknown pendulum length l2 which has to be estimated.
We use the the fourth system equation for identification. To get rid of the time derivatives the equation is transformed into the frequency-domain. By applying some filtering technique and inverse laplace transformation we get one algebraic equation for identification. The uknown pendulum length can be estimated using standard recursive least square algorithm.
Another possibility for parameter identification is the software tool HeuristicLab, see ModOPS Scilab/XCos library and documentation in the download area. Both methods lead to the same result, see Fig. 5 and Fig. 6.