SlideShare a Scribd company logo
Development of a Mobile Locationing System
 Using a Video, IMU and Wireless network

                    M Naga Raju




                  Under the guidance of
               Prof. Bharadwaj Amrutur
                   Department of ECE,
          Indian Institute of Science, Bangalore


                 January 28, 2013
Out Line

      INTRODUCTION

      SYSTEM INTEGRATION
      BeagleBoard-xM as Embedded platform
      Connecting BeagleBoard-xM to 3G Network
      DSP –LINK Modules
      Camera Interface Modules
      Power Supply



      RUNNING VIDEO CODEC ON DSP

      IMU (Interfacing the OpenShoe)

      POWER MANAGEMENT

      RESULTS

      FUTURE WORK
Introduction
      There is a need of an accurate Locationing system that can
      be used indoors. Such a system can be used in applications
      like anti-terrorist operations, Fire-Fighters, etc and other
      disaster management situations.
      The knowledge of where a person is and what he can see
      (Live video stream) can be of immense help and can save
      many lives in such situations.
      The work in this project involves development of a locationing
      system, that is capable of estimating position of a person and
      streaming video over the wireless network.
      The Video Stream from camera is compressed on DSP side of
      the BeagleBoard-xM and transmitted over Wireless network to
      the local host. The IMU is based on the work done under the
      Project OpenShoe.
Introduction




               Figure: solider positioning in urban operation
SYSTEM INTEGRATION




              Figure: system Integration
SYSTEM INTEGRATION




             Figure: System Integration
BeagleBoard-xM as Embedded platform
      The Micro-SD card used to Boot the BeagleBoard-xM. .
      Building the Linux Image
      1. Open Embedded(angstrom distribution[2])
      2. Build root




                       Figure: BeagleBoard-xM
Connecting BeagleBoard-xM to 3G Network
      USBmodeswitch $PPPD tools used to dial-up the connection
      through 3G USB modem.
      These tools and Scripts useful to connect through terminal
      commands.
      By this network interface, service provider will provides the Dynamic IP address.IP address used in

      Sever/Client program and GStreamer Pipeline




                                    Figure: 3G USB Modem
Camera Interface Modules
      These USB cameras can be easily interfaced to Linux using
      the UVC (Universal Video Class) driver
      These kernel modules are created during the Build process of
      Angstrom.
      $opkg install kernel-module-uvcVideo




                    Figure: Logitech USB Camera
POWER SUPPLY

    A Regulated 5V DC supply required to Power Up BeagleBoard-xM.
    This power supplied by SMPS circuit connected to Lithium-ion
    1500mAh Battery.




                      Figure: SMPS LM2576
DSP –LINK MODULES


     BeagleBoard –xM has an ARM cortex A8 processor
     (Angstrom) and C64x DSP (DSP BIOs).
     For Inter Processor Communication(IPC) between the DSP
     and the ARM there are two mechanisms
     (i) DSPBRIDGE
     (ii) DSPLINK
     For working on the DSP, three modules are required
     (i) dsplinkk.ko (Provides API’s for IPC)
     (ii) cmemk.ko (Memory allocation)
     (iii) lpm driver.ko (Switching ON and OFF the DSP)
     U-Boot will allocate the memory for the kernel and DSP at the time
     of booting. Kernel automatically loads modules after Linux booting.
RUNNING VIDEO CODEC ON DSP


     The DSP on BeagleBoard-xM enable to use for Video compression.
     This will free up the ARM cortex A8 processor CPU load and also
     help reduce the time required for Video Compression.
     GStreamer-Ti program which enables DSP for Video Compression.
     GStreamer-Ti uses DSPLINK for Inter Processor
     Communication(IPC).
     The GStreamer-Ti[4] DMAI plug-in uses the Davinci Multimedia
     Application Interface to enable use of the DSP on the
     BeagleBoard-xM .
     GStreamer is run as an application on the ARM processor and
     through the use of DMAI is able to interact with the DSP modules
     to compress the Video streams.
