+ All Categories
Home > Documents > SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

Date post: 20-Jul-2016
Category:
Upload: amit11ecu023
View: 11 times
Download: 1 times
Share this document with a friend
Description:
Colour blindness means that you have trouble seeing red, green, or blue or a mix of these colours. Its rare that a person sees no colour at all. This is an application made This is an application made for testing of colour blindness in people. This project is basically made on the Nexys3 Spartan6 FPGA kit and VERILOG is used as high definition language which is implemented using Xilinx ISE 12.7. In this project, on execution a square is being displayed on the monitor using VGA, and the user by identifying the colour are giving the input with the help of switches and the menu displayed on the monitor for each colour input. After this the input is matched with the number on the menu for that colour with the help of the push buttons. If the colour is matched next colour is displayed and if you correctly identify all the colours then you have passed the test but if any of you input is not matched then colour blind will be displayed
26
DSD PROJECT: SOC Implementation using FPGA prototyping for Colour Blindness Detection for Eye Patient By AMIT SHARMA ASHANA JAIN
Transcript
Page 1: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

DSD PROJECT: SOC Implementation using FPGA prototyping

for

Colour Blindness Detection for Eye Patient

By

AMIT SHARMA

ASHANA JAIN

Page 2: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT
Page 3: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

Normally, there are three kinds of

cones (each one sensitive to a

specific range of wavelengths):

"red" cones (64%)

"green" cones (32%)

"blue" cones (2%)

The normal human retina contains two kinds of light sensitive cells: the rod cells (active only in low light) and the cone cells (active in normal daylight and responsible for color perception).

The different kinds of inherited color blindness result from partial or complete loss of function of one or more of the different cone systems.

Page 4: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT
Page 5: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT
Page 6: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT
Page 7: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT
Page 8: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT
Page 9: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

Various test available :

#Card testing

A color normal person can see a yellow circle and a faint brown square. On the other hand color blind people can see only the yellow circle.

Page 10: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

#Ishihara test

Number on Ishihara plates

Page 11: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

#Rainbow testing :

Normal man’s view Protanopia Deuteranopia Tritanopia

view view view

Page 12: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

Our test:

SOC Implementation using FPGA prototyping for

Colour Blindness Detection for Eye Patient

User binary input

enter next

Page 13: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

Architecture Proposal :

Page 14: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

Behind the project

Page 15: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

Introduction

The Video Graphics Array (VGA) is a display

standard that was introduced in 1987. The

VGA screen that we intend to use is one

which finds use in PCs today.

Page 16: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

VGA Video Signal

A colour VGA video signal is composed by 5 different signals, two synchronization signals (HSYNC and VSYNC) and three video signals (R, G, B)

HSYNC Horizontal sync. Make electron beam restart at next screen's scan line (starts a new line)

VSYNC Vertical sync. Make electron beam restart at first screen's scan line (starts a new frame)

R Red intensity

G Green intensity

B Blue intensity

Page 17: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

Nexys 3 VGA port

The Nexys3 board uses 10

FPGA signals to create a VGA

port

with 8-bit color, and

two standard sync signals

(HS – Horizontal Sync, and

VS – Vertical Sync)

Page 18: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

Timings

•Pulses on HSYNC signal

mark the start and end of a

line and ensure that the

monitor displays the pixels

between the left and right

edges of the visible screen

area.

•Pulses on VSYNC signal

mark the start and end of a

frame made up of video lines

and ensure that the monitor

displays the lines between

the top and bottom edges of

the visible monitor screen.

Page 19: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

Timings for 640x480 resolution

Symbol Parameter Vertical Sync

Horizontal

Sync

Time Lines Time Clocks

Ts Sync Pulse 16.7ms 521 32µs 800

Tdisp Display Time 15.36ms 480 25.6µs 640

Tpw Pulse Width 64µs 2 3.84µs 96

Tfp Front Porch 320µs 10 640ns 16

Tbp Back Porch 928µs 29 1.92µs 48

Page 20: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

Block Diagram

1. A 640x480 resolution with

refresh rate of 60 Hz requires

a pixel clock of 25 MHz, this

clock is derived by dividing the

on-board 100 MHz clock by 4.

2. The HSYNC and VSYNC pulse

are generated by using

Horizontal counter and

Vertical Counter. The counters

also tell which pixel is

currently being dealt with.

Page 21: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

Character Generation

3. Character Generator

(Font Map) stores 8x16

bit tile for every ASCII

character.

4. Using HC, VC and Font

Map the DAC assigns

RGB value to individual

pixels. The pixels

corresponding to 0 are

set Black while RGB value

of those corresponding to

1 are set as per desired

colour.

Page 22: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

By using we are able to create a GUI having menu and a colour box on the

Screen of monitor. We can generate 255 colour because vga have 8 bit for

Defining colour (3 red ,3 green,2 blue). Bur here we use only 8 colour that

Is RGB and combination of these. we don’t here deal with the shades of green

Or red. Finally our GUI look like this:

Page 23: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

Following colour combination:

Page 24: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

And FINALLY WE ARE ABLE TO PRESET A MODULE

OF THE DEVICE BY USING THAT ANY ONE CAN

CHECK WHETHER HE/SHE IS COLOUR BLIND OR

NOT WITHOUT THE OBSERVANCE OF ANY EXPERT.

Page 25: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT
Page 26: SOC IMPLEMENTATION USING FPGA PROTOTYPING FOR COLOUR BLINDNESS DETECTION FOR EYE PATIENT

Take Care


Recommended