0% found this document useful (0 votes)
56 views6 pages

Poles, Zeros & Time Response Analysis

The document describes experiments simulating poles and zeros of a transfer function and implementing time and frequency responses of a second-order underdamped system. It includes MATLAB code for defining transfer functions, plotting step responses for varying damping ratios, and analyzing frequency response characteristics. Key parameters such as damping ratio and natural frequency are defined, and results are visualized through various plots.

Uploaded by

kvdeepakrao126
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views6 pages

Poles, Zeros & Time Response Analysis

The document describes experiments simulating poles and zeros of a transfer function and implementing time and frequency responses of a second-order underdamped system. It includes MATLAB code for defining transfer functions, plotting step responses for varying damping ratios, and analyzing frequency response characteristics. Key parameters such as damping ratio and natural frequency are defined, and results are visualized through various plots.

Uploaded by

kvdeepakrao126
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

EXPERIMENT NO 3: SIMULATION OF POLES AND ZEROS OF A TRANSFER

FUNCTION.
% Define the transfer function numerator and denominator coefficients
numerator = [1 1 3]; % coefficients of numerator
denominator = [1 2 1]; % coefficients of denominator
% Create a transfer function object
tf_sys = tf(n, d);
% Plot the poles and zeros of the transfer function figure;
pzmap(tf_sys);
title('Poles and Zeros of the Transfer Function');

n = [1 1 3] represents the polynomial. s2 + s+3

d = [1 2 1] represents the polynomial s2 +2 s +1.


EXPERIMENT NO 4: IMPLEMENT TIME RESPONSE SPECIFICATION OF A
SECOND ORDER UNDER DAMPED SYSTEM FOR DIFFERENT DAMPING
FACTORS.

In the above transfer function, the power of 's' is two in the denominator. That is
why the above transfer function is of a second order, and the system is said to
be the second order system

CODE:
e1=0.2;
wn=5;
n1=[wn^2];
d1=[1 2*e1*wn wn^2];
c1=tf(n1,d1);
t=0:0.01:5;
subplot(2,2,1);
step(c1,t);
grid;
e2=0.5;
wn=5;
n2=[wn^2];
d2=[1 2*e2*wn wn^2];
c2=tf(n2,d2);
t=0:0.01:5;
subplot(2,2,2);
step(c2,t);
grid;
e3=0.7;
wn=5;
n3=[wn^2];
d3=[1 2*e3*wn wn^2];
c3=tf(n3,d3);
t=0:0.01:5;
subplot(2,2,3);
step(c3,t);
grid;
e4=0.9;
wn=5;
n4=[wn^2];
d4=[1 2*e3*wn wn^2];
c4=tf(n4,d4);
t=0:0.01:5;
subplot(2,2,4);
step(c4,t);
grid;
figure(2)
step(c1,c2,c3,c4,'r--');
title('comparision of all the under damped responses');
legend({'e1=0.2','e2=0.5','e3=0.7','e4=0.9'});
legend('boxoff');
grid;
Explanation :
1. e1 = 0.2;
o Defines the damping ratio (ζζ) for the first system as 0.20.2.

2. wn = 5;
o Defines the natural frequency (ωnωn) as 5 rad/s5rad/s.

3. n1 = [wn^2];
o Defines the numerator of the transfer function as ωn2=25ωn2=25.
4. d1 = [1 2*e1*wn wn^2];
o Defines the denominator of the transfer function
as [1,2ζωn,ωn2]=[1,2,25][1,2ζωn,ωn2]=[1,2,25].
5. c1 = tf(n1, d1);
o Creates a transfer function object c1 using the numerator (n1) and
denominator (d1).
6. t = 0:0.01:5;
o Defines a time vector t from 00 to 55 seconds with a step size
of 0.010.01.
7. subplot(2, 2, 1);
o Creates a 2x2 grid of subplots and selects the first subplot for
plotting.
8. step(c1, t);
o Computes and plots the step response of the system c1 over the
time vector t.
9. grid;
o Adds a grid to the plot for better visualization.
EXPERIMENT NO 5: IMPLEMENT FREQUENCY RESPONSE OF A SECOND ORDER
SYSTEM.
zeta = 0.1; % damping ratio
omega_n = 10; % natural frequency
omega = logspace(-1, 2, 100);
H = (omega_n^2) ./ (omega.^2 - 2*zeta*omega_n*1i*omega +omega_n^2);
magnitude = abs(H);
phase = angle(H);
subplot(2,1,1);
loglog(omega, magnitude);
xlabel('Frequency (rad/s)');
ylabel('Magnitude');
title('Frequency Response - Magnitude');
grid on;
subplot(2,1,2);
semilogx(omega, rad2deg(phase));
xlabel('Frequency (rad/s)');
ylabel('Phase (degrees)');
title('Frequency Response - Phase');
grid on;

Zeta: Damping ratio. A value of 0.1 indicates an underdamped system (since


ζ<1\zeta < 1ζ<1).
omega_n: Natural frequency, set to 10 rad/s.
logspace(-1, 2, 100) generates 100 logarithmically spaced points from
10^{-1} = 0.1 to 10^2 = 100
This is useful for frequency response analysis over a wide range of frequencies.
abs(H) compute the magnitude (amplitude) of the frequency response.
angle(H) computes the phase in radians.
Subplot (2,1,1) divides the figure into 2 rows and 1 column and selects the first
plot.
loglog () plots both the x-axis and y-axis on a logarithmic scale for magnitude
response.
Grid on adds grid lines for better visualization.
subplot(2,1,2) selects the second plot for phase response.
Semi log () uses a logarithmic scale for the x-axis (frequency) and a linear scale
for the y-axis (phase).
rad2deg() converts phase from radians to degrees for easier interpretation.

