Feedback Control with Scilab and Arduiono
From the author of Scilab.ninja
The purpose of this e-book is to guide the audience from basic usage of Scilab and its simulation engine Xcos, to prototyping on an Arduino board. Since my research interests are in control systems area, the focus is on control analysis, design, simulation, and then implementation on a target board. Some materials are already scattered around my website scilab.ninja, while others, such as most topics on Arduino, are entirely new. To be readable as a book, all contents have to be wrapped to a cohesive story that can serve as classroom supplement. I actually use this book to accompany my engineering teaching at Kasetsart university.
The whole book can now be downloaded from the link above.
-
Title : Feedback Control with Scilab and Arduino
Author : Varodom Toochinda, Ph.D
Format : e-book (.PDF)
Pages : 273
ISBN : 978-6-16-423248-8
The purpose of this e-book is to guide the audience from basic usage of Scilab and its simulation engine Xcos, to prototyping on an Arduino board. Since my research interests are in control systems area, the focus is on control analysis, design, simulation, and then implementation on a target board. Some materials are already scattered around my website scilab.ninja, while others, such as most topics on Arduino, are entirely new. To be readable as a book, all contents have to be wrapped to a cohesive story that can serve as classroom supplement. I actually use this book to accompany my engineering teaching at Kasetsart university.
The whole book can now be downloaded from the link above.
Book Outline
-
Preface
Contents
Chapters
-
Scilab Basics
Arduino Setup and Programming
Linear Continuous-time Systems and Feedback Properties
PID Control
Discrete-time Systems
PID Controller Implementation
System Identification
Model-based Feedback Control
Software
FCSA_sw.zip : all Scilab and Arduino examples used in the book.Software Tips
-
Close all graphic windows before you run the UNO Command Window. Otherwise, it could happen easily that UNO Command Window loses focus and froze. In such case, close all windows and close serial port by the following commands
xdel(winsid());
closeserial(unoh);
and launch the UNO Command Window again.
If you receive strange characters, check the serial baud rate. At the beginning of the book, the baud rate is set as 9600 bps. Later on when the controller is more complicated, performance suffers with slow serial communication speed so it is increased to 115200 bps. This is specified in Serial.begin(). The rate of Serial Monitor or UNO Command Window must be changed to match.
In the Scilab stepplot() function (discussed on page 139 of Chapter 6), sampling period T is hard coded on the second line of the function. Make sure it matches the one used on Arduino to ensure correct time scale on the plot.
So where is the book for sale? Not on Amazon.
ReplyDeleteIt's now available for free download from the link above.
Deletethanks for sharing
Delete