Sei sulla pagina 1di 61

Unive rs ity of Tec hn ology

Depart ment orE lectrical E nginecrin g


Te rm Examinalion 20 12-2013
Class: PHD couc;e.
Time: 80 minlile
Dale: 23-5- 20 13

S,l hiC(;I: Ar/vlm ced control


Divi.o;ioll : A LL

Examill er: Dr. Ahdu/Rhim


Attempt ALL q uestions

/.

----------~~==--------~

5
G(s) =-'---s(s+ l)
(A) Design a PID con tro ller to meet the specifi cation of first order system with time

Q I: r or the conlrol system described by

constant equal to

(QJ) second

,...,--

(G(s )

0.2s + I )

( B) Sketch .the output response of contro lled sys tem

"

[15 Marks)
[5 Marks]

Q2: For th e type zero system described by the foll owing state space eq uations

X']
[ x,

= [

- b

- a

][ xx,]+
[O
]u
,
k

(A) Design ga in scheduling regul ator to meet the performance of damping rat io
(~=0" 5), un -damped natura l frequ ency (00 ,,=5) and zero steady state error when the
valu es of 3 , b and k are changed with time according to th e table below
120 Marks l

k
5
6

b
2
3

( B0w' ite Simu link program for gai n schedu ling system [1 5 Marks]
(C;

~~h the OUlput response o f the contro lled system

Q3: Fo r th e

sy s~m

of the transfer fu ncti on

yes)

[5 Marks]

4
s' +4s+3

-=---cc---

,U (s )

(A) Des ign a perfect model foll owing fo r the adaptive model re ference system 10
obtain the response of damp ing ralio (~=0"5 ) and un-damped natural frequency
(00"=3)
[20 Marks]
(B) Des ign Ihe adaptation mechani sm for the T polynom ial

[1 0 Marks)

(C) Write Simu li nk program for the perfect mode l following with adaptation
mechani sm ofT po lynomia l [1 0 Marks)

,"

"

University of Technology
Department of E lectrical Engineering
Final Examination 2012-2013
Subject: Adv(lnced colltrol
Class: PHD course
Division: ALL
Time: 3 II0 llr
Examiner: Dr. Abtllll-Rltim T. Irumod
Date: 20 -6- 2013
Atteml}t ALL questions

Ql: (A) Compare between gain schedule and model reference adaptive system. [10 Marks]

G(s) =

Design a PlD
(s + 2)(s + 0.5)
controller to meet the specification offtrst order system with time constant equal
to (0.6) second then sketch the output response of controlled system. [10 Marks]

(B) For the control system described by

Q2: For the type one system described by the following state space eq uations

x,

o
o
o

x,

x2 + 0

-C 2

-c,

x,

y = [\

o 0]

x2

(A) Design gai n scheduling regu lator to meet the performance of damping ratio (1;=0.7),
un-damped natural frequency (00,=10) and zero steady state e'Tor when the values
of C" C, and k are changed with time according to the tab le below.
[1 2 Marks]
Time (sec)

0
30
70

C,
I
2

C2
3
2
3

(B) Write Simulink program for gain scheduling system.


(C) Sketch the output response of the contro lled system .

(1-2)

5
4

[6 Marks]
[2 Marks]

2-0 -

G- 2...0 I J

Q3: Answer one of the following


(A) For the system

0r

he transfer function

5
G(s) ~ (s + 2)(s + 0.5)

( I) Design a perfect model following for the adaptive model reference system to
obtain the response of first order system with time constant equal to (0.6) second
I
[8 Marks]
(G(s) ~ 0,6s + I)' then sketch the output.

(2) Design the adI ptalion mechanism part using gradient method,

[6 Marks]

(3) Write Simulink program for the perfect model following with adaptation
mechanism oj R polynomial. [6 Marks]
5
(B) For the system of It he transfer function
G(s) ~ (s + 2)(s + 0,5)
(I) Design a perfect model following for the adaptive model reference system to
obtain the response of damping ratio (~~0.6), undamped natural frequency
I
(0l"~2) and zero steady state error, then sketch the output.
[8 Marks]
(2) Design the adaptation mechanism part using gradient method,

[6 Marks]

(3) Write Simulink program for the perfect model foHowing with adaptation
mechanism of R polynomial. [6 Marks]

Q4: Solve the Dreyfuse rocket problem using the second order algorithm for Differential
Dynamic Programming (DDF),

The problem is to launch a rocket in a fixed time

to a given altitude (x,) and with the given final vertical velocity component (x,) and
maximum final horizontal velocity component (x,), Assume that:
range, k is the thrusting acceleration (k ~ 30 m/sec'),
(m/sec') and

II

X,

is the horizontal

g is the gravity acceleration

is the inclination of the thrust to the horizontal (rad,), It is required to

choose u(I); I E [I. , IfI to maximize x, (lf) , subj ect to the constraints that
x,(l f) ~ 40000 m and x, ~ 0 m/sec.

The initial time I. is ~iven as zero and If is 90 sec.

[20 Marks]

Note: Instead of writing a computer program, you can list the computational procedure,

(2-2)

Some important equations

= H-H(x II, Vx ; /)

-II

~ -,

- Vx = fI x + VxAI - I(x, II, I~

-Vb

Vx~(f-/1X'II;/'l-fl/1l"OO

- Vxb = (fx
,

- Vbb

= '-

+ fli T H"00

l'

+ fil lI" ) Vxl,


T

l'

Vxbiull[;/ fu V"(b

- Vxx = Hxx

,.I

+ Ix !"XX + Vxxlx -

(If""

+/,

- I

'

Vu ) H"" (H"x

+/" Vxx )

a (Ie)

= 0

VxCle) = F,(,t(te); Ie)

+ if;/C'(tr);

Ir)[j

Vb (t r) = if;(x(t r); Ir)

Vxb(tr) = if;,/05Z(t r); Ie)


I

VbbCtr) = 0
Vx,,(tr) = Fxx(x(t e); Ir)

+ VVl"J,'t(t r); Ir)

9-.0-6-2011

Q!

120 -

b - 2-0 13

CdS) :::

prD

- z
(S T 2)( S-t-oS) S 1"2.5$+1

1 J j- anie"v-

(6)ffrcrl(er--

c (t:)

--

o G;; -rJ

&dt)
(

h1.::

0-6

V --

p
I=

= 1 . (7-

WI

--

I<

,.,
K

--

it1

--

r:::o 6J~

--

f<='7

(Ct/S- -- (J31

--

;;

.5

- -- () . 8.2 5"

2 .'>X! (,':/~

t. 6

tJ

"t -

C) 3J

1. . 6 f

S' + 1. 61-

."...,. - -

.....

University of Technology
Department of Electrical Engineeri ng
Term Examination 2013-2014

Jf.:t
~
,~, --',.,;

Subject: Aflv(fltcetl colttrol


Division: ALL
Examiner: Dr. Ahllu/-Rahim T. II.

QI : For the control syste m described by

Ot,s.\': PHD course

Time: 75 mi"ute
Dale: 14-5- 201'1

5
s' +3s +2)

G( s) = ,--~--:-:

(A) Design a PID controll er of trans fer function (GCs) = P + I

+-;+ D S

to

mect the speci fication of first order system with ti me constant equal to (0.5)
second.
[1 5 Marks]
[5 Marks]
(B) Sketch th e output respo nse of contro lled system .
(C) Draw the simulik program for th e controlled system. [10 Marks]
Q2: For the type zero system described by th e fo llowing state space equ ations

(A) Des ign ga in sched ul ing regu lator to meet the perfo rmance o f damp ing rati o
(~= 0.5 ), un-damped natura l freq uency (",,=5) an d zero steady state error whcn the
va lues of C C, and k are changed with time acco rdin g 10 th e table below.
"
[25 Marks]

I Time

Ond
)

C,

C,

5
6

( B) Write Simul ink program fo r gai n schedu li ng system (1 5 Marks]


(C) Sketch the output response of the controll ed system

Q3: For the system o f the transfer function

G(s) =

[5 Marks]

s+ 4
s'+ 2s+3

(A) Design a perfect model fo llowi ng lo r the adapti ve model reference system to
meet the specification of first order system with time constant equa l to (0. 7)

second.

[20 Marks]

(B) Design th e adaptati on mechanism part usin g grad icnt method.

[20 Marks]

(C) Writ e Simul in k program for th e pcrfect model following with adaptat ion
mech anism of T pol ynomial. [1 5 Mark s l

=P-t-i -f -T5"
.J) e.:s iy-.J.::
I
GU)

-t

( PID)

DS

a.'g'-+ 1

,..-

PID

~-

D S'L ...tC,f-t-l)S+
$

/ -+
--

L{

pl~~t

1 ~

'5 ( D5+( P-t-0S"+"I)

...

S2 +35-1'2

s t....r ( P+ I) ~' +. I)
5:J-r '3S" '2-t 2 f;

t5 ( 0

'j

~--

--

5=

[~J

-1

C, 1- KK,

S+ Cz.+ J<:Kz

-1

::: s'ls-tC Z -t- KKz )+(C,+Kk',),1+Kk';


:::: S5-t(c 2 -t

l<'!<t)S2-tC CJf !<V,-r)(J<i

-to etu.aie -K: ranKf {I.e. plant w ;~ -f(-c


Je.fireg
Sv.d

Ii>

a Y/CJil-doYl?,nqrd fd1e LV ,'/;( be qo(J,eJ

as

ch..

(5+20)= 0

e.;' -j -Ii ~

hew'

cI~s/rJ

(s + 2-0) (S2+-q-S-t-2'i) =.: "


Sf--t- 5 s Z--t- 2S- f+ 20 S'+I()O$-r'OO=::'

iJ

S:t-r 2-sS 2 t- 12)).s +- C;oa.::: (5


.5:I _A-r 8./< ).:= :; ~ 2. S S21- I 2 S- ~ + 5 a d
(
: _ Cz-t-

K Kz.

=:'

2<)

CI+~v k'1~- JZ)

> )<'2.

-: 1>

1<,

25 - C 1-

=-

C,
=- --~
121; -

-::.-

)(

14-6"-20 14

University of Technology
Department of Electrical Enginccring
Final Examination 2013-2014
Subject: Advance Control Theory
Class: MSC Course

Divisions: Power& Electronic Engineering


Examiner: Dr. Abdul-Rahim T. lIumod

Ql: Answer one of the following.


(A) For the plant defined by

Time: 3 lIours
Date:

[20 marks]
I

Design a PID controller using


s(s +7s+ 10)
Ziegler-Nichols tuning method and then implement simulink program for the
controlled system.
5
(B) For the plant described by G(s) = 2
25 . Design a PID controller to meet the
s +s+
specification of first order system with time constant equal to (0.7) second, then
implement simulink program for the controlled system and sketch the output response
of controlled system.
:
\< f)
= ~;:
l. '/.0.. s~.:_~~
G(s ) =

=:. "'-..

V-.-p (, ..;-

\Lo ', ,

s+ 6
+ 4s + 3)
Design a servo controller using state feedback technique to satisfy tbe response of
damping ratio (~=0.6) , natural frequency (0), =5) and zero steady state error for step
[20 marks]
input and then implement simulink prog~am for the controlled system.

Q2 : For the system defined by

G(s ) =

S ( S2

Q3 : For unity feedback control system of open loop transfer function

2
G(s) = - -s(s + 2';-)

determine the value of damping ratio ( I?O ) so that the system when subj ected to a
unit-step function the foll owing performance index is minimized
00

( e 2 + 2 e)dt , where e is the enm signal (error = input signal - output signal).
o
The system is assumed at rest initially. [20 marks]
'" c,
\, \

J =

.,

~4,~ ~~L thesystem [::J=[~ ~][;:J+[~} .

y =

[I

0]

[::J

(A) Design full order observef', and then impl ement simulink program for the system.
[10 marks]

(B) Find the discrete time matrices for sampling interval T=O. I second, when the
-' f; -:- system is dri ven by a zero order hold and followed by an out put sampler.
(../ ,
[lOmarks]

-.

......,.-- ....

Un iversity of Technology
Department of Electrica l Engineering
Fina l Examinatio n 2013-2014

W..
'--~,- /

Subject: Afl vollced colllrol


Divi.~io,,: ALL
Exam in er : Dr. Abdul-Rlli", T. IIIIft/o(1

Tim e: 3 Iwur
Dale:

Attempt ALL Questions

C(s) = s' + 7s'

QI: (A) the plant defin ed by

~ 24s + 16

Design a PID controller using

Zieg lcr-Nichols tuning method and then implement s imu link program for the
contro ll ed system.
112 marksl
t 2- L

.
C( ) _
6000
(8) I'or the plant described by
s - (s + I OOO)(s ' + 2s + 8) . Design a PID co ntrollerto
meet approx imately th e specification of fi rst order system wi th time constant equ a l to
(0.4 ) second, then implement simu link program for th e co ntroll ed system and sketch
the outp ut respo nse of controll ed system.
110 marks l

Q2: For the type one system described by the follow in g state space equati ons

x,

x,
x}

-c

x,

X,

x2 + 0 u
- 2 x}
k
1

[I

0]

x,
X3

(A) Des ign ga in sched uling regulator to meet the perfo rm ance of damping rali o (~=O.8),
un-d amped natura l frequ ency (On=6) and zero steady state error when th e va lues o j' C
and k are changed with tim e accordi ng to th e tab le below.
11 2 ma rks l
Time (sec)

0
10

2
2.5

20

4
5
6

(8) Draw Simulink program fo r gai n schedul ing system.


(C) Sketch thc output response of the controll ed system.

(1 -2)

18 ma r ksl
12 marksl

Q3: For the system of th e transfer fu nct ion

G(s) =

3+4
(s + 2)(s + 0.5)

(A) Des ign a perfect mode l follow ing for th e adapti ve mode l re ference system to
o btai n the response of seco nd o rder system w ith damping rati o ( ~=O.S) an d lI n18 marksl
damped natural fre qu ency (OJ" =4) rad/second.
(8) Design the adaptation mechani sm part usin g grad ient method.

16 marksl

(C) Draw Sim ulink program for the perfect mod el fo llow in g w ith ad aptati o n
mechani sm o f R po lynomi a l. 16 marksl
( D) Sketch the output respo nse fo r step comm and input. 12 marks l

Q4: List the co mputational procedure fo r so lving the Dreyfuse rocket pro blem. T he prob lem is
to lau nch a roc ket in a fi xed time to a given altitude (X 2), fin al verti ca l ve locity co mponcl11

(x.d an d maxi mum /i nal hori zo ntal veloc ity com ponent ( xJ). Assume th at:

XI is th e
2

horil..ontal range, a(t) is th e thru stin g acce lerat ion, g is the grav ity acce lerati on ( m/ sec )

and 0 is th e in clin ati on of th e thrust to the hori zonta l (rad. ). It is required to choose
OCt); t E It". trl to max imize xJ(t r) , s ubj ect to the constrai nts that . , (t,) = h (m ) and
X~(1f)=O (m/ sec). W here t(l and tf are the ini tial and tinal tim e respecti ve ly.

(2-2)

\14

marks l

,t}f"'"-:

University of Technology
Department of E lectrical Enginee rin g
Final Course Examination

~,."''''''' ~
- ,

................

--Subj ect: Advanced Intelligent Systems

Examiner : Ass ist. Prof. Dr. Ha nan A. R. Akkar

Class: PhD (Power, Communication, Electronics)

T ime: 3 Hours
Date: 16 /6/ 2013

Attempt Five Questions Only

Q.,L A) Define the following: I) Axon


2) Dendrites
3) Synapses
4) Action potential
B) Give a bri efllistory of neural networks as a combination of progress in experimental
work with biological neural systems, computer modeling of biological neural systems,
and development of mathematical models with their applications to problems in a wide
variety of fie lds, and hardware implementation of these models.
C) Construct a multilayer net with two hidden units which leams 'binary inputs pattems
() 2 \':/- from your choice. The first hidden unit will have its weights equal to the input pattern
and its threshold equal to the number of Ones in the input pattem. The second hidden
f"f? 'N unit is designed so that it will fire if its net input is less than or equal to the number of
Ones in a given pattern, Combine the output from these two hidden units so that the
output uni t will fire ifboth hidden units are "ON".

Qd A) Perform one training step for a single neuron network using the perceptron learning
rule. Train the network by using log-sigmoid activation function and the following
data pairs:-

Where A = 0.5, C= 0.5 and the initial weights are wi = [2 0.5 _1]1.
B) The Hopfield Model which consists of three neurons. The weight matrix of the network
IS:-

[-:2

~o:

-:2]

With three neurons in the network, there are 23 possible patterns to consider as
following:-1 -1 -I , -1 -I + 1, -I + 1 -1 , -I +1 + 1, +1 -1 -1 , + 1 -I + 1, + 1 + 1 -1 , + 1 + 1 + 1
Find the storage patterns.
C) The MAXNET (output layer of Hamming Net) with four output nodes p=4, receives the
input vector: - [0.5 0.6 0.7 0.8], Find the value of" that would be required to
suppress the output of the weakest node exactly to the zero value after the first training.

(1-5)

ill A) Find the new weights using back-propagation when the net sh own below is presented
the input pattern (-1 1-1) and the desired output is -I. Use a learning rate of 0.1 and
tan-sigmoid activation function. The bias is set to 1,;( = 1 and momentum rate is 0.5.
bias
0.1

bias

0.2

Xl

0.2
0.1

1
O- y

2
X2
0.1
bias
X3
B) Implement ADALINE network to describe the Boolean function X = A . ]j. T he
learning rate is 0. 1 and initial weights are -0. 12. 0.4 and 0.65. The bias value is I.
F ind the weights after first epoch to perform the function .
Note:-Use bipolar neuron (inputs, output and activation function)

lli A) Given a Kohonen Self-Organizing Map with weights as shown in the fo llowing
diagram, use the square of the Euclidean distance to find the cluster unit C, that
is closest to the input vector ( 0.5 0.5). Using a learning rate of 0.1, fi nd the new
weights for unit C,. If units C ,., and C
are also allowed to learn the input
pattern, find their new weights.
rye 4. 2
Q "f .1...
,....,..

,+,

---

'5

R~~~~
0.3

0.7 0.6

0.9 ' 0.1

0.5 0.4

(2-5)

0.3 0.8

0.2

f!p.

_.

B) Consider an L VQ net with two input units and four target


classes: Cl, C2, C3, and
C4. There are 16 class ification units, with weight vectors indicated by the coordinates
on the following chart, read in row-column order. For exampl e, the unit with weight
vector (0.2 ,0.4) is assigned to represent Class 3, and the classification units for Class I
have initial weight vectors of (0.2, 0.2), (0.2, 0.6), (0.6, 0.8), and (0.6, 0.4).

(Q J(~) (.p
F IA.~ j"wOA1fo1r

X,
1.0
0. 8
0.6
0.4
0.2
0.0

C3
Cl
C3
CI

C4
C2
C4
C2

CI
C3
CI
C3

C2
C4
C2
C4

0.0 0.2 0.4 0.6 0.8 1.0 XI


Using the square of the Euclidean distance, determine the changes which occur as you do
the follow ing :
a. Present an input vector of (0.25, 0.25) representing Class l. Using a learning rate of 0.5,
show which classification unit moves where (i.e., determine its new weight vector).
b . Present an input vector of (0.4, 0.35) representing Class 1. What happens?
c. Instead of presenting the second vector as in part b, present the vector (0.4, 0.45). What
happens?
d. Suppose the training inputs are drawn from the following regions:

Class 1 0,0:'5 XI < 0.5 0.0 :'5 X2 < 0.5


Class 2 0.5 <: XI -< 1.0 0.0 :'5 X2 < 0.5
Class 3 0.0 <: XI < 0.5 0.5 :'5 X2 :'5 1.0
Class 4 0.5

:'5 X I :'5

1.0

0.5

:$ X2 :'5

1.0.

From a short-term point of view, which of the second vectors presented (0.4, 0. 35) in part
bar (0.4, 0.45) in palt c-has a better effect in moving the classification uni ts toward their
desired positions to represent the input data?

0.5 A) Draw a F lowchart which explains the general structure of the genetic algorithm.
B) Apply the Genetic Algorith m to train the patterns that defines AND NOT logic
function to the following neural network:-

Xl
X2 _~.O~_'_V_
2

____

-.

-+. ~" y

.' Where the traini ng patterns are:-

X,

X2

-1
-1
1
1

-1
1
-1
1

b
1

Y
-1

1
1
1

-1
1

-1

The initial strings are:-

I 2 I 1 I -2 I
I 1 I -2 I -2
I2 I1 I 3
I -2 I -2 I -2 I
Use single point crossover, Rou lette wheel selection method and Neural net MSE=O.

ill A) List the properties of classical set operations of fuzzy logic.


B) Fill the table below for the following classical relations:-

U = {4, 6, 8}
I

fi R

=( 0.5

0.9

1
>\
4

x=y
Ix- YI= 2
Ix- YI=4
4

1-

0 "

o .,

0" 01
i

o '?

0"

/5 - 6 .,..201J

C) Design a Fuzzy controller to control the speed of a motor by changing the input voltage.
When a set point is defined, if for some reason, the motor runs faster, we need to slow it
do wn by reducing the input voltage. If the motor slows below the set point, the input
voltage must be increased so that the motor speed reaches the set point.
Let the input status words are:

Too slow
About right
Too fast
Let the output action words are:
Less voltage (Slow down)
No change
More voltage (Speed lip)
Define the rulebase:
1) If the motor is running too slow, then more voltage.
2) If the motor speed is about right, then no change.
3) If the motor speed is too fast, then less voltage.
Define the membership functions for inputs and output variable as shown in figure below

-- ---- --- --.


if tool4~ t

.sIO'N d CJll1 Il

<:; n

- - - - - _._--

___ _

'::i ..... -

]
]
;;

