LabVIEW 2013 System Identification Toolkit Help
Edition Date: June 2013
Part Number: 372458D01
»View Product Info
After physical modeling, you can describe the direct circuit (DC) servomotor by using the following differential equations:
Set K_{i} to be equal to K_{e} to transform these differential equations. If you want to design an analog state feedback controller, transform these differential equations to the following dynamic system model:
Transform the dynamic system model to the following continuoustime statespace model.
where 
A, B, and C are matrices of this continuoustime statespace model. 

ω is the rotational speed of the shaft. 

U is the driving voltage. 

i is the armature current. 
You must estimate the values of the A, B, and C matrices to identify a statespace model.
Using the SI Model Estimation Express VI
Complete the following steps to identify the continuoustime statespace model by using the SI Model Estimation Express VI.
 Add the SI Model Estimation Express VI to the block diagram of the VI you created.
The Configure SI Model Estimation dialog box appears.
 Select the StateSpace button in the Select Model Type section to identify statespace models. The Model Diagram section displays a mathematical equation for the selected model type and a diagram of the model.
 Select the SISO button in the Select System Dims section to identify singleinput singleoutput (SISO) dynamic models.
 Select the Waveform button in the Select Data Type section to identify dynamic models by using waveform input signals.
 Enter 2 in the Number of states text box because the continuoustime statespace model contains two states: rotational speed ω and armature current i.
 Click the OK button to close the configuration dialog box and return to the block diagram.
 Wire the stimulus signal and response signal outputs of the SI Data Samples VI to the corresponding inputs of the SI Model Estimation Express VI.
 Add the SI Convert Discrete to Continuous Model VI to the block diagram.
 Wire the system model out output of the SI Model Estimation Express VI to the system model in input of the SI Convert Discrete to Continuous Model VI.
 Add the SI Draw Model VI to the block diagram.
 Wire the system model out output of the SI Convert Discrete to Continuous Model VI to the system model input of the SI Draw Model VI.
 Create an indicator for the model output of the SI Draw Model VI. The following figure shows the block diagram.
 Wire all error in and error out terminals on the block diagram.
 Run this VI to identify the dynamic system model.
Using the SI Estimate StateSpace Model VI
Complete the following steps to identify the continuoustime statespace model by using the SI Estimate StateSpace Model VI.
 Add the SI Estimate StateSpace Model VI to the block diagram of the VI you created.
 Wire the stimulus signal and response signal outputs of the SI Data Samples VI to the corresponding inputs of the SI Estimate StateSpace Model VI.
 Create a control for the structure selector input of the SI Estimate StateSpace Model VI.
 Set all the Boolean controls of the structure selector input to FALSE because you need to estimate the A, B, and C matrices only.
 Create a control for the number of states input of the SI Estimate StateSpace Model VI.
 Set the number of states input to 2 because the continuoustime statespace model contains two states: rotational speed ω and armature current i.
 (Optional) Switch to the front panel, rightclick all controls, and select Data Operations»Make Current Value Default from the shortcut menu. LabVIEW uses the current values as the default values for these controls.
 Add the SI Convert Discrete to Continuous Model VI to the block diagram.
 Wire the system model out output of the SI Estimate StateSpace Model VI to the system model in input of the SI Convert Discrete to Continuous Model VI.
 Add the SI Draw Model VI to the block diagram.
 Wire the system model out output of the SI Convert Discrete to Continuous Model VI to the system model input of the SI Draw Model VI.
 Create an indicator for the model output of the SI Draw Model VI. The following figure shows the block diagram.
 Wire all error in and error out terminals on the block diagram.
 Run this VI to identify the dynamic system model.
Verifying Resulting Dynamic System Models
If you use the SI Data Samples VI to generate the input and output data in Part 2, LabVIEW returns the following system model:
where 
A matrix is . 

B matrix is . 

C matrix is [–0.0480361 –0.0142187]. 

e(t) is the system noise. 