Code covered by the BSD License  

Highlights from
Data-driven Control


4.7 | 3 ratings Rate this file 70 Downloads (last 30 days) File Size: 452 KB File ID: #42758

Data-driven Control



14 Aug 2013 (Updated )

Files used in webinar Data-driven Control conducted on 12 July 2012

| Watch this File

File Information

Files used in webinar Data-driven Control: How to Design a Controller When a Plant Model is Not Available on 12 July 2012

Through this webinar and product demonstrations, you will learn how to design and implement a PID controller when a plant model is not available. Through a DC motor control example, you will learn how to:

- Apply input signals (voltage) to the motor and collect output (angular position) test data
- Identify and validate linear and nonlinear plant models using multiple data sets
- Design a linear controller based on the linear motor model and simulate its performance against the nonlinear model
- Implement and test the controller on a target hardware platform

Required Products Control System Toolbox
Simulink Control Design
System Identification Toolbox
MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
03 Mar 2014 miguel

10-bit to Angle ?

27 Feb 2014 Pravallika

@Mohamed: If you have confirmed that your model simulates slower than real-time, you can use other techniques to speed up your simulation such as Accelerator mode. You can then use one of the Pacer blocks on MATLAB Central to slow your simulation down to soft real-time. If this does not work for you, please feel free to contact our technical support who might be able to recommend an appropriate suggestion once they have more details pertaining to your application.

@phil: Thank you for your feedback. You are right, we could not use External mode on Arduino Uno as it is unsupported due to memory limitations of the board. Due to this, we created a host model that runs soft real-time on the PC that communicates with the application on the board. However, for Arduino Mega 2560 external mode is supported in MATLAB R2012b. You should be able to forgo the host model and collect your data via external mode.

19 Feb 2014 Mohamed

Great Work ...
but, I need to decrease the sampling time to 0.0004 in order to identify a fast motor.
How can I do this without losing the real time.

11 Feb 2014 Mohamed  
25 Dec 2013 phil

This is a great webinar. It might be worth mentioning that you can not use this method of data collection in External mode. When using the arduino mega for example. You can not log signal data in external mode. Rather you should connect a regular scope and save its data to the workspace. (this is with R2012b)

16 Sep 2013 Madhu  
14 Aug 2013

Added updated zip file with copyright info.

Contact us