Thread Subject: Use of SISO tool and system identification

Subject: Use of SISO tool and system identification

From: Hauke

Date: 31 Oct, 2009 06:38:01

Message: 1 of 4

Hi everyone,

I have the following problem:

Given is the (discrete) impulse response for a transfer function of a system in a loop and my target is to design a compensator for this system.

This is what the sisotool can solve but it is not straightforward. My approach would be to somehow import the impulse response into sisotool. One way to go would be to compute a model by using the tf function with the impulse response as the numerator and the denominator chosen as 1. This, however, does not lead to sufficient results due to the many zeros in the model. Instead, I can also transform the impulse response by using freqz and then do a "system identification" based on the n4sid command. This approximation, however, is very inaccurate in the low frequency regions which are of high importance.

Questions:
1) Why the sisotool can not deal with the tf-approach? From my perspective, there is no difference between the impulse response and the complex spectrum obtained by means of freqz.
2) Is there a more accurate system identification routine than n4sid? The output from the system identification toolbox is even worse.

Best regards,
Hauke

Subject: Use of SISO tool and system identification

From: Rajiv Singh

Date: 5 Nov, 2009 18:58:42

Message: 2 of 4

Hi Hauke,
Could you elaborate on how you are using SISOTOOL? Are you trying to import
impulse response data directly as plant model into SISOTOOL? Or are you
using the FIR model (tf) as your plant model? Note that in release R2009b,
you can import frequency response data (fft(impulse response)), represented
by an FRD model, into SISOTOOL.

As for identification of parametric models, try time series estimators
(treat impulse response as time series) such as n4sid, ar or arx. The
quality of the model is influenced by quality of data (signal to noise
ratio, information content, etc) and choice of model orders. The model you
get would be a "noise model" that may be converted into a TF using
tf(identified_model('noise')).

For more concrete advice, you will have to share some code/examples.

Rajiv

"Hauke " <hkhauke@web.de> wrote in message
news:hcgm09$80p$1@fred.mathworks.com...
> Hi everyone,
>
> I have the following problem:
>
> Given is the (discrete) impulse response for a transfer function of a
> system in a loop and my target is to design a compensator for this
> system.
>
> This is what the sisotool can solve but it is not straightforward. My
> approach would be to somehow import the impulse response into sisotool.
> One way to go would be to compute a model by using the tf function with
> the impulse response as the numerator and the denominator chosen as 1.
> This, however, does not lead to sufficient results due to the many zeros
> in the model. Instead, I can also transform the impulse response by using
> freqz and then do a "system identification" based on the n4sid command.
> This approximation, however, is very inaccurate in the low frequency
> regions which are of high importance.
>
> Questions:
> 1) Why the sisotool can not deal with the tf-approach? From my
> perspective, there is no difference between the impulse response and the
> complex spectrum obtained by means of freqz.
> 2) Is there a more accurate system identification routine than n4sid? The
> output from the system identification toolbox is even worse.
>
> Best regards,
> Hauke

Subject: Use of SISO tool and system identification

From: Hanna

Date: 18 Nov, 2009 16:22:19

Message: 3 of 4

"Rajiv Singh" <Rajiv.SinghNoSpam@mathworks.com> wrote in message <hcv792$8rm$1@fred.mathworks.com>...
> Hi Hauke,
> Could you elaborate on how you are using SISOTOOL? Are you trying to import
> impulse response data directly as plant model into SISOTOOL? Or are you
> using the FIR model (tf) as your plant model? Note that in release R2009b,
> you can import frequency response data (fft(impulse response)), represented
> by an FRD model, into SISOTOOL.
>
> As for identification of parametric models, try time series estimators
> (treat impulse response as time series) such as n4sid, ar or arx. The
> quality of the model is influenced by quality of data (signal to noise
> ratio, information content, etc) and choice of model orders. The model you
> get would be a "noise model" that may be converted into a TF using
> tf(identified_model('noise')).
>
> For more concrete advice, you will have to share some code/examples.
>
> Rajiv
>
> "Hauke " <hkhauke@web.de> wrote in message
> news:hcgm09$80p$1@fred.mathworks.com...
> > Hi everyone,
> >
> > I have the following problem:
> >
> > Given is the (discrete) impulse response for a transfer function of a
> > system in a loop and my target is to design a compensator for this
> > system.
> >
> > This is what the sisotool can solve but it is not straightforward. My
> > approach would be to somehow import the impulse response into sisotool.
> > One way to go would be to compute a model by using the tf function with
> > the impulse response as the numerator and the denominator chosen as 1.
> > This, however, does not lead to sufficient results due to the many zeros
> > in the model. Instead, I can also transform the impulse response by using
> > freqz and then do a "system identification" based on the n4sid command.
> > This approximation, however, is very inaccurate in the low frequency
> > regions which are of high importance.
> >
> > Questions:
> > 1) Why the sisotool can not deal with the tf-approach? From my
> > perspective, there is no difference between the impulse response and the
> > complex spectrum obtained by means of freqz.
> > 2) Is there a more accurate system identification routine than n4sid? The
> > output from the system identification toolbox is even worse.
> >
> > Best regards,
> > Hauke
>

Hi Rajiv,
I got a question concerning this:

>Note that in release R2009b,
> you can import frequency response data (fft(impulse response)), represented
> by an FRD model, into SISOTOOL.

How can I do so? I have installed R2009b, but I can only import tf-functions...

thanks in advance,
Hanna

Subject: Use of SISO tool and system identification

From: Arnaud Miege

Date: 18 Nov, 2009 16:34:07

Message: 4 of 4


"Hanna " <hanna.weis@tu-ilmenau.de> wrote in message
news:he16vr$mra$1@fred.mathworks.com...
>
> Hi Rajiv,
> I got a question concerning this:
>
>>Note that in release R2009b,
>> you can import frequency response data (fft(impulse response)),
>> represented
>> by an FRD model, into SISOTOOL.
>
> How can I do so? I have installed R2009b, but I can only import
> tf-functions...
>
> thanks in advance,
> Hanna
>

Have a look at the demo from the Control System Toolbox entitled
"Compensator Design for Systems Represented by Frequency Response Data" (in
the help browser, navigate to Control System Toolbox -> Demos -> GUI
Demos -> Compensator Design for Systems Represented by Frequency Response
Data).

HTH,

Arnaud

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
siso system ide... Hauke 31 Oct, 2009 02:39:02
rssFeed for this Thread

Contact us at files@mathworks.com