+ All Categories
Home > Documents > Implemen ting a High P r ec i si on Ultra-Wideband...

Implemen ting a High P r ec i si on Ultra-Wideband...

Date post: 21-Oct-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
1
Implementing a High Precision Ultra-Wideband Positioning System for Kinematic Education Gabriel M. Mukobi Figure 1: Two Pozyx tags in operation Abstract Conventional positioning systems, such as the Global Positioning System (GPS), are commonly plagued by such issues as very slow data polling rates, high levels of inaccuracies (10 meters), and the high costs and difãculty of maintenance associated with a system of 24 satellites in orbit. For these reasons, GPS and similar technologies have almost exclusively been restricted to large-scale positioning such as navigation. Conversely, a single effective short range localized positioning system has yet to emerge dominant among many prototype localized positioning technologies. We developed for a new localized positioning system that communicates over the ultra-wideband (UWB) radio spectrum in a way that provides high data rates (up to 100 Hz), positioning accuracy within 10 centimeters, and a small cost and setup. We successfully implemented and tested this positioning system with applications as a learning tool for hands-on college-level physics courses. Figure 2: An example of debugging some Python code Materials and Methods We conducted our research in a physics lab at Portland State University and sought to successfully implement a Pozyx UWB positioning system as a learning tool for hands-on college-level physics kinematics labs. This meant that the majority of our work was getting a ãrm grasp on the platform and its capabilities, catering the platform towards and designing software for a useful user experience, and designing physics labs that utilized the platform to its greatest capabilities. Pozyx began as a Kickstarter fundraiser project by Pozyx Laboratories, then a four person team based in Ghent University, Belgium. Pozyx devices are categorized into tags—devices with the full functionality of UWB positioning as well as onboard accelerometers, gyroscopes, and other motion chips—and anchors—static devices lacking onboard motion sensor for use in establishing anchor points for a positioning system. We bought several sets of Pozyx devices (each device cost around $150 USD). Pozyx Labs provided Arduino and Python libraries for interfacing with the devices. Additionally, Pozyx Labs provided a basic framework of scripts capable of capturing data on the 1-dimensional range, the 3-dimensional position, or the gyroscopic, accelerometic, and other motion from sensors on one device. These scripts were extemely limited, only being capable of data collection directly from each device and console printing without much formatting. Figure 3: An early GUI prototype Figure 4: The materials involved in our inclined plane acceleration lab We developed our educational applications by working the scripts into more robust programs. We provided an efãcient data storage and parsing system, calculated velocity from the data streams, implemented an exponential moving average ãlter to low pass data, developed a standardized timestamp and console logging system, created an effective module for ãle writing data for later analysis, compiled code for multi- platform support, and combined the programs to enable collection of data from more than one device at a time or of motion data with either 1D or 3D data concurrently. We also developed a graphical user interface (GUI) with heavy abstraction of our system so end users could collect data without having to worry at all about code or errors. We then moved on to designing college physics labs that would implement the new Pozyx system. These labs were primarily kinematics labs, learning experiences involving all aspects of motion including position, displacement, velocity, direction, and acceleration. We tested our system by re-engineering a common physics lab where students ãnd the acceleration of carts on an inclined plane. Students push a cart up the inclined plane. The displacement of the cart is measured over time by collecting 1D range from between an anchor at the base of the inclined plane and a tag attached to the cart. With this setup, students could measure the position of the cart along the track at a data rate of around 100 Hz using a Pozyx system. From there, they would calculate from the position the acceleration of the cart over time by using a quadratic equation of best ãt in a graphing utility such as or by using numerical methods. That experimental acceleration value would then be compared to theoretical values derived from kinematics equations for acceleration on an inclined plane. Figure 5: Inclined plane test of cart displacement (mm) over time (s) Results We tested this lab ourselves using an inclined plane with a slope of approximately 7.126457 degrees (the plane was propped up to a set height, then the slope was recorded which resulted in that unround number). First, we calculated the theoretical acceleration by using the equation F para = F g * sin( ) ay where F para is the theoretical acceleration we are solving for, F g is the downward force of gravity, and is the incline of the inclined plane on which an object would slide down. For our test of 7.126457 degrees, F para = F g * sin( ) F para = 9.80665 * sin(7.126457°) F para = 1.21660 m/s/s We then sought to collect experimental displacement data from which we could derive acceleration. We pushed a cart up the incline measured at 7.126457 degrees, traveling for about 3.25 seconds from push to catch. In this time, we recorded approximately 200 data points of the displacement of the Pozyx tag on the cart. As can be seen from Figure 5, a parabolic trend can be described about the data. Taking into account the whole data set, we computed a parabolic trendline in the form x = x 0 + v 0 t + ½at 2 found to be x = -6.696 + 4.852t - 0.660t 2 where x is range in meters (the cart was ãrst pushed starting around 2 seconds into data collection, as can be seen in Figure 5). We then differentiated this trendline twice in order to reach an average experimental acceleration value of a = 1.220 m/s/s. Discussion We calculated the error of our lab experiment using the statistical percent equation and our theoretical and experimental acceleration values. error = |theoretical - experimental | / theoretical error = |1.21660 - 1.220| / 1.21660 error = 0.279467% This error value was extremely small considering what we were expecting and very much within an acceptable margin for a high school or college level physics lab. Figure 6: We are investigating professional sports applications Conclusions Our project was successful, and we accomplished all of the things that we set out to do. These included understanding, building upon, and optimizing the Pozyx platform created by Pozyx Laboratories, creating an easier to use, safer, and friendlier user experience suitable for the use of professors and students that may not with to have to go through a bunch of code, and designing a working physics lab which took advantage of the abilities of the Pozyx system to teach kinematics. While physics students might normally “eyeball” the position of a cart with video analysis, our system provides very accurate data with a minimal error and is a potentially radically easier and more effective way of teaching applied physics concepts. The research was not without its challenges, however. Working to understand the framework of code for Pozyx, learning about the communication systems of the Pozyx devices, ãguring out how to interface the Python data collection scripts with our Java GUI, learning about signal processing to clean up the data, and writing clear and effective code that avoided obfuscation were only some of the most prominent struggles of the project, but they were all eventually worked through. Additionally, the lab design could still see some improvements, and there are many changes to its experimental process that would aid it greatly. Furthermore, it represents only a single application of the Pozyx positioning system, as unrepresented are data using the 3D positioning, the onboard accelerometers, gyroscopes, and other motion sensors, or positioning using more than one device at a time. These unexplored avenues and their combinations all represent vastly different applications. Going forward, we aim to continue development on our physics teaching platform. Most notably, we wish to expand upon the graphical outputs of data collection using a 3D graphical application such as the Unity Game Engine, to reãne the GUI into the most helpful tool that it can be, to add more data parsing programs such as automatic graph creators, to reãne our lab designs, and to develop new lab designs focused around different kinematic concepts. We are also looking into partnering with professional sports team to use the system as a strategic and diagnostic motion reporting device during athlete performance. The Pozyx system certainly shows promise for being a simple but effective high- accuracy positioning device, and we are only continuing to develop new applications of the technology in physics, motion capturing, and other applications. Acknowledgements I would like to give special thanks to the others working on this project, Dr. Ralf Widenhorn, Dr. Tom Allen, Ms. Cora Siebert, and Mr. Glen Skahill. Also, thanks to the Camas MST Magnet staff for encouragement on the project and the research process.
Transcript
  • Implementing a High Precision Ultra-WidebandPositioning System for Kinematic Education

    Gabriel M. Mukobi

    Figure 1: Two Pozyx tags in operation

    AbstractConventional positioning systems, such as the Global Positioning System (GPS), arecommonly plagued by such issues as very slow data polling rates, high levels ofinaccuracies (10 meters), and the high costs and dif culty of maintenance associatedwith a system of 24 satellites in orbit. For these reasons, GPS and similartechnologies have almost exclusively been restricted to large-scale positioning suchas navigation. Conversely, a single effective short range localized positioning system

    has yet to emerge dominant amongmany prototype localized positioningtechnologies. We developed for a newlocalized positioning system thatcommunicates over the ultra-wideband(UWB) radio spectrum in a way thatprovides high data rates (up to 100 Hz),positioning accuracy within 10centimeters, and a small cost andsetup. We successfully implementedand tested this positioning system withapplications as a learning tool forhands-on college-level physics courses.

    Figure 2: An example of debugging some Python code

    Materials and MethodsWe conducted our research in a physics lab at Portland State University and soughtto successfully implement a Pozyx UWB positioning system as a learning tool forhands-on college-level physics kinematics labs. This meant that the majority of ourwork was getting a rm grasp on the platform and its capabilities, catering theplatform towards and designing software for a useful user experience, and designingphysics labs that utilized the platform to its greatest capabilities.

    Pozyx began as a Kickstarter fundraiser project by Pozyx Laboratories, then a fourperson team based in Ghent University, Belgium. Pozyx devices are categorized intotags—devices with the full functionality of UWB positioning as well as onboardaccelerometers, gyroscopes, and other motion chips—and anchors—static deviceslacking onboard motion sensor for use in establishing anchor points for a positioningsystem. We bought several sets of Pozyx devices (each device cost around $150 USD).

    Pozyx Labs provided Arduino and Python libraries for interfacing with the devices.Additionally, Pozyx Labs provided a basic framework of scripts capable of capturingdata on the 1-dimensional range, the 3-dimensional position, or the gyroscopic,accelerometic, and other motion from sensors on one device. These scripts wereextemely limited, only being capable of data collection directly from each device andconsole printing without much formatting.

    Figure 3: An early GUI prototype

    Figure 4: The materials involved in our inclinedplane acceleration lab

    We developed our educational applications by working thescripts into more robust programs. We provided an ef cientdata storage and parsing system, calculated velocity from thedata streams, implemented an exponential moving average

    lter to low pass data, developed a standardized timestampand console logging system, created an effective module for

    le writing data for later analysis, compiled code for multi-platform support, and combined the programs to enablecollection of data from more than one device at a time or ofmotion data with either 1D or 3D data concurrently. We alsodeveloped a graphical user interface (GUI) with heavyabstraction of our system so end users could collect datawithout having to worry at all about code or errors. We then moved on to designing college physics labs thatwould implement the new Pozyx system. These labs were primarily kinematics labs, learning experiences involvingall aspects of motion including position, displacement, velocity, direction, and acceleration. We tested our system by re-engineering a common physics lab where students nd the acceleration of carts on aninclined plane. Students push a cart up the inclined plane. The displacement of the cart is measured over time bycollecting 1D range from between an anchor at the base of the inclined plane and a tag attached to the cart. With

    this setup, students could measure the position of the cartalong the track at a data rate of around 100 Hz using aPozyx system. From there, they would calculate from the position theacceleration of the cart over time by using a quadraticequation of best t in a graphing utility such as or by usingnumerical methods. That experimental acceleration valuewould then be compared to theoretical values derived fromkinematics equations for acceleration on an inclined plane.

    Figure 5: Inclined plane test of cart displacement (mm) over time (s)

    ResultsWe tested this lab ourselves using an inclined plane with a slope of approximately 7.126457 degrees (the plane waspropped up to a set height, then the slope was recorded which resulted in that unround number). First, wecalculated the theoretical acceleration by using the equation Fpara = Fg * sin(𝜃) ay where Fpara is the theoreticalacceleration we are solving for, Fg is the downward force of gravity, and 𝜃 is the incline of the inclined plane onwhich an object would slide down. For our test of 7.126457 degrees, Fpara = Fg * sin(𝜃) Fpara = 9.80665 * sin(7.126457°) Fpara = 1.21660 m/s/s We then sought to collectexperimental displacement datafrom which we could deriveacceleration. We pushed a cartup the incline measured at7.126457 degrees, traveling forabout 3.25 seconds from push tocatch. In this time, we recordedapproximately 200 data pointsof the displacement of the Pozyxtag on the cart. As can be seenfrom Figure 5, a parabolic trendcan be described about the data.Taking into account the wholedata set, we computed a parabolic trendline in the form x = x0 + v0t + ½at2 found to be x = -6.696 + 4.852t - 0.660t2

    where x is range in meters (the cart was rst pushed starting around 2 seconds into data collection, as can be seenin Figure 5). We then differentiated this trendline twice in order to reach an average experimental acceleration valueof a = 1.220 m/s/s.

    DiscussionWe calculated the error of our lab experiment using the statistical percent equationand our theoretical and experimental acceleration values. error = |theoretical - experimental | / theoretical error = |1.21660 - 1.220| / 1.21660 error = 0.279467% This error value was extremely small considering what we were expecting and verymuch within an acceptable margin for a high school or college level physics lab.

    Figure 6: We are investigating professionalsports applications

    ConclusionsOur project was successful, and we accomplished all of the things that we set out todo. These included understanding, building upon, and optimizing the Pozyx platformcreated by Pozyx Laboratories, creating an easier to use, safer, and friendlier userexperience suitable for the use of professors and students that may not with to haveto go through a bunch of code, and designing a working physics lab which tookadvantage of the abilities of the Pozyx system to teach kinematics. While physicsstudents might normally “eyeball” the position of a cart with video analysis, oursystem provides very accurate data with a minimal error and is a potentially radicallyeasier and more effective way of teaching applied physics concepts. The research was not without its challenges, however. Working to understand theframework of code for Pozyx, learning about the communication systems of the Pozyxdevices, guring out how to interface the Python data collection scripts with our JavaGUI, learning about signal processing to clean up the data, and writing clear andeffective code that avoided obfuscation were only some of the most prominentstruggles of the project, but they were all eventually worked through.

    Additionally, the lab design could stillsee some improvements, and thereare many changes to its experimentalprocess that would aid it greatly.Furthermore, it represents only asingle application of the Pozyxpositioning system, as unrepresentedare data using the 3D positioning, theonboard accelerometers, gyroscopes,and other motion sensors, orpositioning using more than onedevice at a time. These unexplored

    avenues and their combinations all represent vastly different applications. Going forward, we aim to continue development on our physics teaching platform.Most notably, we wish to expand upon the graphical outputs of data collection usinga 3D graphical application such as the Unity Game Engine, to re ne the GUI into themost helpful tool that it can be, to add more data parsing programs such asautomatic graph creators, to re ne our lab designs, and to develop new lab designsfocused around different kinematic concepts. We are also looking into partneringwith professional sports team to use the system as a strategic and diagnostic motionreporting device during athlete performance. The Pozyx system certainly shows promise for being a simple but effective high-accuracy positioning device, and we are only continuing to develop new applicationsof the technology in physics, motion capturing, and other applications.

    AcknowledgementsI would like to give special thanks to the others working on this project, Dr. RalfWidenhorn, Dr. Tom Allen, Ms. Cora Siebert, and Mr. Glen Skahill. Also, thanks to theCamas MST Magnet staff for encouragement on the project and the research process.


Recommended