The FOMCON toolbox for MATLAB is a fractional-order calculus based toolbox for system modeling and control design.

Aleksei Tepljakov (2021). FOMCON Toolbox for MATLAB (https://github.com/extall/fomcon-matlab), GitHub. Retrieved .

Created with
R2014b

Compatible with any release

**Inspired:**
Tuned PID Vs FPID

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

Start Hunting!Create scripts with code, output, and formatted text in a single executable document.

taner KARSLIDear Aleksei

Do you have any offer to fix Step_size (Simulink simulation step) when we use fractional order transfer function which belongs to your toolbox.

Anusha KumarThank you Sir. I had another doubt regarding the solver to be used for fixed-step size systems. Are there any solvers that I could use for this or do I need to opt for variable step solvers?

Aleksei Tepljakov@Anusha Kumar: Demultiplex your signal into 5x scalar lines, use 5 integrator blocks, and after that multiplex the signals back into a single line. Right now the fundamental blocks only support scalar input/output.

@Everyone: if you experience issues with FOMCON that you think are software bugs, please report them as issues at GitHub.com. This is not a very good place to discuss these issues. Most often, the issues you are experiencing are either due to not fully adding FOMCON to MATLAB path, or due to Simulink compatibility issues (MathWorks has never been good at handling these, so the fastest way to solve it is to use a MATLAB version R2014b+). Finally, this is a fractional calculus toolbox, so sometimes you will run into numerical errors with some solvers. Try Stiff Solvers and see if computational performance/stability of results improve.

Anusha KumarDear Prof Aleksei,

I am unable to use the fractional integrator for data of size [5,1]. The error I keep getting is "Inferred size ('[5]') for data 'zeta' does not match back propagated size ('scalar') from Simulink".

Could you please help me with this.

Parikshit PaulDear Prof Aleksei

I have already used FOMCON in coding but in simulink it's showing the error "Initialization commands cannot be evaluated.Fractional order tool box also showing in simulink library but error is showing.I need your help Sir. I also try to reach FOMCON website.I am working in modelling of fractional order systems if you can share your idea it will very helpful for me.

Thanga PandiyanDear sir, I am an engineering student and struggling to install the FOMCON toolbox in the MATLAB 2018a.

Please help me the steps i need to follow to install it. If there is any tutorial please help me sir.

THANKING YOU SIR

siyan liuKhaled Rady@Aleksei Tepljakov Thanks a lot for your very helpful contribution, I have already cited you in my last paper. However, I am experiencing an instantaneous/transient shattering "100 times the original signal" in the first 2 seconds of running the Simulink model with the fractional derivative while the rest of the simulation period is reproduced fine, any idea how to solve this?

@jegajothi balakrishnan you need to add the file to the toolbox location located in the Matlab installation as follows: C:\Program Files\MATLAB\R2017a\toolbox\fomcon then go to MATLAB and add to path selected files with subfolders simply by using the command "Pathtool"

jegajothi balakrishnanAny one can give answer for my error?

In my model it shows some error that failed to load library block FO/PID

Hoang Vu DaoDear sir,

Could you mind to show me how to programmatically tune the fractional order number (gamma) in the fractional operator? I tried using the 'set_param' function in a MatlabFunction Block to tune this parameter during the simulation, but it did not work at all.

Thank you.

samet tabakIn matlab coding i have a problem. When i try to code like following, i came across the fault. In PID control there is no problem like this. Can you guess where problem is? Thank you very much.

%Defining of Input and output of plant

plant.InputName='e';

plant.OutputName='y';

%Defining of Input and output of system1

Pfes.InputName='y';

Pfes.OutputName='fes';

ERROR:No public property InputName exists for class fotf.

Error in FOPID_new (line 79)

plant.InputName='e';

Farzi GunNurdini Aifa AbdullahDear sir, I am an engineering student and struggling to install the FOMCON toolbox in the MATLAB 2018a.

Please help me the steps i need to follow to install it. If there is any tutorial please help me sir.

THANKING YOU SIR

Mukhtiar AhmadDear sir, I am an engineering student and struggling to install the FOMCON toolbox in the MATLAB 2013a.

Please help me the steps i need to follow to install it. If there is any tutorial please help me sir.

THANKING YOU SIR

behzad GhanbariDear prof Aleksei

I am using the FOTF Veiwer gui. When I add my TF all the options work correctly but when i want to export system as a oustaloup zpk or oustaloup refined filter zpk it doesnt work and "Erroneous model, export aborted: possibly due to too high order of approximation" error comes up but my order is 5.

I would appriciate it if you help me

geetanjali deisunitaDear Prof Aleksei

I have already used FOMCON but now it's showing the error "Initialization commands cannot be evaluated.

Caused by: 'config' is an invalid option". I need your help Sir. i also try to reach FOMCON website. i am working in modelling of fractional order systems if you can share your idea it will very helpful for us.

Ilja SagradovSaleh Alsalehshilpam malikDear Prof.

I cant reach the site which is written next line. Can you please reactive that site.

http://fomcon.net/fomcon-toolbox/overview/

Dazhuang MaDazhuang MaYERRA LOKESWARDear sir, I am an engineering student and struggling to install the FOMCON toolbox in the MATLAB 2013a.Please help me the steps i need to follow to install it. If there is any tutorial please help me sir.

THANKING YOU SIR

tanerDear Prof Aleksei

I am very grateful for your interest. Thank you for opening FOMCON website.

I need tutorial about codes so i try to reach FOMCON website. Analysis, control and modelling of fractional order systems if your crew can share with us it will very helpfull for us.

Aleksei Tepljakov@taner: thanks for pointing that out. Although the FOMCON website is no longer actively maintained, the information provided there can still be useful.

tanerDear Prof.

I cant reach the site which is written next line. Can you please reactive that site.

http://fomcon.net/fomcon-toolbox/overview/

Xu PengThank you so much!

Bachir NAILDear Prof.

I need help for the fractional derivative of matrix how can do this.

Jagatheesan KDear Prof.

I'm a research scholar in Anna University.

I can't able and I don't know the actual procedure for uploading FOMCON toolbox in my Matlab 2014a software. Kindly support for updating the toolbox.

KIndly support for this issue. I'm waiting for your positive support for this.

Magdi MosaThank you the tool box is very helpful, i want to know if there are document explains the tools?, Thank you

Sambit Dashivan kostoff10х...

VINAY SINGHAleksei TepljakovTarun Varshney, you should add ALL toolbox files/folders to MATLAB path. It seems that in your case MATLAB is not aware of the isstable() function implemented specifically for FOTF objects.

Tarun VarshneyWhen I am trying to analyze the fractional order systems using fotf_gui.m, as I insert the system 'G' as shown in example number 1, facing a problem in stability test. I am getting an error

Stability test for 'G'

Error using isstable

Too many output arguments.

Error in fotf_gui>btnStable_Callback (line 89)

[K,q,err,apol] = isstable(myFotf, true)

Error in gui_mainfcn (line 95)

feval(varargin{:});

Error in fotf_gui (line 25)

gui_mainfcn(gui_State, varargin{:});

Error in

matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)fotf_gui('btnStable_Callback',hObject,eventdata,guidata(hObject))

Error while evaluating UIControl Callback.

Kindly help me out.

shunjia chenwhen I try to identify one model ,it shows 'lsqnonlin stopped because it exceeded the function evaluation limit,

options.MaxFunctionEvaluations = 1200 (the default value). 'and than goes wrong,where to chang this default value, and when I stop ,it also goes wrong without current value. can you help me ? thanks.

Aleksei Tepljakov@yang xk, it should be possible---in fact, this is (approximately) how the fpid_optimize function works; however, a more full description of your setup would be needed. Please send me a support request via e-mail, or, if you believe it's a bug, leave an issue report on GitHub.

yang xkhi, i want to design the fuzzy fractional PID using this toolbox,but i encounter a problem .

that is used s-function can't modify Fractional controller paramer(Kp,Ki,Kd,lambda,mic).

but it can worked using the same method modify the PID controller.

yy lDhiraj RThank you