element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Experimenting with Sensor Fusion
  • Challenges & Projects
  • Design Challenges
  • Experimenting with Sensor Fusion
  • More
  • Cancel
Experimenting with Sensor Fusion
Blog FGPA-based VSLAM for Indoor Navigation: Blog Post 1
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Experimenting with Sensor Fusion requires membership for participation - click to join
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jwr50
  • Date Created: 27 Oct 2022 9:15 PM Date Created
  • Views 1357 views
  • Likes 12 likes
  • Comments 6 comments
Related
Recommended

FGPA-based VSLAM for Indoor Navigation: Blog Post 1

jwr50
jwr50
27 Oct 2022

The Experimenting with Sensor Fusion Design Challenge from Element14 is an exciting chance to combine video and accelerometer data to solve a problem of our choosing.  The provided kit consists of a Digilent Pcam 5C Mega Pixel camera module, a Digilent PMod Nav 9-axis IMU (plus barometer) module, and a Xilinx SP701 Spartan 7 FPGA Evaluation Kit.  

VSLAM hardware modules

As one of the competitors, I will be exploring Visual Simultaneous Localization and Mapping (VSLAM) for indoor spaces.  VSLAM is a class of algorithms that combines images sequences with pose information to construct a map of a device’s surroundings and at the same time estimate the location within that map.

Why VSLAM? 

Visual SLAM algorithms typically combine data from one or more cameras along with an inertial measurement unit (IMU), so this is a good match to the components provided in the challenge kit.  Simultaneous localization and mapping, aka “SLAM”, is relevant to robotics, model construction, 3D scanning, self-driving vehicles, and other applications where determining device position and orientation matters.  An autonomous system with a map can navigate a space efficiently without requiring guides, or constantly bumping into walls and objects.  

Why not just use GPS?

Global Positioning System or GPS relies on a network of satellites and a local receiver to provide remarkably accurate coordinates.  This allows the positions of automobiles, farm equipment, smart phones, and other GPS enabled devices to be determined in real time.  While GPS can determine positions accurately, a separate map needs to be provided to identify navigable and non-navigable regions.  Additionally, GPS signals are unreliable indoors, under tree canopies, etc. where the GPS satellite signals are blocked.  VSLAM algorithms require no or little external infrastructure, and can be deployed in a wide variety of terrains.

My Plan

While VSLAM is an area of active research and is steadily improving to combine latest developments in deep learning, computer vision, object detection, and identification, I will focus on “Classical” VSLAM techniques for this design challenge given the time constrains. "Classical" VSLAM consists of a set of front-end algorithms that obtain and process sensor data and a set of back-end algorithms that determine the pose and position.  These algorithms will be implemented locally on the FPGA using Verilog, Xilinx IP cores, and a soft microprocessor core.   The result of this project will be a stream of position data that can be used to construct a map of the system’s environment.

  • Prerequisites

Prior to implementing VSLAM, I will need to familiarize myself with the Xilinx SP701 FPGA development board as well as the sensors.  I will then create a “Hello World” demonstration to use an Arm Cortex-M4 DesignStart FPGA soft processor core to demonstrate the ability to read and modify sensor data and communicate via UART.

  • Front-End

1.Data acquisition

A time sequence camera image data and IMU data is acquired and pre-processed. 

2. Visual Odometry 

A visual odometry algorithm is applied to the camera image data to determine distance traveled.  

  • Back-End

3. Sensor Fusion/Filtering & Optimization

An extended Kalman filter will combine the distance traveled from visual odometry and IMU orientation information to provide an estimate of location in our map. 

4. Loop Closing

Loop closing reduces error in the location by using known points in the map.

5. Map reconstruction

The visited locations are combined into a map, depending on the application. The location data points in our map and reconstruct offline.



About Me

My background is in electrical engineering and I was first exposed to FPGAs as an undergraduate over 20 years ago.  My day job is mostly in software and electromagnetic modeling, but I try to keep my embedded skills sharp with FPGA, microcontroller, robotics, and RF projects.  

  • Sign in to reply
  • cbohra00627
    cbohra00627 over 2 years ago

    I think this is a very good application of the provided kit. Even I had somewhat similar project in my mind. But since my application didn't get selected, I will be looking forward to your blogs.
    All the very best!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • strb
    strb over 2 years ago

    Wow, this sound like a crazy project. I will follow you on this for sure! Best of luck!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • robogary
    robogary over 2 years ago

    Thank you I learned something new. Sensor fusion would be helpful for these projects, with a camera, imu, mike, etc , all embedded on the camera 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dougw
    dougw over 2 years ago

    Very ambitious. During data acquisition will this use a fixed angle camera, a swiveling camera or some sort of 360 camera?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • saadtiwana_int
    saadtiwana_int over 2 years ago

    Wow that's a very exciting (and ambitious) project! I will be following your progress on this. Best of luck!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube