Swimming has been a sport that has been undertaken by many individuals of all ages. Moreover, it is an easily adaptive sport for athletes who are blind or partially sighted. This has been proven so ever since the inception of para-swimming at the first Paralympic Games in Rome in 1960. But the advent of para-swimming never came without its fair share of challenges; with the two main challenges being improper lane navigation and poor flip-turn timing.
The Swim Lane Navigation System
The swim lane navigation system uses some the basic principles in Linear Algebra, Geometry & Trigonometry.
As shown in the illustration above, two ultrasonic sensors are placed in close promixity with each other with the distance between their midpoints known- Distance M.
The left and right ultrasonic sensors are programmed to capture the distance of the swimmer as Distance L & Distance R respectively.
Using the Hero's Formula,
The area of the triangle formed can be calculated whereby;
- s - Half perimeter
- a - Distance M
- b - Distance R
- c - Distance L
But since the area of a triangle is given by the formula below,
we use that formula to calculate the angle L in the illustration below which is represented as the gamma symbol in the formula
With Angle L now known, we use it to calculate the Angle M in the illustration below
We do so by using the Cosine Rule,
whereby;
- a - Half Distance M
- b - Distance R
- c - Midline
- gamma - Angle L
We then use the Sine Rule to calculate the Angle M,
whereby;
- B - Angle M
- b - Distance R
- C - Angle L
- c - Midline
Once we have calculated our Angle M, we subtract 90 degrees from it to give us our Deviation Angle as shown in the illustration below.
Thus we can calculate the deviation of the swimmer.
Building Instructions
Connect the Ultrasonic Sensors to the Swan as instructed below,
- VCCs to 5V Power Supply
- GNDs to GND of Power Supply and on Swan
- TRIGs to Pin 13 on Swan
- ECHO of Left Ultrasonic Sensor to A1 on Swan
- ECHO of Right Ultrasonic Sensor to A3 on Swan
Connect the Buzzers to the Swan as instructed below,
- - VE Pins to GND on Swan
- + VE PIn of Left Buzzer to Pin 10 on Swan
- + VE Pin of Right Buzzer to Pin 11 on Swan
After all connections are made it should look as shown below.
How it Works
The above setup is just a model of what the actual prototype was meant to be. The actual prototype was to consist of;
- Wireless Waterproof Bone Conduction Headphones which would be a wearble and would be connected to the swan via an external Bluetooth module
- Waterproof Ultrasonic sensors placed on the edge of the pool
Since I didnt have Wireless Waterproof Bone Conduction Headphones, I opted to use Buzzers. Also, I used the Generic Ultrasonic Sensors instead of the Waterproof Ultrasonic Sensors due to financial constraints. Nonetheless, I am very sure that the model I prepared above can sufficiently explain what I am trying to acheive.
When the swimmer has deviated to far to the left the left buzzer will ring. The same applies in vice versa. This is the working principle of the swim lane navigation system. When the swimmer is close enough to the ultrasonic sensors both Buzzers will ring. So in some way it also helps the swimmer to know when to make a flip turn.
But what I had in mind for the actual prototype is that when the swimmer has deviated to far to the left the left earpiece of the bone conduction headphones would ring and vice versa; and when the swimmer is almost at the edge, both earpieces of the hedphones would ring.
I believe this to be a simple and sufficient way to acheive both proper swim lane navigation and good flip turn timing.
The following video show how the setup above in action!
https://drive.google.com/file/d/1JarQm1GeeKzHbrqHrLQta7P6KtoeBqI6/view?usp=sharing
Please ignore the background noises :)
Comments