In order to download the toolbox, please accept the terms of the following license agreement (BSD compatible). Additionally, you agree to reference the FOMCON project/toolbox in derived works by citing at least one of the following articles (choose those that are most suitable for your application): [1], [2], [3], [4], [5], [6], or [7].

Copyright (c) 2012-2016, Aleksei Tepljakov All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

[1] | A. Tepljakov, E. Petlenkov, and J. Belikov, “Gain and Order Scheduled Fractional-order PID Control Of Fluid Level in a Multi-Tank System,” in 2014 International Conference on Fractional Differentiation and its Applications, 2014, pp. 1–6. |

[2] | A. Tepljakov, E. Petlenkov, and J. Belikov, “Closed-Loop Identification of Fractional-order Models using FOMCON Toolbox for MATLAB,” in Proc. 14th Biennial Baltic Electronics Conference, 2014, pp. 213–216. |

[3] | A. Tepljakov, E. Petlenkov, and J. Belikov, “Efficient analog implementations of fractional-order controllers,” in Proc. of the 14th International Carpathian Control Conference (ICCC), 2013, pp. 377–382. |

[4] | A. Tepljakov, E. Petlenkov, J. Belikov, and J. Finajev, “Fractional-order controller design and digital implementation using FOMCON toolbox for MATLAB,” in Proc. of the 2013 IEEE Multi-Conference on Systems and Control conference, 2013, pp. 340–345. |

[5] | A. Tepljakov, E. Petlenkov, J. Belikov, and M. Halás, “Design and Implementation of Fractional-order PID Controllers for a Fluid Tank System,” in Proc. 2013 American Control Conference (ACC), Washington DC, USA, 2013, pp. 1780–1785. |

[6] | A. Tepljakov, E. Petlenkov, and J. Belikov, “FOMCON: a MATLAB toolbox for fractional-order system identification
and control,” International Journal of Microelectronics and Computer Science, vol. 2, no. 2, pp. 51–62, 2011. |

[7] | A. Tepljakov. (2012) FOMCON: Fractional-order Modeling and Control. [Online]. Available: http://www.fomcon.net/ |

## 156 Comments

Hi I want to download it

Go ahead. In order to download it, you need to agree to the terms and conditions.

sir,how to installs fractional block in to matlab..

how to create matlab fractional tool kit ….

please explain sir…

I want to download it

I am in need of downloading FAMCON fraction order controller tool box to go ahead with my research.Please provide me the way at the earliest.

On the page here there is a “I agree to the terms and conditions of use.” field with a checkbox that has to be ticked. The Download button will then become active and you will be able to download the toolbox.

Dear Aleksei,

sorry! I dont know english very well.

Thanks a lot for your efforts.

I have two questions, I am grateful to you Answer.

1.In this toolbox, to implement the Derivative block, Which one of the definitions have been used?

Riemann-Liouville definition,Grünwald-Letnikov definition or Caputo definition?

2.Any functions in the three above-defined always have the same answer?

Dear Peyman,

The simulation routine in MATLAB computes the transient response using the Grünwald-Letnikov method. The derivative block in Simulink is based on the Oustaloup recursive filter approximation. Generally speaking, the three definitions of the fractional-order derivative are not strictly compatible.

Dear Aleksei

As you said here, your derivative block in Simulink is based on Oustaloup recursive filter approximation. So does it appropriate to use your derivative Simulink block when the fractional-order controller is deduced using the Caputo definition/Riemann-Liouville definition?

In case of the Oustaloup filter we are dealing with a band-limited approximation which is applicable to real-time control problems. This is a fundamental limitation.

How is the controller deduced using Caputo/Riemann-Liouville definitions exactly? If theoretical results are available, and, in addition, it is possible to compute the step response of the system using RL, for instance, then the task would be to compare these results to those achieved using the Oustaloup approximation. In fact, these should coincide within a reasonable tolerance.

Hi

Thanks very much

How i can install the toolbox and use in matlab?

Download and unpack it into MATLAB’s toolbox directory, for example to “C:\Program Files\MATLAB\R20___\toolbox\fomcon\”. Then add the toolbox to MATLAB path as “Selected Folders and Subfolders”.

