Smart solution for collision at doors using Arduino

21
Smart solution for collision at doors using Arduino Olimov Amon, Ryum-Duck Oh Department of Software, Korea National University of Transportation Presentation date: 15.07.07

Transcript of Smart solution for collision at doors using Arduino

Page 1: Smart solution for collision at doors using Arduino

Smart solution for collision at doors using Arduino

Olimov Amon, Ryum-Duck Oh

Department of Software, Korea National University of Transportation

Presentation date: 15.07.07

Page 2: Smart solution for collision at doors using Arduino

Contents

•  Introduction • Collision notifier device design and methods

– Working algorithm

– Noise removing algorithm from sensor output

– Receiver algorithm for DYP-ME007TX ultrasonic sensor

–  From theory to practice, device tests and results

• Conclusion

Page 3: Smart solution for collision at doors using Arduino

Introduction • Lots of people work in offices in modern life, scientists,

economists, program developers and such mental workers. At least little troubles or problems may be affected to employment rates of office workers. In fact these kind little troubles happen at solid doors. Without being aware of there is other person behind the door two person trying to open it at the same time. Result of these kinds of collisions might be fear, falling the documents, losing the mind, splitting coffee.

Page 4: Smart solution for collision at doors using Arduino

Introduction Consequences of collision:

-Loosing the mind

-Fear

-Stain the cloth in result of splitting coffee

-Falling the documents

-etc.

Page 5: Smart solution for collision at doors using Arduino

Introduction Consequences of collision:

-Loosing the mind

-Fear

-Stain the cloth in result of splitting coffee

-Falling the documents

-etc.

Page 6: Smart solution for collision at doors using Arduino

Introduction Consequences of collision:

-Loosing the mind

-Fear

-Stain the cloth in result of splitting coffee

-Falling the documents

-etc.

Page 7: Smart solution for collision at doors using Arduino

Collision notifier device design and methods (1)

• How to notify if somebody behind the door?

• How to sense collision moments? How to make ubiquitous device?

Page 8: Smart solution for collision at doors using Arduino

Collision notifier device design and methods (1)

• How to notify if somebody behind the door?

• How to sense collision moments? How to make ubiquitous device?

Page 9: Smart solution for collision at doors using Arduino

Collision notifier device design and methods (1)

• How to notify if somebody behind the door?

• How to sense collision moments? How to make ubiquitous device?

Page 10: Smart solution for collision at doors using Arduino

Collision notifier device design and methods (1)

• How to notify if somebody behind the door?

• How to sense collision moments? How to make ubiquitous device?

Page 11: Smart solution for collision at doors using Arduino

Collision notifier device design and methods (1)

• How to notify if somebody behind the door?

• How to sense collision moments? How to make ubiquitous device?

Page 12: Smart solution for collision at doors using Arduino

Collision notifier device design and methods (2)

• 2x ultrasonic sensors

• 2x LED lights

• 4x AA battery

• 1x Arduino Uno

Page 13: Smart solution for collision at doors using Arduino

Working algorithm

aSideDistance < 100 cm

turnOn(bSideLED)

bSideDistance < 100 cm

turnOn(aSideLED)

o  If somebody is in 100 cm to A side of door turn on B side LED

o  If somebody is in 100 cm to B side of door turn on A side LED

loop

Page 14: Smart solution for collision at doors using Arduino

Working algorithm

• On Arduino sketch programming language:

aSideDistance < 100 cm

turnOn(bSideLED)

bSideDistance < 100 cm

turnOn(aSideLED)

loop

Page 15: Smart solution for collision at doors using Arduino

Noise removing algorithm from sensor output

Ultrasonic waves are longitudinal mechanical waves, which travel as a sequence of compressions and rarefactions along the direction of wave propagation through the medium. Sensing degree of this sensor illustrated above, best sensing in 30 degree.

After few days testing this sensors there detected some noises on sensing correct distance. To get correct distance value without aberration we have to clear the values array with mode filter or median filter algorithm.

Page 16: Smart solution for collision at doors using Arduino

Noise removing algorithm from sensor output

•  The robust mode filter is simple "Do the last two readings agree?" (With in a certain distance, and the certain distance depends upon how much variation one expects in the actual use. Even so most use the logic of "are these readings exactly the same")? If so, use the readings, otherwise throw away to oldest reading, and compare the next reading with the most current reading and do this again. Obviously with very noisy data, one might have to sample a larger group of readings, and pull out the most common reading, but for most applications, this simple two reading filter works very well.

Page 17: Smart solution for collision at doors using Arduino

Receiver algorithm for DYP-ME007TX ultrasonic sensor

•  Our second sensor is DYP-ME007TX that sends only distance between sensor and near object. The output from this sensor comes in packets of 4-bytes, only thing we have to do is extract second and third bytes from package.

Page 18: Smart solution for collision at doors using Arduino

From theory to practice, device tests and results (1)

Page 19: Smart solution for collision at doors using Arduino

From theory to practice, device tests and results (2)

Page 20: Smart solution for collision at doors using Arduino

Conclusion

•  We suggest that collision function can be included to the Smart Door Lock devices. If door lockers notify about person through the door, instead of only locking doors, they could be more capable and smarter devices.

Page 21: Smart solution for collision at doors using Arduino

Thank you

Olimov Amon1*, Ryum-Duck Oh2

Department of Software, Korea National University of Transportation [email protected], [email protected]