File Exchange

image thumbnail

Time-distributed particle swarm repetitive control algorithm

version 1.0.0.0 (71.6 KB) by Bartlomiej Ufnalski
A real-time implementation of the multi-swarm repetitive control algorithm is presented.

4 Downloads

Updated 15 Dec 2015

View License

An on-line optimization of a control signal usually requires significant computational power. However, for some optimization techniques it is possible to distribute relevant calculations in time. This submission demonstrates that the previously developed plug-in direct particle swarm (or multi-swarm) repetitive controller (PDPSRC or PDMSRC) can be implemented in an industrial microcontroller such as TMS320F2812 assuming only 64K words of external memory (as in TMS320F2812 eZdsp Starter Kit (DSK) -- socketed version). You do not need this starter kit nor a physical converter to run the code. The C-code is included as an S-Function and the PLECS Viewer (available free of charge at www.plexim.com) is employed to model the plant. Please remember to compile it, i.e. prior to running the model go to S-Function block and click Build. This code has been successfully executed on the above-mentioned DSC for 10 kHz sampling period. No code optimization, such as list based evolutionary optimization, is necessary -- standard rand() is used. Computational burden of the algorithm does not grow with increasing number of subswarms. Here the 10-swarm control algorithm is presented. For more information please see http://dx.doi.org/10.1007/978-3-319-11313-5_44 and http://dx.doi.org/10.1007/978-3-319-11310-4_15 and http://dx.doi.org/10.1515/bpasts-2015-0098 (December 2015) or visit http://ufnalski.edu.pl/proceedings/is2014/ .

Cite As

Bartlomiej Ufnalski (2020). Time-distributed particle swarm repetitive control algorithm (https://www.mathworks.com/matlabcentral/fileexchange/48967-time-distributed-particle-swarm-repetitive-control-algorithm), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Communities

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!