P. 1
Long Report

|Views: 6|Likes:

See more
See less

07/10/2011

pdf

text

original

# TITLE

Computer aided design
OBJECTIVE
 To analyze and to design a control system using the PERISIK program based on the time
domain analysis method.
 To analyze and to design a control system using the PERISIK program based on the
frequency domain analysis method.

INTRODUCTION
Computer Aided Design (CAD) is the use of computers to assist the design process. CAD
software, or environments, provides the user with input-tools for the purpose of streamlining
design processes; drafting, documentation, and manufacturing processes. Specialized CAD
programs exist for various types of design: architectural, engineering, electronics, roadways, and
woven fabrics to name a few. CAD programs usually allow a structure to be built up from
several re-usable 3-dimensional components, and the components (such as gears) may be able to
move in relation to one another. CAD output is often in the form of electronic files for print or
machining operations. It is normally possible to generate engineering drawings to allow the final
design to be constructed.
Root locus analysis is a graphical method for examining how the roots of a system
change with variation of a certain system parameter, commonly the gain of a feedback system. It
can be used to analyze and design the effect of loop gain upon the system’s transient response
and stability. The graphical of the root locus give us the description of a control system’s
performance that we are looking for and also serve as a powerful quantitative tool that yield
A Bode plot is a graph of the transfer function of a linear, time-invariant system
versus frequency, plotted with a log-frequency axis, to show the system's frequency response. It
is usually a combination of a Bode magnitude plot, expressing the magnitude of the frequency
response gain, and a Bode phase plot, expressing the frequency response phase shift.
A Nichols plot is a plot used in signal processing in which the logarithm of the magnitude
is plotted against the phase of a frequency response on orthogonal axes. This plot combines the
two types of Bode plot — magnitude and phase — on a single graph, with frequency as a
parameter along the curve.
METHOD
EXPERIMENT A

Figure 1

1. Transfer function in figure 1 was simulated using PERISIK program.
2 PERSIK icon was double clicks to access the program.
3. The data of the transfer function was inserted into the PERISIK system.
4. The transfer function was simulated using the program and value K
c
was determined
from the result of simulation.
5. Time response plot was simulated to determine the system unity step response.
6. Value K was determined when damping ration is 0.2 and 0.707.
7. Break point, corresponding gain and third pole were determined.
8. Third pole was determined when damping ratio is 0.707.

EXPERIMENT B

Figure 2
Section A
1. The data of the transfer function was inserted into the PERISIK system.
2. The transfer function was simulated using the program.
3. Gain Margin 0
M
, Phase Margin Bandwidth 1
M
, Peak Frequency æ
p
and Peak Magnitude
H
p
was determined from the program.
4. Nichols chart and bode plot were sketched.
5. Table 2 was completed by using Nichols chart method.

Section B
1. Steady state error function Ɛ
ss
was obtained when input is a ramp function. Ɛ
ss
was
calculated when K=1.
2. Ɛ
ss
was obtained using PERISIK.
3. The existence of Ɛ
ss
was checked with PERISIK when it is step input.

Section C
1. K
c
was calculated in order to have Ɛ
ss
< 0.2 with ramp input.
2. The K
c
value was verified using PERISIK.
3. Ramp Response was sketched
4. Table 3 was completed by using Bode Plot technique and Nichols Chart.

RESULT
Experimental (A)
1. The value of K
c
obtained is 48 while the value obtained manually is 48.

Figure 1: Root locus (using mathlab)

Figure 2: System Unity step response for k=48( using matlab)

Figure 3:Root locus when damping ration = 0.2 (using matlab)
When damping ration is 0.2, gain (k) is 19.54 while the dominant poles is s= -0.41 +1.9j
(using PERISIK)

Figure 4:Root locus when damping ratio=0.707 (using matlab)
When damping ratio is equal to 0.707, the Gain(k) is 4.12 and dominant poles, s=0.77+0.73j
(using PERISIK)

Time Domain Characteristics

ς =0.2 ς =0.707

1.Rise Time (T
r
)

0.6162 2.55
2. Maximum Overshoot Time (T
p
)

1.86 4.52
3. Maximum Overshoot (M
p
)

1.4733 1.0348
4. Settling Time (T
s
)

10.11 5.78

Table 1 Time domain characteristic for ς =0.2 and 0.707

