Science topic

Controller Design - Science topic

Explore the latest questions and answers in Controller Design, and find Controller Design experts.
Questions related to Controller Design
  • asked a question related to Controller Design
Question
2 answers
Hello Everyone
Does Nonlinear ARX model is suitable for controller design ? For example, can PID controller tuned on Nonlinear ARX Model ? or It is suitable for only prediction purpose ?
thanks for your interest.
Relevant answer
Answer
Thanks for your reply Mehran
Do you recommend article about controller design on Nonlinear ARX model ?
  • asked a question related to Controller Design
Question
6 answers
I have a system with 3 input and single output. In system Identification toolbox of MATLAB, how i put the 3 input data sets for estimating the system models  simultaneously?
Relevant answer
Answer
here
just note you need to import both two inouts from ''processes>select channles'' then highlight both inputs so they can be active before using ''estimate''.
  • asked a question related to Controller Design
Question
5 answers
controller design? energy management?
Relevant answer
Answer
Dear friend Manjiri Tamhankar
Sorry it took me time to answer your second set of questions.
I may be reiterating some information which I have discussed already in my first answer. However, it is being used to provide you with context so you can understand the answer clearly.
Certainly! Here are a few advanced control algorithms that can be considered for controller design and battery charging in renewable energy-based battery charging systems for electric vehicles (EVs):
1. Controller Design:
a. Model Predictive Control (MPC): MPC utilizes a dynamic model of the system to optimize control inputs over a future time horizon. It considers constraints, system dynamics, and performance objectives to achieve optimal control.
b. Sliding Mode Control (SMC): SMC generates control actions based on the sliding motion along a predefined surface, providing robustness against parameter uncertainties and disturbances.
c. Adaptive Control: Adaptive control algorithms adjust control parameters in real-time based on system identification, allowing the controller to adapt to changing system dynamics and uncertainties.
d. Fuzzy Logic Control (FLC): FLC utilizes linguistic rules and fuzzy sets to define control actions, providing a flexible and intuitive control strategy that can handle system uncertainties.
2. Battery Charging Algorithm:
a. Perturb and Observe (P&O): P&O is a popular algorithm for Maximum Power Point Tracking (MPPT) in renewable energy systems. It perturbs the operating point of the system and observes the resulting power change to optimize the charging efficiency.
b. Incremental Conductance (INC): INC is another MPPT algorithm that compares the incremental change in power with respect to voltage to determine the optimal operating point for charging.
c. Adaptive Voltage Control: This algorithm adjusts the charging voltage based on the battery's state of charge, temperature, and other factors to optimize the charging process and extend battery life.
d. Fuzzy Logic-Based Charging Control: Fuzzy logic algorithms can be employed to regulate the charging process by considering various parameters such as battery state, temperature, and charging rate, ensuring safe and efficient charging.
These are just a few examples of advanced control algorithms for controller design and battery charging in renewable energy-based EV battery charging systems. The selection of a specific algorithm depends on the system requirements, available resources, and desired control objectives.
I would really like to continue exploring this topic at your convenience.
  • asked a question related to Controller Design
Question
1 answer
In my study there are 2 intervention groups and 1 control group. In the ANCOVA I take trait scores as covariates and state scores as AV (so I compare the differences in the groups after the intervention).
Is there a statistical way to check if there was a change in the control group? I am replicating a study, they assumed there was no effect in the control group - but what if I am not sure (because the control design could have an effect). Within the ANCOVA, I only know that the results differ, but not whether the changes differ, right?
Relevant answer
Answer
Inga Siebert In the context of ANCOVA (Analysis of Covariance), controlling for change within the control group can be achieved by including the pre-intervention scores as a covariate. This approach allows you to account for any pre-existing differences between the groups and assess the intervention effect more accurately.
Typically, ANCOVA involves including pre-intervention scores as a covariate alongside the group variable (intervention vs. control) to adjust for baseline differences. By including the pre-intervention scores as a covariate, you are essentially controlling for the initial level of the outcome variable before the intervention took place.
To address your concern about checking for change within the control group specifically, you can compare the pre- and post-intervention scores separately for the control group. This analysis will allow you to evaluate whether any significant changes occurred within the control group over time. You can use paired t-tests or a similar statistical test to compare the pre- and post-intervention scores within the control group.
If you find significant changes within the control group, it suggests that factors other than the intervention may have influenced the outcome. This finding would warrant further investigation and might require additional adjustments in your analysis or interpretation of the results.
Remember that in ANCOVA, the primary focus is on comparing the intervention groups while controlling for pre-intervention differences. However, examining and reporting any observed changes within the control group can provide valuable insights into the overall dynamics of the study.
It is important to note that the appropriateness of the ANCOVA assumptions should also be assessed, such as the assumptions of linearity, homogeneity of regression slopes, and normality of residuals. These assumptions ensure the validity and reliability of the ANCOVA results.
In summary, to control for change within the control group in ANCOVA, include the pre-intervention scores as a covariate and assess any significant changes within the control group separately. This approach helps in evaluating the specific effects of the intervention while considering potential changes within the control group.
I hope this explanation clarifies your question. Should you have any further inquiries, please feel free to ask.
  • asked a question related to Controller Design
Question
4 answers
Can anyone suggest good books/tutorials/websites for controller design of dc-dc dc-ac converters for PV and Wind applications?
Relevant answer
Answer
It's working...
  • asked a question related to Controller Design
Question
2 answers
Dear all,
Can we say, robust iterative learning control design, in other form is Data driven control design
  • asked a question related to Controller Design
Question
7 answers
In his name is the judge
Hi
There is a fuzzy logic control system in python. The system contain 2 inouts and 18 outputs.
inference of system is mamdani and shape function used to be guassian.
Then in term of refine performance of the controller I need to optimize specifications belong to shape functions of both input and output. In order to that I need to use multi objective optimization.
We have 2 input and 1 output in case of this problem. I have developed 3 shape functions for each entrance and 3 for output and the shape function is gaussian so we have 18 parameters totally.
I defined my problem as a function in python. But notice this I there is not any clear relationship between input and output of function. It’s just a function which is so complicated with 2 inputs and 18 outputs.
I made my decision to use NSGAII algorithm and I really don't want to change the algorithm.
So I try every way to optimize my function but I didn’t find any success. By searching about python library which can do multiobjective optimization I find Pymoo as the best solution but I really failed to optimize my function which is complicated custom function, with it.
So It’s really my pleasure if you can introduce me a library in python or suggest me a way that I can use Pymoo in order to this aim.
wish you best
Take refuge in the right.
Relevant answer
Answer
You can stick with Mamdani Fuzzy System if it is comfortable for you to design a "workable" FIS. You probably don't need optimization if your FIS works satisfactorily. From the "workable" FIS to the "satisfactory" FIS, you probably just need make minor adjustment to the design parameters. That's the Spirit of Engineering Design.
  • asked a question related to Controller Design
Question
5 answers
In his name is the judge
Hi
I'm trying to make a fuzzy controller in order to optimize my absorber performance in opensees(in python).
I use adaptive neuro-fuzzy inference system (ANFIS) toolbox in matlab to make fuzzy system as controller.
input data for fuzzy logic system are acceleration and velocity of absorber and the output data is force wich controller send it to absorber for performance improvement.
in fact i want controller learn ,based on velocity and acceleration of a point of structure, how much force need for turn structure into it's balance position.
note that quantity of force determine by fuzzy controller system and applying force part of absorbr job.
logically we have to assign come load to the point of structure wich absorber locate there and then get acceleration and velocity of absorber as input training data of fuzzy logic system.
but i realy don't know how can i do this.
note that i want to give force to structure in balance position, in the otherwise i think make train data is possible when using dynamic loading so i entirely confused here
if you have any suggestion i realy eager to hear it.
wish you best
Take refuge in the right.
Relevant answer
Answer
Mohammadhassan Eftekhar To train a fuzzy system utilizing neuro-adaptive approaches, input/output training data from experiments or simulations of the system to be modeled must be collected. In general, ANFIS training works successfully if the training data is completely reflective of the data characteristics that the trained FIS is meant to model.
  • asked a question related to Controller Design
Question
6 answers
In his name is the judge
Hi
for using matlab facilities especially matlab controller like fuzzy have to sending and receiving data between matlab and opensees, in fact i want send two data as fuzzy controller form opensees to matlab after each time history step in opensees and then matlab send back one output to opensees.
to achieve this i have to connect matlab and opensees with openfresco it means i do hybrid simulation.
first is this possible to do this?
second is there any one do work like this, do hybrid simulation generally or specifically do hybrid simulation between matlab and opensees. if yes i am very thankful to share work with me or for some aim.
have to say i prefer not to use openseespy and i almost read all example and guide in openfresco site and even on each site but i cant do this right.
Any help is greatly appreciated.
Take refuge in the right.
Relevant answer
Answer
dear Abolfazl Najafi thanks a lot for this suggestion
i think there is a lack time between opensees anb matlab run time it means when tcl try to write text file, matlab needs to read more data in text file and give error
after all i think working with python and openseespy library is the best choice for this goal.
wish you best
  • asked a question related to Controller Design
Question
5 answers
In his name is the judge
Hi
I want design cotroller in to control active force of damper.
On this purpose, i analyzed structure with damper, wich is tlcdg, and get data whic use for generate controller. data are accleration and velocity of damper as input and dampers force as output ( i mean force wich made by own damper under earthquake excitation, not active force).
here is anfis properties :
number of inputs are 2
number of outputs is 1
generate fis method is grid partition
number of membership function are 4 for each input
input membership function type is guass2mf
output membership function type is linear
opt method is "hybrid".
(have to say i tried different epochs membership function , .....)
Unfortunately anfis toolbox in matlab refuse to train and build Suitable fuzzy controller wich means error is too much in training, so this answer is not acceptable.
i have some idea for make it true but i'm not sure.
here is my ideas :
* first i think train controller with more or less data ( training data are about 2000 wich is under 100s earthquake excitation but when i reduce earthquake excitation to 10 or 15 seconds the error is acceptable however i think this solution is not good.)
* second maybe i must try one damper for training.
* the last idea is to assign force on the damper location and get acceleration and velacity for generate trianing data.
here is my data and shot frome my try.
Any help is greatly appreciated.
Take refuge in the right.
Relevant answer
Answer
Gracias por su sugerencia
Definitivamente revisaré
  • asked a question related to Controller Design