RUNNING VIDEO CODEC ON DSP
  H.264 RTP Streaming : GStreamer Pipeline to Encode Video and
  Stream Video using RTP .
  $gst-launch v v4l2src device=/dev/video1 ! video/xrawyuv, width=640, height=480,framerate=(fraction )30/1 !

  ffmpegcolorspace ! TIVidenc1 codecName=h264enc engineName=codecServer ! rtph264pay pt=96 ! udpsink

  host=192.168.0.5 port=5004




                           Figure: DM3730 Software Architecture
RUNNING VIDEO CODEC ON DSP




                             Figure: GStreamer Plug–in Interface

  H.264 RTP Streaming : GStreamer Pipeline to receive the RTP
  Video stream and store Video on Command center.
  $gst–launch –v udpsrc port=5004 caps=”¡caps form server ¿” ! rtph264depay ! ffdec h264 ! ffmpegcolorspace !

  tee name=my videosink ! ffmpegcolorspace ! videorate ! video/x–raw-yuv,framerate=5/1 ! ffmpegcolorspace !

  jpegenc ! avimux ! filesink location=/media/BBproject/pro video/stream 4.avi my videosink. ! queue !

  ximagesink sync=false
IMU (Interfacing the OpenShoe)




                        Figure: Inertial Measurement Unit


   The implementation can be divided into following steps[5]
   (i) Receive Data from USB (Virtual serial Port)
   (ii) Remove the headers, change the endianness of data, store in local variables.
   (iii) Timestamps the data.
   (iv) Convert to JSON format.
   (v) Send data over Wireless channel using TCP.
   (vi)Receive data and parse it using JSON parser.
   (vii)Real-time plot of Trajectory using GNUPlot
POWER MANAGEMENT

  BeagleBoard-xM Processor Support A Rich Set Of Power
  Management Techniques
      Dynamic Voltage Scaling

      Dynamic Frequency Scaling
      $echo 600000 /sys/devices/system/cpu/cpu0/cpufreq/scaling setspeed



      Clocks Gating (Done By Kernel While Bootup)

      Disable Unused Modules[6]
      Power management IC TPS65950 on BeagleBoard- Xm has Provision of communication with BeagleBoard
      through Specific I2C (Inter IC) Module I2C.1.

      Example –Disable of AUX 3v3v, This Result save Power Consumption of 120mA.
RESULTS
  The Plot trajectory was taken at SP Building corridor using 3G
  Network as Wireless communication.Video Streaming specification
  set as 320x240 Pixels, h.264 format, 30 fps.




                      Figure: Plot of Trajectory
RESULTS

  Power Consumption:
  Applied Voltage 5.9V from DC Power Supply.
    $ Current Drawn during Booting Process—300 mA. . . 600 mA

    $ Current Drawn after connecting WiFi —836 mA

    $ Current Drawn after Disabling of AUX 3V3 —698 mA

    $ Current Drawn during Video codec running on ARM—1.02A
      Avg Bitrate 450 kbps

    $ Current Drawn during Video Codec running on DSP —1.16A
      Avg Bitrate 100 kbps
FUTURE WORK




  (i) Displaying Path Trajectory on BeagleBoard–xM.
  (ii) Power Optimization.
  (iii) Using MQTT-S Protocol for Server/Client program.
  (iv) Casing Design for BeagleBoard-xM, Power Supply and Battery.
Bibliography

   [1]Texas Instruments BeagleBoard–xM
   HTTP//WWW.beagleboard.org.
   [2]Angstrom Distribution http//www.angstrom–distribution.org/.
   [3] GStreamerhttp//gstreamer.freedesktop.org/
   [4]GStreamer–Ti GStreamer Plugins for DSP
   http//code.google.com/p/gst–dsp/
   [5] Dr. Isaac Skog John Olof Nilsson, 2011. available at
   http//www.openshoe.org/
   [6] TPS65950 Data Manual and Technical Reference Manual
   http//www.ti.com/litv/pdf/swcs032e
   http//www.ti.com/general/docs/lit/getliterature.tsp?literatureNumber=s
   fileType=pdf http//www.ti.com/litv/pdf/swcu050g