2. The break point is -0.86 and the corresponding gain is 3.08 and the third pole is -4.31
3. The third pole for the system when damping ratio 0.707 is -4.46

Experimental (B)
Section A
Response Criteria Bode plot Nichols chart Average
1. Gain Margin, 0
M
(db) 29.19 29.64 29.415
2. Phase Margin, 1
M
(°) 177.37 177.79 177.58
3. Bandwidth , æ
b
(at-
3dB)
0.37 0.37 0.37
4. Peak
Frequency,æ
p
0.01 0.01 0.01
5. Peak Magnitude, H
p
0 0 0

Table 2: Response criteria for Bode plot, Nicholas Chart and their average

Figure 5: Bode Plot (using matlab)
Section B
From calculation
c
ss
=
1
k
¡

K
¡
= lim
n→∞
S0(S) =
S
S(S +1.S)(S + 7)

K
¡
=
1
(1.S)(7)

c
ss
= 1u.S
From PERISIK Program
c
ss
= 1u.2S
Section C
For the c
ss
less than 0.2 the required K must greater than 52.2.
Let the ess=0.2. Hence the value of K=52.2.
We noted that the c
ss
decreases when the value of the gain increases.

Response Criteria Bode Plot Nichols Chart Average
1. Gain Margin 3.05 2.97 3.01
2. Phase Margin 179.28 178.85 179.07
3. Bandwidth (-3dB) 3.85 3.37 3.61
4. Peak Frequency 2.51 2.48 2.495
5. Peak Magnitude 13.91 13.78 13.845

Table 3: Response Criteria for Bode plot and Nicholas Chart and their average

DISCUSSION
Experiment A
From the results, we noted that when the damping ratio, ξ of the system increases from
ξ=0.2 to ξ=0.707 the rise time of the system increases from 0.6162s to2.55s while the maximum
overshoot time increases from 1.86s to 4.52s. This has shown that the system’s rise time and
maximum overshoot time will increases when damping ratio increases. However, the maximum
overshoot decrease from 1.4733s to 1.0348s and settling time will decreases from 10.11s to 5.78s.
Maximum overshoot and settling time can be obtained from the graphical shown in
PERISIK program. The third pole of the system also can be determined through the program.
Besides that from PERISIK program, breakaway point was determined and which is located at -
0.85 and the corresponding gain was 3.08 and damping ratio ξ=0.707. Hence the located of third
pole was located at -4.46
By calculation:
KGH(s) = -1
4.84=
-1
( KGH(s))

4.84=−s
3
+6s
2
+8s
S=-4.45
.When damping ratio, ξ=0.707, closed loop pole=-0.707+0.73j
−4.46
−u.77
= S.7922
From the calculation, the third pole located 5 times far away with closed loop pole. It has a very
small or negligible effect on the system response.

Experiment B
Gain margin and Phase Margin can be obtained in open loop system while the bandwidth
(-3dB), Peak frequency and peak magnitude were obtained in closed loop system by using
PERISIK.
As shown from the result, data from Bode plot and Nichols chart were almost the same. It
shown that, the response criteria such as Gain margin, Phase Margin, bandwidth (-3dB), Peak
frequency and peak magnitude can be determined through Bode plot and Nichols chart.
The gain and phase margins can be determined by using Bode plots. The gain margin is
found by using the phase plot to find the frequency, where the phase angle is 180°. At this
frequency we look at the magnitude plot to determine the gain margin, which is the gain required
to raise the magnitude curve to 0dB.
The phase margin is found by using the magnitude curve to find the frequency, where
the gain is 0dB. On the phase curve at that frequency, the phase margin is the difference between
the phase value and 180°
Besides, simulated steady state error has some deviation from calculated steady state
error because of the scale. Scaling may result steady state error obtained to be not accurate.
Furthermore, there is no steady state error for step input. The PERISIK show no steady state
error for a unity step input.
The system will oscillate a period of time before it reach steady state. The system is not
stable during the transient state. After it reach steady state, the system is stable.

Conclusion
In conclusion, the objectives have been achieved. For the time domain analysis, the
system is third order system .All the poles are located on the left hand plane of the root locus and
therefore it is consider as a stable system. The rise time and settling time will determine the
performance of the system. Since the third pole located 5 times further from the dominant poles,
it has negligible effect on the response.
For the frequency domain analysis, the Gain Margin and Phase Margin can be obtained
from the Bode plot and Nichols chart in open loop system. Peak magnitude, peak frequency and
bandwidth can be obtained through Bode plot and Nichols chart.

