Community Profile

photo

Sam Chak


Last seen: Today Active since 2020

Statistics

  • Guiding Light
  • 12 Month Streak
  • Thankful Level 1
  • Knowledgeable Level 5
  • Revival Level 1
  • First Answer

View badges

Content Feed

View by

Answered
Matlab 'pidtune()' function Algorithm
Hi @Ann-Christin Schlupek The PID Tuning Algorithm is described on this page. In slightly technical terms, pidtune() contains ...

ungefär 3 timmar ago | 0

Answered
how to model stairs in simscape multibody?
Hi @Nayla Are you looking some kind of "staircase-shaped function" that is generated by a mathematical function? Or, you are l...

en dag ago | 0

Answered
im trying to model the drive train model of wind turbine, i need to get oscillation and the steady state waveform
Hi @peddada sandhya rani In the absence of the effects of the constants and in the original math model, then the system is st...

en dag ago | 0

Answered
How to input exponentials in transfer functions using Simulink?
Hi @Milca Munguia You can insert the Transport Delay block (found in the Library of Continuous function blocks) after the trans...

4 dagar ago | 0

Answered
LQR regulator doesn't regulate the system
Hi @DoctorCrow Your selection of and results in the closed-loop eigenvalues having negative real parts very close to zero. Co...

4 dagar ago | 1

Answered
Fuzzy logic rule for out of range
Hi @Luca Ferro, Thanks for the sketch. I don't know your desired intervals, but linsmf should be the one that looks like your ...

5 dagar ago | 1

Answered
how to give speed in quarter car model/
Hi @Vikas I'm no expert but I think the speed of the car is somewhat related to the Road Surface Profile. If the car stops tra...

5 dagar ago | 1

Answered
Why is the ODE45 producing NaN values for all the set of solutions?
Hi @Udaya Kiran S This is how I checked. It is because some parameters in produce Inf and NaN, where your ODEs depend on. Yo...

6 dagar ago | 0

| accepted

Answered
ControlSystemDesigner displays empty graphs
Hi @Fernando Lopez Update: The Control System Designer App can be opened. The Toolbox and the function have no issue. Have you ...

6 dagar ago | 0

Answered
ode45 for sinc function
Hi @Muhammad Although your system is highly nonlinear, the ode45 can evaluate the sinc() function. However, your choice of init...

6 dagar ago | 0

| accepted

Answered
How to solve three coupled partial differential equations using matlab code?
Hi @Shreya There is an article on Solving Partial Differential Equations. The corresponding article is linked. https://www.ma...

8 dagar ago | 0

Answered
LQR controller tuning in a closed loop system problem
HI @Junhwi The LQR in this example is designed in continuous-time. Can you obtain the discretized control system? % LQR DC mot...

8 dagar ago | 1

Answered
Simulink error: Time-Varying State Space block
Hi @John If you want to get the state vector , then you can consider this approach because the output vector can be constructe...

9 dagar ago | 1

| accepted

Answered
eig(a,b) matlab symbolic
Hi @mohamdi mohamed Are you looking for the analytical solution like this? syms k1 k2 kx m1 m2 K = [k1+kx -kx 0; -k...

9 dagar ago | 0

Answered
how can i use the genetic algorithm in order to optimization the pid controller in quadruple-tank system
Hi @aseel mohammed Here are the steps to use the genetic algorithm (GA) to optimize the PID controller in the quadruple-tank sy...

10 dagar ago | 0

Answered
Which requirements and Tuning Methods in Control System Designer are needed to tune PID parameters in a cascaded loop when intput is an oscillating signal
Hi @Iaroslav Gryshchuk The 2nd-order plant is non-minimum phase. I'm unable to track the relatively fast 1 Hz sinusoidal signal...

11 dagar ago | 1

Answered
Plotting a Sine wave in MATLAB
Hi @AluminiumMan The first example of the plot() function doc exactly shows how to plot a sine wave. https://www.mathworks.com...

11 dagar ago | 0

Answered
hello I am using a bat optimization algorithm on an adaptive control and this what happened after running code
Assuming that the system is stabilizable and controllable, if the Bat algorithm works well for other optimization problems, then...

12 dagar ago | 0

Answered
How do i know the name of these blocks that marked below
Hi @Karam Karas Block in yellow circle looks like a Mask, which is a custom user interface for a block, but can be easily const...

12 dagar ago | 0

Answered
Can you explain P(s) block of simulink model of fuzzy ann controller?
Hi @AJEESH ANTONY P The P(s) block is actually a Proportional Controller block (set from the default PID block) with the extern...

14 dagar ago | 0

| accepted

Answered
Does anyone have a plant Transfer Function for a Tubular Heater? Or does anyone know how to mathematically model a tubular heater?
Hi @Chelsea Kaye Vergara You will find probably find this article useful for modeling the dynamics of the tubular heater. The ...

14 dagar ago | 0

Answered
how to convert tranfer function into a polynomial function?
Hi @H I think you use the minreal() and tfdata() function. s = tf('s'); ncp = 1.656e09*s^4 + 2.751e12*s^3 + 1.196e15*s^2 + 4....

14 dagar ago | 0

Answered
Combining 2 values in Simulink
Hi @Prasad Joshi Initialize a vector for y will solve the issue. Else, you can also use the Matrix Concatenate block. function...

19 dagar ago | 0

Answered
I have solved a set of three coupled odes in MATLAB. I have to plot another function which is a function of one of these odes. How this can be done?
Hi @Rakhi Two methods are shown in the example. The 1st method is by logical intuition. If deln depends dy(3), and the equation...

23 dagar ago | 0

Answered
Rewrite the compensator formula for a pd controller into the general formula.
Hi @Joris Bogaerts The PD compensator from your lecture note appears to have the same structure as the standard form of the PD ...

23 dagar ago | 0

| accepted

Answered
Can't find control system tuner in simulink
Hi @relue Not exactly sure what happened. While waiting for the solution from the Staffs or other Users, you can use this trick...

23 dagar ago | 0

Answered
how to add a perturbation while solving ode using ode45? can i use the analytical approximation of Heaviside function for it if yes how?
Hi @SOUVIK DARIPA If the perturbation looks like a step disturbance, then you can try using the Logictic function instead, whic...

24 dagar ago | 0

| accepted

Answered
Simulink PID Controller not behaving Properly
Hi @Nick Update: The reason behind the instablity is caused by the Fixed-step size solver. If you want to let (by default), ...

24 dagar ago | 1

Answered
How can I define the error function and use a Maclaurin series to approximate a value?
Hi @codeconstructo Are you looking for something like this? syms x T1 = taylor(erf(x))

24 dagar ago | 0

Answered
LQI(): integrator response not as expected
Hi @John If I'm not mistaken, the result is due to the disturbance injected at the e_dot level, which I think it should be inj...

26 dagar ago | 1

Load more