Thank You

More Related Content

What's hot

DIC_video_coding_standards_07
DIC_video_coding_standards_07DIC_video_coding_standards_07
DIC_video_coding_standards_07
aniruddh Tyagi
 
200701043 report
200701043 report200701043 report
200701043 report
MindTree
 
High-performance ARM SoM Powered by NXP i.MX 8M
High-performance ARM SoM Powered by NXP i.MX 8MHigh-performance ARM SoM Powered by NXP i.MX 8M
High-performance ARM SoM Powered by NXP i.MX 8M
Linda Zhang
 
Introducing OMAP-L138/AM1808 Processor Architecture and Hawkboard Peripherals
Introducing OMAP-L138/AM1808 Processor Architecture and Hawkboard PeripheralsIntroducing OMAP-L138/AM1808 Processor Architecture and Hawkboard Peripherals
Introducing OMAP-L138/AM1808 Processor Architecture and Hawkboard Peripherals
Premier Farnell
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
Вадим Сухомлинов _Платформы Intel(r) Atom(tm) – новые возможности для социаль...
Вадим Сухомлинов _Платформы Intel(r) Atom(tm) – новые возможности для социаль...Вадим Сухомлинов _Платформы Intel(r) Atom(tm) – новые возможности для социаль...
Вадим Сухомлинов _Платформы Intel(r) Atom(tm) – новые возможности для социаль...
Ingria. Technopark St. Petersburg
 
Resume-LIN-en-2014
Resume-LIN-en-2014Resume-LIN-en-2014
Resume-LIN-en-2014
lin xianjin
 
Sony PMW-EX3 Manual
Sony PMW-EX3 ManualSony PMW-EX3 Manual
Sony PMW-EX3 Manual
AV ProfShop
 
Video Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video CodecsVideo Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video Codecs
Dr. Mohieddin Moradi
 
MIPI IP Modules for SoC Prototyping
MIPI IP Modules for SoC PrototypingMIPI IP Modules for SoC Prototyping
MIPI IP Modules for SoC Prototyping
Arasan Chip Systems
 
Mobilink 2G3G Swap Guide V1.8 20150406 (1)
Mobilink 2G3G Swap Guide V1.8 20150406 (1)Mobilink 2G3G Swap Guide V1.8 20150406 (1)
Mobilink 2G3G Swap Guide V1.8 20150406 (1)
Abdul Mateen Rahim
 
digital_set_top_box
digital_set_top_boxdigital_set_top_box
digital_set_top_box
aniruddh Tyagi
 
System-on-Chip Design, Embedded System Design Challenges
System-on-Chip Design, Embedded System Design ChallengesSystem-on-Chip Design, Embedded System Design Challenges
System-on-Chip Design, Embedded System Design Challenges
pboulet
 
Basics Of Minilink Microwave Networks
Basics Of Minilink Microwave NetworksBasics Of Minilink Microwave Networks
Basics Of Minilink Microwave Networks
Atif Mahmood
 
Ml tn modems presentation
Ml tn modems presentationMl tn modems presentation
Ml tn modems presentation
essafi
 

What's hot (15)

DIC_video_coding_standards_07
DIC_video_coding_standards_07DIC_video_coding_standards_07
DIC_video_coding_standards_07
 
200701043 report
200701043 report200701043 report
200701043 report
 
High-performance ARM SoM Powered by NXP i.MX 8M
High-performance ARM SoM Powered by NXP i.MX 8MHigh-performance ARM SoM Powered by NXP i.MX 8M
High-performance ARM SoM Powered by NXP i.MX 8M
 
Introducing OMAP-L138/AM1808 Processor Architecture and Hawkboard Peripherals
Introducing OMAP-L138/AM1808 Processor Architecture and Hawkboard PeripheralsIntroducing OMAP-L138/AM1808 Processor Architecture and Hawkboard Peripherals
Introducing OMAP-L138/AM1808 Processor Architecture and Hawkboard Peripherals
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
Вадим Сухомлинов _Платформы Intel(r) Atom(tm) – новые возможности для социаль...
Вадим Сухомлинов _Платформы Intel(r) Atom(tm) – новые возможности для социаль...Вадим Сухомлинов _Платформы Intel(r) Atom(tm) – новые возможности для социаль...
Вадим Сухомлинов _Платформы Intel(r) Atom(tm) – новые возможности для социаль...
 
