Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : Xcos Predictive Toolbox details
Login with GitLab

Xcos Predictive Toolbox

Compute a RST predictive controler
(15076 downloads for this version - 17693 downloads for all versions)
Details
Version
1.0.1
Author
embedded.toolbox@gmail.com
Owner Organization
private individual
Maintainer
Alexandre HERISSE
License
Creation Date
November 14, 2014
Source created on
Scilab 5.4.x
Binaries available on
Scilab 5.4.x:
Linux 32-bit Windows 32-bit Windows 64-bit macOS Linux 64-bit
Scilab 5.5.x:
Windows 64-bit macOS Linux 64-bit Linux 32-bit Windows 32-bit
Install command
--> atomsInstall("predictivemodule")
Description
            This toolbox is aimed at computing a RST controler from a predictive controler
theory.

The RST equivalent controler is a monovariable controler (one input / one
output). There is no constraint management. The equivalent RST predictive
controler lets the user verify the stability and the robustness of the computed
controler.  

The algorithm used here is described in the book "La commande predictive" from
Patrick Boucher and Didier Dumur at chapter 3 page 51. ISBN : 9782710807025 (176
pages) edited in 1996.

The book is also available through google books via:
http://books.google.fr/books?id=LfUw9wKmDWEC&printsec=frontcover&hl=fr#v=onepage&q&f=false

In order to launch the predictive controler parameter tuning, execute the
predictive_gui() function.

This will open a simple window with the following parameters used for the
predictive controler computation:
- N1
- N2
- Nu
- Lambda

The System name, Time sampling and Stationary parameters describe the continuous
system to control:
- System name : string to qualify the linear continuous system to control
- Time sampling : time sampling in second
- Stationnary : time in second from which the system is considered as in
stationnary mode


Enjoy this toolbox and discover a first step into the predictive controler
theory. A demo is also available in the Demo tab of Scilab.

            
Files (11)
[33.89 kB]
Source code archive

[47.66 kB]
Linux 32-bit binary for Scilab 5.4.x
Linux 32-bit
Automatically generated by the ATOMS compilation chain

[64.47 kB]
Windows 32-bit binary for Scilab 5.4.x
Windows 32-bit
Automatically generated by the ATOMS compilation chain

[64.53 kB]
Windows 64-bit binary for Scilab 5.4.x
Windows 64-bit
Automatically generated by the ATOMS compilation chain

[47.57 kB]
macOS binary for Scilab 5.4.x
MacOSX version
Automatically generated by the ATOMS compilation chain

[48.07 kB]
Linux 64-bit binary for Scilab 5.4.x
Linux 64-bit
Automatically generated by the ATOMS compilation chain

[58.25 kB]
Windows 64-bit binary for Scilab 5.5.x
Windows version (x64)
Automatically generated by the ATOMS compilation chain

[45.10 kB]
macOS binary for Scilab 5.5.x
MacOSX version
Automatically generated by the ATOMS compilation chain

[45.61 kB]
Linux 64-bit binary for Scilab 5.5.x
Linux version (x86_64)
Automatically generated by the ATOMS compilation chain

[44.77 kB]
Linux 32-bit binary for Scilab 5.5.x
Linux version (i686)
Automatically generated by the ATOMS compilation chain

[58.20 kB]
Windows 32-bit binary for Scilab 5.5.x
Windows version (i686)
Automatically generated by the ATOMS compilation chain

News (0)
Comments (1)     Leave a comment 
Comment from Samuel Gougeon -- January 6, 2018, 11:25:38 PM    
Moved from http://bugzilla.scilab.org/14794

BUG DESCRIPTION:
----------------
predictive_gui generates error when invoking the generator

ERROR LOG:
----------

-->predictive_gui

Generating RST controler...
 !--error 4 
Variable non définie : linear_sys
at line       2 of function %eval called by :  
at line      20 of function eval called by :  
at line      10 of function rst_callback called by :  
 = gcbo; end;gcbo = getcallbackobject(125);rst_callback;if exists("%oldgcbo")
then gcb
while executing a callback


HOW TO REPRODUCE THE BUG:
-------------------------
Open predictive_gui and click Generator

OTHER INFORMATIONS
------------------
Photo of the bug: http://bugzilla.scilab.org/attachment.cgi?id=4405
Answer from Samuel Gougeon -- January 6, 2018, 11:53:58 PM    
After the demo has been run once -- what opens a Xcos diagram --, pressing
"Generate" works.
Anyway, the packaging and the documentation of this module are unclear:

* some C gateway looks available in the sources, but is not compiled nor loaded in .start
* Demo: the user is prompted to create
  The file C:\demos\predictive_rst.zcos doesn't exist Do you want to create it?
  This is a definitely wrong proposal. The file should be created either in TMPDIR
  or SCIHOME.
* Help: as reported by Pierre on Bugzilla, either there is a missing internal
  initialization, or the documentation is too poor to start with.
  
If macros have just to be recompiled for Scilab 6: Alexandre, do not hesitate to set me as
a maintainer if you have no time to spend for this upgrade.
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.