.2

- . -- --- If;lOOUt

nol much

ri gh~

1!. ,

Ilght

~ ll n\rut

cllanOe!

Gon t c~ngo

- -- _. -- - ,
,,
il lO(1 Slow, ,
,

E. - - ' " - - - - - - - - - - - - - - - -

;7"~'

~lIeed

~i <: - - - - - - - - - - - - - - - - - - - - -

, 0
{100%

UP

moeh

,,,
,,
,,
,
,

,
,
,,,
:

_-. ,'.

~bOUl

_--,-:.too-- _1\'- _~ ri51~


I

:, '7
'(1(
,
,

,
,,
,

,,,

_____ - --',

i~

- - -:- --

--

,,
- - - -- - --',
,

,
,
,

,
,
,

~~~~2~~2f-~~ofL~,~~~gO
S~gd .

RPM

5Pe ~ci-R
(5-5)

PM
(b -6 _lOI,:{

(jj)

~~~~~-----------===

.'.,

Qd A) Apply the Hopfield and H amming net algorithm to an exemplar pattern of your own
choice. Consider the limitations of the application of these algorithms to the patterns
you have chosen.
B) Consider an ART! neural net with Fl four units and F2 three units. After some
training the weights are as follows:Bottom-up weights bij

Top-down

0.67

0.2

0.67

0.2

o
o

0.2

0.67

0.2

weig[~s t~ ~ ~l

111 1
Determine the new weight matrices after the vector (0 0 1 I) is presented if p=O. 7.
I
('>-...,J.l ..J S~..,..... .~
ill A) Compare between ge netic algorithm and PSO. How ANN applied in both?
B) Find the minimum of f(x) =4x' using genetic algorithm, whe re:- .
'><-

- Tne rangeofx-1T-;TSr-'

.- - - -- - ---

The population size = 4


The s~ing length 1= 4 bits
Crossover type = one point crossover Pc= 100%
Se lection method = Roulette wheel.
The strinrS are:-

1 0 _ 1 1 10
"

'-.

Q,Q A) Explain the concept of fuzziness as said by Lotfi A. Zadeh.


B) Descr ibe in detail about fuzzy system with basic configuration.
C) What is a membe rship function?
State the feature s of membershi p functions.
What are the various methods employed for the membership value assignment?

