Questions tagged [transfer-function]

A transfer function is a mathematical description of a system or part of a system. It relates the output of the system to the input. The system described by a transfer function is always linear and time invariant.

A transfer function is a mathematical description of a system or part of a system. It relates the output of the system to the input. The system described by a transfer function is always linear and time invariant.

Transfer functions are appropriate for single input single output systems; while several can be used to model a multiple input multiple output system it is usually more appropriate to use a state space representation in that case.

Common uses of transfer functions are;

  • Single-input single-output filters
  • Modelling systems for control theory
110 questions
0
votes
2 answers

MATLAB tf command and exponentials

I must be missing something obvious but why does MATLAB have these two different behaviors? Compare, >> s = tf('s'); >> G = exp(-2.1*s)/(s+10) G = 1 exp(-2.1*s) * ------ s + 10 Continuous-time transfer…
ITA
  • 3,200
  • 3
  • 18
  • 32
0
votes
0 answers

Transfer function models in R: Arimax vs. Arima of TSA library

I have a time-series dataset in which an intervention takes place, which I analyze using R. I try to quantify this intervention effect with a transfer function in R using ARIMA modelling. I have done this using 2 approaches: 1). The arimax function…
Stan
  • 1
  • 1
0
votes
1 answer

Settling time is not displaying on the step response graph

I am graphing the step response of a closed loop system and I need to display the settling time on the graph for my assignment. Here is my code: s = tf('s') L = (20*(s+1))/(10*s*(s-1)) T = L/(1+L) step(T) Normally, I would just right click on the…
Gamer
  • 45
  • 5
0
votes
0 answers

Hydrogen gas mixing module Simulink

There are 3 gasses (LNG, NCC, H2) and these will be mixed in a mixing vessel. But first, there will be looked at the pressure change when there is a disruption placed somewhere in the system. There is an initial pressure of 25 bar, through a valve…
0
votes
0 answers

Matlab : find a transfer function

I am currently working on a project and I need to derive a transfer function such that it can be used with lsim() based on its analytical expression. I have the following code : freq = logspace(-4,2,1000); w = 2*pi*freq; tauR = 10e-6; …
0
votes
1 answer

Numerator and denominator input syntax of matlab control system : (num,den)

I have seen the following form of writing in many matlab routines: for example, I have a system function num=1; den=[1 0 0]; sys=tf(num,den) If I want to show the step response, or bode plot, I just type step(sys); bode(sys); This I…
0
votes
0 answers

How to implement a transfer function with variable coefficients?

I want to implement two filters using transfer functions with variable coefficients and passing a gaussian noise. The two filters are: F1: F(s) = ((5d)^(1/2))/(b+s); F2: F1(s) = (((5d)^(1/2))*((b/sqrt(3))+s)) / (b+s)^2; Where d and b vary every time…
Cassius
  • 5
  • 2
0
votes
0 answers

High pass filter using scipy and control

I'm trying to build some digital filter designs but I currently have a technical problem. I have narrowed it down to building the high-pass filter. Here is a minimal example, building a 3rd order high pass Butterworth filter import numpy as np …
Echo20127
  • 23
  • 3
0
votes
1 answer

Python Transfer Function with exponential term in the numerator

transfer function How would I input this transfer function in python? I'm having trouble with the exponential term in the numerator. I'm currently using the python control systems library; is it possible to input the exponential term with this…
hassam
  • 1
  • 1
0
votes
0 answers

Add time delay in transfer function scipy.signal.TransferFunction Python

This question has been asked for many years on this forum, but I hope there is some modern solution. I need to add a delay to the transfer function in the scipy.signal.TransferFunction module in order to further simulate the step response of the…
APTEMKA
  • 63
  • 2
  • 7
0
votes
0 answers

How to convert a np.meshgrid() function to a complex function?

I'm trying to create a script that plot a 3D magnitude surface graph of a transfer function using python. I used as an example for my code, this other code made for matlab that works. #Example using predefined functions for num and den num = s+8 den…
Sildek
  • 1
  • 1
0
votes
1 answer

Transfer function keeps coming up as empty

clear all close all clc format short eng R1=100; R2=100; R3=500; R4=100; R5=50; C1=1e-6; C2=1e-6; C3=2e-6; syms s Vin Va Vb Vc Vd Ve Vf C1 C2 C3 R1 R2 R3 R4 R5 Vout Zc1=1/(s*C1); Zc2=1/(s*C2); Zc3=1/(s*C3); e(1)=Vin==Va; %KVL Op…
0
votes
1 answer

How to convert a state-space model to transfer function?

Following this question, I am trying to convert the state-space model from this tutorial back into its transfer-function form. I have tried the R = 2.0; % Ohms L = 0.5; % Henrys Km = 0.1; % torque…
Foad S. Farimani
  • 12,396
  • 15
  • 78
  • 193
0
votes
1 answer

MATLAB's ss() state-space model function in Scilab

I am trying to follow this tutorial, implemented function transfer_function = tf(numerator, denominator) transfer_function = syslin('c', poly(numerator, "s", "coeff") / poly(denominator, "s", "coeff")); endfunction // physical constants: R =…
Foad S. Farimani
  • 12,396
  • 15
  • 78
  • 193
0
votes
3 answers

Why can't I implement a PID controller in it's transfer function form in simulink?

I'm trying to better understand PID controllers so I wanted to see if I can implement it in the form of a transfer function, like this: However, when I enter these numbers into the transfer function properties window I get the following error: I…
user1477107
  • 37
  • 1
  • 8