From: Roberto B. <rob...@su...> - 2013-12-17 10:25:33
|
Hi all I'm testing the last control-0.6c toolbox in order to actualize my yottalab package and I found some differences between the results of a couple of functions: 1) the c2d function should maintain the form of the state-space function. It seems that the system is first transformed into a transfer function and then discretized. In my opinion it is important that the state-space form of the discrete system is exactly the same (same states) that I have in the continuous representation. 2) The dare functions gives some wrong results, and I'll check the lqr function asap. Using the delivered "dare" function (mateqn.py) I have wrong values of the feedback gains (compared with the values given by matlab dlqr and scilab) 3) the lqr function doesn't accept a call like lqr(sys,Q,R) -> only 3 parameters! In the next time I'll check the gains returned by the lqr function, compared with matlab and scilab. Best regards Roberto |