Common questions

Powered by AI

The frequency response of a second-order system is determined by evaluating the system's transfer function H(s) at various frequencies. This is accomplished by computing the magnitude and phase of the transfer function over a range of frequencies using logarithmically spaced points. The magnitude indicates how much the amplitude of sinusoidal inputs will be amplified or attenuated at different frequencies, while the phase shows the phase shift introduced by the system. Practically, this analysis helps in designing filters and control systems by identifying resonant frequencies and ensuring stability and desired performance across the operating frequency band. Logarithmic and semilogarithmic plots are often used for better visualization over a wide range of frequencies .

Using logarithmic scales in plotting frequency response has practical applications in visualizing a system's behavior over a wide range of frequencies. Logarithmic scales allow for a more manageable and interpretable representation of frequency data by compressing the vast range of values into a compact form. This aids in identifying trends, such as the bandwidth and resonant frequencies, which are crucial for assessing system performance like stability, resonances, and gain margins in control systems. Logarithmic plots enhance the precision in analyzing how systems react to low and high-frequency inputs and are fundamental in designing applicable filters and controllers .

Different damping ratios affect the frequency response of a second-order system by altering the magnitude and phase characteristics. A lower damping ratio, such as 0.1, leads to a peak in magnitude at the resonant frequency, signifying larger oscillations and a narrower bandwidth. As the damping ratio increases towards 1, this peak diminishes, resulting in reduced oscillations and a broader bandwidth. The phase shift, likewise, varies more rapidly near the resonant frequency in systems with lower damping ratios. These differences are crucial in understanding how systems will respond to sinusoidal inputs and are pivotal in filter and control design to achieve desired performance and robustness .

Plotting the poles and zeros of a transfer function is significant in control system analysis because it helps in understanding the system's stability and transient response characteristics. The location of poles in the s-plane determines the system's stability; poles in the left half-plane indicate a stable system, while those on the right indicate instability. Zeros can affect the shape of the system's response. The pole-zero map provides a visual tool to assess these properties, enabling engineers to make informed decisions regarding system behavior during design and analysis .

The transfer function is critical in analyzing second-order systems as it compactly represents the system dynamics and provides essential insights into system behavior. It encapsulates the relationship between input and output in terms of frequency domain characteristics, allowing for the examination of stability, transient response, and steady-state behavior. Through pole-zero analysis, engineers can predict system responses to different inputs, optimize design for stability, and implement desired performance criteria. Additionally, transfer functions facilitate system analysis using tools like Bode plots, Nyquist plots, and root locus diagrams, which are vital for comprehensive control system design .

A pole-zero map is interpreted by analyzing the placement of poles and zeros on the complex plane. Poles plotted on the left-half indicate stability, as the system response will decay over time, while poles on the right-half indicate potential instability. Zeros affect the system’s transient response, potentially amplifying or attenuating certain frequencies. A pole-zero map can reveal the potential overshoot, stability margins, and resonance characteristics, enabling the evaluation of both transient and steady-state behaviors of the system. Thus, it is an essential tool for assessing and designing systems for specific performance criteria .

The damping ratio (ζ) and natural frequency (ωn) significantly influence the behavior of the time response of a second-order underdamped system. The damping ratio determines the system's oscillatory nature. For instance, with damping ratios of 0.2, 0.5, 0.7, and 0.9, the oscillations and settling times vary, with lower damping ratios resulting in more pronounced oscillations. The natural frequency dictates the speed of these oscillations; a higher natural frequency means that the system responds faster to changes. Therefore, both parameters are crucial in designing systems with desired response characteristics. This behavior was demonstrated in simulations where step responses for varying damping ratios were compared .

In control systems, the natural frequency is a measure of how fast the system can respond to changes. It influences the speed at which oscillations occur following a disturbance and is directly related to the system's time response characteristics, such as rise time and peak time. High natural frequencies imply fast response times, but they may also lead to less stable systems if not adequately damped. Therefore, understanding and adjusting the natural frequency is crucial for achieving a balance between rapid responsiveness and stability, especially in designing and tuning controllers for second-order systems .

Step and frequency response analyses complement each other by providing comprehensive insights into both transient and steady-state behaviors of systems, which are critical for balanced system design. Step response analysis helps in understanding how quickly and accurately a system can achieve settled conditions after a disturbance, indicating transient performance. In contrast, frequency response analysis reveals how the system deals with sustained sinusoidal inputs across various frequencies, highlighting steady-state performance and stability margins. Together, they allow engineers to evaluate and refine systems to satisfy both time-domain specifications and frequency-domain robustness, ensuring optimal performance under different operating conditions .

A step response analysis involves applying a step input to the system and observing the output over time. This process determines how the system reacts to a sudden change, providing critical information about its transient response, including rise time, settling time, and overshoot. The purpose of using a step response is to evaluate the system’s dynamic performance characteristics and compare them against desired specifications. For a second-order underdamped system, varying damping ratios and natural frequencies illustrate differences in transient behavior, such as oscillations and the time taken to reach steady state, providing insights for tuning controllers to achieve desired performance .

You might also like