... H l t ' .... I " I I }

VI

J. .... .... UIlV I Vt;J

Departlnenl of Electrical Engineering


---=Second Attempt Exam in atio n

Clnll: PhD (Power, Comm unication, Electronics)

Exa min er: Assist. Prof. Or. Hanan A. R. Akkar


Time: 3 Hours

Attempt All Questions

Date: 19 / 2013

S ubject: Advanced Intelligent Systems

QlA) What is meant by root mean square error?


,
B) What is 'meant by threshold logic unit?
C) When the training of back propagation network stopped?

ill A) Perform one training step for a single neuron network using the Delta learning
rule. Train the network by using tan-sigmoid activation function and the following
data pairs :-

\l ""'~':l\ _t {~

tt')'1-

, x, =1

,,,.;1, ')"

0' {,,,,. V J.'" w'.'\'


.
V ~J/
...1L.'J""

,J,.',

~ ],d, -1]'

-1

x, =

[_42]'d
' = 1]
1

lA_ ' w

'l'\'

~_

'j '.
_

,\\1 '*

Where A. = 1, C= 0.5 and the initial weights are wI =

[2

0.5 _ 1]1.

&

C(/ ",,;

_'Z-uJ' d

~'"

1<: ........6"': '" (._ ".\1')


-~cr', '-Bj -impiement -AEMLINE-network-to-describe-the-Boo lean function"X '= zj' E!)-R'Ell.C . The
learning
rate is I and initial weights are 0.1, 0.2, 0.3 and 0.5. The bias' value is l. Find
.,
the w~.8hts after first epoch to perform the function.
Note:-1)se bipolar neuron (inputs, output and activation function)

.Qd A) Design BAM network that stores the following pairs ofpatterns:[0.5 -0.1 -0.4 0.2]
A, = [5
7
3 2]
AJ = [-4
7
3 -2]

-A,

'-

,_ ,

B,= [I

B,= [-0.1
BJ= [0.5

-2
-4]
-0.3 -0.9]
0.7 0.5]

i) Calculate the memory matrix M


ii)Show that the memory associates perfectly
iii) Calcu late the memory response B if the noisy pattern is:A= [0.8 -0.15 0.15 -0.2]

B) An odd sigmoid function is defined by:-

(v) = I-exp(- av) = tanh(av)


1+ exp( -av)
2
Where tanh denotes a hyperbolic tangent. A is constant, Show that the

[1 _

d = a
2(v)]
C/V 2
What is the value of this derivative at the origin?

""'---....

University of Technology
Department of Electrical Engineering
Final Course Examination

~
'-._---.e

Class: PhD (power, Communication, Electronics)

Examiner: Assist. Prof. Dr. Hanan A. R Akkar


Time: 3 Hours

Attempt Five Questions Only

Date: 8/6/2014

Subject: Advanced intelligent Systems

Q,lA) Find the truth tables and the logic functions that are implemented by networks
(a) and (b) using the McCulloch-Pitts neuron model.

XI:

x, _--=---+...

0) Design a multilayer neural network that will be able to classify samples into three
classes as shown in the following Figure :-

C) Write a binary GA that uses:


Single-point crossover.
Double-point crossover.
Uniform crossover.
,
Roulette wheel rank weighting
Tournament selection
(1-4)

QJ, A) Perform one training step for a single neuron network using the Delta learning rule.
Train the network by using tan-sigmoid activation function and the following data
prurs:-

3
X,=

0 ,d,=-l, x,= -2 ,d,=-l


-1
1

Where A. = O.S, C= I and the initial weights are w' =

[4

O.S - 21.

B) Encode and decode the Hamming network that stores the following patterns:Xl = [+2 .3 -4 .4 -0.9 -5]
X2= [-1.4 +0.9 +1.3 -1]
X3= [-1.2 -2.2 +1.8 + 1.1]
X4= [-1.6 -0 .5 -0.7 + 1]
If the following noisy pattern is applied to the Hanuning network
X= [-0.2 +0.5 +0.7 01], Show that X is closest to the patterns X2.

ill A) Consider the possibility of using a BAM network with bipolar vectors to map two

.....
-.
I

simple letters given by 5 x 3 patterns to the following bipolar patterns :-

- ##- -

A= (-II-l

1 -1 1 1 I 1 1-1 1 1-1 I)

C= (-1 I I

-##

I -J -1 1 -I -1 1-1 -1 -1 1 I)

Encode and decode the BAM network that stores the following pair ofpatterns:YI = -1-1
XI = A
X2 = C
Y2 = 11
If the following noisy pattern is applied to the BAM network:X= III 1-1-1 1-1-1 1-1-1111
Calculate the output Y.
B) Perfomn three steps of the learning algorithm of the ART! network for n=5 , m =3
and L=2 assuming that the training vectors are:Xl = [0 0 1 1 1)

x, = [1 1 0 0 0)
x, = [0 1 1 0 0)
Select an appropriate vigilance threshold p so that aU three patterns are clustered
separately when the sequence XI , x 2 ' and x3 is presented. Compute the fInal weights
of the trained network.

(2-4)

,&-6-201<{-

Q,i.A) Consider the following neural net: Using the input pair X = [1

1) , d = +1

0.4

i) Find Z" Z2 and Y for log-sigmoid activation fWlction with A=I .


ii) Update the weights of the networks using back-propagation with 0=0.5 .
B) Consider the following neural net: Using the input pair X = (1 I I 0) , y = [0 I)

OJ

I+---Oj~ i
o
i) Fi J , Z, and Z, for tan-sigmoid activation function with A= 1.
ii) Update the weights of the networks using Kohonen self-organization maps with
0=0.7 .

(3-4)

.~
--

University of Tecbnology
Department of Electrical Engineering
Session Examination

/~1

*'

~!'

2014
Subject: Intelligent Systems
Examiner: Assist Prof. [)r. Hanan A. R Akkar

Class: Ph. [) (E, C, P)


Time: 1 Hour

Answer All Questions

Date: 20/5 / 2014

ill Define the following:l) Neuron

2) Synapses

3) Dendrites

4) Action potential

ill For l5 inputs and 8 patterns Hamming network, what is the number of connections
required, and why? Draw the Hamming Model.

Qd.What is meant by root mean square error?

Qd..What is meant by threshold logic unit?

ill Can the Hopfield and Hamming net to be union.

Consider the limitations of the


application of these algorithms to the patterns you bave chosen.

Q&.Compared the supervised learning rules in terrns of the single weight and adjustment
formulas, weight initialization, the neuron activation functions and the requirement
for neuron or layer to proceed the weight adaptation (illustrated in table).

Q,1 Consider the activation functions <p (v) shown below:i)