Question
4 answers
In his name is the judge
Hi
I have to use tsk fuzzy system in python for my research.
Please recommend me a library for tsk ( not mamdani ) fuzzy system in python.
Also if this library exist please Introduce me a source for learning it in python.
wish you best
Take refuge in the right.
Relevant answer
Answer
thank you dear Kishore Bingi
  • asked a question related to Controller Design
Question
4 answers
In his name is the judge
Hi
I want to learn fuzzy in python for my research.
Please recommend a good source for learning fuzzy logic system in python.
wish you best
Take refuge in the right.
Relevant answer
Answer
Hi Dear MohammadHasan;
You may find this book helpful, it contains some study cases which can be really effective in process of learning.
Regards;
Fatemeh
  • asked a question related to Controller Design
Question
4 answers
In his name is the judge
Hi
can you say wich set of data is best to train and test ANFIS in matlab.
i mean how generate data to get less error, like nuber of data or Dissipation of them
Wish you best.
Take refuge in the right.
Relevant answer
Answer
thank you so much i'm going to try these.
  • asked a question related to Controller Design
Question
5 answers
dear experts
i have estimated state space model form input output data using system identification, now plz guide how to design LQR controller
Relevant answer
Answer
This is generally a topic taught to M1 students in robotics & control engineering with emphasis on research.
There are a lot of courses, tutorials, videos on how to design LQR controllers. Just google it and you will find a lot of results.
Here, for example, is a link to a Stanford University Lecture:
  • asked a question related to Controller Design
Question
5 answers
Hello,
I'm doing a meta-analysis with CMA software and my studies usually have a pre-post control design. CMA offers the possibility of getting the effect size in unmatched groups with pre-post by standardized change score SD or post score SD. With the change score SD I need the pre-post correlation, but that information is not given in many studies.
Another option I have is to calculate the effect size only with the post means and scores of both groups.
What should I do?
Thanks in advance,
Sonia
Relevant answer
Answer
@Sonia Barriuso I believe it depends on the criteria that you have set. In most cases, we do meta-analysis to compare and find gaps among studies. Thus, it is more practical to do your second option, to compare post scores of both groups, so that you can obtain sufficient number of studies.
  • asked a question related to Controller Design
Question
3 answers
Hi everyone!
I would like to ask which control design method is more effective for controlling the steer-by-wire system? I am planning to use the MATLAB/Simulink.
Thank you in advance for your answers.
  • asked a question related to Controller Design
Question
4 answers
Dear Researchers, our team is interested in collaboration to conduct research on advanced control design for permanent magnet synchronous machines. In our lab we have an experimental setup to validate simulation results. If you are working on motor control and interested in collaboration, and do not have opportunity to test your simulations, we are glad to invite you to work with our research team. For more information, please go to https://pcmc.kz/
Relevant answer
Answer
Please have look on our(Eminent Biosciences (EMBS)) collaborations.. and let me know if interested to associate with us
Our recent publications In collaborations with industries and academia in India and world wide.
Our Lab EMBS's Publication In collaboration with Universidad Tecnológica Metropolitana, Santiago, Chile. Publication Link: https://pubmed.ncbi.nlm.nih.gov/33397265/
Our Lab EMBS's Publication In collaboration with Moscow State University , Russia. Publication Link: https://pubmed.ncbi.nlm.nih.gov/32967475/
Our Lab EMBS's Publication In collaboration with Icahn Institute of Genomics and Multiscale Biology,, Mount Sinai Health System, Manhattan, NY, USA. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/29199918
Our Lab EMBS's Publication In collaboration with University of Missouri, St. Louis, MO, USA. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/30457050
Our Lab EMBS's Publication In collaboration with Virginia Commonwealth University, Richmond, Virginia, USA. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/27852211
Our Lab EMBS's Publication In collaboration with ICMR- NIN(National Institute of Nutrition), Hyderabad Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/23030611
Our Lab EMBS's Publication In collaboration with University of Minnesota Duluth, Duluth MN 55811 USA. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/27852211
Our Lab EMBS's Publication In collaboration with University of Yaounde I, PO Box 812, Yaoundé, Cameroon. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/30950335
Our Lab EMBS's Publication In collaboration with Federal University of Paraíba, João Pessoa, PB, Brazil. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/30693065
Our Lab EMBS's Publication In collaboration with collaboration with University of Yaoundé I, Yaoundé, Cameroon. Publication Link: https://pubmed.ncbi.nlm.nih.gov/31210847/
Our Lab EMBS's Publication In collaboration with University of the Basque Country UPV/EHU, 48080, Leioa, Spain. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/27852204
Our Lab EMBS's Publication In collaboration with King Saud University, Riyadh, Saudi Arabia. Publication Link: http://www.eurekaselect.com/135585
Our Lab EMBS's Publication In collaboration with NIPER , Hyderabad, India. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/29053759
Our Lab EMBS's Publication In collaboration with Alagappa University, Tamil Nadu, India. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/30950335
Our Lab EMBS's Publication In collaboration with Jawaharlal Nehru Technological University, Hyderabad , India. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/28472910
Our Lab EMBS's Publication In collaboration with C.S.I.R – CRISAT, Karaikudi, Tamil Nadu, India. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/30237676
Our Lab EMBS's Publication In collaboration with Karpagam academy of higher education, Eachinary, Coimbatore , Tamil Nadu, India. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/30237672
Our Lab EMBS's Publication In collaboration with Ballets Olaeta Kalea, 4, 48014 Bilbao, Bizkaia, Spain. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/29199918
Our Lab EMBS's Publication In collaboration with Hospital for Genetic Diseases, Osmania University, Hyderabad - 500 016, Telangana, India. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/28472910
Our Lab EMBS's Publication In collaboration with School of Ocean Science and Technology, Kerala University of Fisheries and Ocean Studies, Panangad-682 506, Cochin, India. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/27964704
Our Lab EMBS's Publication In collaboration with CODEWEL Nireekshana-ACET, Hyderabad, Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/26770024
Our Lab EMBS's Publication In collaboration with Bharathiyar University, Coimbatore-641046, Tamilnadu, India. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/27919211
Our Lab EMBS's Publication In collaboration with LPU University, Phagwara, Punjab, India. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/31030499
Our Lab EMBS's Publication In collaboration with Department of Bioinformatics, Kerala University, Kerala. Publication Link: http://www.eurekaselect.com/135585
Our Lab EMBS's Publication In collaboration with Gandhi Medical College and Osmania Medical College, Hyderabad 500 038, India. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/27450915
Our Lab EMBS's Publication In collaboration with National College (Affiliated to Bharathidasan University), Tiruchirapalli, 620 001 Tamil Nadu, India. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/27266485
Our Lab EMBS's Publication In collaboration with University of Calicut - 673635, Kerala, India. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/23030611
Our Lab EMBS's Publication In collaboration with NIPER, Hyderabad, India. ) Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/29053759
Our Lab EMBS's Publication In collaboration with King George's Medical University, (Erstwhile C.S.M. Medical University), Lucknow-226 003, India. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/25579575
Our Lab EMBS's Publication In collaboration with School of Chemical & Biotechnology, SASTRA University, Thanjavur, India Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/25579569
Our Lab EMBS's Publication In collaboration with Safi center for scientific research, Malappuram, Kerala, India. Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/30237672
Our Lab EMBS's Publication In collaboration with Dept of Genetics, Osmania University, Hyderabad Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/25248957
Our Lab EMBS's Publication In collaboration with Institute of Genetics and Hospital for Genetic Diseases, Osmania University, Hyderabad Publication Link: https://www.ncbi.nlm.nih.gov/pubmed/26229292
Sincerely,
Dr. Anuraj Nayarisseri
Principal Scientist & Director,
Eminent Biosciences.
Mob :+91 97522 95342
  • asked a question related to Controller Design
Question
3 answers
Hi
I intend to define a frequency domain objective function to design an optimal controller for Load-Frequency Control (LFC) of a power system. My purpose is to optimize this objective function (finding the proper location of zeros and poles) using meta-heuristic methods.
I will be happy if you share your valuable relevant and informative experiences, references and articles in this field including how to define and how to code.
Thanks
  • asked a question related to Controller Design
Question
3 answers
In controller design for mixed H2 - Hinf performance, ||W1(s)S(s)||inf<1 and ||W2(s)T(s)||inf<1 are to be satisfied simultaneously. The question is how to obtain the weight W1(s)?
Is there any generalized way to obtain W1(s) for any given system?
Relevant answer
Answer
Read this book Essentials of Robust control
  • asked a question related to Controller Design
Question
3 answers
Hi All
I am doing a nonlinear optimal control design project, typically a practical engineering problem.
It is easy to solve that with direct method. However, I am wondering is there any way to prove that the optimal solution exists ? Further, since the direct method is employed, is there anyway to prove that the numerical solution will converge to that optimal solution?
Could anyone offer me some reference paper about that ?
thanks
Jie
Relevant answer
Answer
The answer to the first question depends on the type of the nonlinear system, i.e., ODE or PDE, and the order. For example, see
“Slemrod, Marshall. "Existence of optimal controls for control systems governed by nonlinear partial differential equations." Annali della Scuola Normale Superiore di Pisa-Classe di Scienze 1.3-4 (1974): 229-246.”
“Bors, Dorota, Andrzej Skowron, and Stanislaw Walczak. "On Existence of Solutions to Nonlinear Optimal Control Systems." Dynamic Systems and Applications 21.2 (2012): 441.”
“The existence and uniqueness of solutions to differential equations”
Moreover, the answer also depends on the smoothness or non-smoothness solution of the problem. As we know, determination of the optimal feedback law for nonlinear optimal control problems leads to the Hamilton Jacobi-Bellman (HJB) partial differential equations, and in general, the solutions may not be smooth. The question of existence in the class of unique non-smooth solutions (called the viscosity solutions) is studied in
“M. Crandall and P. Lions, “Viscosity solutions of Hamilton-Jacobi equations,” Transactions of the American Mathematical Society, vol. 277, no. 1, pp. 1–42, 1983.”
“M. Bardi and I. Dolcetta, Optimal control and viscosity solutions of Hamilton Jacobi-Bellman equations. Springer, 1997.”
To answer the second question, note that to find the optimal solution, one has to solve an HJB equation. This HJB equation is generally difficult or impossible to solve analytically and therefore, in order to approximately solve the HJB partial differential equations, numerical methods such as Approximate dynamic programming (ADP), which is an efficient and forwarded in time RL method, can be used to generate approximate optimal control policy (near-optimal solution). However, in general, HJB partial differential equations can be solved numerically for very low state dimensions, and moreover, numerical methods generally give up the optimality of the solution in favor of reduced computational complexity, and other implementation-related factors. This implies that the optimal numerical solutions are near-optimal, and the guarantees are mainly provided in the sense of ultimately uniformly boundedness of the solution. Moreover, Banach's fixed-point theorem (i.e., Contraction Mapping Theorem) plays as a key tool to provide guarantees for the existence and uniqueness of fixed points (optimal solutions) of nonlinear optimal control problems, and also provides a practical and powerful method to find those solutions. See the below for more details
  • asked a question related to Controller Design