Resume-LIN-en-2014
Resume-LIN-en-2014Resume-LIN-en-2014
Resume-LIN-en-2014
 
Sony PMW-EX3 Manual
Sony PMW-EX3 ManualSony PMW-EX3 Manual
Sony PMW-EX3 Manual
 
Video Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video CodecsVideo Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video Codecs
 
MIPI IP Modules for SoC Prototyping
MIPI IP Modules for SoC PrototypingMIPI IP Modules for SoC Prototyping
MIPI IP Modules for SoC Prototyping
 
Mobilink 2G3G Swap Guide V1.8 20150406 (1)
Mobilink 2G3G Swap Guide V1.8 20150406 (1)Mobilink 2G3G Swap Guide V1.8 20150406 (1)
Mobilink 2G3G Swap Guide V1.8 20150406 (1)
 
digital_set_top_box
digital_set_top_boxdigital_set_top_box
digital_set_top_box
 
System-on-Chip Design, Embedded System Design Challenges
System-on-Chip Design, Embedded System Design ChallengesSystem-on-Chip Design, Embedded System Design Challenges
System-on-Chip Design, Embedded System Design Challenges
 
Basics Of Minilink Microwave Networks
Basics Of Minilink Microwave NetworksBasics Of Minilink Microwave Networks
Basics Of Minilink Microwave Networks
 
Ml tn modems presentation
Ml tn modems presentationMl tn modems presentation
Ml tn modems presentation
 

Similar to Mid

Multi Processor Architecture for image processing
Multi Processor Architecture for image processingMulti Processor Architecture for image processing
Multi Processor Architecture for image processing
ideas2ignite
 
A smart front end real-time detection and tracking
A smart front end real-time detection and trackingA smart front end real-time detection and tracking
A smart front end real-time detection and tracking
Lihguong Jang
 
Design and Development of ARM9 Based Embedded Web Server
Design and Development of ARM9 Based Embedded Web ServerDesign and Development of ARM9 Based Embedded Web Server
Design and Development of ARM9 Based Embedded Web Server
IJERA Editor
 
Development Of An Internet Controlled Surveillance Mobile Robot (Student2)
Development Of An Internet Controlled Surveillance Mobile Robot (Student2)Development Of An Internet Controlled Surveillance Mobile Robot (Student2)
Development Of An Internet Controlled Surveillance Mobile Robot (Student2)
nurul ain
 
Video Surveillance Using Raspberry Pi Architecture
Video Surveillance Using Raspberry Pi ArchitectureVideo Surveillance Using Raspberry Pi Architecture
Video Surveillance Using Raspberry Pi Architecture
RUTURAJ SHETE
 
Iaetsd arm based remote surveillance and motion detection
Iaetsd arm based remote surveillance and motion detectionIaetsd arm based remote surveillance and motion detection
Iaetsd arm based remote surveillance and motion detection
Iaetsd Iaetsd
 
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
Christopher Diamantopoulos
 
085 n008
085 n008085 n008
085 n008
mdabdulla2013
 
Implementation of Cmos Camera Device Driver and Wifi Technology on S3c2440 Us...
Implementation of Cmos Camera Device Driver and Wifi Technology on S3c2440 Us...Implementation of Cmos Camera Device Driver and Wifi Technology on S3c2440 Us...
Implementation of Cmos Camera Device Driver and Wifi Technology on S3c2440 Us...
IOSR Journals
 
K1102026669
K1102026669K1102026669
K1102026669
Manish Soni
 
Physical computing and iot programming final with cp sycs sem 3
Physical computing and iot programming final with cp sycs sem 3Physical computing and iot programming final with cp sycs sem 3
Physical computing and iot programming final with cp sycs sem 3
WE-IT TUTORIALS
 
