# Questions tagged [control-systems]

Questions on the use of Mathematica to analyze, design, and simulate continuous- and discrete-time control systems.

33 questions
Filter by
Sorted by
Tagged with
260 views

2k views

### How to calculate the $H_2$ and $H_\infty$ norms of TransferFunctionModels or StateSpaceModels?

Lets assume we have a system model: ...
912 views

### Convert DE to first order?

I have the following set of second-order differential equations: ...
3k views

### How to fix BodePlot that comes with Mathematica?

I am using Mathematica to go through the examples and exercises on the book Modern Control Systems, 6th edition by Dorf. On page 605, there is a table (Table 8.5) with the Bode plot for several ...
312 views

### Help with simulating a system model (inverted pendulum)

In this documentation article, Regulate an Inverted Pendulum, the author started by creating the following system. ...
1k views

9k views

### How can I draw an asymptotic bode plot?

When I use Mathematica to draw a bode plot, it always gives the precise version, like this: BodePlot[(10 (s + 3))/(s (s + 2) (s^2 + s + 2))] How can I draw the ...
99 views

### System model merge with multiple input and one output

I was curious, and I used the built-in functions of Mathematica to analyze the following scheme: I used SystemModelMerge as: ...
480 views

### How To First Evaluate A Differential Equation And Then To Input The Function Parameters?

I have two functions: f1[x1_,x2_] := 2x1*x2 f2[x1_,x2_] := x1+x2*x1 and I would like to compute this matrix (linearization of the system), but the differentials ...
183 views

### Defining a non-linear coordinate transformation involving DSolve

This question is related to an other question I've asked yesterday here. Havin not received a reply, I believe there isn't a ready-made function for non-linear coordinate transformation in order to ...
1k views

### Calculate state-space model from dynamic equations

I want to find statespace model of calculated dynamic equations from given equations and eliminations in Mathematica (all the commands should be in one line), but it does not work properly, here is a ...
285 views

### How to set a limit and initial value for transfer function in Mathematica?

This is actually a follow-up question to this one! Assuming that I have a tf like: ...
81 views

### Strange output of a simple statespace model

The output of statespace model seems strange. In the follwing code, the odes are governing equations of a three floors structure, and the output are three accelerations of floors. If I ...
168 views

### On using DiracDelta[t] in OutputResposne in version 10. Different result from version 9

I am baffled by this. I was trying to run same example I had working in version 9.01 and found now I get empty plots. The example is here . Here is a simplified version of the above. The same exact ...
1k views

### How to convert a transfer function model to a zero-pole-gain model?

Mathematica has a function to convert TransferFunctionModels to StateSpaceModels: mytf=TransferFunctionModel[(2 s + 3)/(s^3 + 4 s^2 + 5), s] StateSpaceModel[mytf] ...
171 views

### Non-linear ODE from closed-loop system and Response

I started using Mathematica 12 and ran into difficulties. Namely, I want to compare the results of the calculation of a closed system from Simulink and in Mathematica. I rummaged around a bit on the ...
5k views

### DC gain of a transfer function

Consider this example. M = TransferFunctionModel[3/(s^2 - s + 5), s] the DC gain should be the value of the transfer function ...
194 views

### Multiple Output with OutputResponse in Mathematica

I have a question here regarding how to derive multiple output from OutputResponse or in general. Here is a screenshot of the codes As seen, I have only one quantity plotted. Tried google but didn't ...
79 views

### Complex OutputResponse?

I have the following dynamical system in state space form, yet defined with a transfer function: ...
80 views

### OutputResponse and contradictory control models

So I'm trying to learn some control theory for a little project I'm working on and decided I'd try the examples of pendulum and cart one can find all over the internets, and I'm following this post ...
53 views

### FullInformationOutputRegulator -how does it work?

How does this function work? I don't understand how the regulator equation is synthesized when the model is nonlinear. Does it make use of a power series approach? Can someone suggest something to ...