320 likes | 466 Views
Automatic Display. Moniter Adjuster. Senior Project Design Class Fall 06. success &. success &. Anish Thakkar. Bei Na Wei. Bei Na Wei & Anish Thakkar . Senior Project Design: Automatic Computer Monitor Adjustor. Overview. Our Motivation Device Objectives Implementation System Test
E N D
Automatic Display Moniter Adjuster Senior Project Design Class Fall 06 success & success & Anish Thakkar Bei Na Wei
Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Monitor Adjustor Overview Our Motivation Device Objectives Implementation System Test Conclusions (Cost Analysis, Challenges, and the Next Step)
Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Monitor Adjustor Motivation Laptops and changing lighting conditions Eye strain and improper screen settings Battery life maximization Manual adjustment is a hassle!
Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Monitor Adjustor Device Objectives Our device should… Detect lighting conditions and… Adjust screen brightness without… Distracting the user!
Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Monitor Adjustor Device Features USB Interface Powered via USB Bus Onetime setup Quiet and subtle adjustment
Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Monitor Adjustor The ADMA System Device Circuit Computer USB Controller Power Supply cord to USB dongle via software Display monitor Software Application Sensor Controller Circuit USB Device Drivers Ambient Light Sensor
Hardware Overview To Photosensor USB Controller Microcontroller Clock
Hardware Overview To Photosensor Clock Microcontroller USB Controller To USB Port
Initialization • Configure Analog to Digital Converter • Setup Data ports Is USB Controller Enumerated? Delay (10ms) No Yes count = 0; average = 0; count equals 100? Yes No Is USB controller available to write? Poll ADC average += 0.01 * read_ADC(); No Yes Delay (20ms) count ++; Delay (1us) Write data to USB Queue Data Acquisition and Processing Data Transmission
Software Flow Diagram Find Sensor Start Up Menu ADMA System On Menu ADMA System Off Menu Check user input Check user input User Adjustment Check for sensor Obtain sensor readings Apply ADMA algorithm Adjust display moniter gamma ramp Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Moniter Adjustor
Software Components USB Communication Controlling display settings ADMA Algorithm User Interface Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Moniter Adjustor
USB Communication Computer searches for relevant USB device driver when device is plugged in Enumerates device and makes it available to system Software searches for device by matching ID tags Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Moniter Adjustor
USB Communication (cont.) Original implementation involved setting the device as a USB Human Interface Device (HID) Decided not to use as the USB FTDI chip drivers managed device enumeration Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Moniter Adjustor
Controlling Display Settings Implemented through using the gamma ramp Changes the intensity of the RGB values written to the video card Quantized possible range of values to 16 levels Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Moniter Adjustor
ADMA Algorithm Controls sensor readings and display monitor settings Monitors output of the sensor and changes the display monitor settings if necessary Maps sensor readings to display monitor brightness levels through a linear function Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Moniter Adjustor
Calculating Brightness Display Brightness Level y = mx +b Sensor reading Gradient determined through subjective testing y intercept determined by the user allows adjustment to cater specifically to the user Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Moniter Adjustor
ADMA Algorithm (cont.) Only changes display settings if change in surrounding light lasts for a long time Keeps running average of last 5 samples If change is signalled checks next 5 samples to see if change is needed Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Moniter Adjustor
User Interface 3 Menus System start up System On System Off Always gives user ultimate control Tells user to attach sensor if disconnected Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Moniter Adjustor
Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Monitor Adjustor System Tests 1. Power Test Average Power = 236mW 2. CPU Utilization 1sec aggregate CPU time for 2:55:00 runtime 0.00952% utilization
Intensity Characterization Intensity Readout Newport Photosensor Our Device
s Intensity Characterization Device Saturation Average Room Lighting
Subjective Calibration Device Photosensor
Feedback Test Distance
Challenges Implementing the GUI as a Windows form Unable to access brightness, contrast and display monitor backlight settings Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Moniter Adjustor
Success! Ultimately managed to build the entire system Satisfies all functionality requirements specified in the design review Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Moniter Adjustor
Cost Analysis Labor : $50 / hour * 150 hours * 2 engineers = $37,500
Future Recommendations Redesign the ADMA algorithm so that it can memorize the user’s responses over time Create a USB dongle for the circuit component Investigate different types of video cards to offer the user increased functionality Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Moniter Adjustor
Ethical Considerations Ensuring that the electrical circuit is safe System can help reduce eyestrain depending on the surrounding environment Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Moniter Adjustor
Thank You Alex Spektor – TA Professor Makela Mark Smart – ECE Shop UIUC and the ECE department Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Moniter Adjustor
Any Questions ? Bei Na Wei & Anish Thakkar Senior Project Design: Automatic Computer Moniter Adjustor