The document discusses the design and simulation of several components for a relay menu including:
1. Interfacing an LCD and keyboard
2. Design and simulation of a zero crossing detector (ZCD)
3. Design and simulation of measuring voltage magnitude
Design andprograming of Relay Menu
Interfacing LCD And Keyboard
Design and Simulation of ZCD
Design and Simulation of Measurement of Voltage Magnitude
8
80
100
100
7
40
90
100
0
0
35
85
5
40
75
95
27TH JAN 15TH FEB 1ST MAR 15TH MAR
PROJECT PROGRESS
PF V and I MHO Total
2.
• Interfacing ofLCD.
• Interfacing of Keyboard.
• ON/OFF Control.
• Reset.
• Menu.
• UP/DOWN/LEFT/RIGHT for navigation.
• Menu Consist of
• MTA Setting.
• Zone 1, Zone 2, Zone 3 impedance setting.
5/8/2014Electrical Department PES University
3.
• Zero crossingdetector(ZCD) is a voltage comparator that switches the output
between +Vsat and –Vsat when the input crosses zero reference voltage.
• Working of ZCD can be easily understood if you know the working of a basic op
amp comparator.
• In ZCD, we are setting one of the inputs as zero i.e. zero reference voltage.
• The output is driven into –Vsat when the input signal passes through zero to
positive direction.
• Conversely, when input signal passes through zero to negative direction, the
output switches to +Vsat.
5/8/2014Electrical Department PES University
• Output wavefrom ZCD for Current input is square wave
with 50Hz frequency
• Output wave from ZCD for Voltage input is square
wave with 50Hz frequency
• Output magnitude of ZCD is equal to VCC (3.56v, 5v,
12v)
5/8/2014Electrical Department PES University
9.
• Current sensoris used to get corresponding voltage output and wave.
• From the output wave we will get current zero crossing and magnitude.
5/8/2014Electrical Department PES University
10.
• High voltageis converted into low voltage by step down transformer.
• Analog voltage converted into Digital by ADC.
• Voltage magnitude is found by sampled digital value.
5/8/2014Electrical Department PES University
11.
• From theZCD we will get square wave for current and voltage zero crossing.
• The time gap between this 2 output wave of ZCD is found.
• From the time interval Power factor is calculated.
5/8/2014Electrical Department PES University