Superb work by the authors of this toolbox. This will indeed benefit a lot of fractional calculus researches. I like it very much.

Thanks you so much, FOMCON help in my research about fractional controllers =)

You are welcome!

a very nice piece of software and helpful in giving class room demo.

This is a new topic and it helped students in learning this in detail. Thanks a lot Mr. Aleksei.

best

M S Prasad

Does this FOMCON version support matlab version 6.5

FOMCON was not tested in version 6.5. Some of the features may work, but my guess is that the toolbox will not be functional in general. The aim to provide support for MATLAB v7.4 an up.

Great job!

sir, in the text book (FOMCON: Fractional-order Modeling and Control) page no: 78, i am not getting the PRBS() matlab function. can you plz help me.

kind regards Chenchu

Yes, this is an oversight on my part. This function is available in the CRONE toolbox, kindly download it from the official website.

Dear Dr. Aleksei,

Thanks for your development of this useful toolbox. I want to know how to design a fractional order control system in Simulink directly based on your toolbox because I have not found how to set the fractional order parameters of these models,e.g., ‘Fractional derivative’, in FOMCON toolbox. Thanks very much.

Perhaps you want to accomplish something similar to this?

http://fomcon.net/fomcon-toolbox/overview/#comment-1130

Thanks for your reply. Yes, I want to design a control system with FOPID controller in Simulink and tune optimal values of the controller by evolutionary algorithms.

hi Dear Dr. Aleksei

i download crone toolbax and want to use it,but eny Script to use,,give erorr ” Undefined function or method”

Maybe I’ve not understand how to install it

please help me

thanks

This is the official website of the FOMCON toolbox. Please refer to CRONE toolbox page for more information and support.

hi Dear Dr. Aleksei

can you help me how use [R,C,K,results] = frac_imp_rc_optimize_foster2(params)

What type instead of params?

Note, that the function you are trying to use is still in the stage of development, and it is not very likely that it will produce feasible results.

The argument

`params`

must be a MATLAB structure with the following fields:`.structure`

—A MATLAB string with the name of the fractance structure used;`.G`

—Original FOTF to be approximated;`.w`

—Frequency points at which the frequency response is evaluated (use, e.g.,`logspace()`

for generating this);`.N`

—Desired number of discrete components.Dear Dr. Aleksei

Thanks for your development of this useful toolbox.But when i use it with the version of MATLAB2014a, the fotf_GUI can’t be opened completely,besides, when i click Tools-Options,some mistakes always occur,i need your help,Thanks very much!

Dear Ling Zhang,

I will verify this as soon as I get a R2014a license.

Please elaborate on what “fotf_GUI can’t be opened completely” means.

The second problem is due to the incompatibility of the propertiesGUI version used in the current version of the toolbox with R2014a. I have fixed this issue and it will be included in the next version of the toolbox. For now, I will publish a patch on the FOMCON support forum. Kindly follow the link: http://fomcon.net/forums/topic/preliminary-releases-and-patches/#post-914

Dear Dr. Aleksei，

Thanks for your help very much！My second problem has been solved with your help. As for the first one, i mean that when i input the command ‘fotf_GUI’, the display of ‘FOTF Viewer’ interface is not complete.

In which way is it not complete? Would you kindly provide a screenshot?

OK, I have already sent the screenshot to your email aleksei.tepljakov@dcc.ttu.ee.Thank you very much for your help.

Thank you very much for your answer.

Sorry I taking of your time, but can you give me an example of how to make up for the values

Did you mean like that

a=[5];

na=[0.9];

b=[1 3 5];

nb=[2 1.3 0];

G=fotf(a,na,b,nb)

w=logspace(-2,2);

N=5;

G1 = carlson(1, 2,100, N)

[R,C,K,results] = frac_imp_rc_optimize_foster2(G1,G,w,N)

But did not succeed

No, actually you need to create a structure, e.g.

`params=struct;`

`params.G=G; params.w=w;`

`params.N=N; params.structure='frac_struct_rc_foster2';`

Then you pass it as

`[R,C,K,results] = frac_imp_rc_optimize_foster2(params)`

sorry Dr . may bother you