Junliang`s Resume
Junliang`s ResumeJunliang`s Resume
Junliang`s Resume
KwanLeung Chow
 
Resume marky20181025
Resume marky20181025Resume marky20181025
Resume marky20181025
Marky0720 Marky
 
Gns3
Gns3Gns3
Real Time Video Processing in FPGA
Real Time Video Processing in FPGA Real Time Video Processing in FPGA
Real Time Video Processing in FPGA
QuEST Global (erstwhile NeST Software)
 
Imaging automotive 2015 addfor v002
Imaging automotive 2015   addfor v002Imaging automotive 2015   addfor v002
Imaging automotive 2015 addfor v002
Enrico Busto
 
Imaging automotive 2015 addfor v002
Imaging automotive 2015   addfor v002Imaging automotive 2015   addfor v002
Imaging automotive 2015 addfor v002
Enrico Busto
 
Wireless security camera
Wireless security cameraWireless security camera
Wireless security camera
Aasheesh Tandon
 
Multiprocessor Architecture for Image Processing
Multiprocessor Architecture for Image ProcessingMultiprocessor Architecture for Image Processing
Multiprocessor Architecture for Image Processing
mayank.grd
 
Pawach job record.pptx
Pawach job record.pptxPawach job record.pptx
Pawach job record.pptx
PawachMetharattanara
 

Similar to Mid (20)

Multi Processor Architecture for image processing
Multi Processor Architecture for image processingMulti Processor Architecture for image processing
Multi Processor Architecture for image processing
 
A smart front end real-time detection and tracking
A smart front end real-time detection and trackingA smart front end real-time detection and tracking
A smart front end real-time detection and tracking
 
Design and Development of ARM9 Based Embedded Web Server
Design and Development of ARM9 Based Embedded Web ServerDesign and Development of ARM9 Based Embedded Web Server
Design and Development of ARM9 Based Embedded Web Server
 
Development Of An Internet Controlled Surveillance Mobile Robot (Student2)
Development Of An Internet Controlled Surveillance Mobile Robot (Student2)Development Of An Internet Controlled Surveillance Mobile Robot (Student2)
Development Of An Internet Controlled Surveillance Mobile Robot (Student2)
 
Video Surveillance Using Raspberry Pi Architecture
Video Surveillance Using Raspberry Pi ArchitectureVideo Surveillance Using Raspberry Pi Architecture
Video Surveillance Using Raspberry Pi Architecture
 
Iaetsd arm based remote surveillance and motion detection
Iaetsd arm based remote surveillance and motion detectionIaetsd arm based remote surveillance and motion detection
Iaetsd arm based remote surveillance and motion detection
 
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
 
085 n008
085 n008085 n008
085 n008
 
Implementation of Cmos Camera Device Driver and Wifi Technology on S3c2440 Us...
Implementation of Cmos Camera Device Driver and Wifi Technology on S3c2440 Us...Implementation of Cmos Camera Device Driver and Wifi Technology on S3c2440 Us...
Implementation of Cmos Camera Device Driver and Wifi Technology on S3c2440 Us...
 
K1102026669
K1102026669K1102026669
K1102026669
 
Physical computing and iot programming final with cp sycs sem 3
Physical computing and iot programming final with cp sycs sem 3Physical computing and iot programming final with cp sycs sem 3
Physical computing and iot programming final with cp sycs sem 3
 
Junliang`s Resume
Junliang`s ResumeJunliang`s Resume
Junliang`s Resume
 
Resume marky20181025
Resume marky20181025Resume marky20181025
Resume marky20181025
 
Gns3
Gns3Gns3
Gns3
 
Real Time Video Processing in FPGA
Real Time Video Processing in FPGA Real Time Video Processing in FPGA
Real Time Video Processing in FPGA
 
Imaging automotive 2015 addfor v002
Imaging automotive 2015   addfor v002Imaging automotive 2015   addfor v002
Imaging automotive 2015 addfor v002
 
Imaging automotive 2015 addfor v002
Imaging automotive 2015   addfor v002Imaging automotive 2015   addfor v002
Imaging automotive 2015 addfor v002
 
