How to Find a New Output When the Input Changes
At a glance
- 1. Find the transfer function
Use the system’s differential equation and assume zero initial conditions to obtain G(s) = Y(s)/U(s).
- 2. Transform the new input
Find the Laplace transform U₂(s) of the replacement input.
- 3. Multiply in the s-domain
Calculate Y₂(s) = G(s)U₂(s) for the zero-state response.
- 4. Invert and check
Take the inverse Laplace transform and include any nonzero-initial-condition response if needed.
A transfer function describes how a linear time-invariant system responds to an input. Once you know the transfer function, you can calculate the output for a different input without solving the system’s differential equation from scratch.
The standard relation is , where is the input’s Laplace transform, is the output’s Laplace transform, and is the transfer function. This relation gives the zero-state response: the part caused by the input when the system starts with zero initial conditions.
The method
First obtain the transfer function from the system model. For a differential equation with constant coefficients, take the Laplace transform and set the initial conditions to zero. Rearrange the result to isolate the ratio :
Next, find the Laplace transform of the new input and multiply it by the transfer function:
Finally, invert the result to get the time-domain output . Use partial fractions or a table of Laplace transforms when needed.
If you already know the output for an old input, you can also use the transfer function to find the new output. You generally cannot determine it from the old output alone: you also need the system model or transfer function and the new input.
Worked example
Consider a first-order system described by
with zero initial condition. Taking the Laplace transform gives
so its transfer function is
Suppose the input is changed to for . Its Laplace transform is . Therefore,
Taking the inverse Laplace transform gives
The output starts at zero, as required by the initial condition, and then decays toward zero. The response has two exponential terms because the input and the system each contribute a pole to the product in the Laplace domain.
For comparison, if the input had remained a unit step, then and the output would be
which gives . The transfer function is the same in both cases; only the input transform changes.
If you know the old output
For zero initial conditions, if the old input was and its output was , then . If you know and have the new input , use . When is nonzero and the ratio is well-defined, you may also write . In practice, using the transfer function directly is usually clearer and avoids dividing by a transform that may have zeros.
What changes with nonzero initial conditions?
The transfer-function formula assumes zero initial conditions. For example, with the same equation but initial value , the transformed equation is
so
The first term is the response to the input; the second is the natural response from the initial stored state. If the initial condition is unchanged when you replace one input with another, this natural-response term remains in the output. For higher-order systems, each initial value contributes terms in the transformed differential equation.
Common mistakes
- Using an old output as if it were the transfer function. The transfer function is the ratio of output to input transforms under zero initial conditions; an output by itself does not describe the system.
- Ignoring initial conditions. Multiplying by the new input gives the zero-state response, not necessarily the full response when the system starts with nonzero state.
- Changing the model as well as the input. The simple substitution applies when the system itself stays the same and is linear and time-invariant. If parameters change, recalculate .
- Forgetting to invert the transform. is an output in the Laplace domain; the requested time-domain signal is .
- Assuming every system is linear and time-invariant. For a nonlinear or time-varying system, one fixed transfer function generally does not describe the input-output relation.
References
- Modern Control Engineering, Katsuhiko Ogata
- Linear Systems, Thomas Kailath
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.