Did you mean so

a=[5];

na=[0.9];

b=[1 3 5];

nb=[2 1.3 0];

G=fotf(a,na,b,nb)

w=logspace(-2,2);

N=5;

params=struct;

params.G=G;

params.w=w;

params.N=N;

varargout = frac_struct_rc_foster2([20,15,5],[0.1,20,30],’~’,1,params)

params.structure=’frac_struct_rc_foster2′;

[R,C,K,results] = frac_imp_rc_optimize_foster2(params)

But also did not apply

This

`varargout = frac_struct_rc_foster2([20,15,5],[0.1,20,30],’~’,1,params)`

is not necessary.I did as you told me

But the show this mistakes

Error using frac_struct_rc_foster2 (line 31)

Not enough input arguments.

Error in frac_imp_rc_optimize_foster2>obj_func (line 50)

Z = struct_fun([Rp R],[Cp C])*K;

Error in frac_imp_rc_optimize_foster2>@(x)obj_func(x,str_fun,orig_fun,w,N) (line 21)

x = GODLIKE(@(x) obj_func(x, str_fun, orig_fun, w, N), …

Error in GODLIKE/test_funfcn (line 509)

sol = fun{ii}(lb_original);

Error in GODLIKE (line 139)

[options, single, multi, test_evaluations] = test_funfcn(options);

Error in frac_imp_rc_optimize_foster2 (line 21)

x = GODLIKE(@(x) obj_func(x, str_fun, orig_fun, w, N), …

Error in Untitled (line 15)

[R,C,K,results] = frac_imp_rc_optimize_foster2(params)

Caused by:

GODLIKE cannot continue: failure during function evaluation.

As I said, this is an experimental feature, and it may not work. Since I am currently doing something else, I cannot focus on finishing the implementation. Therefore, I cannot provide support for it.

Anyway, you should use the

`frac_rcl`

object. See the following publication for details.[1] A. Tepljakov, E. Petlenkov, and J. Belikov, “Efficient analog implementations of fractional-order controllers,” in Proc. of the 14th International Carpathian Control Conference (ICCC), 2013, pp. 377–382.

No problem.

Thank you very much gave me of your time .

I use a program ( maple13) to apply foster and cauer method

But the values of some elements are negative which caused me a problem.

last question can I know the values of (setlling time_rise time_overshot) by using fomcon tool

Yes, if you consider approximations of fractional systems and use the standard Control System toolbox feature called

ltiview.thanks

I benefited from your tips and answers

hi dr

how are you.

Can you help me how can implement the structural type of tree for fractance

Please elaborate.

there are three basic fractance devices [domino ladder- tree structure- transmission line]

but i don’t found how can i implement tree type and transmission line

Some of these are not yet implemented in FOMCON.

Kindly file a feature request on the bug tracker.

Dear Aleksei

Thank you for your helpful comments. Is there any manual guide for this toolbox which has simple examples?

Kindly consider my Master’s thesis: http://www.a-lab.ee/edu/node/52

hi Dr.

can I ask if there a way to implement the process of maximum discrepancy matlab tool

Statistical tools are not yet available in FOMCON.

dear Dr.

is there way to convert complex number like (2+3i)form to Laplace form like(2+s)

i need this way to calculate impedance for set of resistors and capacitor

I would suggest to consider the differential equation of the circuit and do a Laplace transform.

dear Dr.

can i use fomcon to solve continue fraction like as

(long continue division)

Do you mean long polynomial division? MATLAB has a built-in function for that, namely

`deconv`

.For continued fraction expansion there’s a function in FOMCON called

`polycfe`

. It is used for generating fractance approximations.i mean how Application of long division to the transfer function like that

z(s)=( s^4+4s^2+1)/(s^3+s)

=s+1/(1s/3+1/(9s/2+1/(2s/3)))

Use

`polycfe()`

. Here is your example:The function will return a cell array in

`q`

. Each element, which you can extract using curly bracket notation (e.g.`q{1}`

) will contain the polynomial coefficients for the particular element of the expansion. For instance, the second element in this example will have $q\{2\}=[0.3333\ 0]$, which corresponds to the coefficient $1/3$.The second argument—$expr$—will contain the expression, which you can evaluate and get the initial transfer function back using

`s=tf('s'); G=eval(expr);`

thank thank thank you very very very much

i use command’ oustapid’ for approximation of the fractional-order PID controller at matlab.

where give zero/pole/gain

how i can abtain tranfer function of zero/pole/gain form?

If you want to convert the

`zpk`

representation into transfer function form just use`tf(oustapid(...))`

. However, depending on the order of approximation, this can lead to issues with numerical stability, as transfer function zero/pole polynomial coefficients will differ greatly in orders of magnitude.thank you

thanks

You’re welcome!

I download the package , but can not work, >> G = fotf([2 1 -5], [1.7 0.3 0], [1 1], [0.5 0], 5)

??? Error using ==> fotf

Cannot redefine class ‘fotf’

without a call to ‘clear classes’.

And where is the simulink library?

Please specify which version of MATLAB you are using.

Type

`fod`

to launch the Simulink library.I use Matlab 2009b,

Unfortunately, there are compatibility issues. Kindly report them via the bug tracker.

hi Dr

can i use Fomcon tool to application Matsuds method for approximation?

Dear Sun,

No, Matsuda’s method is not yet implemented.

ok,

Another question,when application this ([Y, T] = step(G)) function i dont get a figure,

i want step response .

I am a student and now type Master Thesis,I am a student, and now Master thesis type,i has relied on fomcon tool

The calling sequence you mentioned is used to store $y$ and $t$ vector values. You can plot them later using

`figure; plot(t,y);`

i mean that

a=1;

na=0;

b=1;

nb=0.9;

G=fotf(a,na,b,nb)

i want step respons for G

You can obtain it by doing

`step(G)`

.thank you .but also i don’t have information about( rise time -setlling time-….)

You can deduce it from the plot yourself. Otherwise, use Oustaloup approximations and the

`ltiview`

application of Control System toolbox.hi dr

can i use fomcon tool for application feedback with plant ?

as normal pid like

d=tf([1],[1 3 2 ]);

h=pid(kp,ki,kd);

c=feedback(d*h,1)

Yes, you can. Use the

`fracpid()`

command to generate a FO transfer function for the FOPID controller.please can you take me example

hi dear dr.aleksei

I want use lead-lag compsator in simulink

how can i build this block?

thak you

Use the “fractional operator” block of FOMCON library. You will need to compute the correct frequency band limits ($\omega_b$ and $\omega_h$) and the correct gain.

thanks for reply

how i can compute the correct frequency band limits (\omega_b and \omega_h) in “fractional operator” block?

This is very simple. Consider an abstract fractional-order lag compensator of the form

\begin{equation}

G(s) = 2.5 {\left( \frac{0.07s+1}{0.9s+1} \right)}^{0.5}.

\end{equation}

You can approximate it using the Oustaloup method by selecting the following frequency bounds:

\begin{equation}

\omega_b = 1/b,\quad \omega_h=1/a.

\end{equation}

You will also need to apply the gain $K=2.5$ to the resulting approximation, as well as the correction gain $K_c=b^{\alpha}$. So in FOMCON you would need to issue the following command to get the approximation of the controller:

`G=2.5*0.07^0.5*oustafod(0.5, 5, 1/0.07, 1/0.9)`

NB! Make sure, that you are not using the “refined Oustaloup filter” option.

did you mean like this

d=tf([1],[1 3 2 ]);

l= fracpid(KP, KI, LAMBDA, KD, MU);

x=feedback(l*d,1)

but appear error

Change the first line of your code to this:

`d=fotf(tf([1],[1 3 2]));`

thank you

can u help me to clear the error using fractional order PID controller which is displayed as

“error evalating parameter ‘sys’ in new/fractional PID/LTI block

caused by:

undefined function ‘nipid’ for input arguments of type ‘double’. i amusing MATLAB 12b version.

The error message is correct in that the ‘nipid’ function is not a part of FOMCON toolbox, therefore I cannot provide support for it.

hi

if you use another toolbox for farctional (for example ‘ninteger toolbox’)

this error Occurs when function ‘nipid’ or any function in not found in the current folder or on the matlab path

you should add this function to the matlab path..

respected sir,

This raja (my mail iD: chvnraja.eee@anits.edu.in). iam using matlab 2013a matlab. here iam requsting you kindly send complete FOMCON toolbox for matlab 2013a.

You can download the toolbox using the link above.

Hi again

in FOMCON toolbax for simulink ,how we can choose order of approximation?

There is an explicit formula for this in the French paper describing Oustaloup’s approximation: Oustaloup, A.; Levron, F.; Mathieu, B. & Nanot, F. M.

Frequency-band complex noninteger differentiator: characterization and synthesis, 2000.Generally, the greater the order of approximation, the closer the frequency response thereof is to an ideal one.

great job!

hi

Iwant modling a fractional capacitor in the boost convertor of solar cells in simulink environment .

how?

do you know ican use which block?

thank you

E.g. the fractional operator block in the FOMCON Simulink library.

thank you for reply

Dear Aleksei,

In FOMCON toolbax for simulink ,how we can choose the order and the frequency band of the

approximation?

I was trying to use matlab Fractional toolbox and the below appeared

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

G = fotf([2 1 -5], [1.7 0.3 0], [1 1], [0.5 0], 5)

??? Undefined function or method ‘fomcon’ for input arguments of type ‘char’.

Error in ==> fotf.display at 5

config = fomcon(‘config’);

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

thanks in advance

Did you properly add all of the toolbox’ folders onto the MATLAB path?

Hi

Please help me with using Fractional Transfer Function in simulink, I dont know how to use this block and creat a fractional transfer function?

hi dear dr.

Ask for help, do you have a source for controlling the fractional talking about how to find (kp,ki,kd) with out matlab, such as in (pid)

(kd) = (R*c) in analog, But what about (fopid) How do I find (kp,ki,kd)?

Sorry i takes from your time,but i need help ,because i couldn’t find source

hi Dr

when i use fractional pid controller block in simulink it require me LTI sys and transfer function what its mean can you take me example.and can use instead it from ninteger toolbox nipid block ?

Hi dear dr aleksei

dose the TID controller performance better than PID controller?

There is a related patent: http://www.google.com/patents/US5371670

thank for reply

Hi dear Dr.Aleksei

I have a problem with using the fod liberary in simulink.

How I can determine the initial conditions for signals for example in fractional integrator block?

Initial conditions are assumed to be zero.

How can I change them?

At this moment, initial condition approximation is not yet supported. The research towards this end is ongoing, and should result in the implementation of said feature in a future FOMCON release.

thanks for your answer.

Can I choose the initial conditions for the signals by putting two integrator and derivative (e.g. 1/s and du/dt) blocks beside each other to input the initial conditions in 1/s blocks?

Unfortunately, it is not as simple as this.

Dear Sir,

When I am using fpid_optim for finding lamda and mu I got some errors . The transfer function is G=tf(34.99.[26.54 1],’inputdelay’,0.74), I am using Matlab version 2013a I am getting following errors

Error margin and recursion limit crossed 500

Could you please help me to solve this problem. If there is some problem with installating toolbox could you please send video for installing toolbox.

Thanks and regards.

This is a problem with controller design for a particular system. My advice would be to try to limit the FOPID gain/order parameter search space.

hi… iam not getting the all blocks in the simulink library…what can i do for getting all the 8 blocks in smulink..

E.g., use MATLAB R2012b or newer.

There also exists a version of the fod library for R2009a: http://fomcon.net/download/misc/fod_r2009.zip

Dear Dr.Aleksei,

When I am using ‘norm’ to evaluate the robutness of a fractional order transfer function, I got some errors.

Please help me, thanks very

For example,

G=fotf([0.8,0.5,1],[2.2,0.9,0],1,0);

n1=norm(G)

n2=norm(G,inf)

The following errors are:

Attempt to reference field of non-structure array.

Error in fotf/freqresp (line 14)

a = G.a;

Error in fotf/norm>@(x)freqresp(x,G).*freqresp(-x,G) (line 25)

f = @(x)freqresp(x, G).*freqresp(-x,G);

Error in quadgk/evalFun (line 331)

fx = FUN(x);

Error in quadgk/vadapt (line 250)

[fx,too_close] = f(x);

Error in quadgk (line 149)

[q,errbnd] = vadapt(@evalFun,tinterval);

Error in fotf/norm (line 27)

n = quadgk(f, -dx*1i, dx*1i) / (2*pi*1i);

Error in robutness_test (line 9)

n1=norm(G)

Yes, this is a known bug in the current release.

See the following patch: http://fomcon.net/forums/topic/preliminary-releases-and-patches/#post-1037

Hi dear Dr.Aleksei

when I use the fod library in simulation, I face with this error although I don’t use this block(Discrete FPID OPTIM controller) in my simulations:

“Could not evaluate MaskDisplay commands of block ‘fod/Discrete FPID OPTIM controller’: Undefined function or variable ‘str’.”

thanks a lot

Are you sure that the MATLAB path for FOMCON toolbox is correctly set?

Dear Sir,

Thank you very much for your efforts. I am using MATLAB R2015a, and I could not know how to install the toolbox. I have already add the folder to the directory of MATLAB but I did not under stand whay it does not work. What should I do to get the Simulink blockset?

Thank you

i want to design a controller c(s)=fopid structure for the plant G(s),such that i will get

C(s)*G(s)=M(s) ,my required model

how to tune parameters of FOPID .in matlab ….please help me…thanks in advance

You can develop this into an optimization problem.

Dear Aleksei,

I meet with a problem,I want to get your help.

When I input the code’ G=fotf([0.8 0.5 1],[2.2 0.9 0],[1],[0])’ in the Command Window,it works.The show:>> G=fotf([0.8 0.5 1],[2.2 0.9 0],[1],[0])

Fractional-order transfer function:

1

———————–

0.8s^{2.2}+0.5s^{0.9}+1

But,when I put the code’ G=fotf([0.8 0.5 1],[2.2 0.9 0],[1],[0])’ in M file,it will go wrong.

M file is named ‘Untitled’,the Command Window shows:

??? Error using ==> Untitled

No Static method ‘Untitled’ in class ‘fotf’.

What is your working directory? Are you certain, that FOMCON is on MATLAB path?

I put M file in the’@fotf’ folder,it can’t work .I find M file can’t be put in the ‘@fotf’ folder .

Now I have solve this problem.Thank you very much.

Hi dear Dr.Aleksei

I input the code’ G1=fotf([1.1 0.8 1.9 0.4],[1.8 1.3 0.5 0],[0.8 2],[1.2 0])’,the show:

??? Undefined function or method ‘fomcon’ for input arguments of

type ‘char’.

Error in ==> fotf.display at 5

config = fomcon(‘config’);

I have add the folder to MATLAB path,butit can’t work.Some daya ago,it can work normally.

I will be grateful for your help.

See my comment above. Reinstall FOMCON if nothing else helps.

I see your comment above carefully,and now I have solved it.I am grateful for your comment.Thank you very much.

Thank you Aleksei . We were able to complete our project successfully with your toolbox

Glad to hear it!

i have downloaded it and unpacked as said to tool box folder but its not working

thanks

You’re welcome!

Very useful toolbox. In fact i have one of my students using it as a means of designing some simple FOC for a simplified suspension problem. We have noted that if both the ninteger toolobox and fomcon appear on the matlab path, the fomcon gui (the frequency responses, bode, nichols) do not seem to work. Not sure why, but in such case the easy solution is either to work with ninteger or fomcon (both tooloboxes offer useful tools). Great work in what you have done Aleksei!

A.

Thank you for your kind words.

hi dear doc aleksi

with type:

> a=[5];

na=[0.9];

b=[1 3 5];

nb=[2 1.3 0];

G=fotf(a,na,b,nb)

and do it,this message is appea

Undefined function ‘fomcon’ for input arguments of type ‘char’.

Error in fotf/display (line 5)

config = fomcon(‘config’);

please help me.

i reinstal it, but this error message again appear!

You have not properly set MATLAB path. Please read the installation section here.

I am a help. How to find the FOPID parameters using GA/PSO algorithms by using Simulink or optimization toolbox

hi

I learned lots of things in a short time that I visited ur site

I really appreciate uand ur works

Thank u very much :*

Sir, I want to use fomcon in my model, how can I do it ? Also, I want to optimise the value of my fraction using ga. How to do it?

Great work, I would like to know if your tool, fomcon 1.0 version , works in matlab 2015, because I type:

G2

Fractional-order transfer function:

s^{0.3}+1

———–

s^{2.5}+s+1

>> isstable(G2)

Error using intmax (line 40)

Invalid class name.

Error in gcd (line 47)

if isa(b,’double’) && (b > intmax(classin) || b < intmin(classin))

Error in fotf/comm_order (line 61)

n=gcd(a1(1),a1(2));

Error in fotf/isstable (line 35)

q = comm_order(G,'den');

This is the problem.

I will appreciate you answer

I have not updated to MATLAB R2015a yet, therefore there may be issues with it.

I will check this as soon as possible.

Please make sure that all of FOMCON toolbox files are on MATLAB path.

Which particular version of MATLAB R2015 are you using? R2015a or R2015b?

hello sir,

I am new in matlab and very new in fomcon, can you please tell me how can i define the transfer function

z=1/[(1+s)^0.5] to get the bode response of the function? please reply as soon as ur convenience.

This is an implicit FO transfer function, these are not supported yet.

To get the frequency response you can, e.g., create a so called anonymous function:

`G = @(w) 1./((1+sqrt(-1).*w).^0.5);`

Now you can obtain the frequency response of the corresponding transfer function in the same way as you would using the`freqresp()`

function. To get a Bode plot, specify the frequency response points of interest, e.g.,`w=logspace(-5,5,100); frG = G(w);`

and create a`frd`

object like so:`frdG = frd(frG, w);`

Now just do`bode(frdG);`

Note, that the whole procedure does not even require FOMCON.

thank you sir for your reply.

hi sir,

please tell me how can I define the transfer function Z(s)=1/(s+1)^0.5 for obtaining bode plot.

Dear Aleksei,

I would like to know if you have any examples FOC for power electronics – buck or boost DC/DC converter. I am doing some research on the dynamic behaviour in the field power electronics with bifurcation and chaos regime analysis. The modulation that I am implementing is Pulse Frequency Modultion (PFM). I have two m-files for a two-phase boost voltage converter (Parameter and read files). I have read a few articles based on FOC in power converters which is the mathematical modelling but no example of the algorithm for a start.

My Reagrds

Dixon

Dear Aleksei,

im not able to optimize the following fractional order tf

G1=(0.9-(0.12*s^0.74))

when im trying to optimize the pid value .it is not responding. i kindly request u to please optimize pid value for t above tf.im waiting for ur replay.

thank u

Dear Aleksei,

i installed MATLAB R2014b and used fomcon toolbox. but it showed warning and error:

Warning: Could not evaluate MaskDisplay commands of block ‘FuzFOPID/FD1’: Undefined

function or variable ‘str’.

In general\private\openmdl at 12

In open at 158

In uiopen at 167

———————————————–

Error in ‘FuzFOPID/FD1’: Initialization commands cannot be evaluated.

Error using MainCode (line 29)

Previously accessible file “C:\Program

Files\MATLAB\R2014a\toolbox\fomcon\@fotf\fotf.m” is now inaccessible.

* FD1 is fractional derivative.

what’s its problem?

My guess is that there are issues with Windows security. You can try starting MATLAB as administrator, for example, or moving the toolbox away into a folder where security is less tight (e.g., Documents/MATLAB/fomcon).

Yes, thank you so much.

It solved.

Dear Sir, Hi

I have MATLAB 2015a installed on my PC and I followed all the steps you said about installing but it’s not working ! Is there anything wrong with this version or the problem might be something else?!

There are many flavors of “not working”. Please elaborate.

Dear Sir,

When i am trying to run code of fractional PID controllers, i am getting an error which is given below:

>> fracpid

Index exceeds matrix dimensions.

Error in fracpid (line 13)

myvar = varargin{1};

please help. i am using 2015b.

Thanking you

I can only guess that the calling sequence to

`fracpid()`

function is wrong.