1. Introduction
Based on the analysis performed by World Health Organization (WHO) [
1], approximately 2.2 billion people globally experience varying degrees of sight loss; while the majority of individuals with visual impairments are aged 50 and above, sight loss can affect individuals of any age. The primary culprits behind sight loss are uncorrected refractive errors and cataracts.
Refractive errors occur when the eye struggles to focus images clearly, resulting in blurred vision. If not identified and treated promptly, this condition can lead to vision loss. Cataracts, characterized by a cloudy area in the eye’s lens, commonly accompany the aging process. WHO reports that more than half of Americans aged 80 or above either have cataracts or have undergone surgery to address the condition. Although cataracts can be treated through eye surgery, the unfortunate reality is that the underlying causes, such as aging and inherited genetic issues, currently lack a cure.
According to the European Blind Union (EBU) [
2], over 30 million people in Europe live with various eye problems. On average, 1 out of 30 Europeans experiences sight loss, with 3 out of every 30 senior citizens over the age of 65 facing such challenges. The EBU attributes these statistics to the same prevalent conditions—uncorrected refractive errors and cataracts. Additionally, they note that women face a higher risk of visual impairment compared to men.
Visually impaired individuals commonly face challenges navigating indoor environments, contending with obstacles like walls, doors, windows, tables, chairs, and stairs. The difficulty intensifies with obstacles not linked to the floor, making them undetectable with a walking stick. Notably, open windows, wall-mounted cabinets, and occasionally cables or pipes fall into this category. The prototypes presented were specifically tested to address these challenges posed by such non-floor-connected obstacles.
The current solutions for indoor navigation [
3,
4,
5,
6,
7,
8] are described in
Table 1.
The current solutions for indoor navigation include prototypes that are considered add ons which enhance the awareness of the user regarding the surrounding area. The main function of the developed prototype [
11,
12] is to detect obstacles that are not connected to the floor like open windows, cabinets, etc. The main advantage of the Pulse Code Modulation (PCM) and WAVE prototypes is that the user is not required to have IT expertise; the prototypes are user-friendly, reliable, and cost-effective and the language for the messages can be adjusted according to user need. The prototypes are user-friendly because the user can select the language and the tone for the alert messages that they will hear. They can even record their own voice and it can be transformed and used. This fact means that the messages are very clear. Furthermore, the weight of the prototype is less than 200 g, with the head or chest part containing only the sensor and the audio module. The reliability of the device is determined by the fact that the parts are protected by plastic cases and the connections are welded and secured with connectors.
The hardware expenses for constructing the prototype amount to less than EUR 20–25, with the micro-controller constituting the priciest component at around EUR 9 per unit, in the context of a small-batch order. It is worth noting that, for larger quantities, the overall hardware cost is likely to decrease further; the prototypes are slightly more expensive than conventional walking sticks, which can be acquired for EUR 10–15. Their cost-effectiveness thus becomes evident when compared to alternatives like Orcam glasses (priced at approximately EUR 6000 per pair) or mobile applications that necessitate a smartphone and a long-term subscription.
3. Results
In this section, the results for different testing scenarios are described, followed by the conclusions of each test state.
3.1. Square Static Obstacle Placed in Front of the Prototypes
The prototypes were moved to all the already marked testing distances and a log file was saved. Analyzing all the log files for those prototypes, the accuracy of the prototypes can be seen in
Figure 7 and
Figure 8:
The data behind these images were previously published in [
2] and the testing different scenarios and methods can continue.
The readings for each distance are fewer for the WAVE prototype compared to the PCM prototype; however, the accuracy of the WAVE prototype is greater. Examining these new findings reveals that the prototype boasts an average success rate of 99.8%. Much like the previous test set, the accuracy of messages remains at 99.9% for critical distances.
The acquired data have shown that a user will successfully navigate around a square obstacle (a wall, a larger box, or a window) when it is positioned in their path.
3.2. Square Static Obstacle Placed So It Covers Half of the Prototype’s Detection Cone
The prototypes were moved to all the already marked testing distances and a log file was saved. Analyzing all the log files for those prototypes, the accuracy of the prototypes can be seen in
Figure 9 and
Figure 10.
Examining the data reveals that the prototype maintains an average accuracy of 95.6%, mainly influenced by the reduced accuracy at a distance of 180 cm. Consistent with the previous test set, the accuracy of messages remains at 99.8% for critical distances.
Based on the results, the prototype maintains an average success rate of 99.8%. As seen in the prior test set, the precision of the messages holds steady at 100% for critical distances. Inaccurate readings for greater distances, like 210 and 230 cm, do not have an immediate impact on the user. The time interval between two readings remains below 2 s, and the algorithm has effectively filtered out specific readings that are considered incorrect.
In this scenario, a secondary analysis was performed concerning the obstacle’s placement—specifically, whether it resides in the 15-degree half-cone on the emitter or receiver side of the ultrasonic sensor. Following an extensive series of tests, it has been ascertained that this particular case does not function as a valid test, taking into account the prototype’s unwavering and consistent behavior. Consequently, we have discarded this hypothesis, deeming it invalid.
3.3. Square Static Obstacle Placed So It Covers a Quarter of the Prototype’s Detection Cone
The prototypes were moved to all the already marked testing distances and a log file was saved. Analyzing all the log files for those prototypes, the accuracy of the prototypes can be seen in
Figure 11 and
Figure 12.
Examining these updated results reveals a slight dip in the prototype’s success rate, averaging at 96.3%. Parallel to the previous test set, the precision of messages is maintained at 97.9% for critical distances.
The latest results indicate that the prototype maintains an average success rate of 99.8%. Consistent with the previous test set, the precision of messages stays at 99.9% for critical distances.
In conclusion, it can be affirmed that this prototype demonstrates a success rate exceeding 90% in detecting stationary square obstacles. This suggests that a prospective user of the prototype should face no challenges in navigating around windows, doors, or suspended objects within a building, provided their movement aligns with the prototype’s reading time.
3.4. Round Static Obstacle Placed So It Covers the Full Path of the Prototypes Detection Cone
The prototypes were moved to all the already marked testing distances and a log file was saved. Analyzing all the log files for those prototypes, the accuracy of the prototypes can be seen in
Figure 13 and
Figure 14.
As noted, there has been an increase in the number of incorrect messages compared to the scenario involving a square obstacle for the same prototype. One contributing factor is the nature of the surface on which the wave reflects, coupled with the potential impact of a slight deviation from the center of the cylinder on the accuracy of distance readings.
Upon analyzing these results, it becomes apparent that the PCM prototype achieves an average success rate of 83.5%. Similar to the prior test set, the precision of messages for critical distances stands at 75.3%. For example, when the obstacle is positioned at a distance of 140 cm, the user should ideally hear the “Caution” message. However, the analysis reveals instances where the heard message is “Danger”, potentially prompting the user to prepare for obstacle navigation more swiftly than necessary. Conversely, a “Clear” message in such a scenario could pose a risk of accidents.
An issue that did not reoccur in a subsequent round of tests for the 210 cm distance is the instance of 0% accuracy, where the user would hear “Clear” instead of the expected “Caution” message. Given that this problem did not repeat and considering the greater distance involved, it is regarded as an isolated incident. Consequently, this value has been excluded from the calculation of the average accuracy.
In this context, a minor concern surfaced for obstacles with a very small diameter, less than 3 cm, situated at distances exceeding 200 cm. Occasionally, these obstacles remain imperceptible to the prototype. However, this is a minor issue, given the substantial distance between the prototype and the obstacle. Additionally, the user will receive at least one message describing the route’s status before reaching a critical juncture.
The WAVE prototype maintains a success rate very close to 100% in these conditions. Regrettably, an anomaly was detected at the 210 cm distance. In this instance, the user should have received a “Caution” message instead of “Clear”. Nevertheless, the considerable distance of 210 cm between the user and the obstacle means that there will be at least two additional route analyses before it becomes a concern.
3.5. Round Static Obstacle Placed So It Covers Half the Path of the Prototype’s Detection Cone
The prototypes were moved to all the already marked testing distances and a log file was saved. Analyzing all the log files for those prototypes, the accuracy of the prototypes can be seen in
Figure 15 and
Figure 16.
Examining these results reveals that the PCM prototype maintains an average success rate of 83.7%. Comparing the results obtained in the previous test, the precision of messages for critical distances remains at 88.8%. As noted in the preceding section, for distances where erroneous messages occur in a proportion of 10% or more, it becomes apparent that these messages are overly alarming.
As evident for the WAVE prototype, the issue persists at 210 cm, and a new anomaly has arisen at 70 cm. At this distance, the error is deemed critical, as the user’s next move could lead to adverse consequences.
Upon a more thorough examination of the log file generated for this distance, it becomes apparent that the readings consistently surpass the actual distance by 1–2 cm. Subsequently, a corrective measure was introduced into the detection and decision program, successfully addressing the situation. To ensure the efficacy of this correction without introducing new problems, tests were conducted for a duration of 10 min, yielding positive results. As a result, the correction has been permanently integrated into the algorithm.
After resolving the issue in the algorithm, the new readings, shown in
Figure 17, indicate the following:
As clearly seen, the accuracy of the prototype increased to 96%, with the precision for the critical distances reaching 98.9%. The correction was considered a success and was added in the final version of the algorithm.
3.6. Round Static Obstacle Placed So It Covers a Quarter of the Path of the Prototype’s Detection Cone
The prototypes were moved to all the already marked testing distances and a log file was saved. Analyzing all the log files for those prototypes, the accuracy of the prototypes can be seen in
Figure 18 and
Figure 19.
Examining these latest results reveals that the PCM prototype maintains an average success rate of 89.3%. As seen in the prior test set, the precision of messages for critical distances remains at 97.6%.
It is noticeable that the recent correction implemented in the algorithm has been successful, ensuring the accuracy of the message transmitted for the 70 cm distance. Apart from the challenges encountered at 140 cm and 210 cm, the WAVE prototype maintains a success rate exceeding 90%. For shorter distances, this success rate reaches 100%. Repeated tests for 140 cm revealed an increased success rate of 98%. The potential cause of this error could be linked to the heating of the prototype during prolonged usage. This issue was observed when the prototype was used for more then 9 h without powering it down.
To sum up, the accuracy of the prototype is significantly influenced by the shape of the obstacle and its placement relative to the prototype in this scenario. Despite occasional deviations, the accuracy consistently remains above 80%, and for crucial distances, it surpasses 90%. Additionally, there is a pattern where erroneous messages correspond to a shorter distance than the actual one, making them more alarming. This feature serves as a protective measure for the user against potential hazards.
3.7. Tests with Various Materials Placed in Front of the Prototype
The upcoming series of tests aimed to assess whether materials within a building can absorb or influence the 40 kHz ultrasonic wave emitted by the HC-SR04 ultrasonic sensor.
These tests were performed utilizing only the WAVE prototype, as they pertain to the sonic wave and not variations between prototypes. The materials positioned at a distance of 50 cm from the prototype will encompass: metal, glass, mirror, concrete, plastic, wood, particleboard, MDF, canvas, denim, cotton, linen, aluminum, cardboard, leather, and paper. The prototype will conduct distance measurements for each material type over a period of 10 min.
The prototypes were moved to all the already marked testing distances and a log file was saved. Analyzing all the log files for those prototypes, the accuracy results are shown in
Figure 20 and
Figure 21.
In conclusion, no material was identified as being able to absorb the 40 kHz wave, while there might be specifically engineered materials designed to deflect or absorb this wave, the probability of encountering them in a civilian building is quite low. Therefore, it can be inferred that, regardless of the material composition of the obstacle, detection will occur, and the user will receive a precise message.
Based on the tests conducted thus far, it is evident that the shape and surface characteristics of the obstacle exert a more significant impact on the distance readings by the prototype than the material composition itself.
4. Conclusions
Following these comparisons and after discussions with representatives of the target group, the developed prototypes should possess the following characteristics:
User-friendliness.
High autonomy.
Low manufacturing cost.
Safety.
The initial prototype is economical, comprising solely a micro-controller programmable board, an HC-SR04 ultrasonic sensor, a 3.5 mm audio jack module, and a power supply consisting of a 9V battery and its holder. The algorithm measures the distance between the prototype and obstacles based on multiple readings at 200 ms intervals. It determines the danger level for the user and transmits an audio message. In this prototype, the message is embedded in the code written on the micro-controller of the development board. The transmitted message can be personalized in terms of both language and voice tone, offering users the option to use their own voice. Subsequently, this new code will be written to the micro-controller of the prototype’s development board.
The primary advantage of this prototype lies in its manufacturing cost. Its components, especially if low-cost micro-controller programmable board clones are utilized, can be acquired for approximately EUR 12. Additional costs include the casing and battery.
The drawbacks of this prototype include its size and the limitation that only someone with access to the source code can change the language of the messages. Furthermore, the necessity of the prototype connecting to the user’s ear with a headset restricts its placement.
The second prototype for indoor obstacle detection is similar to the first, but it uses recorded audio messages that are stored on an SD card. To read and write the audio messages on the SD card, it was necessary to include a read–write SD module in the prototype. The algorithm undergoes modifications; constants, preserving the messages transmitted by the PCM, are eliminated and replaced with a method that reads different wave files from an SD card that the user will hear. Additionally, the files must be copied to the root of the SD memory card and adhere to a specific naming convention.
Utilizing files written on an SD card to alter the language and tone in which messages are transmitted presents a significant advantage. Essentially, swapping an SD card with messages in English with another with files in Romanian will automatically change the language in which the user receives messages about the danger in front of them. This change requires no software knowledge or access.
A significant disadvantage resides in the size of the prototype. Additionally, the connection to the headset remains a limitation. Although changing the language by changing an SD card is the most significant advantage, it is also a disadvantage in that the replacement of the SD card can be challenging task for a visually impaired person due to its size and the fact that the port is not reversible.
As demonstrated by the tests conducted for these prototypes, the following conclusions can be drawn:
Static obstacles of square or rectangular shape placed in the user’s direction of travel will be detected and, depending on the distance between them and the prototype, will be signaled accordingly.
The variation in the reading count between the PCM and WAVE prototypes arises from the duration it takes for them to “speak” and the algorithm’s capability to automatically eliminate false readings.
Static obstacles of cylindrical shape are detected if the user is close to them, but at a greater distance, they may not be detected, or the distance between them and the prototype may be calculated incorrectly, leading to an incorrectly transmitted message.
Testing with different materials used as obstacles has shown that the 40 kHz sonic wave is not absorbed or reflected in a direction other than the correct one.
Under the conditions of very long usage of more than 9 h, the prototype can offer false readings due to overheating of the micro-controller. The addition of a radiator will add to the overall weight of the prototype and will create additional problems, so the advice is to power the prototype down after maximum 5 h of usage. This will be transmitted to the user by an alert message. This aspect will receive due attention in further developments of the algorithm.
Tests were performed for each case over a period of 30 min, except for material tests, which were conducted for 10 min. Each result of a complete test was saved as log files and analyzed, creating a two-dimensional confusion matrix whose elements were populated with the number of correct or false results.
The prototypes were miniaturized first using a breadboard, just like in the
Figure 22. Materials used were a micro-controller Atmega 328, a 16 kHz quartz, two 22nF capacitors, and a 10 kOhm resistor.
After some testing, the prototypes were split into two parts: one part that has the micro-controller and the power supply and the second part hosts the ultrasonic sensor and the 3.5 mm jack module for the headset. In
Figure 23, the“brain” of the detector and its components are shown, comprising the power supply and the micro-controller board.
In light of the detection part, the ultrasonic element, and the headset being specifically designed to be an add on and to serve in detecting obstacles that are above the ground and not connected to it, we provide a suggestion for the position on the body for the device to be worn; see
Figure 24 and
Figure 25:
The two parts are connected by a cable that allows the transmission of data from the ultrasonic sensor to the board and the transmission of audio messages to the jack module, as seen in
Figure 26.