Wireless security camera
Wireless security cameraWireless security camera
Wireless security camera
 
Multiprocessor Architecture for Image Processing
Multiprocessor Architecture for Image ProcessingMultiprocessor Architecture for Image Processing
Multiprocessor Architecture for Image Processing
 
Pawach job record.pptx
Pawach job record.pptxPawach job record.pptx
Pawach job record.pptx
 

Mid

  • 1. Development of a Mobile Locationing System Using a Video, IMU and Wireless network M Naga Raju Under the guidance of Prof. Bharadwaj Amrutur Department of ECE, Indian Institute of Science, Bangalore January 28, 2013
  • 2. Out Line INTRODUCTION SYSTEM INTEGRATION BeagleBoard-xM as Embedded platform Connecting BeagleBoard-xM to 3G Network DSP –LINK Modules Camera Interface Modules Power Supply RUNNING VIDEO CODEC ON DSP IMU (Interfacing the OpenShoe) POWER MANAGEMENT RESULTS FUTURE WORK
  • 3. Introduction There is a need of an accurate Locationing system that can be used indoors. Such a system can be used in applications like anti-terrorist operations, Fire-Fighters, etc and other disaster management situations. The knowledge of where a person is and what he can see (Live video stream) can be of immense help and can save many lives in such situations. The work in this project involves development of a locationing system, that is capable of estimating position of a person and streaming video over the wireless network. The Video Stream from camera is compressed on DSP side of the BeagleBoard-xM and transmitted over Wireless network to the local host. The IMU is based on the work done under the Project OpenShoe.
  • 4. Introduction Figure: solider positioning in urban operation
  • 5. SYSTEM INTEGRATION Figure: system Integration
  • 6. SYSTEM INTEGRATION Figure: System Integration
  • 7. BeagleBoard-xM as Embedded platform The Micro-SD card used to Boot the BeagleBoard-xM. . Building the Linux Image 1. Open Embedded(angstrom distribution[2]) 2. Build root Figure: BeagleBoard-xM
  • 8. Connecting BeagleBoard-xM to 3G Network USBmodeswitch $PPPD tools used to dial-up the connection through 3G USB modem. These tools and Scripts useful to connect through terminal commands. By this network interface, service provider will provides the Dynamic IP address.IP address used in Sever/Client program and GStreamer Pipeline Figure: 3G USB Modem
  • 9. Camera Interface Modules These USB cameras can be easily interfaced to Linux using the UVC (Universal Video Class) driver These kernel modules are created during the Build process of Angstrom. $opkg install kernel-module-uvcVideo Figure: Logitech USB Camera
  • 10. POWER SUPPLY A Regulated 5V DC supply required to Power Up BeagleBoard-xM. This power supplied by SMPS circuit connected to Lithium-ion 1500mAh Battery. Figure: SMPS LM2576
  • 11. DSP –LINK MODULES BeagleBoard –xM has an ARM cortex A8 processor (Angstrom) and C64x DSP (DSP BIOs). For Inter Processor Communication(IPC) between the DSP and the ARM there are two mechanisms (i) DSPBRIDGE (ii) DSPLINK For working on the DSP, three modules are required (i) dsplinkk.ko (Provides API’s for IPC) (ii) cmemk.ko (Memory allocation) (iii) lpm driver.ko (Switching ON and OFF the DSP) U-Boot will allocate the memory for the kernel and DSP at the time of booting. Kernel automatically loads modules after Linux booting.
  • 12. RUNNING VIDEO CODEC ON DSP The DSP on BeagleBoard-xM enable to use for Video compression. This will free up the ARM cortex A8 processor CPU load and also help reduce the time required for Video Compression. GStreamer-Ti program which enables DSP for Video Compression. GStreamer-Ti uses DSPLINK for Inter Processor Communication(IPC). The GStreamer-Ti[4] DMAI plug-in uses the Davinci Multimedia Application Interface to enable use of the DSP on the BeagleBoard-xM . GStreamer is run as an application on the ARM processor and through the use of DMAI is able to interact with the DSP modules to compress the Video streams.
  • 13. RUNNING VIDEO CODEC ON DSP H.264 RTP Streaming : GStreamer Pipeline to Encode Video and Stream Video using RTP . $gst-launch v v4l2src device=/dev/video1 ! video/xrawyuv, width=640, height=480,framerate=(fraction )30/1 ! ffmpegcolorspace ! TIVidenc1 codecName=h264enc engineName=codecServer ! rtph264pay pt=96 ! udpsink host=192.168.0.5 port=5004 Figure: DM3730 Software Architecture
  • 14. RUNNING VIDEO CODEC ON DSP Figure: GStreamer Plug–in Interface H.264 RTP Streaming : GStreamer Pipeline to receive the RTP Video stream and store Video on Command center. $gst–launch –v udpsrc port=5004 caps=”¡caps form server ¿” ! rtph264depay ! ffdec h264 ! ffmpegcolorspace ! tee name=my videosink ! ffmpegcolorspace ! videorate ! video/x–raw-yuv,framerate=5/1 ! ffmpegcolorspace ! jpegenc ! avimux ! filesink location=/media/BBproject/pro video/stream 4.avi my videosink. ! queue ! ximagesink sync=false
  • 15. IMU (Interfacing the OpenShoe) Figure: Inertial Measurement Unit The implementation can be divided into following steps[5] (i) Receive Data from USB (Virtual serial Port) (ii) Remove the headers, change the endianness of data, store in local variables. (iii) Timestamps the data. (iv) Convert to JSON format. (v) Send data over Wireless channel using TCP. (vi)Receive data and parse it using JSON parser. (vii)Real-time plot of Trajectory using GNUPlot
  • 16. POWER MANAGEMENT BeagleBoard-xM Processor Support A Rich Set Of Power Management Techniques Dynamic Voltage Scaling Dynamic Frequency Scaling $echo 600000 /sys/devices/system/cpu/cpu0/cpufreq/scaling setspeed Clocks Gating (Done By Kernel While Bootup) Disable Unused Modules[6] Power management IC TPS65950 on BeagleBoard- Xm has Provision of communication with BeagleBoard through Specific I2C (Inter IC) Module I2C.1. Example –Disable of AUX 3v3v, This Result save Power Consumption of 120mA.
  • 17. RESULTS The Plot trajectory was taken at SP Building corridor using 3G Network as Wireless communication.Video Streaming specification set as 320x240 Pixels, h.264 format, 30 fps. Figure: Plot of Trajectory
  • 18. RESULTS Power Consumption: Applied Voltage 5.9V from DC Power Supply. $ Current Drawn during Booting Process—300 mA. . . 600 mA $ Current Drawn after connecting WiFi —836 mA $ Current Drawn after Disabling of AUX 3V3 —698 mA $ Current Drawn during Video codec running on ARM—1.02A Avg Bitrate 450 kbps $ Current Drawn during Video Codec running on DSP —1.16A Avg Bitrate 100 kbps
  • 19. FUTURE WORK (i) Displaying Path Trajectory on BeagleBoard–xM. (ii) Power Optimization. (iii) Using MQTT-S Protocol for Server/Client program. (iv) Casing Design for BeagleBoard-xM, Power Supply and Battery.
  • 20. Bibliography [1]Texas Instruments BeagleBoard–xM HTTP//WWW.beagleboard.org. [2]Angstrom Distribution http//www.angstrom–distribution.org/. [3] GStreamerhttp//gstreamer.freedesktop.org/ [4]GStreamer–Ti GStreamer Plugins for DSP http//code.google.com/p/gst–dsp/ [5] Dr. Isaac Skog John Olof Nilsson, 2011. available at http//www.openshoe.org/ [6] TPS65950 Data Manual and Technical Reference Manual http//www.ti.com/litv/pdf/swcs032e http//www.ti.com/general/docs/lit/getliterature.tsp?literatureNumber=s fileType=pdf http//www.ti.com/litv/pdf/swcu050g