Question
3 answers
Will be it a valid research design or else there is a need to control group? I have heard about 3-armed randomised controlled design. Is it possible to have 4-armed randomised controlled design.
I request all senior researcher to clarify it.
Relevant answer
Answer
Essentially, you could have as many arms as you want; one issue that occurs to me is that this would impact what type of analysis you can do and corrections that need to be applied to avoid Type I error. So perhaps it may be worth checking if the analysis you want to do (depending on what you want to assess / measure) and the software you have available can support four arms.
This page contains some useful info on appraising multi-arm RCTS: https://bestpractice.bmj.com/info/toolkit/learn-ebm/appraising-multiple-armed-rcts/
  • asked a question related to Controller Design
Question
6 answers
I am trying to design a PR controller to control the output voltage of a single-phase H bridge inverter having unipolar SPWM (fundamental frequency=50Hz and switching frequency=20kHz).
Can anyone please suggest to me a simple way to find Kp Kr values for the PR controller?
Your answers would be very helpful and I appreciate your help.
Kind regards, Silpa
Relevant answer
  • asked a question related to Controller Design
Question
9 answers
Hello !
I have a PSIM circuit model where for the PI Controller Gain and Time constant values are mentioned. I would like to use the same values with Matlab PI controller where input is Proportional Gain and Integral Gain( Kp & Ki)
Any method to find Kp and Ki from Gain and Time constant values mentioned ?
Thanks in Advance
Sreeraj Arole
Relevant answer
Answer
The conversion is as follows:
1) Let K refers to the gain and Ti represent the time constant.
2) PI conroller equation can express as K*(1+1/(Ti*s)).
3) Also, the PI controller equation can be write as Kp+Ki/s
If you equate two expressions , then
Kp=K Ki=K/Ti
  • asked a question related to Controller Design
  • asked a question related to Controller Design
Question
13 answers
Is there a tool available?
Relevant answer
Answer
Fractional order toolbox is available in MATLAB, the parameters can be tuned using the global optimization toolbox.
  • asked a question related to Controller Design
Question
2 answers
I am trying to design a PI controller for a zeta converter to get a constant dc voltage at the output, but I am getting a somewhat sinusoidal ( not really a sine wave, but it looks similar) output... How can I design a PI controller in this case..?
  • asked a question related to Controller Design
Question
12 answers
Hello dear colleagues and experts!
When developing a model of a wind generator, I faced the problem of adjusting the PI controller for the pitch angle. I read a lot of articles, but the PI regulator failed ...
Please help with setting it up and getting characteristics
Thank you very much in advance!
Relevant answer
Answer
Please note the following analogy.
This is a second order system.
to control such a system is in
my book
American University Laboratories for Electrical Engineering (part 2)
  • asked a question related to Controller Design
Question
7 answers
Dear all,
I have a set of I/O data.
I estimated a transfer function based ( command: tfest) on this data in MATLAB. (I removed the trend from the data before it: command: detrend).
Can I design the PID-controller based on this (command: pidtune) and use it in the process (As the data is without trend)?
If no, how to adjust the PID controller settings for the real process?
Thanks
Relevant answer
Answer
Many modern thermal processing systems involve temperature control of heated plates. Typically, these plates are heated by infrared radiation from hot filaments (including tungsten halogen lamps) and the temperature is measured using pyrometers. In many cases the temperature of the system is controlled using a Proportional-Integral-Derivative (PID) controller. However, there are applications where the temperature must be ramped up (or ramped down) rapidly while maintaining good temperature uniformity and with tight performance limits. In these cases, it may be difficult, or even impossible, to achieve the desired performance using PID controllers. In addition, the dynamic response of these systems typically changes considerably with operating conditions such as temperature, process gas composition, wafer emissivity, or wall emissivity (e.g., in systems where walls become coated during the deposition process). These changing operating conditions can make it difficult to tune a PID controller to achieve the desired performance over a broad range of operating conditions.
Regards,
Shafagat
  • asked a question related to Controller Design
Question
1 answer
Hello all,
By modifying the PWM of the CP signal, I can change the charging current of Electric vehicles in AC charging.
But how the current is controlled/reduced accordingly? Which side does this current control?
Does charging station (EVSE) supply the corresponding charge current? or EV controller in the vehicle side reduces the incoming current?
Any literature/references/docs/links will be useful. I tried searching, but couldn't find how the current is controlled/reduced
Regards,
Praveen
Relevant answer
Answer
Good question, follow
  • asked a question related to Controller Design
Question
25 answers
Are there any advanced control strategies which could directly handle the non linear system for controller design, without doing any sort of linearization? Please give specific suggestions in this regard. Also please suggest some good sources to learn about the advanced nonlinear controller design for power electronic converters.
Relevant answer
Answer
Active disturbance rejection control
  • asked a question related to Controller Design
Question
13 answers
Hello all,
              In all the literature and texts available for full-state feedback control design, it has been given that in the absence of reference input, all the states represented by state vector x(t) tends to 0 as time t tends to infinity. However, the reason is not given for this statement. Can anyone justify this statement? Looking forward to the answers. Thank you.
Regards,
Ankur Gajjar
Relevant answer
Answer
Hope this helps. I am assuming a very simple realization of state-feedback.
Ankur Gajjar, my answer would be outdated for you. Still, I shall make an attempt. Regarding application of this in chemical process/power plant, 'A 'is the system model which describes the entire chemical process/power plant. If while modeling A, you considered all the process parameters(states) like temperature, reaction agents, stirring frequency, etc., and assure that process doesn't blow up (unstable or 'A<0' PSD-positive semi-definite), then it can guarantee that all the states settle down to finite value or zero in-case of absence of input.
  • asked a question related to Controller Design
Question
3 answers
I am new to both Simulink and USRP hardware. Basically, what I am trying to do is just to send and receive the data using only one USRP n210. I have created a transmitter and receiver blocks but I do not get any result from scopes.  The scope graph showed nothing. There is not much examples about using Simulink to work with USRP hardware. Is there any simulink model to work fine? Thanks for any help and answer.
Relevant answer
Answer
hello
I am doing this same project but using seperate sdr boxes for transmitting and receiving data. i need to modulated the data using different modulation schemes and then IFFT it to send the data to sdr transmitter block. any help for this?
  • asked a question related to Controller Design
Question
8 answers
Please i need recommnedation on texts or literature that can improve my knowledge and skills on tuning of control systems ranging from sliding mode, LQR/LQG and others. I alwys have problem at this stage after rigor of modeling.
Most of control design problem involves tuning heuristically. In my opinion, this is randomness that doesnt have strategies. Even PID control with popular Ziegler Nichols still involve randomness!
there should be a way to know the range of tuning.
  • asked a question related to Controller Design
Question
1 answer
Dear friends,
Please see the attached Figure. The conventional PI-speed controller block diagram is here.
I had some technical queries about the controller design.
The questions are followed as :
  1. How to calculate the PI-speed controller Bandwidth?
  2. Also How to find the efficient calculation of K_p, K_i gain values? Not consider transfer functions.
  3. How to find the exact “β” angle for the MTPA?
  4. Is speed controller bandwidth dependent on current controller bandwidth?
I really appreciate to your beloved answers. definitely your answer helps me to understand and design an efficient PI-speed controller for IPMSM drives.
Thanks in advance.
Relevant answer
Answer
Hej Kumarasemy,
To 1 and 4. When using a cascaded control, you have an inner control loop for the current and an outer control loop for the speed. The bandwidth of the current controller is usually determined by the switching frequency of your converter. The switching frequency should be at least ten times higher then the maximum fundamental frequency of the motor. The inner control loop should be about ten times faster than the outer control loop and, thus, the BW of the speed controller should be a tenth of the BW of the current controller.
2. In the paper below, I have derived the current controller gains using loop shaping. A similar approach should be used for the speed controller.
3. The torque is usually defined as
T=1.5p×psi×iq+(Lsd-Lsq)isqisd .
Then you have to express isd and isq using sin and cos. With the help of
I=sqrt(isq^2+isd^2) you can express the torque just with the help of one of the currents and beta. Take the derivative and put it to zero, this will give the beta resulting in the minimum current.
However, you have to consider also the voltage limitations (ellipses) at field weakening and high speed.
  • asked a question related to Controller Design
Question
3 answers
Lets say for example that I need to control the z axis position of a single rotor uav. I knw that setting different throtle commands will vary the engines rpm ans thus change the altitude as well as creating a body torque in the oposite (of the motor rotation) direction. Considering that I can control yaw with cannards (like a rocket tail). In this scenario what is the main way of decoupling the dynamics?
Relevant answer
Answer
Hello Theodosios Koutsoukos, in a real-world application, we can't think about decoupling the dynamics. One can implement the idea of an inner loop controller (such as PID) and outer loop controllers (such as RL, NN, etc) to tackle the coupling issue. RL, Deep NN-based controllers, or any other data-driven controller have no dependency on the underlying dynamics of the plant. Such controllers can be helpful.
  • asked a question related to Controller Design
Question
5 answers
I some papers, the mean square error is considered. In some other, the mse is normalized by dividing the error by the (total sampling instants x the total length of the reference trajectory).
Which solution does represent the factual error?
Relevant answer
Answer
Dear Samira Eshghi,
The performance of the controller is generally measured using the following parameters such as :
1) Maximum Overshoot
2) Settling Time
3) Rise Time
4) Steady State Error.
Additionally, there are other ways to measure performance in literature. This includes integrated absolute error (IAE), the integral of squared-error
(ISE), or the integrated of time-weighted-squared-error (ITSE). These performance measures have their own advantages and disadvantages. For example, the disadvantage of the IAE and ISE criteria is that its minimization can result in a response with relatively small overshoot but a long settling time because the ISE performance criterion weights all errors equally independent of time. Although the ITSE performance criterion can overcome the disadvantage of the ISE criterion, the derivation processes of the analytical formula are complex and time-consuming. The formulas for these performance measures or the performance measure based on overshoot, settling time, rise time and steady-state error can be found in the paper given below.
In discrete domain, ISE refers to Mean Square Error. I am unfamiliar with normalized-mean-square-error .
  • asked a question related to Controller Design