Formulate <p (v) as a function ofv.
ii)
What happens to <p (v) if a is allowed to approach zero?
<1> (v

b -.- .. -.. ...'"- - -

o
-O.5a

O.5a

ill Consider Kohonen Self-Organizing Maps with two cluster units and four input units.
The weight vectors for the cluster units are Wl = [1 1.2 2.4 0.4] and W2= [10 .5 1 03]
Find the wirming cluster unit for the input pattern X= [0.3 0.1 0.5 0.2].
Determine the new weights for the winning unit ASSUllle learning rate as 0.3.

Q,2 Design a neural comparator that compares analog Five inputs and determines which
of Five an input is maximUlll value.

Q.lQ Explain the structure of McCulloch and Pitts model of neuron .

0.5 Find the minimum of f(x) = 2x3 + log(x) using genetic algorithm, where:The range ofx -> (2:S x :s 15)
The population size = 4
The string length = 4 bits
Crossover type = one point crossover Pc= 100%, Pm=O.1
Selection method = Roulette wheel.
The strings are :-

()

I.

Design a Fuzzy controller, which a fuzzy set is defined for the input error variable "e", and
the derived change in error, "delta", as well as the "output", as follows : LP: Large
Positive, SP: Small Positive, ZE: Zero, SN: Small Negative and LN: Large Negative.
Suppose this fuzzy system has the followin g rule base:
rule 1: IF e = ZE AND delta = ZE THEN output = ZE
rule 2: IF e = ZE AND delta = SP THEN output = SN
rule 3: IF e = SN AND delta = SN THEN output = LP
rule 4: IF e = LP OR delta = LP THEN output = LN

setpoint

fuzzy
control

error

process
output

anal~g-to-digital

If the error ran ges from -1 to + I, with the


converter used having a
resolution of 0.25, then the input variable's fuzfY set (which, in this case, also applies to
the output variable) can be described very simrly as a table, with the error / delta / output
values in the top row and the truth values for e~ch membership function arranged in rows
beneat hO
unctions
'
at d 5x5 f uzzy ruIe ta bl e.
: raw t be 'mem b ers h'Ip f

-I

mu(LP)
mu(SP)
mu(ZE)
mu(SN)
mu(LN)

0
0
0
0.3
I

-0.75 -0.5 -0.25

0
0
0
0.7
0.7

0
0
0
0
0.3 0.7
I
0.7
0.3 0

0.25 0 .5

0
0
0.3
0.3 0.7 1
1 0.7 0.3
0.3 0
0
0
0
0

(4-4)

0.75

0.7
0 .7
0
0
0

1
0.3
0
0
0

't-6- 2ol lf
,

0 . 1 Consider the vector fi eld

f.

(y, x Z ,I )

, Calculate

A. Take S to be the unit upper hem isphe re, defined by


for

IIs curl P -., dS

x' + y' + z, = 1

> O.

B. Take S to be th e part of the cone denned by

= 1-

x' + y2 ,; 1
0 .2

Jx' + y' and

F=

y i + X j + Z2 k and R be the reg ion bounded by th e


paraboloid z = x' + y ' and the plane z = 1 and let S be the boundary of
th e region R . Eva luate:
Let

fJi

divF dV

Answer to 0.1.

(':ons id~r t hc' vector Held

= (y . .1'0. I ) whose eml is


~

<;

C'

C'

/.

curl F = ax
Y

A-

lJJ/

0,

1--

= T(O- .l ) -.J(O-U l+ [ (: - l j
= (-.1:. 0. : - I )
Takt:' S

lo

1-,", t I ll '

lilli '

IIPP f' 1' h(, llli ~ pllC'n"'. litfilWd II.\'

)
_
/ ,'"11 -_ . / J'(.c- -YY" - +z
~

??

( .

_)

.L.II
d .

,/:"1 +,1/:'. --.- . "2

.
/'

fJ

= I . : ~ O.

\,1'-'"

.f

.
;'-,
,

curlP dS = ffe -x,Q,Z - l ):eX, y ,Z)dS


s
s

IIs e_x 2 + Z2

z) dS
I

'-

I ) si ll

=1f
,

/.,"(3u

1T It''\ -

i.j c/c'"l

]'

'1/ 0

"

(I. -

= ('0:-><,1) .

7 , ,
,_.,

;-

- '2 a- I )(-dll)

II

rlu = -

-I

-.

Sill

-+ r"

-l

"

L - ~y'+ \"

IT! I - I - I )

"

(Jdo

,
2, Takt:, S \() 1)1-' t lw pari of t he ('om' defined lJ,\' :: = I (

- -V4J
n
--

IV4J1 -

F2F2

x2

,1)

+ y2 +1

F2P

/.1'2 + Jl l . ./'~ + y".!. :5: 1.

1)

"fi

X'2"+Y7 X'2'+YZ

dR
(0,1 )

(1.0)

ffs curl F, dS
y

IIs (-x, 0, Z -

1) ,

J. . Z+y Z'J.,2+ y Z'


-12

e if'"

1)
dS

dS

dS , dS =

= ffs
=

ffs

_x 2

(,-,-:-i, z - l )
..;r+y-

x'

dxdy

rco---o

= ffs (~, - J x'


vx-+y-

+ y' ) dx dy

= - fo" o' ( c05' 8 + 1) r'dr de


= - ifo" (c05 28 + 1) [r 3

l6

= -; fo"

= -

de

G(1 + c0528) + 1) de

Uo" (c0528 + 3)de


,[("".
,
- + 3 8 )'.] =--(6rr)=-rr

=- -

Q.2

Let

O.

F=

y i

paraboloid z =

+ x j + Z2 k

and R be th e region bounded by th e

x' + y' and the plane z = .1 and let 5

be th e bounda,y of

the region R . Evaluate:


z

fffv div~ dV
.....

....

oy

ax

iJ z2

+ - + -az
ax oy

dwF = V . F = -

= 22
10.1)

. ".
fffv 2z dV

\<~) ~ ~

'"

-------------------\L-----T\.-,,~~-~
\ ' 1\ ,
,

"

'~ 't

'-;'

"--":\

0-"

GJ)
~
~

: = 1

(1.1 )

. , )'

/./1.I"

2 . d l =

I,'"I,/;-~
,O!.L
' )rd
.~J
drdo
. ',,--3

, (I

= 2r:

\.

d- -/

.....

t Ir?~rll__= rt d,.10

-8 -,.
=

2;; ('!'2 _.!.)


6

- - "-

-:

'1.. '

_ 2~

-J

\
(:'\
\

~ ()

~c

\(~v~Rl

-'( "'-

9.14 Stokes' Theorem

S: a piecewise smooth orientable surface


C: a piecewise smooth simple closed curve that
bounds S, oriented counter-clockwise as veiwed from above
n: the unit normal to S, defines orientation of S
F: F = ( p ( x, y, z) , Q( x, y, z) , R ( x, y, z )) is a vector field
with P, Q, R, and all first partial derivatives continuous in
a region of 3-space containing S

4F . dr = ff(curl F) .n dS
c
3 - dim line
integral

s
::>

surface
integral

Use Stokes' Theorem to evaluate


Bv finding

ff( curl F) on dS

s
Evaluate

~F d =

If(curl F) n dS

Use Stokes' Theorem to evaluate

4F dr
0

By finding
~Fodr= If(curlF)on dS

Evaluate
c

s _ _ _---.J

(ii)

Example I Use Stokes' Theorem to evaluate


ff( curIF) .n dS whenF= (y'z ,xz,x' y') andS is
s

that part of the paraboloid z = x' + y' that lies in the


cylider x' + y' = I, oriented upward.

:::::> Find

4F . dr

x = costl
y =

Parametrize C :

sin tirO < t < 2JZ'

z =1

r = (cost,sint,l) ~ dr = (- sin t, cos t, 0) dt


F on C: (sin 2 t,cost,cos 2 tsin 2 t)

Q"

F dr = (-sin 3 t + cos 2 t) dt

7 3

"6-

.,

27C

:::::>

4F. dr = f( -sin t + cos t) dt


3

"

27C

fcos tdt
2

=-

27C

f(1+cos(2t))dt = @
0

a1

'
\, "
, f

,i

1, ' 1: ~

.,
.,

Example 2 Use Stokes' Theorem to evaluate

=> Find

<;fF dr when F = (z' , y' ,xy) and C is the

ff( curl F) n dS
S

triangle defined by (1,0,0), (0,1, 0) , and (0,0,2).

2~
1.51'\

~C

S : plane, we need to find the equation


using a point and the normal vector to the plane

o.

We can get the normal vector by


taking the cross product of two vectors
in the plane.

1
S: 2x+2y + z = d plug in any point to find d

Vector from (1,0,0) to (0,1,0)

(1,0,0) ~ 2 (1) + 2 (0) + (0) = d = 2

VI

= (0-1,1-0,0 - 0) = (- 1,1,0)

Vector from (1, 0,0) to (0,0,2)

v2 = (0 - 1,0 - 0, 2- 0) = (-1,0,2)
i
V=V I XV 2

= 1-1

-1 0

0 =(2,2,1)

For a plane we could have used v


and made it a unit vector to get n

=> 2x+2y+z = 2 so

IS: z = 2-2x-2yl

g =2x+2y+ z -2 =0

Vg = (2, 2,1)

IIVgl1 = 14+4+ 1= 3

Vg
1(
2 )
n=IIVg(3 , 2,1

dS=V1+(zj+(Z y) dA
dS =

~1+( _2)2 +( _2)2dA

dS =3dA

(jj)

Example 2 ( cont.)

F = ( Z2 , l, xy )

Ii

curl F = axa

.2...

.2... =
az

ay

(x, 2z - y,O)

xy
,I>

(curlF)=(x,2z-y,O)

n=~(2,2,1)

' OJ ,,,

dS=3dA

y=l-x

6s:,

ff(curl F)n dS =

ff( 2x+ 4z -

2y )dA

"
D~ --

0::'

0&'

Q:a'

1 I-x

f-L~ + 4 ( 2 - 2x - 2 y ) - 2 y ] dydx
o 0
l~x

- - -=--f- f-[8-6x-10)'Jd)'d.x= Jb(8-6xt}l-5ld~-X dx


0 0 0
1

= f[ (8-6x )(1- x) -5(1-X)2Jdx


0

f(X2 -4x+3 )dx

r:;!:l

=( X; _2X2+3x)O =~-2+3 =0

(zj)

<Ii.
F. dl'
I.

Q.1: Use Stokes Theorem to evaluate

F = z'

+ )'2 i + xy k

when

and C is the triangle defined by

(1,0,0), (0,1,0), and (0,0,2) ?

Q,2: Solve the fo llowing l .P, pro blem by Simplex Method?

+ 6 X2

Max Z = 4X,

S, T,

x, +

X2

< 2f}

X2

< 11

- X,

+ 5 x 2 < 90

2 x,

Q,3: Solve the following l ,P , problem by Graphical Method?


Max Z = -X,

5, T,

X,

+ 2 X2

x,

> 2

- x, + x2 > 1
X,
X,

> 0

,X2

< 3

I?

> 0

.--

A'! Iff -

-(
-

b .... ,A - -L -rJ
~

\ 0

~)

f" 1>'/ f"


C

(D,;)

(;

10( 'L )

,4 CY~ I

-/ ..)

I
\

D ( z/ J )

'r
11t~

I~"

--

,,)

ih

,,

'"

'.'
J ~h

11,

- '--T
,

'"

(0 I '

I)

"'-.

1 - TI

-,

L.

'"
~_
, If-+-

t--:-

,i

't't'
I ,-

---'

..

+-

r-- ---.
I ".\ _

..

UNIVERSITY OF TECHNOLOGY
DEPARTMENT OF ELECTRJCAL ENGINEERJNG

.'

Supplementary PhD Examination


February 201 3
SUbject: Mathematics
Attempt All Questions

Q.l. Solve the following linear programming problem:


MaxZ::::::3xl -

X2

S.T:

2 Xl +
Xl

X2 ;:::

3X2 :::;

Xz ::;; 4
xvxz ;;:::0

02. a. Find the initial solution by Vogel's Approximation Model?


b. Use the multiplier method to evaluate the optimal solution?
-

C1

C3

51

IT

52

G...

C2

S3

I
Demand

10

Supply
7

12
":'::<f;>~'X:-' ...

11

10

10

F=

Cl,x Z ,y) ,Calculate ffs curl F dS


Where S to be the uni t upper hemisphere, defined by x' + y' + z, = 1 for
Z > o.

Q.3. Consider the vector fi eld

Q.4. Suppose thatfCt) = t e- r t > 0


a. what is the reliability function R(t)?
b. What is the MTBF?
c. Whal is the hazard function h(t)?
d. What is the median life?

Q.5. Solve the nonlinear partial differential equation by using the transformation ( ::::
the SineCosine method?
lit

+ 3 u 2 Ux

- U xxx =

+ A t and

UNIVERSITY OF TECHNOLOGY
DEPARTMENT OF ELECTRICAL ENGINEERING
FIRST TERM FINAL PhD EXAMINATION

February 2014
Subject: Mathematics
Attempt All Questions

Q.I. Solve the following linear programming problem:


Min Z = 2 x, + 3 Xz
S.T:
0.5 x, + 0.25 Xz :5 4
x, + 3 Xz '" 20
Xl +X l
;;; 10
XI , XZ ~

Q.2. Consider the following transportation problem:

a. Find the initial solution by Vogel' s Approximation Model?


b. Use the multiplier method to evaluate the optimal solution?

C,

C,

C,

C,

Supply

5,

SO

5,

60

5,

25

Demand

60

40

20

15

Q.3.

Use Stokes' Theorem to compute the integral

Jf~] curl

,
F ,dS

WhereF(x,y,z) = xzi + yzj +xy k , and S is the part of the


sphere X Z + y2 + Z2 ;;;; 4. that lies inside the cylinder x 2 + y2 = 1
and above the x-y plane as in (Figure 1.).

.\.l+yl + Zl = 4
S

//

"-

/-.

--- ----,

~~

./+ ,1= I

-'

Figure I.

QA. Solve the nonlinear partial differential equation by using tan-Cot method?

l!!NIVERSITY OF TECHNOLOGY
ELECTRICAL ENG. DEPT.
Ph.D. Electrollic Eng. Course

DA TE :
12/2013
TIME: 3 Hrs.

FINAL EXAMINA nON

First Term

Q.:l..

SUBJECT:
A dvallced Electrollic
Circl/it Desigll

2012 - 2013

Explai" (2) of the followi"g:


a). Explain briefly the developWlents in the different types of electronic
cO/I\I\poY\eY\ts.

b). The future requireWlents for WliniWlization of

