You are on page 1of 4

REALIZATION OF ELECTRONIC CIRCUITS

BASED ON FUZZY LOGIC


Utsav Sharma(first author),Abhimanyu Bhatia,Upendra Yadav

Department of Electrical Engineering


F/O Engineering & Technology
Jamia Millia Islamia , Jamia Nagar, New Delhi, Delhi 110025,INDIA
abhimanyu.hbk@gmail.com

Abstract
C. FUZZY AND GATE
In this paper we present the realization of basic
electronic circuits based on fuzzy logic using simulink . Fuzzy AND operation is defined as min(µ A (x) , µB (x)) where
Circuits which are realized include fuzzy gates – NOT , µA (x) represents the membership function of the first input
AND ,OR . Using these basic fuzzy logic based gates we and µB (x) represents the membership function of the second
have also simulated a multiplexer having two inputs , both input. The membership function of the output is given by
of which are fuzzy in nature. Therefore, the output min(µA (x) , µB (x)).
obtained is also fuzzy in nature. The multiplexer model Membership functions of both inputs are taken as triangular in
implemented is a 2 x 1 multiplexer i.e. 1 select line is used nature. The output membership function is given by the
to control two inputs. intersection of the membership function the two inputs.

I. INTRODUCTION
III. CIRCUIT OF GATES
Fuzzy systems are usually simulated by first using a
fuzzifier to first convert the given set of crisp sets into fuzzy A. CIRCUIT OF FUZZY NOT GATE
sets . After fuzzyfying the inputs various operations can be Fuzzy NOT is simply the inverting operation achieved by
performed on them using fuzzy knowledge base. Once the basic differential amplifier.
output values are obtained , they are further converted into the Vout= (R2/R1)(Vref -Vin)
set of crisp values by using a defuzzifier.
Vref is selected to be 1
In this paper we will simulate the basic fuzzy logic gates So,
using the trivial definitions of AND , OR gates. We have used IF , R1=R2
voltage as a reference to represent our inputs and outputs Vout = (1-Vin)
.Voltage value 0 is taken as low where as voltage value 1 is
taken as high. The input and output membership functions are
triangular in nature. The results of the simulation are also
shown .
II. DESCRIPTION OF GATES
A. FUZZY NOT GATE
Fuzzy complement is defined as µA’ (x) = 1-µA (x) where
µA’ (x) represents the membership function of the output and
µA (x) represents the membership function of the input.
Membership function of input voltage Va is taken as triangular
in nature.
B. FUZZY OR GATE
Fuzzy OR operation is defined as max(µA (x) , µB (x)) where
µA (x) represents the membership function of the first input Fig.1. Fuzzy NOT gate circuit
and µB (x) represents the membership function of the second
input. The membership function of the output is given by
max(µA (x) , µB (x)). B. CIRCUIT OF PRECISION RECTIFIER
Membership functions of both inputs are taken as triangular in To implement the fuzzy OR gate, fuzzy AND gate we have
nature. The output membership function is given by the union used precision rectifier as a building block.
of the membership function the two inputs.
CIRCUIT OF NON-INVERTING PRECISION
RECTIFIER
Precision rectifier which is a combination of op-amp and
diode works as ideal diode with zero cut in voltage.

Fig.4. Fuzzy AND gate circuit

IV. SIMULATION

We will now present the simulation of these circuits in


Fig.2. Precision rectifier circuit simulink .Using the model of precision rectifier we have
C. CIRCUIT OF FUZZY OR GATE implemented the fuzzy OR gate. Then using the model of fuzzy
NOT gate and fuzzy OR gate we were able to implement the
Fuzzy OR gate employs two precision rectifiers to produce the model of fuzzy AND gate. The input signals taken are
output as maximum of two input membership functions. triangular pulses ranging from zero to one similar to the range
of membership function. For dual input circuits, one of the
pulse is delayed in order to distinguish between the two.

1.) FUZZY NOT GATE (INVERTER)



Fig.3. Fuzzy OR circuit using precision rectifier

D. CIRCUIT OF FUZZY AND GATE


Using De Morgan’s Law : A.B = (A’+B’)’ Fig.5. Simulink model of Fuzzy NOT gate
Thus, Fuzzy AND gate can be realized using Fuzzy Not
gate and Fuzzy OR gate .
SIMULATION RESULT

Fig.6. Output of fuzzy NOT gate


2.) FUZZY OR GATE Fig.9. Output of fuzzy OR gate
To implement OR gate we first simulated the building block 3.) FUZZY AND GATE
of OR gate
PRECISION RECTIFIER

Fig.7. Implementation of precision rectifier


Fig.10. Simulink model of fuzzy AND gate
FUZZY OR GATE
SIMULATION RESULT

Fig.11. Output of fuzzy AND gate


Fig.8. Simulink model of fuzzy OR gate

4.) MULTIPLEXER
SIMULATION RESULT A multiplexer produces a single output depending upon the
input signals and select lines.
For a 2x1 multiplexer with 2 inputs A and B and select
function S, the output Y is given as
Y=A*S’+B*S
For the two triangular pulses the model is drawn and the ACKNOWLEDGMENT
output is obtained as the simulation result
We would like to acknowledge our professor and mentor
Dr. A.Q. Ansari for his helpful advice , inspiring guidance and
encouragement throughout the research work .
REFERENCES
[1] AHMED M. IBRAHIM, “Introduction To Applied Fuzzy
Electronics,”(2011):38-73.
[2] K Hirota, “ The Concept of Fuzzy Flip Flop,” IEEE Transactions on
Systems, Man, and Cybernetics Volume:19 (1989):980-997.
[3] Y. Yamakawa “Fuzzy Logic Circuits in Current Mode,“Chap.17 in vol.
1 of Analysis of fuzzy information, ed. J.C. Bezdek(CRC
Press,1987):242-262.
[4] Y. Yamakawa “Fuzzy Logic Circuits in Current Mode,“Chap.17 in vol.
1 of Analysis of fuzzy information, ed. J.C. Bezdek(CRC
Press,1987):242-262.
[5] Y. Yamakawa “Fuzzy Logic Circuits in Current Mode,“Chap.17 in vol.
1 of Analysis of fuzzy information, ed. J.C. Bezdek(CRC
Fig.12. Simulink model of multiplexer Press,1987):242-262.
SIMULATION RESULT

Fig.13. Output of multiplexer

You might also like