Community Profile

photo

Sam Chak


Last seen: Today 自 2020 起处于活动状态

Statistics

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

查看徽章

Content Feed

排序方式:

已回答
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...

1 day 前 | 0

已回答
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...

1 day 前 | 0

已回答
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...

2 days 前 | 0

已回答
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...

3 days 前 | 0

已回答
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...

3 days 前 | 0

已回答
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...

4 days 前 | 1

已回答
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...

5 days 前 | 0

已回答
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...

5 days 前 | 0

已回答
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...

6 days 前 | 0

已回答
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...

7 days 前 | 0

| 已接受

已回答
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 ...

8 days 前 | 0

已回答
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....

8 days 前 | 0

已回答
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...

13 days 前 | 0

已回答
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...

16 days 前 | 0

已回答
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 ...

17 days 前 | 0

| 已接受

已回答
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...

17 days 前 | 0

已回答
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...

17 days 前 | 0

| 已接受

已回答
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), ...

17 days 前 | 1

已回答
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))

17 days 前 | 0

已回答
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...

19 days 前 | 1

已回答
what is the code to implement a disturbance of 0.2 in the system at 400 sec that would test the disturbance rejection of the controller and allow the system to return to 1?
Hi @sabavath jayaram Since your system is not provided, here is a simple example to demonstrate the disturbance rejection capab...

20 days 前 | 0

已回答
How to solve for the torsional degrees of freedom
Hi @Siddharth Jain You can try modifying the following code to fit your application. tspan = [0 0.1]; y0 = [0.1 0.2 0 0...

22 days 前 | 0

已回答
design feedback state controller
Hi @Milad Bahaedini You can try the following design approach if it works for your application. A = 0; B = 16.6; C = 4...

24 days 前 | 0

已回答
How to find largest Peak Values of signal and Save X,Y Values in MATLAB
If you are referring 'e' as the exponential function, and so on, then try this: e1 = exp(1) e2 = exp(2) e3 = exp(3)

27 days 前 | 0

已回答
Simulink circuit to gain transfer function, then plot on bode plot in matlab
Hi @Aaron Frost If you have Simscape, then you should be able to create the model of the Op-Amp circuit within the Simulink env...

27 days 前 | 0

| 已接受

已回答
calculate/pich up x-value from step function
Hi @Olga Rakvag % 1st-order step response Gain = 0.999*5; np = tf(Gain, [0.000999, 1]) r63 = Gain*0.632 % 63 percent of...

27 days 前 | 0

已回答
Anti-windup techniques for multiple PID Controller feeding the same actuator
Hi @Francesco Paolo De Simone The PID Controller block can be located in the Continuous block library. Check this out: https:...

27 days 前 | 0

已回答
Adopting Genetic algorithm for a Simulink model without feedback loop
Hi @vinusan I'm unfamiliar with your Simulink model as well as the cost function that is related to Rise Time and Fall Time. Ho...

27 days 前 | 0

已回答
solving a 1 DoF MSS-Spring-Damper when the spring stiffness is a function of displacement
Hi @reza ahmadian If the system is stiff, then you can try using the ode15s() solver. In the following example, the external f...

1 month 前 | 0

已回答
How can I use the matlab function like fcn block
Hi @daglar7 I think this one should be . In this blog, there is an article on the "Quarter Car Modeling" by João Marabisa. Yo...

1 month 前 | 0

加载更多