Ie size.

c). the recent electronic WlQY\ufacturi!"-9 process.

Q.2.

SenSors can be classified according to Wlany paraWleters, Write theWl.


Explain six output transducers.

Q.3.

Write the types of electro" ic filters and draw their frequency response.
Design band-pass filters with bandwidth =5I<.Hz, assuWle the values of the
V'equired cOl'V\poY\eY\ts.

Q.4.

Write the types of oscillators according to feedback connection.


DeterWline: the voltage gain, input a"d output iWlpeda"ces, for a voltage-series
feedback oscillator when : A= -:1.50, Ri = :1.5 k0., R, =25 kD., for feedback of

p= -0.3 .How the above paraWleters varied if we change p to -0." .


Q.5.

Classify power aWlplifiers? For the circuit shown i" fig (:1.),

R,

Calculate the efficiency of transforWler coupled class-A

. C

v; .-if

aWlplifier for a supp ly of :1.2 V and output V (p) =2 v.


Write your cof1.t\W\ents

Q.~.

01'\

the result.

':J" "il

lb/'#..q'm~

Answer (one) of the followi"g:


a). Find the values of i"put a"d output iWlpedances i" fig(2),
Also deterWline the closed-loop vo ltage gai". AssuWle the
following for the op-aWlp:Aor =:1.5OO0,Zi"= 51'10., Z",= 70 D..
b). Discuss two types of optical fiber aWlplifiers (OFA).
wood (uck and best Wlg,es

R
L-"''.LJ

UNIVERSITY OF TECHNOLOGY
ELECTRICAL ENG. DEPT.

SUBJECT:
Advanced Electronic
Circuit Design

Ph.D. Electronic Eng. Course

DATE : 20 1212014
TIME: 3 Hrs.

FINAL EXAMINATION

First Term

2013 - 2014

Q.:1.. Al'Swer (.2) of the fo((owin9:


Q).ExpIQin briefly the developlMents in the different types of electronic cOlMponents.
b). The recent electronic IMQnufQcturin9 processes.
c). The ICs CQn be clQssified to IMQny types, write Qt leQst 3 types of thelM.
ExplQin briefly the generQI prepQrQtion steps of Qn IC .
Q.2..

fi><;I vtfl'
f '> - G

Write the types of electronic filters and draw their frequ ency respol'Ses.
For the filter shown in fi9.(:I.), CalculQte the centre frequency , IMQxilMulM 9ain and

?.f f:d 1 bQndwidth.


Q.3 .

Write the types of oscil/Qtors accordi"9 to feedback connection. Find the QlMplitude

t..xq1?\~ and frequency of the sawtooth output of the circuit shown in fi9. (.2) also sketch