Question
10 answers
I am facing difficulty in:
1.designing the rule base for the fuzzy logic controller.
2.taking the number of membership function and there argument as a variable.
Relevant answer
Answer
  • asked a question related to Controller Design
Question
3 answers
While designing the controller for a system in bond graph domain, I have gone through the terms and bond graph models titled "Virtual Bond graph" and "target bond graph". How are these models assisting me in the controller design in bond graph domain?
Relevant answer
Answer
See Nacusse, Matías A. and Junco, Sergio J., BOND-GRAPH BASED CONTROLLER DESIGN OF A TWO-INPUT TWO-OUTPUT FOUR-TANK SYSTEM, Proceedings of the Int. Conf. on Integrated Modeling and Analysis in Applied Control and Automation, 2013 ISBN 978-88-97999-25-6; Bruzzone, Dauphin-Tanguy, Junco and Merkuryev Eds. The link is https://pdfs.semanticscholar.org/0cb1/2e885b23cd639a51d3825a2b73d232fb8d9c.pdf
A virtual bond graphs is an image of the actual bond graph (target BG) of the system. The virtual BG is manipulated, such as to create a reduced order observer, a fault diagnosis module (diagnostic bond graph), an unknown input observer, disturbance rejection module, a system inversion model (inverse BG), an overwhelming or impedance controller, etc. The target BG represents the real system and its real sensors and actuators, whereas the variables in the virtual BG can be different with transformed variables. Of course, the interface between the two involves some causality issues, virtual sensors and actuators, and so on, and often the issue of passivity of the total system (virtual+target+interface) needs to be addressed explicitly.
For more details, directly contact Serge (Segio Junco), Universidad Nacional de Rosario, Argentiana. He is an expert in this field. You can also see his other papers.
  • asked a question related to Controller Design
Question
2 answers
Hello,
Currently in my project, I am making a hardware controller which can modify the incoming PWM signal and vary the EV A.C charging. To start of with, does anyone know which exact chapters of IEC 61851 standards to buy ? I find that there are many chapters. Basically this hardware will modify the incoming charging current from EVSE to EV according to our inputs. Any literature/material regarding this will be useful. Thanks
Regards,
Praveen
Relevant answer
Answer
Yes
  • asked a question related to Controller Design
Question
7 answers
How to calculate the settling time for the PV MPPT controller?
I mean for example if the operating conditions are changed: solar radiation, the duty cycle, etc.
How much time the does system need to reach the steady-state condition?
Relevant answer
In testing the MPPT controller speed of response one applies normally a unit step change of the Irradiance and see how it takes to reach steady state condition. The settling time is time taken by the processor from instant of application of stimuli till it reaches almost steady state value. The almost steady state value is considered to be reached when the power reaches its 90 percent of its steady state value.
Best wishes
  • asked a question related to Controller Design
Question
4 answers
Can I make the sampling time changeable during the simulation?
For example, I want the sample time to be 0.0005 in the beginning and then change it to 0.00001 after 3 seconds.
Relevant answer
Answer
Dear
You can change the sampling time while running . While we use MPPT we will achieve this .
its again depends on what are the different blocks you are using in simulation
you can check with this example in Mathworks
  • asked a question related to Controller Design
Question
6 answers
I am designing a PI controller for a heating coil. Air flowing around the heating coil is heated before being supplied to a heated space. Hot water flows through the heating coil. In the suggested control system, the controlled variable is the temperature of air and the manipulated variable is water flow rate through the coil. The equation describing the dynamics of the system is shown below:
Cah*DTair/dt=Mw(Twi-Two)+ Ma(Ta-Tair)
Cah= heating capacity ,which is contant
Tair= Temperature of air supplied to heating space, varies of time
Mw= Mass of water flowing through the coil, varies with time since its the manipulated variable
Twi= Temperature of water supplied to the coil, varies with time since it is part of another process
Two=Temperature of water exiting the coil, constant
Tao=Temperatue of air before approaching the coil, constant
In the above equation, Mw and Twi are both variables (function of time), and therefore the equation is nonlinear due to Mw*Twi; To design a controller, I should linearize around an operating point, which will restric the validity of the controller to this specific point (or around that point). Can anyone guide me regarding a better control design approach? should I check nonlinear control theory? multivariable control? etc..
Relevant answer
Answer
Hi Mohamed thabet
In this case your system is coupled in states so its better to use nonlinear control systems and you can use this book :https://www.crcpress.com/Nonlinear-Control-Systems-Using-MATLAB/Boufadene/p/book/9781138359550
Which contains nonlinear controllers in detailed with illustrative examples.
Best regards
  • asked a question related to Controller Design
Question
5 answers
What analysis tool is most suitable for transient-state analysis and designing control to mitigate those transients in power distribution system? I am planning to carry out transient analysis caused by sudden increase in load on distribution feeder and want to control those transient by charging/discharging the battery storage system. Our load has a high ramp rate and high magnitude which could cause these transients in the distribution grid voltage profile.
Regards
Relevant answer
Answer
Mechanical to Electrical to Mechanical ( Generator/Motor) are via electromagnetic(reactive power)....
  • asked a question related to Controller Design
Question
5 answers
What is the maximum number of population in quasi experimental research design using pre/post and control in a study?
Relevant answer
Answer
There is no limitation in number. Instead, the high number of participants will contribute to the generalizability of your finding(s) beside other factors...
  • asked a question related to Controller Design
Question
1 answer
Other than resource sharing and optimization, is there any direct affect of event based triggering in controlling chattering in sliding mode based control design?
Relevant answer
Answer
Dear Pyare Mohan Tiware,
I suggest you to see links and attached files on topic.
Chattering-free discrete-time sliding mode control with event ...
Event-Triggered Sliding Mode Control for Robust Stabilization ...
https://www.researchgate.net › publication › 27700696...
Chattering-free discrete-time sliding mode control with event ...
https://www.researchgate.net › publication › 32816674...
Event-triggered sliding mode control for uncertain linear ...
Event-triggered sliding mode control for discrete-time singular ...
https://digital-library.theiet.org › iet-cta.2018.5239
Adaptive model-based event-triggered sliding mode control
https://dl.acm.org › citation
Best regards
  • asked a question related to Controller Design
Question
9 answers
Dear all,
As you know, one method of maximum power point tracking in wind turbines is to select the reference active power which complies with the maximum power that is achievable (power at MPP).
I wonder what happens if one increases the reference power beyond what is imposed by the value corresponding to MPP? Will it lead to power reduction? (from the control engineering point of view, we can design the power control loop so that the output power will approach the reference power; so, why not increase the reference power beyond MPP?!)
Relevant answer
Answer
Dear
Murat Karabacak
,
Thanks a lot for your nice and concise response. Do you have a proof or simulation to validate your statement?
  • asked a question related to Controller Design
Question
7 answers
I'm trying to control temperature with PID(Kp,Ki, Kd). During the rise time the system use one PID and when target is reached the system switch to another PID with other parameter in order to eliminate the oscillation. I know that I can remove oscillations increasing Kd but in this case it does not work.
Results of real time system
Control temperature with constant PID: see figure onePID.png
Control temperature using PID1 during rise time (blue color) and when temperature reach the target, the controller is changed to PID2 (Steady state error: black color): see figure TWOPID.png
  1. void setTarget(...) { mPid = pid1; } void steadyStateError() { float e = fabs( temperature - target); if(e<=0) mPID = pid2; }
Relevant answer
Answer
You can make a gain schedule so that the transition from Kp = 7.2 to Kp = 5.0 is smoother. In other words, the control action doesn't make a sudden 'jump' when error ≤ 0. You can design the gain schedule, Kp = f(e), as a function of error.
For example, if the error is far away from the origin, Kp = 7.2. If the error is close to the origin, then Kp approaches 5.0.
  • asked a question related to Controller Design
Question
4 answers
Hi all,
Is it possible to tune PID controllers for a Simscape model just by purely using Sim control design toolbox? It is a car model created in Simscape environment. The model contains Engine, CVT, wheels, etc. And the controller is a PI to ensure car follows the input drive cycle.
The screenshot of the model is attached.
Regards,
Sajad
Relevant answer
Answer
If you can get a linear open loop model (using the linear analysis tools) then you can apply any number of design methods to find the P and I gains. I would recommend using a frequency domain approach (on say a Nichols Chart) to find the highest proportional gain. Then add the integral action. Aim for a fast response and good gain and phase margins 🙂
  • asked a question related to Controller Design
Question
1 answer
wish to develop beam width control in an antenna not reconfigure beam???
Relevant answer
Answer
Dear Rajveer S. Yaduvanshi,
I suggest you to see links and attached files on topic.
Control of Antenna Beam Width - ResearchGate
Design method for independent control of beam width and sidelobe ...
Beamwidth - an overview | ScienceDirect Topics
Best regards
  • asked a question related to Controller Design
Question
7 answers
Hi,
can anyone help me with the time delay which the controller will experience during the excitation ?
i wanna consider time delay in my controller while the controller is changing the coefficients of the damper.
To sum up, how can i consider time delay in time domain in my controller?
any suggestion ?
thanks in advance.
Relevant answer
Answer
Generally speaking, time delays are mean.
As a first step, time delay can be represented by an exponential function in the frequency domain when you take the Laplace transform, i.e.:
L(x(t-a))=X(s)e^(-as),
where L is the Laplace transform symbol, and a is the delay. This means that time delays introduce nonlinearities, in general. Then, your problem will be a nonlinear one. Many approaches can be used in this case, but one can think of "Pade approximation" to represent the exponential function as a rational function, usually one degree is enough (it depends on your system).
For modelling time delay systems in time domain, you can use the function dde23 in Matlab.
Finally,
  • asked a question related to Controller Design
Question
6 answers
I have created a Simulink model of PID controlled Bouc Wen MR damper semi active suspension. The feedback signal to PID is taken as sprung mass displacement and reference value is set to '0' (zero). The output of PID control is to be voltage signal for MR damper.
While trying to auto tune the PID controller, I am getting the error:
Linearization aborted because the linear plant model seen by the PID block is effectively '0'.
Ensure the PID loop is physically closed and none of the block in the PID loop returns '0' when linearized at time t = 0.
I have used saturation block after PID with upper limit 5 and lower 0. (as MR damper max input voltage is 5 volts and min is 0).
Error image is attached.
Relevant answer
Answer
Hi Pankaj,
In my previous post, I have mentioned that the Saturation block is a Discontinuous function block. Since your Reference Value is 0, the Absolute value function block |u|, is continuous at 0, but is not differentiable at 0. It may also cause an issue in the linearization process.
I ran the simulation and the Diagnostic Viewer (see attachment) showed that it contain an algebraic loop. The fatal error occurred when a suspected singularity was detected in the Integrator block inside the Bouc Wen MR Damper.
Please solve these issues before attempting to tune the PID controller. Also try to tidy up your Simulink model because certain parts look like "spaghetti". It will be helpful to identify I/O signals when you want to troubleshoot the system.
Now, let's see what Dr.
Zeashan Khan
will advise.
  • asked a question related to Controller Design