REFERENCE
1. Computer aided design lab sheet
2. Norman S.Nise (2008). Control system Engineering

provides the user with input-tools for the purpose of streamlining design processes. documentation. CAD software.TITLE Computer aided design OBJECTIVE  To analyze and to design a control system using the PERISIK program based on the time domain analysis method. It is normally possible to generate engineering drawings to allow the final design to be constructed. roadways. It can be used to analyze and design the effect of loop gain upon the system’s transient response and stability. electronics. and the components (such as gears) may be able to move in relation to one another. drafting.  To analyze and to design a control system using the PERISIK program based on the frequency domain analysis method. Root locus analysis is a graphical method for examining how the roots of a system change with variation of a certain system parameter. or environments. engineering. and woven fabrics to name a few. Specialized CAD programs exist for various types of design: architectural. CAD output is often in the form of electronic files for print or machining operations. The graphical of the root locus give us the description of a control system’s . CAD programs usually allow a structure to be built up from several re-usable 3-dimensional components. INTRODUCTION Computer Aided Design (CAD) is the use of computers to assist the design process. commonly the gain of a feedback system. and manufacturing processes.

and a Bode phase plot. time-invariant system versus frequency. to show the system's frequency response. It is usually a combination of a Bode magnitude plot. A Bode plot is a graph of the transfer function of a linear. . with frequency as a parameter along the curve. expressing the frequency response phase shift.performance that we are looking for and also serve as a powerful quantitative tool that yield more information then mathematics method. plotted with a log-frequency axis. expressing the magnitude of the frequency response gain. This plot combines the two types of Bode plot — magnitude and phase — on a single graph. A Nichols plot is a plot used in signal processing in which the logarithm of the magnitude is plotted against the phase of a frequency response on orthogonal axes.

corresponding gain and third pole were determined. Break point. Third pole was determined when damping ratio is 0. 7. 6. Transfer function in figure 1 was simulated using PERISIK program.707.METHOD EXPERIMENT A Figure 1 1. 3.707. Value K was determined when damping ration is 0. was determined . Time response plot was simulated to determine the system unity step response. The data of the transfer function was inserted into the PERISIK system. 8. 5. 2 PERSIK icon was double clicks to access the program. The transfer function was simulated using the program and value from the result of simulation. 4.2 and 0.

The transfer function was simulated using the program. 4. 2. The existence of Ɛ was checked with PERISIK when it is step input. The data of the transfer function was inserted into the PERISIK system. Nichols chart and bode plot were sketched. 2. Steady state error function Ɛ was obtained when input is a ramp function. Ɛ was obtained using PERISIK. Peak Frequency and Peak Magnitude was determined from the program. 3. Phase Margin Bandwidth . Table 2 was completed by using Nichols chart method. Ɛ was calculated when K=1. 5. 3. .EXPERIMENT B Figure 2 Section A 1. Gain Margin . Section B 1.

RESULT Experimental (A) 1. Ramp Response was sketched 4.2 with ramp input. Table 3 was completed by using Bode Plot technique and Nichols Chart. The 3. 2. The value of obtained is 48 while the value obtained manually is 48. Figure 1: Root locus (using mathlab) .Section C 1. value was verified using PERISIK. was calculated in order to have Ɛ < 0.

gain (k) is 19.41 +1.54 while the dominant poles is s= -0.Figure 2: System Unity step response for k=48( using matlab) Figure 3:Root locus when damping ration = 0.2 (using matlab) When damping ration is 0.9j (using PERISIK) .2.

707. the Gain(k) is 4. s=0.77+0.12 and dominant poles.73j (using PERISIK) .707 (using matlab) When damping ratio is equal to 0.Figure 4:Root locus when damping ratio=0.

11 5.52 3. Settling Time (Ts) 10.08 and the third pole is -4.2 ς =0.707 1. Maximum Overshoot Time (Tp) 1.78 Table 1 Time domain characteristic for ς =0.707 2.86 4.2 and 0. The break point is -0.Time Domain Characteristics ς =0.Rise Time (Tr) 0.4733 1.707 is -4. The third pole for the system when damping ratio 0. Maximum Overshoot (Mp) 1.46 .0348 4.55 2.6162 2.31 3.86 and the corresponding gain is 3.

