Smart Lighting System Bradley University Department of Electrical - - PowerPoint PPT Presentation

smart lighting system
SMART_READER_LITE
LIVE PREVIEW

Smart Lighting System Bradley University Department of Electrical - - PowerPoint PPT Presentation

Smart Lighting System Bradley University Department of Electrical and Computer Engineering Authors: Alexander Berian, Dustin McCart Project Advisor: Aleksander Malinowski Date: November 20 2015 Problem Description Overview Division of


slide-1
SLIDE 1

Smart Lighting System

Bradley University Department of Electrical and Computer Engineering Authors: Alexander Berian, Dustin McCart Project Advisor: Aleksander Malinowski Date: November 20 2015

slide-2
SLIDE 2

Overview

  • Problem Description
  • Division of Labor
  • System Block Diagram

2

slide-3
SLIDE 3

Problem Description

  • Smart light switch
  • Replace ordinary light switches
  • Pattern recognition and

utilization

  • Android smartphone

application

  • Bluetooth
  • Wi-Fi
  • User interface panel
  • Buttons and Switches
  • Controlling high voltage lights
  • Light control circuit

3

http://www.fryeelectricinc.com

slide-4
SLIDE 4

Division of Labor

4

slide-5
SLIDE 5

System Block Diagram

5

slide-6
SLIDE 6

Progress

Alex Berian

6

  • Schedule
  • Work completed
  • Light control

circuit

  • User interface

+ Motion sensor

slide-7
SLIDE 7

Schedule

7

slide-8
SLIDE 8

Light Control Circuit

8

slide-9
SLIDE 9

Light Control Circuit: Design

9

  • Transistor
  • 2N3904
  • Relay switch
  • G5LE-1 DC5
  • Diode
  • 1N4004
slide-10
SLIDE 10

Light Control Circuit: Testing

10

Theoretical VRELAY = 4.7V iB = 2.5mA Experimental VRELAY = 4.73V iB = 2.56mA

slide-11
SLIDE 11

User Interface + Motion Sensor

11

slide-12
SLIDE 12

User Interface + Motion Sensor: Design

12

  • LED
  • C5SME-RJS
  • Button
  • 401-1967-ND
  • Switch
  • 100SP1T1B4M2QE
  • Motion Sensor
  • leegoal Pyroelectric Infrared PIR
slide-13
SLIDE 13

User Interface Circuit

13

Theoretical iLED = 1.8mA iswitch on = 0.33mA iswitch off = 0A Experimental iLED = 1.127mA iswitch on = 0.303mA iswitch off = 0.56μA

slide-14
SLIDE 14

Progress

Dustin McCart

14

  • Work completed
  • Pin state setting
  • Work remaining
  • Data storage

finalization

  • Prediction algorithm
  • Mode create
  • Combine all part into

final program

slide-15
SLIDE 15

Schedule

15

slide-16
SLIDE 16

Pin Communication Information

16

Utilizes wiringPI Library

  • Inputs
  • Toggle switches
  • Motion sensor
  • 4 Push buttons
  • Outputs
  • Light control signal
  • Indicator LED status
slide-17
SLIDE 17

Communication Progress

  • Final test of board pin communication program

17

slide-18
SLIDE 18

Prediction Algorithm Information

  • Using Transition Probability
  • Based on Master Thesis By Rolf Heukels
  • Predicting user behavior using transition probability
  • Algorithm
  • It is a three step algorithm

18

slide-19
SLIDE 19

Algorithm First Step

  • First step is initial point distribution
  • Factors used in calculation:
  • Number of occurrences of each state
  • Similarity to current state

19

slide-20
SLIDE 20

Algorithm Second Step

  • Second step is redistribution of points
  • Factors used in calculation:
  • Current time
  • Scope of scan
  • Past transitions
  • Total number of occurrences

20

slide-21
SLIDE 21

Algorithm Third Step

  • Third step creates the actual prediction
  • Factors used in calculation:
  • Total number of points
  • Item to be predicted
  • All states definitions

21

slide-22
SLIDE 22

Prediction Program Progress

  • Reading thesis to understand algorithm
  • MATLAB programming
  • MATLAB testing
  • C++ programming
  • Crosses with data storage development
  • Testing C++ program with test project
  • Comparing with MATLAB results and debugging

22

slide-23
SLIDE 23

Data Storage Program Information

  • Items being stored are two arrays
  • Method chosen in class
  • Utilizes the C++ vector library

23

slide-24
SLIDE 24

Storage Program Progress

  • Looked for different ways to store data
  • Create basic program
  • Asked Dr. Malinowski for information on creating class

template for data storage

  • Converted storage method to class template
  • Created functions to interact with storage arrays

24

slide-25
SLIDE 25

Conclusion

25

  • Overall Team

Progress

slide-26
SLIDE 26

Overall Team Progress

26

slide-27
SLIDE 27

Questions & Answers

27

  • Alex Berian
  • Dustin McCart
  • Team
slide-28
SLIDE 28

Extra Slides

Alex Berian

28

slide-29
SLIDE 29

User Interface Circuit Test

29

slide-30
SLIDE 30

30

Motion Sensor Output

slide-31
SLIDE 31

Android Application Layout

31

slide-32
SLIDE 32

Light Control Circuit Test Setup

32

slide-33
SLIDE 33

Relay Coil Voltage Spike

33

slide-34
SLIDE 34

Light Control Circuit Calculations

34

slide-35
SLIDE 35

User Interface Circuit Calculations

35

slide-36
SLIDE 36

Extra Slides

Dustin McCart

36

slide-37
SLIDE 37

System Flow Chart

37