Frequency Domain System Identification - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Frequency Domain System Identification

System identification deals with the problem of identifying a model to accurately describe the response of a physical system to some input. This worksheet uses a spring-mass-damper system to illustrate the problem where the structure of the model is known and the parameters of the model are to be identified.

 

Identifying the model parameters that best describe the physical system is accomplished by exciting the system with a realistic input signal. The resulting output is then converted to the frequency domain and the parameters are estimated using a least-squares approximation approach.

 

System Definition

• 

Parameter Definition

• 

Variable Definition

• 

Model Definition

Signal Generation and Simulation

Discrete Fourier Transform Calculations

Model-Based Parameter Estimation

 

System Definition

 

The parameters, variables, and equations that define the spring-mass-damper model are found in the following sections:

Parameter Definition

 

Name

Value

Units

Parameters

Mass of the object

Damping coefficient ()

Spring constant

Simulation time 

Sampling time 

Number of samples

Noise standard deviation

 

 

Retrieve parameters

 

 

Variable Definition

 

Name

Description

Input Variables

Input force on the mass

Output Variables

Output position of the mass

 

Model Definition

 

(1)

(2)

(3)

(4)

 

 

Signal Generation and Simulation

Excitation Input

System Response

 

To excite the system, we apply a discrete chirp signal that sweeps the frequency spectrum from 0.01 Hz to 1 Hz over 50 seconds.

noise is added to reflect a realistic application.

 

 

 

 

 

 

 

 

 

The system response to  can be obtained using the DynamicSystems[Simulate] command. The response can be seen in the following plot.

 

     

Discrete Fourier Transform Calculations

The results of converting the input, output and model signals to the frequency domain can be seen in the plots below. The Maple commands used to generated the Discrete Fourier Transform are found in the code edit region.

 

DFT calculations

 

-

Model-Based Parameter Estimation

 

The Maple commands used to obtain the model-based parameter values are found in the following code edit region.

 

Parameter Estimation Proc

Using Maple's optimization routines, the parameter values that best describe the physical model were found to be:

 

(5)

 

The difference in parameter values between those measured and those obtained through the estimation process are shown below.

(6)

 

The plot below shows the frequency response of the measured and the estimated model.


Download Help Document