Question
10 answers
The problem is of PID controller for a ball beam system, intially some angle is given to the beam. A controller is to be designed to balance the ball in the beam.
if (*rtu_BallPositionValid)
{
real_T error=(0-*rtu_BallPosition);
double derivative=(error-lasterror)/0.001;
integral+=error*0.001;
*rty_RequestedBeamAngle=*rtu_ActualBeamAngle+ (Kp*error+Kd*derivative+Ki*integral);
lasterror=error;
} else {
*rty_RequestedBeamAngle = localDW->Delay_DSTATE;
}
Relevant answer
Answer
OK. I get it now. Beam angle is the plant input and ball position is the plant output.
  • asked a question related to Controller Design
Question
3 answers
I am testing for the power of art therapy to improve level of motivation in substance abusers in drug treatment.
Using a matched pairs experimental/control design. total sample=34, 17 per group.
Would testing for confounding demographic variables: age, education, and employment- which are identified as indicators of higher level of motivation - be useful in addition to standard t-test comparison? Is the sample big enough? What test would you use for confounding variables? Thanks- Mollie
Relevant answer
Answer
Sorry, let me send you some notes that may help. Look at chapters 1 and 2. See if this helps. Do ask again if you don't follow something. Best wishes, David Booth
  • asked a question related to Controller Design