({,-s

rP

the output waveforlM. AssulMe that the forwQrd Pr09raIMIMabie Unijunction

"b7.-~ Tral'Sistor (PUT)

Q.4.

voltQge VF " :I. V.

There are lMany types of power alMplifiers: traditional and additional types,

explain thelM briefly?


A clQss-C QlMplifier is operatin9 over :1.00

."".pi e 1::r The


-...,-

of its load line. AssulMe the fo((owin9:

input si9nal frequency is 500 kH;z , the tral'Sistor is on for :I. I'S

t! Id,SO~ =

p P~S1 Find

:1.00 IMA,

,1

Vce (SO~ =0..2 V,

V,,=.24V

Rc=:l.oon

the average power dissipation of the tral'Sistor and then Calculate the
JbJ efficiency.
(r }.
10 ,... w..tt

Q.S.

Sel'Sors can be classified accordin9 to lMany paralMeters, Write thelM.

Explain five output tral'Sducers.

Q.6.

t7""fk
{'1- 'i

pf fl'b

Al'Swer (one) of the fo((owin9:


a).DeterlMine the voltage 9Qin of the 3IDSIDKCi isolation alMplifier shown in fi9.(3).

b).Discuss two types of optical fiber alMplifiers (OFA).

.v I

6L

'1-':>
.-;.

+,sv
R,

PUT

IOId1

R,

10 k!l

0.00-17 pF

Voo,

R,
2.7kfl

F;g.(2)

(7)

IOkO

R"
22 kU

flO}
(6)

input
R"
2.2 kO

,,
,,,
,,
,

47 1((1
(]4)

,
:,,
,,
,

output

(15)

(1'2)

"9
(20)

( 1

0.47 "F

g471
"F

+ 15 V

~V "
f

'\.

F;g.(3)

Clood (lICk t/!1d best


__

. h es
WI$!

_1

)J.id.
Monthly ExalM .. Answer ( 3 ) questions only. TiMe Q.:I..The ICS can be classified to lMany types, write at least 3 types of theM.
Explain briefly the general preparation steps of an Ie .

:I.

Hr. Tues ;2.8/:I./U?:l.4

Q.2.Classify power alMplifiers? A class- C aMplifier is driven by a 200 kH;z signal. The transistor is on for :I. I-<S, and the aMplifier is
operating over :1.00 percent of its load line. If Id.sa~ = :1.00 !'VIA and Vc. (sa~ =0 .2 V, what is the average power dissipation of the
transistor? Calculate the efficiency';f we suppose that the V",=24V and Rc=:l.OOQ fp :4 .. '"

1. = 9,. ~6i()

Q.3. Wr ite the types of electronic filters? , for a band-pass filters shown in fig.(:I.) , calculate its cutoff frequencies? 2J4 )

gg.4'

Q.4 . Fig.(2) shows an instrUMentation aMplifier ,Calculate the voltage gain and deterMine the bandwidth usine the graph shown in
fig .(3).
Q.s. Sensors can be classified accordine to Many paraMeters, Write theM. aive exaMples for at least five output transducers.

f: j

". "

68 "-11

o.J "PF

"

2.7 kil

~-

Fig. (:I.)

fi11 0.0 ' p F


"

m
+1N

'00

,3J

- 'N

,6,

A D622

(8)

v.

(5)

(2)

OU' PUI
REF
(Output sig..al

'"

'0

com mon)
(4 )

0
' 00

,.

'Ok

l OOk

'M

'OM

Frequcn cy ( H z)

-V

Fig. (2)

aood luck and lMy best wishes

.~

t Ro '"

180 1:.0

>

' 000

+V

Fig. (3)

G.iJ

~---

"'-..~-...........

University of Technol ogy


Department of Electrical Engineeri ng
First Session Examinatio n 2012 2013
Subject: M icroprocessor Eng. and Microcontro/lere
Year: Ph .D
Division: Electronic
Examiner: Assist Prof Dr. Hadeef Nasrat

Time: 3 Hr
Da te: Feb .,

til

2013

Answer Fou r Equa tions Only

Q1: The ci rcu it shown in Fig. (1) will provide an extremely accurate 60 Hz signal to T2 by tappi ng the
secondary of a power suppl y transformer. Initialize Timer 2 such that it is clocked by T2 and overflow
ones per second. Upon each ove rfl ow, update a time of day value stored in the 80s1's internal
memory at locations SOH (hours!, 51H (minutes!, and 52H (seconds).
[20 Degree]
Q2:
a. Why 8086 can read 16bit data from an even address and 8-bit from odd add ress? Expl ain with a
neat diagram and table.
[10 Degree]
b. Illu strate how two 32 K-byte static RAMs cou ld be interface to the 80s 1.microcontroller so that
th ey occupy the full 64K external data space.
[10 Degree]
Q3:
The international tun ing standard fo r musical instru men ts is "A above middl e C" at a frequency
of 440 Hz. Write an 8051 program to ge~erate t his tuning frequency and sou nd a 440 Hz tone on a
loudspeaker connected to P1.l. (See Fi gure 2). Due to rounding of the va lues placed in TL1/TH1, the re
is a sli ght error in the outpu t frequency . What is the exact output frequency and what is the
percentage error? 'Nhat valu e of crystal woul d yield ~xactly 440 Hz with the program you have
written?

[20 Degree]
Q4:
a. Explain in de tai l interfacing of stepper motor with the microprocessor 8086 with relevant
diagram s. Wri te a short note on Interfacing.
[10 Degree]
b. W ri te an 8086 program that convert a given 16-bit BCD number to its equiva lent binary
number. The BCD number is in registe r OX. Replace it wit h the equ iv alent bin ary number.
[10 Degree]

Q5:
a. An swer the followin g equations:
1. In 8085 which is ca lled as High order / Low order Registe r?
2. Ca n an RC circ uit be use d as clock source for 808s?
3. Why crystal is a preferred clock sou rc e?
4. Which interrupt is not leve l-sensitive in 808S?
S. W hat does Quality factor mean?
6. What are level-tri ggerin g interrupt?
7. What is the difference between primary & secondary storage device?
8. What is meant by cross-compi ler?
9. What are the different functi onal units in 8086?
10. W hich interrupts are generall y used for critica l events in 8086?
[10 Degree]

b. Compute the physical address for the specified operand in each of the following in structIons. -rne

register contents and va ri able are as follows: (CS)=OA60H, (DS)=1300H, (SS)=OFOOH, (S I)=0490H,
. ,
,. I ~
.L
(DI)=0240H, (BP)=0480H and (IP)=OOOOH, ARRAY=0500H, AX=1000H, BX=2000H.
l!" 1
,,,, tltK c/. 1f Q ~~I'''i "1) Destination operand olthe instruction ~ ~RRAY (BX+DI), EDX ~.,
2) Source ope rand ol th e ins tr uction \),(,< 0.,... MOV ,,( 6540) H , BX
_."JJ~ ""oJ~

3) Destination operand 01 the instruction


4) Source operand 01 the instruction
5) Destination opera nd of the instruction

MOV [BX+4300H] , BP!i~ f ~~~rt!"'-..J.k.


MOV AL, [BP+SI-200H]
l'C..J e.
MOV [SI+60H), ECX 1,.1<1< ;.My, ",.elf

Identify the addressi ng mo des used for the source and the destination operands in the instructions
above.

[10 Degree)
'5V

220K

10K

220K

80 51

10K

60 Hz

T2 (P 1.01

10K

AC

+5V

60 Hz

JL

JN40Q1

OV

=
=

150K
15K

Fig. (1)

, 5V

8051

P1 .1

440 Hz

--i?o4

Loudspea ker

Fig. (2)

Feb-201J'

University of Technology
Department of Electrical Engineering
First Session Examination 2012 2013
Subject: M icroprocessor Eng. and Microcontrollere
Ye ar: Ph ,D

Division : Electronic
Examiner: Assist Prof , Dr, Hadeel Nasrot

Tim e: 3 Hr
Date: Sept., th, 2013

Answer Four Equation s Only

Ql: Design a "turn stil e" application usi ng Timer 1 t o dete rmin e w hen t he 10000 person has
entered a fai rground. Write a programs for th e 8051 Assum e th at :
a) A turn stil e sensor connect s t o T1 and generates a pulse each tim e t he t urnstile is
rotated.
b) A light is conn ect ed to Pl .7 that is on w hen P1. 7 = 1, and off oth erw ise.

Count "events" at T1 and tu rn on th e light at Pl. 7 w hen t he 10000

th

person ent ers the

f airground . (see fi gure 1).


[20 Degree]
Q2:

a. Explain t he necessity of decodi ng w hen memory device is att ached to a


microprocessor? With neat diagra m indicate how a sim ple NAND ga t e decoder is used
t o se lect a 2KX8 EPROM memory component f or memory locations FF800H -FFFFFH .
[10 Degree]

b. What is firm w are? Comparing a microcontroller-based syst em t o a microprocessorbased syste m, w hich is more likely to rely on firmwa re?
[10 Degree]
Q3:

a. Wri te a program fo r th e 8051 t o t ransfer letter "A" se ri ally at 4800 ba ud, continu ously.
[10 Degree]

b. Write an 8086 asse mbly language program for sort th e N numbers in ascending ord er.
[10 Degree]
Q4:
a. Assu me t hat XTA L = 11.0592 M Hz in 8051 microcontro ller. What value do we need t o
load into th e tim er's regist ers if we want to have a tim e delay of 5 ms (m illiseco nds)?
Show th e program for Timer 0 t o create a pulse wid th of 5 ms on P2.3 .
[10 Degree]
b. Write an 8086 assembly language progra m for finding th e f acto ria l of a given nu mber.
[10 Degree]

QS:
a. Answer the following equations:
1) Which interrupt has th e highest priority in 8085?

2) What happens when HLT instruction is executed in 8085 processor?


3) What is the RST for the TRAP in 8085?
4) What is meant by Maskable interrupts? Non-Maskable interrupts?
5) Wh ich Segment is used to store interrupt and subroutine return address registers?
[10 Degree]

b . Compute the physical address for the specified operand in each of th e following
instructions. The register contents and variable are as follows: (CS)=1000H, (DS)=3000H,
(SS)=FOOOH, (SI)=0670H, (DI)=OF40H, (SP)=OFCOH, (BP)=OC20H and (IP)=OOOOH, LlST=0700H,
AX=1000H,BX=2000H.

1) Destination operand of the instruction

MOV LIST [BP+SI], EDX

2) Source operand of the instruction

MOV [SP+6540]H , BX

3) Destination operand of the instruction

MOV [BX+4300H] ,BP

4) Source operand of the instruction

MOV AL, [SP+D I-3FOOH]

5) Destination operand of the instruction

MOV (BX+S I+F5H], ECX

Identify the addressing modes used for the so urce and the destination operands in the
instructions above.
(10 Degree]

805 1
Turnstile
(One pul se- - - - - - + I TI
per rotation)
(p3.5)

,
P 1.7
1 = On
O ~ Off

Fig. (1)

Se-f. -

2. 0

1.?

UN IV ERS ITY OF TEC HNOLOGY


DEPARTMENT OF ELECTRICAL ENG I NEERI NG
F INAL YEAR EXAM INATION 20 11 -20 12

Juue,16"', 2012
Subject: Microprocessor Eng. & Microcontroller

Year: M.Sc. (Electron ic)

QI
a. What is the difference between microprocessor and microcontroller?
b. Write an 8051 program to find the average of a block of n bytes.
[ 15 Degree]
Q2
a. Assume that RAM locations 40H to 44H contain the daily temperature of five
days. Write an 805 1 program to search if any of these va lues equate to 96. If the
.
value 96 exists in any of these values ,sfiTftit)o.!31 otherwi se clear.
b. Illustrate how two 32k-byte static RAMs could be interfaced to the. 8051
microcontroller so that they occupy the full 64K extemal data space.
[ 15 Degree]

Q3:
a. Comput e the physical address for the specified operand in each of the fo llowing
instructions. The regi ster contents and variable are as fo llows: (C S)~OAOOH ,
( D S ) ~ IIOOH , (SS)~OFOOH , (SI)~OIOOH, (DI) ~0200H , (BP) ~0400H and (IP)~OOOOH ,
ARRA Y~02 50H , AX~ IOOOH , !3X~2000H .
1) Destination operand of the instruction
MOV ARRA Y [~X+S I] , EDX
MOV [4020] , AX k <::J\., .,
2) Source operand of the instructi on
3) Destination operand of the instruction
MOV [BX+4300H] , BP
4) Source operand of the instruction
MOV AL, [BP+S I-200H]
5) Destination operand of the instruction
MOV [DI+ 80H], ECX
[10 Degree]

b.
1)
2)
3)
4)
5)

In 8086 microprocessor whi ch interrupts are generall y used for critical events?
What is meant by cross-compiler?
In 8085 which is called as High order / Low order Register?
Why crystal is a preferred clock source?
What is virtual 8086 mode operation of the 80386 microprocessor?
[10 Degrce]

Q4
1) Which processor structure is pipelined?
a)
all x80 processo rs
b)
all x85 processors
c)
all x86 processors ~
2) In 8086 microprocessor one of th e following statements is not true.
a)
Coprocessor is interfaced in MAX mode
b)
Coprocessor is interfaced in MIN mode ~

c)
110 can be interfaced in MAX / MIN mode
d)
Supports pi peli ning
3)
The 808SA is a(n):
a)
16-bit parallel CPU
b)
8-bit serial CPU
/"
c)
8-bit parallel CPU V
d)
none of the above
4) The register in the 808SA that is used to keep t,rlk of the memory address of the
n~de to be run in the program is the:
'
a)
stack pointer
b)
program counter Vc)

instru ction pointer

d)

accumulator

5) To put th c 8085 microprocessor in the wait state

aj..

v---

lower the-HOLD input


0 )
lower the READY input
c)
raise the HOLD input
d)
raise the READY input +-'
rJ-. 6) In 805 1 serial port intenupt is generated, if __ bits are set
a)
IE
b)
RI, IE
c)
IP, TI
./'
d)
RI, TI V
7) In 805 1 which intenupt has highest priority?
a)
l EI
b)
TFO
c)
IEO/
d)
TF I
:<.;,
8) When the 805 1 is reset and the1ine is LOW, the program counter points to the
first program instruction in the:
/

d)

a)

internal code memory

./

b)

external code memory V

c)
d)

internal data memory


external data memory
ensures that only one Ie is active at a time to avo id a bus conflict

9) The
caused by two ICs writing different data to the same bus.
a)
control bus
b)
control instru ctions . '...
c)
address decoder
d)
CPU A10)
In 80386 microprocessor the technique of ass igning a memory address to
each I/O dev ice in the computer system is called:
a)
memory-mapped I/O ~
b)
ported I/O
c)
dcdi cated [/0
d)
wired I/O
[20 Degree)

v----

,l-isc.

(b-JlJ.~e
2-0(2
-

---------------------------------------

-...
*_ t::'
"""""-

University of Technology
Department of Electrical Engineering
Final Examination 2013-2014
Subject: Microprocessor Eng. and Microcontrollere
Year: Ph.D
Div;s;on: Electronic
Time: 3 Hr
Exominer: Assist Prof. Dr. Hodeel Nasrat
Date: Feb., 10th , 2014
Answer Four Equations Only

~.'J'
~

"

.'

t~~.......

Q 1: A simple burglar alann system has 4 zone inputs connected to an 8051 110 port. If anyone of these inputs
is activated a bell will sound for 5 minutes and the corresponding zone LED, or LEDS, will be activated.
a. With the aid of a diagram describe the hardware circuit for this alann device,
b. Design an 8051 assembly language program to implement the required functiona lity for this system.
[20 Degree]
Q2:
a. What do you rnean by multiplexing? How it is done in 8086 microprocessor for address and data bus?
Explain with neat diagrarn.
[5 Degree]
b. Draw the diagram for interfacing 8KB of ROM and 8KB of RAM with rnicroprocessor 8086 and also
explain the number of pins used for such interfacing. The starting address for ROM should be OOOOH
and starting address for RAM should be 8000H.
[15 Degree]
Q3:
A simple 8-bit analog-to-digital converter device, as shown, is to be interfaced to an 8086
microcomputer. The READY line goes low when conversion data is available.
NO
Vin

Convener

8-bil
digiltll data

Roo'"

a. With the aid of a block diagrarn show how this device can be interfaced to the 8086.
b. Write an assembly language program which will capture 250 data samples from the AID converter and
store this data in XDATA memory.
[20 Degree]
Q4:
a. What are the different modes in which 8255 Programmable Peripheral Interface (PPJ) can operate?
Write the 8086 initialization routine required to program 8255 for mode I with Port A and Port B as
output Ports and Port C as an input port. Indicate all the relevant signals.
[10 Degree]
b, With respect to serial communication define the following:
(iv) Half duplex.
(ii i) Parity.
(i) Baud rate,
(ii) Asynchronous communication.
[10 Degree]
QS:
:to Answer the following equations:
( I) Some of the pins of 8085 are li sted below. For each pin (line) show whether it is an input line or
output line and mentions its function.
(i) ALE
(ii) HOLD
(iii) SID
(iv) READY
(v) TRAP
(2) What do you mean by external and internal data bus? How are these two related in 8086 processor?
[10 Degree]
b. Write an 805 1 assembl y language program which will cause a timed program delay of n seconds, where n
can have a value between 1 and 255. The program design is to be based on the use of nested subroutines which
will include a one milli-second delay subroutine and a one second delay subroutine. The program is to be based
on software timing loops and it will not employ hardware timers. Show all timing calculations and assumpti ons.
Assume that the basic instruction cycle time for the 8051 is 1 microsecond .

J-.{; d.

i .

witt J- iJ --ti.e

~tJKJWa.v'~
2.

vh..a..t

3.

E "><

\A....t-

1-6
-

( .

f (aj

~~

.' J

A~ r;~

(j) -e.r ;(j"

2-""u

1-

f 'fle
13?<4'tk

12.. .

s~

(,')1 e..

ll")'le

,,,,,te.v-11.cJ(

1-

/-y,,>..jifiYj ct.1n

ih.

J 'l:1'< +"'Y""'"

2. - h;'ts

eM
e<-W'ac.:aLJ'!t..

(f)(.

joy

0'i ~ - 5~d

.?>-,la//1

,-J.:-e.v-r1t<;. .

-t

rPP Jo.7

rJloc!-< d.'jl'tJI ......

ira c.~~If'V

Tjo p~ .

bt.Y

0<.

oI;{fv"""c.e.8 \,~tJ~

"'" v. \~;

-tJ.-c.. I11.cAcJ...

y\

r:g .

11 .

f.'v~ .... e ' '-OJ .

01 ;ff~c..~ b J:.....,e.:. Yl

e. 'Xl 1-Y"n.;f

7- . f"L1P;if-

{0 .

CLlJo (1'

.u".~

c1 . ~c.e. beJw~~ vY\aCY""dof<Ya.~~)

t-h.e

cJW ~V-'- R<:.... i~oytGl"\.+


Lv

, 'j)"-a:<tJ

..... ;U "'o(l fera.-k<:rY)

a....J
)" ,

Vl1V"f02j

""..,.,>l.r"A ~ c;J--

\A'\"Lt~; ~wt...,y- a.~


4.

.>

QJ.J<:JL.' ,J.,Ve.

.: ""'f Ie

)5

aJ

::>/

1-

.M u( f; fro
't

-r...t.~

yne~(J '

tSt - c l )
(-f!:5.1

.ti")7l.~

t ' ::

I ~6

oy
(c,{!J-vv-

i- AYV(j f(i;Ce[dY '

University of Technology
Department of Electrical E ngineering
Final Examination 2012-2013
Subject: Co mputer Architecture
Division: Electronics Elig.
Examiller:Dr.maltmllod hanlZa

Class: PhD course


Time: 3 Hours
Date:2013
Answer five questions only

QI) Explain in detai ls with the aid of diagrams the programmed I/O method for
transferring the data between the computer and the I/O devices. What is the
disadvantage of this method and how it can be solved?
Q2) a) What prevent the instruction pipeline from operating at maximum rate?
b) A pipeline process consists of 4 segments, and clock cycle time is 20nsec
i) Compute the number of clocks required to perform 100 tasks?
ii) Give the speed up ratio?
Q3) a) A digital computer has a common bus system for 2 registers of 3-bit each
i) How many multiplexers are there in the bus?
ii) What size of mUltiplexers are needed?
iii) Draw its block diagram.
b) Explain the differences between hardwired control and microprogrammed
control?
Q4) a) A 4-way set associative cache memory can accommodate a total of I 024
words from main memory. The main memory size is 128k x 8 .
Calculate the cache memory size.
b) Consider a 4-way interleaved memory. The memory capacity is 64k words
i) Draw the 4-way interleaved memory organization.
ii) Specify the memory address format.
Q5) a) Mention the different types of multiprocessing techniques and describe the
crossbar switch scheme.
/ ' b) What are the differences between tightly coupled multiprocessor and loosely
coupled system?
Q6) a) Describe with block diagram one of the two types of array processors. V
b) What is cache coherence, and why is it imp0l1ant in shal-ed-memory multiprocessor
system? How can the problem be resolved with a snoopy cache controller?

,
" OOt) LUCK

University of Technology
Department of E lectrical Engineering
Final Examination 2013 - 2014
Subject: Computer Arcltitecture
Class: PItD course
Division: Electronics Eltg.
Time:3 Hours
Examiller:Dr.mahmuod hamza
Date: 9-2014
Attempt Five questions

Q I) Design the pipeline configuration required to carry out the axithmetic operation (Ai+B i_C i)
with a stream of numbers, then list the contents of all registers in the pipeline for i= l to 6.

Q2) construct a common bus system for 3 registers of2-bit each using multiplexers?

Q3) a- What is the relationsh ip'between Macrooperation and Microoperation?


b- Draw the block diagram of hardwired control unit for a simple computer.

Q4) a- A computerthat has a main memory of size 4k xl6 and control mem ory of size 128 xlO,
each routine required 4-Microinstructions.Show how the mapping process occur.
b-What are the differences between internal and external interrupts?

Q5) a-What is the Associative memory and show the hardware organization of it.
b- A computer system has a main memory of64k x l 6 and a cache memory of5 12 words,
thai usc two-way set associative mappin g. Calculate the number of bits on each cache word.

Q6) a- Describe the data transfer to and from I/O devices using input-output processor (lOP).
b- Explain with block diagram one of the two types of array processors.

Q7) a- What is the important difference between multicomputer and multiprocessor.


b- Describe in detail the Time-shared common bus scheme of multiprocessor system.

Good luck

UNIVERSITY OF TECHNOLOGY
ELECTRICAL ENG. DEPT.

SUBJECT:
A dvanced Electronic
Circuit Design

PIt.D. Electronic E ng. Coltrse

DATE : 4 / 912014
TIM E: 3 Hrs.

FlNAL EXAMINATION - SECOND ATTEMPT - 2013 - 2014

Q.:!-. a). Electrol'\ic cOWlpol'\el'\ts are il'\ a cOl'\til'\lAolAs Wlil'\iatlAri:t.atiol'\ process,

Explail'\ briefly the developWlel'\ts il'\ these processes.


b). Explail'\ briefly the BeMral preparatiol'\ steps of a Wlicroprocessor IC.
Q.2.

Fil'\d the OlAtplAt voltaBe for the al'\tiloB aWlplifier showl'\ il'\ FIB':!- ,
AsSIAWle: hoo = 40 M .
+175.1 "'v
6R kil

,...--1 +

FiB' (:!-)
Q.3.

For the state-variable filter showl'\ il'\ FiB.2 , DeterWliM the cel'\ter

freqlAel'\cy, Q, al'\d BW fo~ the pass bal'\d .


R,
10 1;0

c,

R,
10 k{

R,

O.02:! p.F

V/,, ~
I (J til

\.0 kn
1.0kn

R,

loom

, .

FiB' (2)

1-2

QA. For the circuit showrI irl Fig.3 , DeterWliM the oscillatiorl freqL<erlcy .
CalcL<late the valL<e of R, to Wlake the freqL<erlcy 30 kH;z?

c
R,

0.0 1JlF

10 kn

>--~-() V~t

--

IOkO

Fig. (3)

, .

Q.s. a). Serlsors carl be classified accordirlg to WlarlY paraWleters, Write


theWl arid give exaWlples

for at least fOL<r OL<tpL<t tral'\SdL<cers.

b).DisCL<sS two of the additiorlal types of power aWlplifiers.

, ,

2-2

."...~

...

&_1 ~
......

University of Technology
Department of Electrical Engineering
Second Attempt Examination

_/

SUbject: Advanced Intelligent Systems

Examiner: Assist. Prof. Dr. Hanan A R. Akkar

Class: PhD (power, Communication, Elct;tronics)

Time: 3 Hou,s
Date: 18/9/2014

Answer Five Questions On ly

ill A) What is meant by root mean square error?


B) When the training of back propagation network stopped?
C) Find the new weigbts for the back propagation network shown below when
presented with the input pattern ( + I -I) to associate a target pattern(d= + I),
use a tan- sigmoid activation function , Asswne learning rate as o. I and
A. = 0.7. All tbe bias weights are 0.25 and bias value is one.
The momentum rate = I.
bias
bias
-;

Xl

?
0--

-0.1
-0.1

ZI

-0.2

Z2

-0.2

0.5

X2

bias

ill A) Perform three steps of the learning algoritlun of the ARTl network for n=5, m =3
and L=2 asstuning that the training vectors are:=

[0 0 1 1 1].

x,

[1 1 0 0 0]

x,

[0 1 1 0 0)

Select an appropriate vigilance threshold p so that all three patterns are clustered
separately when the sequence XI , x" and x, is presented. Compute the final weights
of the trained network .
B) A fully cOJlllected feed-forward neural network has 6 input nodes, 2 Hidden layers
one with 4 neurons and the other with 3 neurons, and a two output neurons.
Constlllct an architectural graph of this network.

Q,;! A) Design BAM network that stores the following pairs of patterns:AI = [0.5 -0.1
-OA 0.2]
BI = [I
-2
-r41
A, = [5
7
3
2]
B,= [-0.1 -0 .3 -Ol9]
A] = [-4
7
3
-2]
B3= [0.5
0.7 015]
i) Calculate the memory matrix M
ii)Show that the memory associates perfectly
iii) Calculate tbe memory response B if the noisy pattern is:A= [0 .8 -0.15 0.15 -0 .2]
B) An odd sigmoid function is defined by:(v) = 1- exp(-av)

= lanh(av)

1+ exp(-av)
2
Where tanh denotes a hyperbolic tangent. A is constant, Show that the
d = a[I_2(V)]
dv 2

What is the value of tins derivative at the origin?

Qd A) Compared the supervised learning rules in terms of tbe ingle weight and adjustment
formulas , weight initialization, tbe neuron activation functions and tbe requirement for
neuron or layer to proceed tbe weigbt adaptation (illustrated in table).

I
0) The network shown in the following Figure, lIses neurons with log-sigmoid activation
function with A = I , the neurons output has been measured as
0 1 = 0.28 and O2 =-0.73.
Find the input vector

X=[X 1 xz] that has been applied to the network .

ill A) Compare between genetic algoritbm


'B) Find the minimum of f(x) =5x'

and PSO. How ANN applied in both?


using genetic algorithm, where :-

Therangeofx= {l , 15}
The population size = 4
The string length = 4 bits
Crossover type = one point crossover Pc= 100%
Selection method = Roulette wheel.
The strinr are:-

I0

I0

I1 I1

I0 I0 I1 I

1 10

I1 I0 I

A) Explain the concept of fuzziness as said by Lotti A. Zadeh .


B) Fill tJ,e table below for the following conditions
Value of Resistance (Zero, Small, Large)
Value of Current (Low, Medium, Hjgh)
Value of Voltage (Low, Medium, High)

.~

C) FIll the table


below for the following classical relations:-

U={4, 6, 8}
I x =y
Ii R

= 0.5 Ix- YI=2


[
0.9 Ix-YI=4

I~
4

6
8

Ql: A DC motor is connected to a computer as shown below. The switches and the motor are connected on an
input and an output port occupying the address 460H to 46FH.
a. Draw a circuit of the interface and the connections to the motor using 8255PPI.
b. Draw a circuit of the interface and the connections to the motor using 8051 microcontroller.

...".,

~.

,,- -

C. C.
OCMotOl'

In!erf.<e Soard

[20 Mark]
Q2:
Draw the fonnat ofTMOD register in 8051 rnicrocontroller and write the function of each bit.
b. Draw a circuit diagram to show how four switches and two 7-segment displays can be interfaced to an
8086 based system occupying the address 10H to IFH , 20H to 2FH and 30H to 3FH respectively.
c. Write an 8051 assembly language program to transfer the letter " A" serially at 9600 baud, 8-bit data,
and I stop bit.
d. Explain the different addressing modes available in 8086 assembly language programming with
example.
[20 Mark]
Q3:
a. Write an 8051 assembly language program to receive bytes of data serially, and put them in PI. Set the
baud rate at 4800, 8-bit data, and I stop bit.
[10 Marks]
b. Design an 8086 memory system consisting of I Mbytes, Using 64K x 8 memory.
[10 Marks]
Q4 :
a. Write an 8051 assembly language program to generate a square wave of 1 KHz at port pin 1.5 using
auto reload mode of timer O.
[10 Marks]
b. Compare between data memory & program memory with respect to 8051 microcontroUer.
[10 Marks]
{'
.
fl.

QS:
a. Explain the fo llowing pin functions 0[8085 microprocessor: ALE. READY, XI and X2, CLKOUT
b. What are the hardware and software interrupts in 8085 microprocessor? Which interrupt has the hi ghest
priority?
c. In 8085 which is called as High order I Low order Register? In 8085 name the 16 bit registers.
d. Can an RC circuit be used as clock source for 8085? Why crystal is a preferred clock source?
(j..lJMark]

UNIVERSITY OF TECHNOLOGY
DEPARTMENT OF ELECTRICAL ENGINEERING
Final Supplementary PhD Examination
September 2014
Subject: Mathematics
Attempt All Questions

Q. l. Solve the fo llowi ng linear programming problem:

Min Z = 2 Xl

+ 3 X,

S.T:

x, ,; 8
0.25 Xl + 0.75 X, ;;, 5
Xl + Xz
;:::; 10

Xl

0.5

X1,X2 ;:::

Q.2. Consider the followi ng transportation problem:


a. Find the initial so lution by Min imum cost Model?
b. Use the multiplier method to evaluate the optimal solution?

c,

C,

C,

C,

Supp ly

S,

70

5,

40

5,

50

5,

30

40

50

Dem and

20

80

Q.3. Use Stokes' Theorem to evaluate Ie F . dr where F ;:::; xz i + 2xy J+ 3 xy Ii.


. C is the boundary of the part of the plane 3x + y + Z

3 in the first octant oriented

counterclockwise as viewed from above.

Q.4. Sol ve the nonl inear partial differential equation by using tan ~Cot me thod?

Utt

Uxxt

+~

Uxxxx -

3
(u )xx

= 0

11 .;:
I

I.

!I!'

U n,h: e~s i ty ,o f Technology

.'

ip

I Electrical Engineering Department

[Pq.~ ~o~~e ( Reset Examination

I.

~dvanced Electromagnetic Fields 2/9/2014, T ime : 3 hrs


~ a ,a :.:~. ~ . a: . , ~ , Att~~pt F;~; Q~~ti~~; ~;Jy(Eq~~i ~~ks) a . . . . . . . . . . . . . i ~ '"
J
j

'.

tj

: ~I)A point charge of3 0 nc is located at point (2,2,0) between two semi infinite codducti~g
l'lan~~ il1ters~cting

at right angles (one at y ~ 0 plane and the other,at x ~ 0 plane). ; .


iCalculate the force on this charge. What is the polarization and the energy density ~t (5,6,7) I
"
,
.
use , ~ 3.5 at this point.
I. , t)
b) In cylindrical coordinate system, the potential is function of radius where V ~ 90 v,f<br p.
'.~ 3m and V ~ 20 v for p ~5m. Calculate V,E at p ~ 3.5m then estimate the capaditru\ce
per
,
\ffiit lepgth in the defined region.
,
!

f. -

j' ,

.j.

Qz') ;'
State expression then calculate each of the following:
,
a)Electric flux density at midpoint of the radius ofa spherical volume with density,Iof30 ncl,
m' and radius of20 cm .
b) The potential difference between (4,0,8) to (2,360,5) for E ~ 400 ell a.. vim.
~) The pressure on the surface of the plate of the parallel plate capacitor with 30,!,' c!m"

and e, ~ 4.
"
'.
d) The decay of volume charge density with the relaxation time for t ~ ( e I ,,) and
~
50 J-1 c 1m at t ~O).
I

(Pv ~

Q3)

I.

h, "

a) For a certain region if a ~ 0, c ~ 4. X 10. Flm, J-1 ~ 10. Him , and Pv ~ 0.: Fmd k so
that the following pair of field s satisfY Maxwell's equations.
i
E~ ( 1 5y-kt)a, v/m,andH~(y+4X 106t )a, Nm .
'
What is the total power following through the surface area 1 ~ x ~ 7 , 1 ~ z ~ 4, Y ~ 3, at
instant time of t ~ 8 second.
9

1. "'.- ..

plane wave propagating in a medium has E ~ 2 e-QZ ,sin ( 108 t - Pz a y


b) A uniform
,

Vim

'

If the medium is characterized by , ~ 1, J-1, ~ 20, and " ~ 3 mhos/m. Find The
. I,' :
nropagation
parameters
(a , p ) and H.
f't- " .1
I

,
,

,'"

..

....

".

,
."
,

. '

-,

.,

1-

"

Q,)

a) In a nonmagnetic medium
\
,
;
7
E = 4 s in ( 2" X 10 t - 0,8 x ) a, Vim. Find: i) " '1 ii) The time-average p04er
carried by the wave, ii i) The total power crossing 1.00 cm' ofplam' - 2x + y = 5. ,
.

'"

,j

'b) The function U = ,,' z cos 2<1> represents the interface surface ~etween two diele~tti
media with c" = 3, and " = 5, The point p( 6, 50, 4) is located on this surface
thl'
,electricfield E , = 8 a" + 14 ll", + 18 a, vim is directed from med(um 1 to mediun;,. 211~
point p, Find E" D" 9, , 9, .
" '

and

'Qs)

a) Explain briefly each of the following:


Polarization in Electrostatic,
.
Magn,tization in Magnetic material.
Forces due to magnetic fields,
Skin depth and skin resistance,
I

b) ,Given the electric field E in free space through a spherical regi<;>n 2:5 r :5 4, O is 91:$ 60 ,
45.:5 <1>:5 90 .
,
: ,
. E ;= cqs ,9 / ,) a, + r sin 9 cos <I> aa + cos Ga",
vim.. , Find:
!
'. ' "
Th.c,workirequired ,to move 20 mc point charge between two opposite diagonal coril~ !l(
this region.
! "
'
The total flux crosses the surface r = 4 m,
I'
The Electrostatic energy density at the centre point of this region.

,,
:.. !

I .

i ""J '~
........................................................................................................................
ProW, Adil,H Ahmed

~!

av
ax"

av
ay"

av
aZ.'

av

ov

p a "

az

VV = -a + - a + - a
for cylindrical coordinates.

vv = -av
a
op

+ --a +-a
l

and for spherical coordinates,


OV
1 av
I OV
+--,,+ - - - a
or r r 06
r sin 6 arb 4>

VV ~ -a

v . A = .!. ~ (PA
p

1 a 2
V A = - - ( r A)

r10r

op

)
P

.!. oAt +
P a

V x A= - -

rl sin 8

oz.

J
0
I
oA .
+ - - -(Af sin 6) + - - =
rsin8 a8

V x A=

oA z

a,

,"

rsin6a.

a a
a, a8

a
a.

A,

,A,

r sin6A .

r sin6 arb

Potrebbero piacerti anche