Application of BioX AAL-Band User Guide

June 7, 2024
BioX

AAL-Band Documentation
User guide for application of BioX
AAL-Band

Last updated October 9, 2020
Software version 1.0.0

Introduction

The AAL-band is intended to provide a machine learning interface between human motion and a variety of different applications or machines.

The technology, originally a patented technology from Aalborg University, Den- mark, was developed on the biomechanical principles of human motion. Voluntary limb movement is governed by a set of muscles. With each type of movement the muscle’s shape changes. The new sensor detects the human motion intention by reading the muscle’s shape change at different arm positions. It is achieved by utilizing single or combined sensor bands that are comprised of Force Sensing Resistors (FSRs). Machine learning technique is adopted in classifying and recognizing emotions. The sensor outputs are classified motion types and rated muscle efforts, which are information useful for robot control, computer interface, and Virtual Reality systems (Islam and Bai, 2019).

Through this guide, you will first learn how to place the AAL-Band on your arm To download the software go to this URL: and how you can interact with the band. Then there is a step-by-step guide on how to get started using the AAL- Band and the application for gesture recognition. Further details are covered in Chapter 4. https://www.bioxgroup.dk/downloads/.

About the AAL-Band

Technical information about the AAL-Band can be found in the Data Sheet at URL: https://www.bioxgroup.dk/downloads/.

2.1        Placement of AAL-Band

The AAL-Band should be placed on the forearm as shown on Figure 2.1.

Figure 2.1: Placement of the AAL-Band.

2.2        Interactions with the AAL-Band

The AAL-Band has two buttons, on/reset and off, and a light that indicates the status of the band, this is shown on Figure 2.2.

Figure 2.2: Picture of the AAL-Band.

When the on button is pressed the light blinks red and green two times and then it is on. When there is no light it indicates that the band is turned off. The on the button can also be used to reset the connection by pressing it again after it has been turned on. This will result in the light being half green and half red and blinking twice. When the off button is pressed the light will blink red five times before turning off.

How to get started

where all parts of the interaction will be covered. The product contains of the AAL-Band and an application. To begin using the product for gesture recognition you must go through this step by step guide,

3.1 Setup

After the AAL-Band has been placed correctly on the arm it must be connected to the application and calibration must be conducted, this is the setup.

3.1.1 Connection

Step 1 : Turn on the AAL-Band by pressing the on button, as illustrated in Figure2.2.

Step 2 : Turn on Bluetooth on your computer and search for the AAL-Band by pressing “Add Bluetooth or other device”, as seen on Figure 3.1. If you need more information on how to connect to Bluetooth go to URL: https://support.microsoft.com/en-us/help/15290/windows-connect-bluetooth- device.

Figure 3.1: Connecting to Bluetooth.

Step 3 : Open the application, the start screen can be seen on Figure 3.2.

Figure 3.2: Start screen of the application.

Step 4 : will indicate whether the connection is successful. On Figure 3.3a the Press the “Connect” button on the start screen. Under the button, a lightlight is yellow, so the band is trying to connect. When the light turns green, as seen on Figure 3.3b, the connection is completed and then the next step of the setup, calibration, can begin. If it is not possible to connect, the light will turn red and report that an error has occurred. If red, try to reset the AAL-Band by pressing the on button or reset your Bluetooth.

(b) AAL-Band is connected.

Figure 3.3: Connection of AAL-Band.

3.1.2 Calibration

Now that the AAL-Band is connected to the application it is possible to calibrate the band. Calibration is needed to test out the muscle activities and arm motions.

Step 1 : Make a fist with the hand that you have placed the AAL-Band on.

Step 2 : Press the button “Calibrate”, see Figure three seconds and during the calibration, the light under the button will be yellow. When the light turns green it means that the calibration is done and you can relax your hand.

Figure 3.4: Calibration of AAL-Band.

Step 3 : If the calibration was faulty you can press the button “Reset calibration”,see Figure 3.5, and do a new calibration by pressing the button “Calibrate” again.

Figure 3.5: Calibrated AAL-Band, that can be reset.

3.2 Data Recording

The setup has been finished and now you can begin to record data for the differ-ent gestures and train the model.

Step 1 :        Go to the “Record” tab, the data recording menu can be seen on Figure3.6.

Figure 3.6: Data Recording menu.

Step 2 : If you want to save your data press the tab “file” and choose “save session”. This will save all data. The output files are described in detail inSection 4.2.

Step 3 : Choose for how many seconds you want to record each gesture by setting the “Rec time”, which on Figure 3.6 is set to 5 seconds.

Step 4 : Choose a gesture to record. The first recording in the session have to beat least two of the gestures. After this, gestures can be chosen individually to provide more data for one or more gestures. To add or remove gestures, see Section 4.3.

Step 5 : Press the button “Start recording”.