Question
8 answers
why bounded condition (assumption) is needed for exogenous input disturbance in controller design problem?
Relevant answer
Answer
Simple. Suppose you designed a controller for the nominal system xdot = a*x + u + d, where u is the control, d is disturbance, as u = -a*x -k*x. This yields a closed loop system, xdot = -k*x + d (since you don't know the disturbance, you cannot cancel it). Now the system would be asymptotically stable (converging to 0 with bounded trajectories all the while) if d=0. But, if d is non-zero and bounded you still get bounded trajectories for the system. However, if d is unbounded then system "explodes", i.e. goes to infinity. Therefore it makes practical sense to bound disturbance. Even if you were trying to "reject" (cancel) the disturbance, you would need unbounded control for unbounded disturbance. Hence you have the possibility of unbounded states in the first (robustness type) case or unbounded control in the second (disturbance rejection type) case. In either case boundedness assumption on disturbance is the only way to get realistic results.
  • asked a question related to Controller Design
Question
4 answers
the coefficient of the plant should satisfy what kind of requirement ? and can you give some exampled?
Relevant answer
Answer
It is generally difficult to stabilize unstable high-order non-minimum phase plants with the 'ideal' PID controller. Take Lakshmanaprabu's model as an example, which has a real pole and a real zero in the right-half plane:
Gp = (5⋅s − 1)/(16000⋅s4 + 41200⋅s3 + 2940⋅s2 − 152⋅s − 5).
It is possible to stabilize the plant with a cascading compensator
Gc = k1 − (k4⋅s2 + k3⋅s + k2)/(s3 + N3⋅s2 + N2⋅s + N1)
where
k1 = −4.4690e+04
k2 = 4.9923e+04
k3 = −2.6980e+05
k4 = 1.1096e+05
N1 = −1.1172
N2 = 6.0334
N3 = −2.4079
The closed-loop transfer function (Gc*Gp)/(1 + Gc*Gp) is a 7th-order system:
Gcl = (−2.235e+05⋅s4 + 2.793e+04⋅s3 + 4190⋅s2 − 139.7⋅s − 5.586) / (1.6e+04⋅s7 + 2674⋅s6 + 270.4⋅s5 + 17.88⋅s4 + 0.8151⋅s3 + 0.02545⋅s2 + 0.0004759⋅s + 4.249e-06),
which has two real zeros in the left-half plane and another two real zeros in the right-half plane. Cancelling the two real zeros in the left-half plane with a pre-filter
Gf = 4.249e-06/(s2 + 0.125⋅s + 0.0025)
applied to the input command outside of the feedback loop yields Gclf = Gf*Gcl
Gclf = (−5.934e-05⋅s2 + 1.483e-05⋅s − 5.934e-07) / (s7 + 0.1671⋅s6 + 0.0169⋅s5 + 0.001118⋅s4 + 5.094e-05⋅s3 + 1.59e-06⋅s2 + 2.974e-08⋅s + 2.656e-10)
Computing the DC gain of Gclf (−2234.5) and placing a reference scaling factor "1/dcgain(Gclf)" ensures the unity gain when a unit step input is applied.
  • asked a question related to Controller Design
Question
10 answers
Hi,
Selecting the H∞ controller weighting parameters is one the most important part of designing of such a good controller, however, there is no specific method in the most references to do that and most of the works have been done by the trial and error methods.
Do you have any suggestion in order to tune the H∞ controller?
Thanks.
Relevant answer
Answer
An approximate procedure is described in ...
M. Grimble, "Robust industrial control systems : optimal design approach for polynomial systems", Hoboken, NJ, Wiley, 2006
Simply tuning a controller so that it has a "healthy" phase margin (e.g. 60 deg) usually ensures that it also has a low H-inf norm, e.g. see ...
  • asked a question related to Controller Design
Question
19 answers
Kindly help me with the parameter selection of the value of gains of the PR controller.
Relevant answer
Answer
Mathematically, the commonly used PR controller is not equivalent to PI controller. It can be deduced using the theory presented in the appendix of [1] that the controller in stationary frame shown in the attached figure is equivalent to a PI controller in synchronous frame.
[1] D. N. Zmood; D. G. Holmes. "Stationary frame current regulation of PWM inverters with zero steady-state error," IEEE Transactions on Power Electronics, 2003, 18(3): 814 - 822.
You can find in the attached figure that there exist coupling terms between the alpha axis-controller and the beta-axis controller. The commonly used PR controller in stationary frame does't include such coupling terms. The coupling terms come from the controller itself, not from the plant. If completely decoupled controller is required, the coupling terms generated by the plant model (e.g. the typical R-L model) should also be included.
I have done some test in matlab/simulink some time ago that such a controller performs exactly the same with the PI controller in stationary frame, if the parameters Kp and Ki have the same values.
However, in practice, the performance difference between the commonly used PR controller and PI controller may not be so obvious.
In addition, I would like to recommend the an advanced resonant controller, i.e. the vector-proportional-integral (VPI) controller. Its expression is s(Kps+Ki)/(s^2+w^2). Its numerator could be used to cancel the pole of the R-L plant. VPI controller could eliminate undesired peaks in the bode plot. According to my experience, it performs really better than the common PR controller. More information about the VPI controller could be found in [2] and other literature.
[2] Alejandro G. Yepes; Francisco D. Freijedo; Jesús Doval-Gandoy; Óscar López; Jano Malvar; Pablo Fernandez-Comesaña. " Effects of Discretization Methods on the Performance of ResonantControllers," IEEE Transactions on Power Electronics, 2010, 25(7): 1692 - 1712.
  • asked a question related to Controller Design
Question
11 answers
I want fuzzy logic controller design theoretically and in MATLAB simulink and programming  any one have that material?especially for designing uavs and quadrotors
Relevant answer
Answer
You may try to design your own FLC and optimize the MFs like this paper posted on https://goo.gl/HrFxnY
  • asked a question related to Controller Design
Question
4 answers
Hi
Consider the following closed loop generalized plant. P is the generalized plant, K is the controller to be designed and $\Delta$ matrix is the uncertainty matrix with the norm of smaller than one for all combination of the parameters.
I try to get the controller with H_inf design but the H_inf norm of the resulting closed loop from w_u to z_u is larger than 1. What does it mean?
I have tried to assume very power full actuation ( limitless). It never get smaller than 1. From theory means the controller is not robust. but why it is not possible to make it robust.
P.S: the real plant has two poles on origin.
Relevant answer
Answer
I think this situation reveals a crucial deficiency of H infinity design -- it does not consider the loop phase at all, and the loop phase can be as important as loop gain (or norm, including H infinity norm). I think this deficiency is also common in other existing classical control designs,
The following well known example may illustrate the importance of designing both gain and phase of loop transfer function L(jω). This example is about the optimal L(jω) of quadratic optimal control, and this optimal L(jω) is proven to satisfy Kalman Inequality and thus must have values only outside of the unit circle that is centered at -1 point. Because large gain |L(jω)| is bad, the real optimal values of this L(jω) must be near the origin, and these values must have phase angles between 0⁰ to +-90⁰!
In my publications such as "Observer design -- A survey" of 2015 and "Robust Control Design" of 2004 (2nd Ed.), and in my answers to ResearchGate questions such as LQ control, I stated the following 4 points:
1. State feedback control (including partial state feedback control, its weakest case is static output feedback control if there are enough outputs) , can assign eigenvalues AND eigenvectors (can be partial) and can therefore improve feedback system performance AND robustness FAR BETTER than any other forms of control, including the control designed by H infinity, because eigenvectors can determine the sensitivity and robust properties of their corresponding eigenvalues. This is also why modern/state space control theory was dominant over classical control theory in the 1960s and 70s.
2. The problem with full state feedback control is that its loop transfer function Lkx(s) CANNOT be realized by the separately designed realizing observer. This existing design procedure is the well known separation principle, and this critical problem of LTR was raised by John Doyle, but the LTR solutions of the 1980s were not satisfactory, for example even the asymptotic LTR is invalid for non-minimum-phase systems or invalid for most systems. This should be the reason of the returned attention to H infinity design and other classical designs, starting in the 1980's.
3. It can be simply proved that the unsatisfactory LTR solutions of the 1980's were due to the following of separation principle. As a result, I developed a new design procedure NOT following separation principle and not always design a full state feedback control (in the case that Lkx(s) cannot be exactly realized). I will design instead a generalized state feedback control (GSFC) which unifies the existing full state feedback control and static output feedback control as its two extreme (strongest and weakest) cases. The design of this GSFC is fully based on (not separated from, as in separation principle), the observer parameters and parameter C of system (A,B,C).
4. By being able to freely choose the observer order, I can design an output feedback compensator (OFC) that is valid for almost all systems (including most of the non-minimum-phase systems), and that can generate the GSFC signal. The actual OFC order, which equals the number of the estimated states/additional outputs, is chosen based on the actual system conditions and actual design requirements, unlike the fixed maximum order for full state feedback control and the fixed zero order for static output feedback control. The critical advantage of this OFC is that Lkx(s) of its GSFC is guaranteed realized exactly. Thus a satisfactory (general and exact) LTR solution is finally achieved, and the need of H infinity design of the 1980s is finally obviated.
  • asked a question related to Controller Design
Question
1 answer
I'm estimating sample size for a future study using the primary outcome (mean and SD) from a current study. The future study will use a randomized control design with two independent 'arms' (or groups): Breathing Training or Balance Training.
The current study uses Breathing Training only, for which I have primary outcome data. However, no study using the Balance Training has used the same primary outcome (and therefore no mean and SD data).
Can I use a secondary outcome to estimate sample size for this Balance Training group?
Relevant answer
Answer
That will reduce your sample size to half no harm in that but you need to consider the study population should have the same inclusion and exclusion criteria as your current study is having other wise there will be bias in your results. For sample size in balance training just take a same number of subjects as your current is having for the breathing group the combination of the two will be your sufficient sample size.This is what I understood from your question if you have something else then explain and ask again.
  • asked a question related to Controller Design
Question
5 answers
Given a Fractional Order PID controller designed for trajectory control of mobile robot. The question is How to implement it using one of the arduino platforms knowing that when approximating the fractional integrator and derivative using discrete transform it gives infinite orders of terms in the Z-domain.
Relevant answer
Answer
Dear Ibraheem,
As an alternative to Fractional PID controller, for nonlinear systems, I would recommend to implement the Neural Network-Based Self-Tuning PID Control (please find attached a link for the paper describing the Underwater Vehicles application). Using one of the Arduino platforms, I would suggest to use 3 neurons for the hidden layer.
Regards,
Alfonso Gómez
  • asked a question related to Controller Design
Question
6 answers
I have a plant with transfer function, I design a PID Controller and the output response of the plant along with controller can be obtained with Ziegler method.  What is meant by control signal, how to get response for it?
Relevant answer
Answer
It is the input to the plant, which may also incorporate the actuator transfer function, along with other model elements.
Take a dc motor as an example, with a voltage input and an rpm output:
In an open-loop configuration, with no feedback and no controller, you would set the voltage input "manually" to get the rpm that you want.
In a closed-loop configuration, with feedback and a controller, the controller is fed an error signal (the difference between the actual and the desired rpm), and the controller "works out" the voltage that should be applied for you.
For the response of the control signal U(s), I am assuming you mean with respect to a unit step change in the refernece input R(s) i.e. the desired rpm. This might be required if you want to check that your controller doesn't output crazy values, for reasonable inputs. So instead of the usual Y(s)/R(s) transfer function rearrange your transfer function for U(s)/R(s).
  • asked a question related to Controller Design
Question
4 answers
I have designed a controller using Integrator backstepping method and that controller is based on Lyapunov Theory. I have a question How I can check stability of resulting controller?
Relevant answer
Answer
Hi Waheed,
Thanks for your reply.
Since you have designed a Lyapunov-based integral backstepping controller for the 4th-order MISO system, what exactly is your difficulty in checking the stability of the control system?
  • asked a question related to Controller Design
Question
12 answers
I want to know if there is any system that needs to operate on different variants (combinations of the P, I, D constants) of PID controller; like it operates on P-only controller first; then switches to PI and then may be to PD or PID alternatively or simultaneously or may be cascaded? Is there any need to have such a system? If yes where and if not why not?
Relevant answer
Answer
thankyou all.
  • asked a question related to Controller Design
Question
4 answers
I actually need active and reactive power controller design
Relevant answer
Answer
Dear Akhilesh
There is a very good link:
Control Design of a Single-Phase DC/AC Inverter for PV Applications
It is fundamental text.
Regards
  • asked a question related to Controller Design
Question
12 answers
Its a general question.
For example, I want to design a controller for a nonlinear system to cope with certain periodic disturbance. In order to get a linearized state space model, I linearize the system about certain operating region and state space linear model has no information of this periodic disturbance. how to remove or minimize it. One solution is to use model predictive control where a real system posed to this periodic disturbance is tracking a reference system model (this reference model doesn't included this disturbance into account). I would appreciate if you can suggest a solution other than this.
(Edited)
Relevant answer
Answer
Hi Kamran
For controller circuit designing you need to model your system and get all differential equations related to your capacitors voltage and inductors currents. After that there are very different structures to design your controller.
Regards
  • asked a question related to Controller Design
Question
3 answers
We found that there is a flow lag below the set point.  Controller is slow to react to a set point change. Though we set the standard temperature and pressure conditions to 25oC and 14.696 psia, it increases to 34oC and 78 psia respectively. The control valve also heats up.
What could be the possible problems? How can we tune the PID values? we set the values as shown in the manual. But still, the problem occurs. Kindly give us the guidelines to rectify it.
Relevant answer
Answer
Hey Cyril,
You may want to contact Alicat Field Service Engineer on this issue.
From your description, it seemed that the performance is a little sluggish. Perhaps the values of PID gains shown in the manual are designed to be over-conservative.
If you are authorized to tune the PID gains, try the following:
  • increase Kp for faster rise time,
  • increase Ki for faster rise time,
  • increase Kd to reduce the overshoot and to raise the stability.
Good luck!
  • asked a question related to Controller Design
Question
6 answers
If I find out the gain margin and phase margin of a transfer function, then whether I can relate it with the operating frequency.
Relevant answer
Answer
Dear Dina John,
Gain and phase margin are usually applied to systems that are amplifiers of some sort with negative feedback around them. The more negative feedback, the tighter the system is controlled. However, you don't want to provide feedback in such a way that the system will oscillate. The gain and phase margin are two metrics to tell you how close the system is to oscillation (instability).
Since the main problem is usually that the overall phase and gain change as a function of frequency, loop gain and phase shift are often plotted as a function of Log(frequency).
Indeed there is a relationship between the operating frequency of a system and the gain margin and the phase margin and this is visible when building the Bode curves.
For more details about this subject please see links and attached file in topics.
-Applied Control Theory for Embedded Systems
-Control System Fundamentals
-Power-Switching Converters, Second Edition
Best regards
  • asked a question related to Controller Design
Question
4 answers
1. Isn't worth checking the controllability of a nonlinear system before any regularisation methods (controller design, optimal control solution etc)?
2. Are they controller design techniques that do not require a controllability check?
Relevant answer
Answer
The presentation of Jean-Michel Coron posted by Adrian Gambier covers the abstract problem of controllability of a broad variety of systems. Here is how the basic notion of global controllability is posed as the starting point of all that theory:
you want to send the state of the system to some arbitrary location in state space with a finite sequence of control inputs. For linear systems, this amounts to solvability of a system of linear equations.
  • This is easiest to see for a discrete linear time invariant system. x(k+1) =Ax(k)+Bu(k). If the target state is xf, then xf=x(k+n) (for example for an n-dimensional A matrix), then equating
  • xf=x(k+n)=Anx(k)+(An-1B An-2B ... AB B)* (u(k) u(k+1)...u(k+n-1))T which is solvable for the control inputs if the controllability matrix (An-1B An-2B ... AB B) is invertible.
  • For a nonlinear discrete system, we have for example x(k)=f(x(k),u(k)) in general (ignoring disturbances or noise), so controllability depends upon solvability of a system of nonlinear equations, for which there is no general solution.
  • For differential equations, or partial differential the arguments are analogous (as the difference between differential and difference equations for the purpose of physical representation is only metaphysical, given that dt, dx or infinitesimals and real numbers are not accessible to physical measurement or computer representation) but more complicated as you have to use calculus instead of only algebra. Nevertheless, for many nonlinear dynamic systems that can be approximated by Euler-Lagrange type equations in (mechanics, electrodynamics, quantum mechanics), representation and analysis in continuous time is more compact for the purpose of control or observer design.
  • All physical systems necessarily have time delays, given the finite speed of propagation of all signals (speed of light or sound for example). The effect of delays is pronounced in fluid-thermal systems (e.g., engines, hydraulics, and pneumatics), and also in systems involving networks with significant spatial extent as in power grids or large process plants such as refineries. Most mechanical and electro-mechanical systems moreover have microscopic phenomena that impact macroscopic behavior, such as friction at surfaces where relative motion takes place. For all such systems, the partial differential equation/differential equation is not a correct representation, as they do not produce even the same qualitative behavior. While they can be approximated by functional or delay differential equations, it is more correct to represent them directly as systems of difference equations with a resolution not exceeding that of the sensors or actuators used (any model with finer resolution cannot be invalidated by experimental data). Besides, such discrete representations are also easier to relate to the physical phenomena, and analyze for controllability or observability.
  • asked a question related to Controller Design
Question
4 answers
I'm doing a project in a company who wants a design of a rudder control system for a ship. I finish the design and I did it on LabVIEW with the Control Design VI in a Simulation Loop. That was the easy part of the project but the company told me that they want a project where they can use it in the reality, so I have to simulate in real-time the ship and I can't use the simulation loop, beside I must to simulate two sensor with CompactRIo (compass and Synchro) and send it in any communication protocols to a computer. I know there is a VI where I can use to simulate a lag-leag controller.
The problems I have are: How to implement a plant equation without the help of Transfers Function? How to implement a integrator (1/s) in real-life? ( I had seen the possibility on use deadband). The last question, how to simulate the two sensor that I mentioned previously with CompactRIO?
Relevant answer
Answer
HI Andres,
You can implement a transfer function in a standard LabVIEW While Loop or Real-Time Loop using their PID Toolkit. It's found under the "Control and Simulation" palette.
You can also configure the Simulation Loop to run in real-time. In LabVIEW, go to Help | Find Examples and take a look at the following two examples:
  • RT PXI DAQmx single channel PID.lvproj
  • SimEx Control Loop with DAQmx with Event Response.vi
These are both founder under "Toolkits and Modules | Control and Simulation | Simulation | Real-time" folder in the NI Example Finder window.
Hope this helps, Mitch
  • asked a question related to Controller Design
Question
12 answers
What I know about the definition of ''Robustness Property'' for a controller designed for a particular set of parameters of the system it can be said to be robust if it works well under high-gain feedback to reject the disturbance gained by the system and eliminate the effect the system parameter uncertainty. So, is there any relation between robustness of the controller and faster response time such as raise time maximum overshoot settling time etc..?
 Truly Yours
Relevant answer
Answer
Dear Mustafa,
In the 1st part of your Q&Ans part I think the meaning of Robust is clear to you. In the later part you have talked about transient response property of the controller. There is no direct relation between the  property of robustness and the transient response property.
  • asked a question related to Controller Design
Question
3 answers
I want analyse the stability of chaotic systems and design a controller for such systems. 
Relevant answer
Answer
A book which deal with more general nonlinearities is the one written by Drainkov and Hellendorn: http://www.springer.com/gp/book/9783540606918.
With all respect, but although LMI approach is very nice, it has some drawbacks. I actually like it but you may wish to see the book I told you about,
  • asked a question related to Controller Design
  • asked a question related to Controller Design
Question
3 answers
Non- Linear Control
1. Predictive control
2. Hysteresis Control
3. Sliding mode Control
4. Iterative learning control
5. Artificial Intelligence
6. Adaptive Control
I need to know all these above mentioned control techniques for Inverters In Microgrid in detail. Plz suggest me Helping materials thanks. 
Relevant answer
Answer
 FUZZY LOGIC CONTROL AND MODEL BASED CONTROL
  • asked a question related to Controller Design
Question
2 answers
i plan to do hardware project on self tuning PID model reference adaptive controller for bldc motor. i simulated with help of matlab ,but how to implement hardware for MRAC controller ?
  • asked a question related to Controller Design
Question
6 answers
I want to know about the state of the art in multivariable control. Also I want to know about all different multivariable controllers that have been used so far upto recent times. It would be best if I can get hold of a review paper on multivariable controllers. Thank You.
Relevant answer
Answer
This book looks at multi-variable problems from a configuration selection point of view. I suggest you to read its introduction to become more familiar with its contents.
  • asked a question related to Controller Design
Question
3 answers
I have to design a controller using Convex Optimization and Sum of Squares technique, please suggest some papers on this. What are the advantages of using this techniques from the classical controllers or other robust controllers.
Relevant answer
Answer
I guess the Convex Optimization by Stephen Boyd is a good candidate.
here is the link.
  • asked a question related to Controller Design
Question
4 answers
Dear all,
In traditional sliding mode control, the approach is so clear. we design the sliding surface firstly and then find a control law that satisfy the condition of sliding mode existance. But in high order sliding mode, I think it should follow some principle that is similar to 1-sliding mode control.
From my point of view, in high order sliding mode control, we design a sliding function which is the expression of s and its r-1 time derivatives equal to zero. while in 1-sliding mode control, just s=0 . So in 1-sliding mode control, just 1-order accuracy while in high order sliding mode control, cos s=dot(s)=dot(dot(s))....... r-1 time derivatives..=0, then it will have a higher order accuracy. What's more, high relative degree makes the real control law to the system a smooth function,Then we base on some principles to design control law U.
Here is my problem, what principles we should take in high order sliding mode control to design control law? In 1-sliding mode control, the principle is s*dot(s)<0, or dot(Lyfun) is negative defined. In some papers of Prof.Levant and Prof.Slotine, They gave some principle for high order SMC. But I not so clear, I want to communicate with people and see how you think of it. 
Thank you very much!
Relevant answer
Answer
Hello Yew-Chung Chak,
Thank you very much! Amazing! Now, I can understand it more clear. It seems there is another way contributes to the principle I mentioned above. I remember Prof.Slotine and Prof.Levant putted forward different approaches to high sliding mode control. I try to find it out and share it here.  Thank you again! 
  • asked a question related to Controller Design
Question
40 answers
I am working on high nonlinear system and I would like to design an efficient controller.
Relevant answer
Answer
 Dear Alaa
For a controllable nonlinear system, a linear controller, especially when augmented with integral controller, is always powerful in stabilizing a nonlinear system especially with suitable selection for the controller parameters. However the crucial questions which it needed answers are;
i) when the system suffers from vanishing perturbations, it is important to estimate the area of attraction. When the system state initiated in the area of attraction the linear controller will be able to regulate the error asymptotically to the origin. Accordingly the controller will be more effective for larger area of attraction and vice versa.
ii) what is the ultimate boundedness for the system response when the system suffers from non-vanishing or from mismatched perturbations. In this case the error between the system output and the desired output is not asymptotically stable and the linear controller with the integral term is no longer able to regulate the error to zero except when the perturbation is constant. Accordingly the controller will be more effective for small ultimate boundedness and vice versa.
  • asked a question related to Controller Design
Question
5 answers
For a passivity-based control design the modification of dissipation energy function can be obtained by adding damping injection which is actually a virtual impedance matrix. which kind of this impedance, fictitous impedance or practical impedance?
Relevant answer
Answer
Hi Mustafa,
Virtual impedance is a fictitious form of impedance. This can be well understood in the context of a simple LC circuit connected in series with a controllable voltage source u.
If v is the voltage across capacitor, then the dynamics of this LC circuit is given by
LC\ddot{v} + v  = u. This is an equation of an undamped system with natural frequency 1/sqrt(LC). Such an oscillatory behavior is undesirable. There are two ways to damp the natural oscillations
1. Add a resistor R in series with L,C. The resulting equation will be
LC\ddot{v} + RC\dot{v} +  v  = u.
While adding R dampens the system, it comes at the cost of i^2R dissipation loss across the resistor, which is again undesirable.
2. Hence, one uses virtual resistance. Since the input voltage is controllable, we may as well define u = \hat{u} - iR = \hat{u} - RC\dot{v}. Substituting this particular value of u into the system dynamics results in
LC\ddot{v} + RC\dot{v} +  v  = \hat{u},
which is identical to previous equation, but without the dissipative losses. All we did was, we augmented a virtual resistance R in the control command.
Hope this helps!!
  • asked a question related to Controller Design
Question
11 answers
Passivity-based control is the kind of nonlinear controller to achieve stability of simple electrical circuit, how can I expand this method to check stability for a complicated electrical circuits?
I will be appreciated your help…
  • asked a question related to Controller Design
Question
3 answers
In order to design this controller I need some books or references.
Relevant answer
Answer
Hi Walid,
A Fractional Order Controller (FOC) typically uses the fractional-order derivative as “enhancement” in part of the mainstream control systems, such as fractional order sliding mode control, fractional order backstepping control, fractional order fuzzy control, and fractional order PID control. The following example shows how to design a simple fractional order sliding mode controller.
Consider a nonlinear control-affine system given by
x' = f(x) + Bu + d
where x is the state vector, f(x) is a smooth nonlinear function of its argument, B is the input matrix, u is the control vector, and d is the disturbance. A desired transformation
ς = λx
is introduced, where ς ∈ Rm×n and it is assumed that λB ≠ 0. Taking the time derivative of ς yield
ς' = λx'
and it easily follows that
ς' = λf(x) + λBu + λd.
The sliding manifold is chosen as
s = ς + Dας
where Dας is the fractional derivative term and 0 < α < 1. Taking the time derivative of s yield
s' = ς' + Dα+1ς.
Next, the Lyapunov function candidate is chosen as
V = (1/2) sTs
and the time derivative of V is
V' = sTs'
The sliding manifold will reach s = 0 in finite time if the control law u is chosen as
u = (λB)−1 [− k1sk2 sgn(s) − Dα+1ς − λf(x)].
where k1, k2, and η are strictly positive with k2 = η + λ ||d||max .
Hence, according to Lyapunov stability theorem, V' becomes
V' = sT[− k1sk2 sgn(s) + λd]
V' = − k1sTsk2 ||s|| + (λd)Ts
V' ≤ − k1sTs − η ||s|| ≤ 0.
When s = 0 is reached, then
Dας = − ς
is asymptotically stable if the following condition is satisfied:
|arg[λi(-1)]| > (1/2) απ.
On top of the valuable literature suggested by Prof. Lafifi and Prof. Khan, you are also advised to refer to Prof. YangQuan Chen's works in Fractional-Order Control Systems. Here is just one of the books.
  • asked a question related to Controller Design
Question
8 answers
I need help on my problem. I managed to tune my PID controller using Ziegler-Nichols continuous cycling method and able to determine my Kp, Ti (integral time) and Td (derivative time). But the problem here is, I do not know how to use it in SIMULINK PID block. Let say my Kc is 500, Ti is 0.02 and Td is 0.01.
In SIMULINK PID controller (function block parameter), the parameter used is P (proportional gain), I (integral gain), D (derivative gain) and N (filter coefficient). May I know how to convert Ti to I and Td to D? What I know is Kc= P, and I used parallel form. Thank you..
Relevant answer
Answer
Hi Hany,
In any undergrad control textbooks, you will find that the PID control signal, c(t) in time domain consists of a proportional term, an integral term, and a derivative term, which act on the error signal, e(t) as shown in Fig. 1.
When converted to transfer function via Laplace transform in s-domain, the PID control signal, C(s) is illustrated in Fig. 2. You can clearly see the relationships between Ki and Ti, as well as Kd and Td after factoring out Kp.
In practical engineering, unwanted high-frequency electrical disturbances known as noise may be generated in the electronic components of the measuring instruments (sensors). Because the noise is blended in the error signal (setpoint - measured process variable), the derivative term can greatly amplify the control signal that may lead to control actuator saturation.
To alleviate this problem, a first-order low-pass filter is included in the derivative term in modern PID controller, as shown in Fig. 3 as well as in the Simulink PID controller block. If noise is not considered in your Simulink model, you may set N = inf in the PID controller block at the preliminary design. Other things to consider include:
  • disturbance rejection capability,
  • gain and phase margins of the PID control system,
  • making the controller less noise sensitive.
If the mathematical model for the biomedical system is developed, you may want to compare the performance between Ziegler-Nichols-tuned PID controller and the auto-tuned PID controller (by using PID Controller Tuning feature in the Simulink block).
  • asked a question related to Controller Design
Question
6 answers
I am working on high bandwidth controller design for high speed scan mirror mechanism for satellite. The structural frequency (or vibrational frequency) for this system is coming within the desired bandwidth for attaining the high speed motion.
Relevant answer
Answer
  • asked a question related to Controller Design
Question
13 answers
Passivity based-stability criterion is a useful criteria for multi-parallel source and multi-parallel load converters for DC-distributed system, and it is a linear in nature (attached is the paper of the method) , I am thinking if there is some links between this method and sliding mode control.
Relevant answer
Answer
Dear Mustafa,
SMC guarantees robustness and PBC also guarantees robust stability. There are results where the SMC is designed such that close loop passivity properties are satisfied, in this sense the SMC is also a PBC. See for example the work of T. Kim. S. Park and H. Ahn Robust Passivity Based Control with Sliding Mode for DC-to-DC Converters, Int. Conf. SICE-ICASE, 2006.   
  • asked a question related to Controller Design
