physics special presentation

26
13 December 2016

Upload: binuka-gunawardana

Post on 07-Feb-2017

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Physics Special Presentation

13 December 2016

Page 2: Physics Special Presentation

13 December 2016

• Introduction

• Objectives

• Methodology

SIRC (Series Infrared Controller) protocol

IR remote

IR sensing

Ceiling fan rotation speed controlling

• Results

• Conclusions

• Recommendations

Page 3: Physics Special Presentation

13 December 2016

Quality and comfort of life is achieved from seek of convenience...

• Ceiling fan is an electrical device used to control the temperature

inside a room

• There are many manual celling fan regulators

• Automatic systems are available too, but are expensive and rare in

Sri Lanka

Focused on designing a low cost remote control system for ceiling fan

Speed Time Turned on

Page 4: Physics Special Presentation

13 December 2016

Designing an Infrared (IR) remote control system to control therotating speed of a ceiling fan

Designing a timer and 7-segment display unit to display the speedand the timer of the ceiling fan

low cost product

Page 5: Physics Special Presentation

13 December 2016

• Commercially available manual ceiling fan regulators were analyzed

• A method to control the ceiling fan rotation was designed

• An IR remote and receiver that uses SIRC protocol to send and receive IR signals were designed

• A 7-segment display unit was designed to indicate the speed level and the timer of the ceiling fan.

• The designed ceiling fan remote control system was manufactured on a PCB (Printed Circuit Board)

Page 6: Physics Special Presentation

13 December 2016

Series Infrared Controlling Protocol

-Device

-Command

-Start

S 0 1 2 3 4 5 6 0 1 2 3

S

b

b

Key

Bit stream in SIRC 12-bit version

12-bit version was selected which is also used in SONY IR television remotes

Page 7: Physics Special Presentation

13 December 2016

0.6ms

Start bit = 2.4ms Logic “0” = 0.6ms Logic “1” = 1.2ms

0.6ms

Pulse width durations in SIRC protocol

BitDuration of pulse

𝛍𝐬

Start 2400

1 1200

0 600

Page 8: Physics Special Presentation

13 December 2016

PWM output of microcontroller 12F683*

• PIC 12F683 was used

• 40 kHz square wave signal was generated by PWM module

𝑃𝑊𝑀 𝑝𝑒𝑟𝑖𝑜𝑑 = [ 𝑃𝑅2 + 1] × 4 × 𝑇𝑂𝑆𝐶 × 𝑇𝑀𝑅2 𝑝𝑟𝑒𝑠𝑐𝑎𝑙𝑒 𝑣𝑎𝑙𝑢𝑒

𝑃𝑢𝑙𝑠𝑒 𝑊𝑖𝑑𝑡ℎ = [𝐶𝐶𝑃𝑅1𝐿 ∶ 𝐶𝐶𝑃1𝐶𝑂𝑁] × 𝑇𝑂𝑆𝐶 × 𝑇𝑀𝑅2 𝑝𝑟𝑒𝑠𝑐𝑎𝑙𝑒 𝑣𝑎𝑙𝑢𝑒

* Source - Microchip, “8-Pin Flash –Based, 8-Bit CMOS Microcontroller with nanoWattTechnology,” PIC12F683 datasheet, 2007

Page 9: Physics Special Presentation

13 December 2016

Power

ON/OFF

Increase

Speed / Timer

controller mode

Decrease

IR remote design

Page 10: Physics Special Presentation

13 December 2016

• PIC 18F2550 was used

• SM0038 IR module was used

Block diagram of SM0038 IR module*

* Source - Thermoelectric Products, “Infrared Receiver Module,” SM0038 datasheet, 2003

Page 11: Physics Special Presentation

13 December 2016

Timer2 Module was programmed to issue interrupt on every 0.6ms after detecting an external interrupt

0·6ms0·6ms

Falling edge Rising edge

0·6ms 0·6ms

Waveform of correctly received Start-bit at RB0 port

Page 12: Physics Special Presentation

13 December 2016

0·6ms

Timer2 resets on this rising edge and

counter value = 0

Timer2 resets on this rising edge and

counter value = 3

0·6ms 0·6ms

Logic “1” pulse received on RB0 port

Page 13: Physics Special Presentation

13 December 2016

0·6ms

Timer2 resets on this rising edge and

counter value = 0

Timer2 resets on this rising edge and

counter value = 2

0·6ms

Logic “0” pulse received on RB0 port

Page 14: Physics Special Presentation

13 December 2016

The Power delivered to ceiling fan was controlled by a Triac

Phase control using a Triac*

* Source - http://www.pic_examples.byethost3.com/Dimmer.html (10/09/2012)

Page 15: Physics Special Presentation

13 December 2016

Timer1 module was used to control the triggering time of the Triac

Timer0 module was used to control the automatic turn OFF time ceiling fan

A 7-segment display unit was designed using a shift register

Page 16: Physics Special Presentation

13 December 2016

Optocoupler

Transformer

Isolates the

circuit From

230V

Use of an IR remote!!

Page 17: Physics Special Presentation

13 December 2016

The designed ceiling fan regulator

Page 18: Physics Special Presentation

13 December 2016

Output waveform of the device for speed level 1 Output waveform of the device for speed level 2

Output waveform of the device for speed level 3 Output waveform of the device for speed level 4

Page 19: Physics Special Presentation

13 December 2016

Speed levelSupply Voltage

(V)

Supply Current

(mA)

Wattage

(W)

OFF* 218.3 8.56 1.869

1 218.3 8.63 1.883

2 218.3 8.64 1.886

3 218.3 8.64 1.886

4 218.3 8.66 1.890

Power consumption of the designed ceiling fan regulator without the ceiling fan

*OFF- power consumed by regulator when it is in Stand By mode

Page 20: Physics Special Presentation

13 December 2016

The Graphs of Wattage vs. Rotation speed for different type of ceiling fan

regulators

Designed ceiling fan regulator

Capacitive type manual ceiling fan regulator

Inductive type manual

ceiling fan regulator

Page 21: Physics Special Presentation

13 December 2016

• Energy Efficient

• Easy to control

• Linear relationship with RPM of Ceiling fan

• Can be used as light dimmer

• Low cost

• Needs a special wiring system

Page 22: Physics Special Presentation

13 December 2016

• IC with only necessary Modules

• Modify to control several devices

• Use Atmel microcontrollers

Page 23: Physics Special Presentation

13 December 2016

Page 24: Physics Special Presentation

13 December 2016

Figure 5.3(b): Schematic of the IR remote

Page 25: Physics Special Presentation

13 December 2016

Figure 5.4(a): Schematic of the power supply

Page 26: Physics Special Presentation

13 December 2016

Figure 5.6(a): The schematic of 7-segment display unit