37 0. 3dB) 4. Peak Magnitude. Gain Margin.01 0.415 177. Nicholas Chart and their average . Bandwidth . Phase Margin.79 0.37 Average 29.37 5.37 Nichols chart 29.01 0.Experimental (B) Section A Response Criteria 1. Peak Frequency. (rad/s) 0 0 0 0.58 0.19 177.64 177. Table 2: Response criteria for Bode plot.01 (db) (°) (atBode plot 29. 2. 3.

5 From PERISIK Program = 10.Figure 5: Bode Plot (using matlab) Section B From calculation = 1 = lim →∞ ( )= ( + 1.25 .5)( + 7) = 1 (1.5)(7) = 10.

845 Table 3: Response Criteria for Bode plot and Nicholas Chart and their average .Section C For the less than 0. Hence the value of K=52.495 13.2 the required K must greater than 52.07 3.37 2.2.51 13. Let the ess=0.01 179. Peak Magnitude Bode Plot 3. Bandwidth (-3dB) 4. Peak Frequency 5.05 179.48 13.61 2.85 2.85 3. Response Criteria 1.2. We noted that the decreases when the value of the gain increases.28 3. Gain Margin 2.91 Nichols Chart 2.78 Average 3.97 178.2. Phase Margin 3.

Maximum overshoot and settling time can be obtained from the graphical shown in PERISIK program. ξ=0.6162s to2. closed loop pole=-0.7922 −0. breakaway point was determined and which is located at 0. we noted that when the damping ratio.DISCUSSION Experiment A From the results.52s.4733s to 1. However. It has a very small or negligible effect on the system response. the third pole located 5 times far away with closed loop pole.0348s and settling time will decreases from 10.707 the rise time of the system increases from 0.77 From the calculation.46 By calculation: KGH(s) = -1 4.46 = 5.84=( ( )) 4. .08 and damping ratio ξ=0. Hence the located of third pole was located at -4. Besides that from PERISIK program.73j −4.707.11s to 5. the maximum overshoot decrease from 1.45 .85 and the corresponding gain was 3.707+0.2 to ξ=0. This has shown that the system’s rise time and maximum overshoot time will increases when damping ratio increases.84=− +6 +8s S=-4. ξ of the system increases from ξ=0. The third pole of the system also can be determined through the program.78s.86s to 4.707.When damping ratio.55s while the maximum overshoot time increases from 1.

where the gain is 0dB. the system is stable. At this frequency we look at the magnitude plot to determine the gain margin. The system will oscillate a period of time before it reach steady state. . It shown that. which is the gain required to raise the magnitude curve to 0dB. simulated steady state error has some deviation from calculated steady state error because of the scale. data from Bode plot and Nichols chart were almost the same. Peak frequency and peak magnitude can be determined through Bode plot and Nichols chart. bandwidth (-3dB). the response criteria such as Gain margin. the phase margin is the difference between the phase value and 180° Besides. Peak frequency and peak magnitude were obtained in closed loop system by using PERISIK. The phase margin is found by using the magnitude curve to find the frequency. The PERISIK show no steady state error for a unity step input. Scaling may result steady state error obtained to be not accurate. Furthermore.Experiment B Gain margin and Phase Margin can be obtained in open loop system while the bandwidth (-3dB). The gain and phase margins can be determined by using Bode plots. After it reach steady state. The gain margin is found by using the phase plot to find the frequency. Phase Margin. where the phase angle is 180°. As shown from the result. there is no steady state error for step input. On the phase curve at that frequency. The system is not stable during the transient state.

REFERENCE 1. the system is third order system .Conclusion In conclusion. Norman S. peak frequency and bandwidth can be obtained through Bode plot and Nichols chart. it has negligible effect on the response.All the poles are located on the left hand plane of the root locus and therefore it is consider as a stable system.Nise (2008). the Gain Margin and Phase Margin can be obtained from the Bode plot and Nichols chart in open loop system. For the time domain analysis. Control system Engineering . the objectives have been achieved. Since the third pole located 5 times further from the dominant poles. The rise time and settling time will determine the performance of the system. Computer aided design lab sheet 2. For the frequency domain analysis. Peak magnitude.

scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->