Question
10 answers
I am investigating the feasibility of the nnMPC block for a MISO system and would like to know if anyone used the block successfully with more than one input.
Relevant answer
Answer
Dear Sebastian,
Of course the Simulink neural network model predictive controller support multiple inputs, here are links and attached files in topics.
neural network predictive control of a chemical reactor - European ...
elman neural networks in model predictive control - Semantic Scholar
Design Neural Network Predictive Controller in Simulink - MATLAB ...
https://www.mathworks.com › ... › Neural Network Control Systems
Best regards
  • asked a question related to Controller Design
Question
13 answers
Actually, I have a big doubt regarding the inputs of fuzzy logic controller (FLC), since I am new in this area. Most of the example that I found used error and derivative of error as the inputs for FLC. But, it is possible if I use error and integral of error as inputs of my FLC? Actually, I have a highly non-linear process to control.
Thanks..
Relevant answer
Answer
Dear Hani
You can but it is not advisable as you know that the primary aim of the fuzzy controller is to minimize the error between the reference input and the actual output, so using integral as one of the input to the fuzzy will tends to add up the error. you can employed Fuzzy PD +I technique but remember the integrator does not go to fuzzy but external to fuzzy and added with help of summer before going to the plant.
  • asked a question related to Controller Design
Question
7 answers
I have a nonlinear system with order 5. I have designed linear or nonlinear control algorithms for the systems. The input of the system have to be a positive signal and should have some upper bounds to it. LQG , PID, State feedback (by linarization) as well as nonlinear control like Sliding mode control and super twisting algorithm is giving a negative peak in its control signal. For this reason I have to reject the negative peak in the control signal before giving it to the plant.
How can I overcome this problem?
Relevant answer
Answer
So you could make a static map between the control and the output and use feedback to compensate for the uncertainties and disturbances. 
Is your system differentially flat ?
  • asked a question related to Controller Design
Question
8 answers
I am trying to reduce(flattened) the flutuations in a signal in "realtime applications" using Simulink. For this , I am using a bandstop filter then a lowpass filter. But the delay is very high.(1-2 sec delay is permissible.). However the delay introduced is more than 20 sec and increases as the filter order increases. Is there any other technique to reduce the flutuations without delay?
I tried using filtfilt function but it of no use for real time systems.
Please help in this regard.
Relevant answer
Answer
Dear Sir,
What type of filter did you use ?.
As Bidal said, when filtering, there is an inherent minimum delay. This is because the filter needs to be a causal system, ie, the impulse response for negative time needs to be zero.
The minimum delay of a filter is given by the Hilbert transform.
There are also some filters that are minimum delay (eg most passive filters, and also the digital IIR Infinite Impulse Response filters), while others (the FIR filters) are not minimum delay.
In order to combat delay, the first thing to do is to use minimum phase filters (IIR or passive), and no FIRs. (They are more difficult to synthesize,)
The second thing to do is tune your amplitude response for the delay you can tolerate, ie not attenuate more than you need. Calculate the power spectral density of what you want to attenuate, and then design an appropriate amplitude response. In closed loop systems, this often leads to second order filters (ie the amplitude response goes down with 40 db/decade from the loop bandwidth onward). I dont know what you will get here.
Cheers,
Henri.
  • asked a question related to Controller Design
Question
9 answers
A non-minimum phase system is difficult to control because of RHP zeros. How to deal with this type of system?
Relevant answer
Answer
It is very hard to require among several zeros every zero be LHP. Therefore most of systems are non-minimum phase, and this proposed question is very important.
From root locus rules, the most obvious harm of RHL zeros is that high gain is prohibited, because high gain can make the closed poles reach these zeros.
This is why the asymptotic LTR of state space theory cannot be applied to non-minimum phase systems, because asymptotic LTR means asymptotic high gains.
However, using a simple state space technique described in my publications, an output feedback compensator (OFC) can be designed for systems either with more outputs than inputs or with at least one LHP zeros (the OFC poles will be assigned to match these LHP zeros).
This OFC is very general because it is equally very hard to have among several zeros every zero be RHP.
This OFC can estimate a number of linear transformations of system state (like a number of additional system outputs), while this number equals the OFC order. Thus a much improved static output feedback control can be designed. This form of control is a constrained state feedback control, which is by far the best form of feedback control.
This OFC has a distinct advantage than normal observers. The exact LTR or full realization of robustness of state feedback control, is achieved by OFC.
This OFC fully utilizes the LHP zeros by matching them with the OFC poles, while avoiding the harms of RHP zeros by not requiring high gains at all.
  • asked a question related to Controller Design
Question
6 answers
I am using direct synthesis to design a controller for an open loop unstable processes. G(s) = k/(s-a) and I think I need to stabilize this by adding a feedback loop before applying direct synthesis. But I am not sure what kind of feedback loop I can add. Please help. Thanks.
Relevant answer
Answer
Dear kim
Prefer mu based direct synthesis for such type of analysis.
IMC is good but prefer Optimal IMC based PID controller configuration for it.
  • asked a question related to Controller Design
Question
9 answers
I have a continuous-time state-space model and I designed in matlab a controller based to this model so yet the whole process is in continuous-time. In Simulink I simulate the model so that there is a sample time Ts (runge kutta). Of course the controller will be digital in the end, so 1. Am I simulating the process in discrete because of sample time? 2. Do zero-hold block enough to simulate desecrating continuous-time state-space model of controller? What I want to do is to convert my controller to desecrate (digital) and simulate it for continues time model…..  
Relevant answer
Answer
We can sample a continuous plant with  a zero-order hold (ZOH). So , we sample a continuous controller. In the book "Computer-controlled systems" by K.J. Astrom and B. Wittenmark , we use an  approximation s=(z-1)/(Tz) to convert C(s) to C(z). It is my opinion.
  • asked a question related to Controller Design
Question
4 answers
A focus on state-space design and MATLAB/Simulink applications is also desired.
Relevant answer
Answer
I would ask you to see the book Feedback control of Dynamic System by Gene F. franklin for the state space design and there are few examples at the end of the book to understand the MATLAB/Simulink part. You should see this paper as an initial start
  • asked a question related to Controller Design
Question
5 answers
I am searching for the best values for gain values for a PI controller, my supervisor suggested that I may choose the best values according to the error signal. he suggested that I would choose according to the integration of the area under the curve of the error signal, However, this led to incorrect results. I changed my metric to overshoot, settling time, and steady state error. However, I still think they are old metrics. Does anyone suggest a better metric for the error signal?
Relevant answer
Answer
  • asked a question related to Controller Design
Question
9 answers
someone wants to implement fuzzy logic in simulink, what steps should he follow? Thanks in advance!
Relevant answer
Answer
As adition to answers above I"d concentrade on  to Fuzzy Logic Toolbox (MATLAB)
  • asked a question related to Controller Design
Question
4 answers
Hi
I have a problem I need to solve. The system consists of a hot plate type heater that is either on or off. The bag of fluid lays on top of it. There is a sensor that the bag of fluid rests on and checks it temperature. There is also a sensor that checks the hot plate temperature. The bag of fluid needs to be heated to and kept at 40 C. It cannot go above 41C. Fluid may start as low as 1C with the heater element off. The rise time from start (can be any temp) to set point (40 C) can be no longer than 1/2 hr. I was researching a pid controller for the heater, but am concerned about any overshoot. Some articles I've read about the MPC (Model Predictive Controller) makes it sound like it may be better suited to this application. If someone has worked on a problem like this, I would like to hear about your experiences.
Thanks...
Relevant answer
Answer
If you add current control, or PWM, a PID controller might be used.
If the fluid is used incrementally, a flow-through heater at the point of use may be more appropriate than heating the entire bag. A lot easer to control.
  • asked a question related to Controller Design
Question
5 answers
Instead of PI or PD if we replace the system only by I or D, what will happen?Actually I need to know what will be the effect of system response. Also in fuzzy logic controller, if we don't connect P controller with (Z-1)/Z block in simulink, there will be any deviation occur in system response.
Relevant answer
Answer
There was a discussion on Research Gate on similar topics:  
What are the separate and combined effects of increasing proportional and derivative values of P I controller in a feedback loop?
Trying to explain the physical meaning of things, assume that you have an input command u(t) and you are interested for the output y(t) to follow this input.
So, you measure the output and close the loop by measuring the error e(t)=u(t)-y(t).
This error is supplied to the system and affects the output.
If there is a positive error, it implies that the input is larger than the output and then the output will be moved in the positive direction (to increase) until it equals the input and the error is zero.
If there is a negative error, it implies that the input is smaller than the output and then the output will be moved in the negative direction (to decrease) until it equals the input and the error is zero.
If things are slow, you increase the gain P to get a faster time response that you would like.
Now, this assumes that everything stops when the error is zero. However, things have inertia and this implies that your system reaches zero error at some nonzero velocity and will continue moving beyond the desired position. This is the origin of the D term, which introduces a signal proportional to the velocity and this term opposes the velocity effect.
Also, unless P is very large, you end with a pretty large non-zero steady state error. Besides, systems have friction, which also does not allow it to  reach zero tracking error. Therefore, the integral term I accumulates the error signals. So, if the error is not zero, its integral keep increasing and keeps moving the output until the error is zero.
  • asked a question related to Controller Design
Question
8 answers
Okay, so I am doing a study on Iron Deficiency Anemia. In the first phase, I will determine the prevalence and then I need to go for Case control and an RCT. I need to ask if I have to calculate sample size for Case Control and RCT or can I have some standard minimum number of my own choice?
I mean, I have seen a lot of papers where the authors have just taken a certain number of cases and two or three controls per case. So can I take (for example) 50 cases and 100 controls, depending on my prevalence results or is there a specific formula for calculation?
Similar is the case with my Randomized Control Design, that is, can I take a certain  number of people to start with or (again) is there any formula?
Thanks. 
Relevant answer
Answer
All the hypothesis testing studies (here RCT and case control studies) needs sample size estimation before start of study. Estimation procedure needs certain assumptions. For example (for case control study) you should have  the desired level of power of the study (typically 0.84 for 80% power);  statistical significance (typically 1.96 for 5% significance); ratio of controls to cases (typically 1: 1); percent of case/control exposed and an expected Odds Ratio. You can use an online calculator that calculates sample size. 
As you can see that the Ratio of Controls to Cases is one of the factor deciding total sample size. So you  can't take Arbitrarily 50 cases and 100 controls or vice versa,