Step 6 : where the gesture “Flexion vertical” is shown. The loading bar tells youThe gestures will be gone through in order from top to bottom. MakePerform the gestures shown on the image to the right, see Figurehow long you have to hold the gesture before going to the next gesture. Sure that you hold your arm in the same position for each gesture.

Figure 3.7: The gestures have been chosen and recording is started.

Step 7 : sible to reset the data by pressing the button “Reset data” and start aIf a mistake has occurred during the recording of the gestures it is posted recording. This will clear out all recorded data and erase models if they are trained. Step 8: with your recorded data. When you are satisfied with your recorded data you can train the model

Step 9: Configure what type of data you want to train your model with, FMG, Gravity, Angular velocity, Linear acceleration or Euler Angles.
Step 10:  Press the button “Train model”. The light under the button will change from red to green when the model has been trained, which can be seen on Figure 3.8.

Figure 3.8: Gestures have been recorded and the model is trained.

Step 11 : Record gestures more than once to get better performance in the testing.

3.3 Testing

By training the model on the recorded data it can now recognise the gestures and a test of the models performance can be conducted.

Step 1 :        Go to the “Testing” tab, see Figure 3.9.

Figure 3.9: Testing menu.

Step 2 : The Support Vector Machine is the chosen classifier.

Step 3 : Again, if you want to save your data press the tab “file” and choose “savesession”.

Step 4 : Press the button “Start”.

Step 5 : Perform different gestures. An image to the right will display the prediction, see Figure 3.10 where the gesture “Flexion_vertical” is displayed. –

Figure 3.10: Recognition of the gesture “Flexion_vertical” during training.

Step 6 : Press the button “Stop” when you have collected the wanted data.

Step 7 : If the classifier has difficulties with predicting a certain gesture, record more data for it and retrain the model.

Step 8 : An extra option in relation to testing is to apply the gestures to a Lego Mindstorms EV3, if you own one. However, this is not yet implemented. The intention is that you can control the device with the AAL- Band and in that way see how well it performs.

Miscellaneous

4.1 Function under development

In the application, there is the option to press “View” in the upper right corner. Then you can press “Output graph”, however the graph that will appear is simply randomly generated data, as seen in Figure4.1.

Figure 4.1: How the output graph currently looks like.

The intention is that it should be possible to get a graphical representation ofthe data during recording and training. This will be implemented soon, but fornow it does not have any function.

4.2 Output files

The output files for raw and RMS data are saved as .csv files, one for each ges-ture. The output files consist of 21 columns and an overview over what type of measurement these columns consist of is seen in Table 4.1. Other dumped files’format are dependent on the procedure of recording and training.

Column number Column name Measurement
1-8 FSR_1-8 FSR
9-11 GRAVITY_X-Y-Z Gravity (x, y, z)
12-14 ANGULAR_VELOCITY_X-Y-Z Angular velocity (x, y, z)
15-17 LINEAR_ACCELERATION_X-Y-Z Linear acceleration (x, y, z)
18-20 EULER_ANGELS_X-Y-Z Euler angle (x, y, z)
21 T Time

Table 4.1: Description of output dataffles.

Depending on the progress of the pipeline, 5 different dumps are executed:

  • Raw data.
  • Calculated root means square of data windows.
  • Input for support vector machine, X and Y.
  • Classiffer model. (Saved with pickle as .sav)
  • Testing data.

The name of the saved files can be explained like this:
[Date(YYYY_MMDD)][Time(HHMM)][Data type][Gesture].[extension]

4.3Adding or removing gestures

Step by step guide on how to add or remove gestures in the application:
Step 1: Go to the folder on your computer where you have installed the application.
Step 2: Choose the folder “hand_pic”. Here are the images of the saved gestures.
Step3: Adding: If you want to add a gesture you must copy an image into the folder. It is important that you name the image accordingly to what gesture it represents.
Step 4: Removing: If you want to remove a gesture simply delete the image of the gesture that you no longer want to be included.

4.4 Other software for collecting data

If the purpose of using the AAL-Band is simply to collect and plot data, there can be used the software either for MATLAB or Python to achieve this. The only thing that must be changed is for how long you want to collect data. In the MATLAB code, this is done by changing the variable “time_to_record” which is in seconds. For the Python code the variable “sample time” is changed. Both codes achieve the same, which is collecting the measurements of FSR, gravity, angular velocity, linear acceleration, Euler angels, and time.

4.5 Reference

Islam, M. R. and Bai, S. (2019). “Payload estimation using force myography sensors for control of upper-body exoskeleton in load carrying assistance”. In:  Identification and Control 40.4, pp. 189–198. doi: 10.4173/mic.2019.4.1.

Contact

BioX ApS
Niels Jernes Vej 10
9220, Aalborg Øst
Denmark
Email: biox@bioxgroup.dk

Application of BioX AAL-Band User Guide

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals