SlideShare a Scribd company logo
11th International Symposium on Distributed Computing and Artificial Intelligence.
Salamanca, 4nd-6th Juny, 2014
Performance and results of
the triple buffering built-in in
a Raspberry PI to optimize the
distribution of information
from a Smart Sensor
Jose-Luis Jimenez-Garcia, Jose-Luis Poza-Lujan,
Juan-Luis Posadas-Yagüe, David Baselga-Masia,
José-Enrique Simó-Ten
School of Engineering in Computer Science (ETSINF)
University Institute of Control Systems and Industrial Computing (ai2)
Universitat Politècnica de València (UPV) (Spain
11th International Symposium on Distributed Computing and Artificial Intelligence.
Salamanca, 4nd-6th Juny, 2014
Why smart sensors?
Use of sensors in robot navigation:
Survival behaviours  reactive navigation  simple
sensors
Complex behaviours  deliberative navigation  has
been used information from reactive information
sensors
Currently, robots need sensors associated to
behaviours.
However, this information is useful to build an
environment map or to locate specific objects during
the navigation
The information that a sensor produces is interesting it
to be distributed to different behavioural processes
11th International Symposium on Distributed Computing and Artificial Intelligence.
Salamanca, 4nd-6th Juny, 2014
Components
From sensor to smart (intelligent) sensor (device)
Arduino
Intel
Galileo
Raspberry
PI
Reliability
(and price)
Computing
Computing
Reliability
(and price)
Temperature
PIR RGB-D
SENSORS
CONTROLLERS
+
11th International Symposium on Distributed Computing and Artificial Intelligence.
Salamanca, 4nd-6th Juny, 2014
Problems
Intelligent sensor : pre-processing and
Distributing the sensor data
Intelligent Sensor
RGB image
Depth map
Acquisition Process
···
Distribution
···
···
···
···
Clients
Smart Resource
QoS
11th International Symposium on Distributed Computing and Artificial Intelligence.
Salamanca, 4nd-6th Juny, 2014
System
Real Robots
xTion
Raspberry Pi
USB
OpenNI
OpenCV
TCP Server
Ethernet
Smart Resource
Robots
TCP
Client
Control
Simulation
Real implementation
11th International Symposium on Distributed Computing and Artificial Intelligence.
Salamanca, 4nd-6th Juny, 2014
Buffering techniques
Sensor acquisition
Sensor distribution
Solution
1: Wait()
2: Swap()
3: Send()
1: I 0
2: Adquisition()  frame
3: while I < frame.MaxPixel
do
4: frame.Process()
5: end while
6: Swap()
7: Signal()
11th International Symposium on Distributed Computing and Artificial Intelligence.
Salamanca, 4nd-6th Juny, 2014
Buffering
tacc < tdistribution
Acquisition()
Process Thread()
Process()
signal()
Send Thread()
wait()swap() swap() send()
Clients
A1
(fi+1)
A3
(fi)
swap() & signal()
swap()
acquisition & process() send()
Intelligent
Sensor
send()
send()swap() & signal()
send()
swap() & signal() send()
acquisition & process()
acquisition & process()
Frame A3 is
last frame,
Frame A2 is
not sent
swap()acquisition & process()
send()swap() & signal()
..., fi, fi+1, fi+2, fi+3, fi+4, ...
A3
(fi)
A3
(fi)
A3
(fi)
A1
(fi+1)
A1
(fi+1)
A1
(fi+1)
A1
(fi+1)
A1
(fi+1)
A1
(fi+1)
A1
(fi+1)
A2
(fi+2)
A2
(fi+2)
A2
(fi+2)
A3
(fi+3)
..., fi, fi+1, fi+3, ...
A2
(fi+2)
A3
(fi+3)
A2
(fi+4)
A2
(fi+4)
A3
(fi+3)
A3
(fi+3)
A2
(fx)
A2
(fx)
11th International Symposium on Distributed Computing and Artificial Intelligence.
Salamanca, 4nd-6th Juny, 2014
Buffering
tacc > tdistribution
A1
(fi+1)
A3
(fi)
swap() & signal()
acquisition & process() swap() & send()
swap() & signal()
acquisition & process()
acquisition & process()
A3
(fi)
A3
(fi)
A1
(fi+1)
A1
(fi+1)
A2
(fi+2)
A2
(fi+2)
A2
(fi+2)
A3
(fi+3)
A3
(fi+3)
A2
(fx)
A2
(fx)
wait()acquisition & process() A1
(fi+1)
A2
(fx)
A3
(fi)
A3
(fi)
acquisition & process()
acquisition & process() A2
(fi+2)
A3
(fi)
A1
(fi+1)
wait()
swap() & signal() A1
(fi+1)
wait()
swap() & send()
wait()
A1
(fi+1)
acquisition & process()
A3
(fi+3)
A1
(fi+1)
A2
(fi+2)
wait()
A1
(fi+1)
A3
(fi+3)
A2
(fi+2)
wait()
swap() & send()
swap() & send()A1
(fi+4)
A2
(fi+2)
Acquisition()
Process Thread()
Process()
signal()
Send Thread()
wait()swap() swap() send()
Intelligent
Sensor
..., fi, fi+1, fi+2, fi+3, fi+4, ... ..., fi, fi+1, fi+2, fi+3, ...
Clients
11th International Symposium on Distributed Computing and Artificial Intelligence.
Salamanca, 4nd-6th Juny, 2014
Double buffer in front of triple buffering
Triple  There is always a frame ready to be sent
Double  Always sends the last frame
Optimization
Time
Triple buffer
Send
i
Acquisition
& Process
Frame delay (i+2)
Frame Period
i+2 i+5
i i+3
Double
buffer Send
i+8
i+10 i+11i+9i+8i+7i+6i+5i+4i+3i+2i+1i
Frame delay (i+3)
i+9i+6
11th International Symposium on Distributed Computing and Artificial Intelligence.
Salamanca, 4nd-6th Juny, 2014
Real system to measure double vs triple
buffering methods
Experiments
Control
Distributing
11th International Symposium on Distributed Computing and Artificial Intelligence.
Salamanca, 4nd-6th Juny, 2014
Smart sensor introduces a frame delay
Buffering vs number of clients
Results
1 client 2 clients 4 clients
Variables PC RPI PC RPI PC RPI
Simple buffer 67350 3176925 66936 592390 66945 1293636
Double buffer 67350 203086 66936 334824 66945 640506
Triple buffer 66940 199647 67386 332900 66930 611752
𝑇𝑓𝑟𝑎𝑚𝑒_𝑑𝑒𝑙𝑎𝑦 = 𝑡 𝑎𝑑𝑞 +𝑡 𝑤𝑝 +𝑡 𝑝 + 𝑡 𝑤𝑠 + 𝑡 𝑠
11th International Symposium on Distributed Computing and Artificial Intelligence.
Salamanca, 4nd-6th Juny, 2014
Conclusions
Powerful computer (PC) differences between
the types of buffer are not significant.
An embedded system provides less efficient
results (delay times) but…
 Double buffer offers the last frame with
some delay time.
 In triple buffering there is always a frame
available to be sent.
11th International Symposium on Distributed Computing and Artificial Intelligence.
Salamanca, 4nd-6th Juny, 2014
Future work
How the buffer used affects to robot navigation?
Reactive behaviours require information as quickly as
possible so the triple buffer seems the most appropriate
method. However, the immediacy of the double buffer,
can improve certain non-critical behaviours as tracking
paths, due to they provide latest information, but with
less immediacy.
As future work, it is planned to adapt the triple buffer to
a system where the obtained data from the intelligent
sensor would have several distinct parallel processes, in
example, locating free paths to the robot trajectory at
the same time that interesting objects to surrounding
maps generation are detected like corners, walls or door
steps.
11th International Symposium on Distributed Computing and Artificial Intelligence.
Salamanca, 4nd-6th Juny, 2014
Thanks for your attention

More Related Content

Similar to Performance and results of the triple buffering built-in in a Raspberry PI to optimize the distribution of information from a Smart Sensor

Shantanu's Resume
Shantanu's ResumeShantanu's Resume
Shantanu's Resume
Shantanu Telharkar
 
Software Technologies for ICT Architectures
Software Technologies for ICT ArchitecturesSoftware Technologies for ICT Architectures
Software Technologies for ICT Architectures
Antonio Marcos Alberti
 
IoTivity for Automotive IoT Interoperability
IoTivity for Automotive IoT InteroperabilityIoTivity for Automotive IoT Interoperability
IoTivity for Automotive IoT Interoperability
Samsung Open Source Group
 
Plan_design and FPGA implement of MIMO OFDM SDM systems
Plan_design and FPGA implement of MIMO OFDM SDM systemsPlan_design and FPGA implement of MIMO OFDM SDM systems
Plan_design and FPGA implement of MIMO OFDM SDM systems
Tan Vo
 
CV_LahiruKRasnayake
CV_LahiruKRasnayakeCV_LahiruKRasnayake
CV_LahiruKRasnayake
Lahiru Rasnayake
 
IRJET- Virtual Eye for Blind- A Multi Functionality Interactive Aid using Pi
IRJET-  	  Virtual Eye for Blind- A Multi Functionality Interactive Aid using PiIRJET-  	  Virtual Eye for Blind- A Multi Functionality Interactive Aid using Pi
IRJET- Virtual Eye for Blind- A Multi Functionality Interactive Aid using Pi
IRJET Journal
 
M017147275
M017147275M017147275
M017147275
IOSR Journals
 
Performance Evaluation of IPv4 Vs Ipv6 and Tunnelling Techniques Using Optimi...
Performance Evaluation of IPv4 Vs Ipv6 and Tunnelling Techniques Using Optimi...Performance Evaluation of IPv4 Vs Ipv6 and Tunnelling Techniques Using Optimi...
Performance Evaluation of IPv4 Vs Ipv6 and Tunnelling Techniques Using Optimi...
IOSR Journals
 
⭐⭐⭐⭐⭐ CHARLA FIEC: Monitoring of system memory usage embedded in #FPGA
⭐⭐⭐⭐⭐ CHARLA FIEC: Monitoring of system memory usage embedded in #FPGA⭐⭐⭐⭐⭐ CHARLA FIEC: Monitoring of system memory usage embedded in #FPGA
⭐⭐⭐⭐⭐ CHARLA FIEC: Monitoring of system memory usage embedded in #FPGA
Victor Asanza
 
list of abbreviations & symbols.pdf
list of abbreviations & symbols.pdflist of abbreviations & symbols.pdf
list of abbreviations & symbols.pdf
Sami Siddiqui
 
Information Engineering in the Age of the Internet of Things
Information Engineering in the Age of the Internet of Things Information Engineering in the Age of the Internet of Things
Information Engineering in the Age of the Internet of Things
PayamBarnaghi
 
Best practices and lessons learnt from Running Apache NiFi at Renault
Best practices and lessons learnt from Running Apache NiFi at RenaultBest practices and lessons learnt from Running Apache NiFi at Renault
Best practices and lessons learnt from Running Apache NiFi at Renault
DataWorks Summit
 
WRENCH: Workflow Management System Simulation Workbench
WRENCH: Workflow Management System Simulation WorkbenchWRENCH: Workflow Management System Simulation Workbench
WRENCH: Workflow Management System Simulation Workbench
Rafael Ferreira da Silva
 
OpenStack in Action 4! Susheel Varma - VPH-Share: Patient-Centred Multi-scale...
OpenStack in Action 4! Susheel Varma - VPH-Share: Patient-Centred Multi-scale...OpenStack in Action 4! Susheel Varma - VPH-Share: Patient-Centred Multi-scale...
OpenStack in Action 4! Susheel Varma - VPH-Share: Patient-Centred Multi-scale...
eNovance
 
OpenACC Monthly Highlights: January 2024
OpenACC Monthly Highlights: January 2024OpenACC Monthly Highlights: January 2024
OpenACC Monthly Highlights: January 2024
OpenACC
 
Packet sniffer repot
Packet sniffer repotPacket sniffer repot
Packet sniffer repot
Kunal Thakur
 
Packet sniffer repot
Packet sniffer repotPacket sniffer repot
Packet sniffer repot
Kunal Thakur
 
Book of abstract volume 8 no 9 ijcsis december 2010
Book of abstract volume 8 no 9 ijcsis december 2010Book of abstract volume 8 no 9 ijcsis december 2010
Book of abstract volume 8 no 9 ijcsis december 2010
Oladokun Sulaiman
 
Movement Tracking in Real-time Hand Gesture Recognition
Movement Tracking in Real-time Hand Gesture RecognitionMovement Tracking in Real-time Hand Gesture Recognition
Movement Tracking in Real-time Hand Gesture Recognition
Pranav Kulkarni
 
How to Design Scalable HPC, Deep Learning, and Cloud Middleware for Exascale ...
How to Design Scalable HPC, Deep Learning, and Cloud Middleware for Exascale ...How to Design Scalable HPC, Deep Learning, and Cloud Middleware for Exascale ...
How to Design Scalable HPC, Deep Learning, and Cloud Middleware for Exascale ...
inside-BigData.com
 

Similar to Performance and results of the triple buffering built-in in a Raspberry PI to optimize the distribution of information from a Smart Sensor (20)

Shantanu's Resume
Shantanu's ResumeShantanu's Resume
Shantanu's Resume
 
Software Technologies for ICT Architectures
Software Technologies for ICT ArchitecturesSoftware Technologies for ICT Architectures
Software Technologies for ICT Architectures
 
IoTivity for Automotive IoT Interoperability
IoTivity for Automotive IoT InteroperabilityIoTivity for Automotive IoT Interoperability
IoTivity for Automotive IoT Interoperability
 
Plan_design and FPGA implement of MIMO OFDM SDM systems
Plan_design and FPGA implement of MIMO OFDM SDM systemsPlan_design and FPGA implement of MIMO OFDM SDM systems
Plan_design and FPGA implement of MIMO OFDM SDM systems
 
CV_LahiruKRasnayake
CV_LahiruKRasnayakeCV_LahiruKRasnayake
CV_LahiruKRasnayake
 
IRJET- Virtual Eye for Blind- A Multi Functionality Interactive Aid using Pi
IRJET-  	  Virtual Eye for Blind- A Multi Functionality Interactive Aid using PiIRJET-  	  Virtual Eye for Blind- A Multi Functionality Interactive Aid using Pi
IRJET- Virtual Eye for Blind- A Multi Functionality Interactive Aid using Pi
 
M017147275
M017147275M017147275
M017147275
 
Performance Evaluation of IPv4 Vs Ipv6 and Tunnelling Techniques Using Optimi...
Performance Evaluation of IPv4 Vs Ipv6 and Tunnelling Techniques Using Optimi...Performance Evaluation of IPv4 Vs Ipv6 and Tunnelling Techniques Using Optimi...
Performance Evaluation of IPv4 Vs Ipv6 and Tunnelling Techniques Using Optimi...
 
⭐⭐⭐⭐⭐ CHARLA FIEC: Monitoring of system memory usage embedded in #FPGA
⭐⭐⭐⭐⭐ CHARLA FIEC: Monitoring of system memory usage embedded in #FPGA⭐⭐⭐⭐⭐ CHARLA FIEC: Monitoring of system memory usage embedded in #FPGA
⭐⭐⭐⭐⭐ CHARLA FIEC: Monitoring of system memory usage embedded in #FPGA
 
list of abbreviations & symbols.pdf
list of abbreviations & symbols.pdflist of abbreviations & symbols.pdf
list of abbreviations & symbols.pdf
 
Information Engineering in the Age of the Internet of Things
Information Engineering in the Age of the Internet of Things Information Engineering in the Age of the Internet of Things
Information Engineering in the Age of the Internet of Things
 
Best practices and lessons learnt from Running Apache NiFi at Renault
Best practices and lessons learnt from Running Apache NiFi at RenaultBest practices and lessons learnt from Running Apache NiFi at Renault
Best practices and lessons learnt from Running Apache NiFi at Renault
 
WRENCH: Workflow Management System Simulation Workbench
WRENCH: Workflow Management System Simulation WorkbenchWRENCH: Workflow Management System Simulation Workbench
WRENCH: Workflow Management System Simulation Workbench
 
OpenStack in Action 4! Susheel Varma - VPH-Share: Patient-Centred Multi-scale...
OpenStack in Action 4! Susheel Varma - VPH-Share: Patient-Centred Multi-scale...OpenStack in Action 4! Susheel Varma - VPH-Share: Patient-Centred Multi-scale...
OpenStack in Action 4! Susheel Varma - VPH-Share: Patient-Centred Multi-scale...
 
OpenACC Monthly Highlights: January 2024
OpenACC Monthly Highlights: January 2024OpenACC Monthly Highlights: January 2024
OpenACC Monthly Highlights: January 2024
 
Packet sniffer repot
Packet sniffer repotPacket sniffer repot
Packet sniffer repot
 
Packet sniffer repot
Packet sniffer repotPacket sniffer repot
Packet sniffer repot
 
Book of abstract volume 8 no 9 ijcsis december 2010
Book of abstract volume 8 no 9 ijcsis december 2010Book of abstract volume 8 no 9 ijcsis december 2010
Book of abstract volume 8 no 9 ijcsis december 2010
 
Movement Tracking in Real-time Hand Gesture Recognition
Movement Tracking in Real-time Hand Gesture RecognitionMovement Tracking in Real-time Hand Gesture Recognition
Movement Tracking in Real-time Hand Gesture Recognition
 
How to Design Scalable HPC, Deep Learning, and Cloud Middleware for Exascale ...
How to Design Scalable HPC, Deep Learning, and Cloud Middleware for Exascale ...How to Design Scalable HPC, Deep Learning, and Cloud Middleware for Exascale ...
How to Design Scalable HPC, Deep Learning, and Cloud Middleware for Exascale ...
 

More from Jose Luis Poza Luján

Dirección de proyectos: responsabilidad en la toma de decisiones
Dirección de proyectos: responsabilidad en la toma de decisionesDirección de proyectos: responsabilidad en la toma de decisiones
Dirección de proyectos: responsabilidad en la toma de decisiones
Jose Luis Poza Luján
 
Upv subject soft skills-overview
Upv subject soft skills-overviewUpv subject soft skills-overview
Upv subject soft skills-overview
Jose Luis Poza Luján
 
CoSki21 project overview
CoSki21 project overviewCoSki21 project overview
CoSki21 project overview
Jose Luis Poza Luján
 
La documentación de los proyectos de Ingeniería Informática
La documentación de los proyectos de Ingeniería InformáticaLa documentación de los proyectos de Ingeniería Informática
La documentación de los proyectos de Ingeniería Informática
Jose Luis Poza Luján
 
Técnicas rápidas para escribir
Técnicas rápidas para escribirTécnicas rápidas para escribir
Técnicas rápidas para escribir
Jose Luis Poza Luján
 
Normativa de proyectos en ingeniería informática: el visado como reto
Normativa de proyectos en ingeniería informática: el visado como retoNormativa de proyectos en ingeniería informática: el visado como reto
Normativa de proyectos en ingeniería informática: el visado como reto
Jose Luis Poza Luján
 
¿Sueñan las cosas con ovejas conectadas a Internet?
¿Sueñan las cosas con ovejas conectadas a Internet?¿Sueñan las cosas con ovejas conectadas a Internet?
¿Sueñan las cosas con ovejas conectadas a Internet?
Jose Luis Poza Luján
 
Agile Social Branding
Agile Social BrandingAgile Social Branding
Agile Social Branding
Jose Luis Poza Luján
 
Formación universitaria semipresencial
Formación universitaria semipresencialFormación universitaria semipresencial
Formación universitaria semipresencial
Jose Luis Poza Luján
 
Experiencias de docencia apoyada en redes sociales en la Universidad Politécn...
Experiencias de docencia apoyada en redes sociales en la Universidad Politécn...Experiencias de docencia apoyada en redes sociales en la Universidad Politécn...
Experiencias de docencia apoyada en redes sociales en la Universidad Politécn...
Jose Luis Poza Luján
 
Use of social media in teaching (students)
Use of social media in teaching (students)Use of social media in teaching (students)
Use of social media in teaching (students)
Jose Luis Poza Luján
 
Good practices in teaching through social media
Good practices in teaching through social mediaGood practices in teaching through social media
Good practices in teaching through social media
Jose Luis Poza Luján
 
Arduino as an embedded industrial controller
Arduino as an embedded industrial controllerArduino as an embedded industrial controller
Arduino as an embedded industrial controller
Jose Luis Poza Luján
 
Innovacion para principiantes
Innovacion para principiantesInnovacion para principiantes
Innovacion para principiantes
Jose Luis Poza Luján
 
технологические средства , применяемые в учебном процессе
технологические средства , применяемые в учебном процессетехнологические средства , применяемые в учебном процессе
технологические средства , применяемые в учебном процессеJose Luis Poza Luján
 
Recursos tecnológicos de apoyo al aprendizaje
Recursos tecnológicos de apoyo al aprendizajeRecursos tecnológicos de apoyo al aprendizaje
Recursos tecnológicos de apoyo al aprendizaje
Jose Luis Poza Luján
 
Cinaic 2013 paper 189 - presentacion
Cinaic 2013   paper 189 - presentacionCinaic 2013   paper 189 - presentacion
Cinaic 2013 paper 189 - presentacion
Jose Luis Poza Luján
 
Análisis del uso de la red social como soporte a la docencia universitaria
Análisis del uso de la red social como soporte a la docencia universitariaAnálisis del uso de la red social como soporte a la docencia universitaria
Análisis del uso de la red social como soporte a la docencia universitaria
Jose Luis Poza Luján
 
Impacto de la evaluación continua en la carga del profesorado y en el rendimi...
Impacto de la evaluación continua en la carga del profesorado y en el rendimi...Impacto de la evaluación continua en la carga del profesorado y en el rendimi...
Impacto de la evaluación continua en la carga del profesorado y en el rendimi...
Jose Luis Poza Luján
 
Evaluación continua: análisis cuantitativo del esfuerzo del profesor versus e...
Evaluación continua: análisis cuantitativo del esfuerzo del profesor versus e...Evaluación continua: análisis cuantitativo del esfuerzo del profesor versus e...
Evaluación continua: análisis cuantitativo del esfuerzo del profesor versus e...
Jose Luis Poza Luján
 

More from Jose Luis Poza Luján (20)

Dirección de proyectos: responsabilidad en la toma de decisiones
Dirección de proyectos: responsabilidad en la toma de decisionesDirección de proyectos: responsabilidad en la toma de decisiones
Dirección de proyectos: responsabilidad en la toma de decisiones
 
Upv subject soft skills-overview
Upv subject soft skills-overviewUpv subject soft skills-overview
Upv subject soft skills-overview
 
CoSki21 project overview
CoSki21 project overviewCoSki21 project overview
CoSki21 project overview
 
La documentación de los proyectos de Ingeniería Informática
La documentación de los proyectos de Ingeniería InformáticaLa documentación de los proyectos de Ingeniería Informática
La documentación de los proyectos de Ingeniería Informática
 
Técnicas rápidas para escribir
Técnicas rápidas para escribirTécnicas rápidas para escribir
Técnicas rápidas para escribir
 
Normativa de proyectos en ingeniería informática: el visado como reto
Normativa de proyectos en ingeniería informática: el visado como retoNormativa de proyectos en ingeniería informática: el visado como reto
Normativa de proyectos en ingeniería informática: el visado como reto
 
¿Sueñan las cosas con ovejas conectadas a Internet?
¿Sueñan las cosas con ovejas conectadas a Internet?¿Sueñan las cosas con ovejas conectadas a Internet?
¿Sueñan las cosas con ovejas conectadas a Internet?
 
Agile Social Branding
Agile Social BrandingAgile Social Branding
Agile Social Branding
 
Formación universitaria semipresencial
Formación universitaria semipresencialFormación universitaria semipresencial
Formación universitaria semipresencial
 
Experiencias de docencia apoyada en redes sociales en la Universidad Politécn...
Experiencias de docencia apoyada en redes sociales en la Universidad Politécn...Experiencias de docencia apoyada en redes sociales en la Universidad Politécn...
Experiencias de docencia apoyada en redes sociales en la Universidad Politécn...
 
Use of social media in teaching (students)
Use of social media in teaching (students)Use of social media in teaching (students)
Use of social media in teaching (students)
 
Good practices in teaching through social media
Good practices in teaching through social mediaGood practices in teaching through social media
Good practices in teaching through social media
 
Arduino as an embedded industrial controller
Arduino as an embedded industrial controllerArduino as an embedded industrial controller
Arduino as an embedded industrial controller
 
Innovacion para principiantes
Innovacion para principiantesInnovacion para principiantes
Innovacion para principiantes
 
технологические средства , применяемые в учебном процессе
технологические средства , применяемые в учебном процессетехнологические средства , применяемые в учебном процессе
технологические средства , применяемые в учебном процессе
 
Recursos tecnológicos de apoyo al aprendizaje
Recursos tecnológicos de apoyo al aprendizajeRecursos tecnológicos de apoyo al aprendizaje
Recursos tecnológicos de apoyo al aprendizaje
 
Cinaic 2013 paper 189 - presentacion
Cinaic 2013   paper 189 - presentacionCinaic 2013   paper 189 - presentacion
Cinaic 2013 paper 189 - presentacion
 
Análisis del uso de la red social como soporte a la docencia universitaria
Análisis del uso de la red social como soporte a la docencia universitariaAnálisis del uso de la red social como soporte a la docencia universitaria
Análisis del uso de la red social como soporte a la docencia universitaria
 
Impacto de la evaluación continua en la carga del profesorado y en el rendimi...
Impacto de la evaluación continua en la carga del profesorado y en el rendimi...Impacto de la evaluación continua en la carga del profesorado y en el rendimi...
Impacto de la evaluación continua en la carga del profesorado y en el rendimi...
 
Evaluación continua: análisis cuantitativo del esfuerzo del profesor versus e...
Evaluación continua: análisis cuantitativo del esfuerzo del profesor versus e...Evaluación continua: análisis cuantitativo del esfuerzo del profesor versus e...
Evaluación continua: análisis cuantitativo del esfuerzo del profesor versus e...
 

Recently uploaded

Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
IJNSA Journal
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
mahammadsalmanmech
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
HODECEDSIET
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 

Recently uploaded (20)

Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 

Performance and results of the triple buffering built-in in a Raspberry PI to optimize the distribution of information from a Smart Sensor

  • 1. 11th International Symposium on Distributed Computing and Artificial Intelligence. Salamanca, 4nd-6th Juny, 2014 Performance and results of the triple buffering built-in in a Raspberry PI to optimize the distribution of information from a Smart Sensor Jose-Luis Jimenez-Garcia, Jose-Luis Poza-Lujan, Juan-Luis Posadas-Yagüe, David Baselga-Masia, José-Enrique Simó-Ten School of Engineering in Computer Science (ETSINF) University Institute of Control Systems and Industrial Computing (ai2) Universitat Politècnica de València (UPV) (Spain
  • 2. 11th International Symposium on Distributed Computing and Artificial Intelligence. Salamanca, 4nd-6th Juny, 2014 Why smart sensors? Use of sensors in robot navigation: Survival behaviours  reactive navigation  simple sensors Complex behaviours  deliberative navigation  has been used information from reactive information sensors Currently, robots need sensors associated to behaviours. However, this information is useful to build an environment map or to locate specific objects during the navigation The information that a sensor produces is interesting it to be distributed to different behavioural processes
  • 3. 11th International Symposium on Distributed Computing and Artificial Intelligence. Salamanca, 4nd-6th Juny, 2014 Components From sensor to smart (intelligent) sensor (device) Arduino Intel Galileo Raspberry PI Reliability (and price) Computing Computing Reliability (and price) Temperature PIR RGB-D SENSORS CONTROLLERS +
  • 4. 11th International Symposium on Distributed Computing and Artificial Intelligence. Salamanca, 4nd-6th Juny, 2014 Problems Intelligent sensor : pre-processing and Distributing the sensor data Intelligent Sensor RGB image Depth map Acquisition Process ··· Distribution ··· ··· ··· ··· Clients Smart Resource QoS
  • 5. 11th International Symposium on Distributed Computing and Artificial Intelligence. Salamanca, 4nd-6th Juny, 2014 System Real Robots xTion Raspberry Pi USB OpenNI OpenCV TCP Server Ethernet Smart Resource Robots TCP Client Control Simulation Real implementation
  • 6. 11th International Symposium on Distributed Computing and Artificial Intelligence. Salamanca, 4nd-6th Juny, 2014 Buffering techniques Sensor acquisition Sensor distribution Solution 1: Wait() 2: Swap() 3: Send() 1: I 0 2: Adquisition()  frame 3: while I < frame.MaxPixel do 4: frame.Process() 5: end while 6: Swap() 7: Signal()
  • 7. 11th International Symposium on Distributed Computing and Artificial Intelligence. Salamanca, 4nd-6th Juny, 2014 Buffering tacc < tdistribution Acquisition() Process Thread() Process() signal() Send Thread() wait()swap() swap() send() Clients A1 (fi+1) A3 (fi) swap() & signal() swap() acquisition & process() send() Intelligent Sensor send() send()swap() & signal() send() swap() & signal() send() acquisition & process() acquisition & process() Frame A3 is last frame, Frame A2 is not sent swap()acquisition & process() send()swap() & signal() ..., fi, fi+1, fi+2, fi+3, fi+4, ... A3 (fi) A3 (fi) A3 (fi) A1 (fi+1) A1 (fi+1) A1 (fi+1) A1 (fi+1) A1 (fi+1) A1 (fi+1) A1 (fi+1) A2 (fi+2) A2 (fi+2) A2 (fi+2) A3 (fi+3) ..., fi, fi+1, fi+3, ... A2 (fi+2) A3 (fi+3) A2 (fi+4) A2 (fi+4) A3 (fi+3) A3 (fi+3) A2 (fx) A2 (fx)
  • 8. 11th International Symposium on Distributed Computing and Artificial Intelligence. Salamanca, 4nd-6th Juny, 2014 Buffering tacc > tdistribution A1 (fi+1) A3 (fi) swap() & signal() acquisition & process() swap() & send() swap() & signal() acquisition & process() acquisition & process() A3 (fi) A3 (fi) A1 (fi+1) A1 (fi+1) A2 (fi+2) A2 (fi+2) A2 (fi+2) A3 (fi+3) A3 (fi+3) A2 (fx) A2 (fx) wait()acquisition & process() A1 (fi+1) A2 (fx) A3 (fi) A3 (fi) acquisition & process() acquisition & process() A2 (fi+2) A3 (fi) A1 (fi+1) wait() swap() & signal() A1 (fi+1) wait() swap() & send() wait() A1 (fi+1) acquisition & process() A3 (fi+3) A1 (fi+1) A2 (fi+2) wait() A1 (fi+1) A3 (fi+3) A2 (fi+2) wait() swap() & send() swap() & send()A1 (fi+4) A2 (fi+2) Acquisition() Process Thread() Process() signal() Send Thread() wait()swap() swap() send() Intelligent Sensor ..., fi, fi+1, fi+2, fi+3, fi+4, ... ..., fi, fi+1, fi+2, fi+3, ... Clients
  • 9. 11th International Symposium on Distributed Computing and Artificial Intelligence. Salamanca, 4nd-6th Juny, 2014 Double buffer in front of triple buffering Triple  There is always a frame ready to be sent Double  Always sends the last frame Optimization Time Triple buffer Send i Acquisition & Process Frame delay (i+2) Frame Period i+2 i+5 i i+3 Double buffer Send i+8 i+10 i+11i+9i+8i+7i+6i+5i+4i+3i+2i+1i Frame delay (i+3) i+9i+6
  • 10. 11th International Symposium on Distributed Computing and Artificial Intelligence. Salamanca, 4nd-6th Juny, 2014 Real system to measure double vs triple buffering methods Experiments Control Distributing
  • 11. 11th International Symposium on Distributed Computing and Artificial Intelligence. Salamanca, 4nd-6th Juny, 2014 Smart sensor introduces a frame delay Buffering vs number of clients Results 1 client 2 clients 4 clients Variables PC RPI PC RPI PC RPI Simple buffer 67350 3176925 66936 592390 66945 1293636 Double buffer 67350 203086 66936 334824 66945 640506 Triple buffer 66940 199647 67386 332900 66930 611752 𝑇𝑓𝑟𝑎𝑚𝑒_𝑑𝑒𝑙𝑎𝑦 = 𝑡 𝑎𝑑𝑞 +𝑡 𝑤𝑝 +𝑡 𝑝 + 𝑡 𝑤𝑠 + 𝑡 𝑠
  • 12. 11th International Symposium on Distributed Computing and Artificial Intelligence. Salamanca, 4nd-6th Juny, 2014 Conclusions Powerful computer (PC) differences between the types of buffer are not significant. An embedded system provides less efficient results (delay times) but…  Double buffer offers the last frame with some delay time.  In triple buffering there is always a frame available to be sent.
  • 13. 11th International Symposium on Distributed Computing and Artificial Intelligence. Salamanca, 4nd-6th Juny, 2014 Future work How the buffer used affects to robot navigation? Reactive behaviours require information as quickly as possible so the triple buffer seems the most appropriate method. However, the immediacy of the double buffer, can improve certain non-critical behaviours as tracking paths, due to they provide latest information, but with less immediacy. As future work, it is planned to adapt the triple buffer to a system where the obtained data from the intelligent sensor would have several distinct parallel processes, in example, locating free paths to the robot trajectory at the same time that interesting objects to surrounding maps generation are detected like corners, walls or door steps.
  • 14. 11th International Symposium on Distributed Computing and Artificial Intelligence. Salamanca, 4nd-6th Juny, 2014 Thanks for your attention