Abstract
The demand of devices for safe mobility of blind people is increasing with advancement in wireless communication. Artificial intelligent devices with multiple input and output methods are used for reliable data estimation based on maximum probability. A model of a smart home for safe and robust mobility of blind people has been proposed. Fuzzy logic has been used for simulation. Outputs from the internet of things (IoT) devices comprising sensors and bluetooth are taken as input of the fuzzy controller. Rules have been developed based on the conditions and requirements of the blind person to generate decisions as output. These outputs are communicated through IoT devices to assist the blind person or user for safe movement. The proposed system provides the user with easy navigation and obstacle avoidance.
Keywords: IoT, smart home, fuzzy approach, ultrasonic sensors, bluetooth protocol, navigation
1. Introduction
The implementation of public health awareness has reduced the blindness cases due to diseases. But unfortunately, the rate of blindness in elderly people is high and increasing. These people need devices to assist them in navigation. This has increased the demand for assistive devices for navigation and orientation. The tools that are already available cannot provide all the information for safe mobility [1,2,3]. Vision substitution devices include three categories to improve blind people’s mobility. Each category slightly differs in features and actions from the other. The first category includes travel aids, which are the electronic devices that provide the user with information about the surroundings. This information helps the user develop a mental map for safe mobility. The second category includes orientation-based aids that provide the user with mobility instructions in unfamiliar places by defining and tracing the best route. Electronic devices in the third category are the position-based locators that use the global positioning system (GPS) technology to precisely locate the user. According to the needs of the user, the system or devices must have fast processing, large coverage with increased range detection of static and dynamic obstacles, and capacity to work equally well in day and night [4].
In the present era, wireless communication with wireless channels is a rapidly growing branch of technology. However, with such an emerging field, fast technological advances and developments are essential. Modern communication provides a wide range of services including data, voice, and multimedia, but the main issue in the communication field is to improve channel capacity. The channel capacity without interrupting the service quality can be enhanced by using multiple input and multiple output methods. It is one of the latest technologies and the estimation of data with this technology is done on the basis of maximum probability [5,6,7,8]. Bluetooth technology and ultrasonic sensors can be used in modern technology with the ability to communicate along with direct access to the fixed infrastructure. The sensors can sense any obstacles or deviations that may be static or dynamic. With the help of a navigation system, the target can be located easily [9]. Utilization of IoT-based devices has various advantages to be used in emerging technologies. Efficacy, compatibility, and consistency on a global scale result in the success of IoT. A combination of various technologies along with software can result in a hybrid system with applications in various fields of interest in communication [10,11].
In behavior-based navigation, each behavior develops sensory information and transforms it into a response. The problem with such a system is that several commands may be produced simultaneously with multiple behaviors, which may cause the system to fail, while fuzzy control systems are based on IF-THEN rules [12]. The implementation of fuzzy-based methods in the case of adaptive techniques provides the fast convergence and reduced complexity in conditions that are nonlinear and vary with time. A fuzzy approach is highly suitable for the incorporation of human expert knowledge to balance already-available numerical data. Amongst several artificial intelligence techniques, fuzzy logic is considered a useful tool in the navigation control system for its linguistic terms and reliable decision-making capability without precise information of the surroundings. It utilizes human reasoning and decision making for reliable navigation in a dynamic environment with unknown obstacles [12,13]. Two factors are crucial for the safe mobility of blind people, which are path tracking and obstacle avoidance. Fuzzy logic can be used for the development of such systems.
A variety of studies have been carried out on fuzzy logic to develop path tracking for vehicles, adjust speed and direction of vehicles according to present and future path information, designing and implementation of path tracking in indoor environment, autonomous path following, obstacle avoidance by taking distance, and change in distance from the obstacle as input parameters. The output parameter in these cases is the speed of the obstacle. A comparison of obstacle avoidance by mobile robots with Sugeno and Mamdani fuzzy logic controller have also been reported. Additionally, for obstacle detection, ultrasonic as well as infrared (IR) sensors have been widely used in literature. IR sensors are based on sound sensor and cannot operate under dark condition, whereas ultrasonic sensors have linear output characteristics and can detect all types of obstacles [14,15,16,17,18,19,20,21,22].
In this research work, the crucial parameters for the safe mobility of blind people have been considered using an IoT-based system for a smart home model. Using fuzzy logic controller, a reliable device for obstacle avoidance, whether static or dynamic, along with target tracking has been proposed. Fuzzy-based simulation has been verified with Mamdani model calculations for result comparisons and optimizations.
2. Description of System for Navigation to Assist Blind People
A model for smart home is created using IoT based system, which consists of sensors and antenna for receiving and transmitting signals. Bluetooth devices are installed in every room and the blind person is wearing a watch. The watch with the help of multiple ultrasonic sensors detects static or dynamic obstacles and gives audio signals to its user for navigation. When the user enters a certain room, a bluetooth device connects with the watch and informs the user about its location. The model of a smart home is shown in Figure 1.
Bluetooth devices work in a certain manner from the transmitting and receiving antennas. A small chip is installed in the devices which receive or transmit signals. If is the height of the transmitting antenna and is the height of the receiving antenna with lambda as the wavelength, then the distance between the antennas is given by Equation (1) [23].
(1) |
After the calculation of the distance between the receiver and transmitter, the received signal strength indication can be done by Equation (2).
(2) |
where represents the offset based on the maximum strength of the received signal and is the received signal strength indicator. The received signal at the receiver antenna is given by Equation (3).
(3) |
where Rb is the received signal at receiver, the first term of the right side of the equation indicates the coefficient relating to the receiver and transmitter antenna and the second term represents the noise factor. The normalized channel gain is given by Equation (4) [24].
(4) |
Fuzzy logic controller (FLC) is used to operate and navigate the whole system. The outputs of the sensors are provided as inputs to the controller and it makes decision making on the basis of rules according to the information contained by the output of the sensors. The command from the FLC is sent to audio devices for generation of audio signals to navigate the user in a smart home along with the warning for any obstacles in the surroundings. The schematic for FLC is shown in Figure 2. First of all, fuzzification of the inputs is done followed by applying the rules. After defining the rules, the output is generated by the defuzzification of inputs using a fuzzy interface.
This system works on the basis of three inputs and two outputs. The output of ultrasonic sensors and target direction has been taken as input parameters. The rules for the input and output are generated based on options’ availability (IF circumstances THEN action). First of all, a top-down analysis of the scenario is done for task development, then, bottom-up commands are generated to assess the validity of the task before its actual execution. For instance, if the input is no obstacle towards the right and target towards the right, then the output generated will be “turn right”. However, if the input is obstacles towards the right and the target is also towards the right, then the output generated will be “keep moving forward”. The safety of the user is the priority of the system. The complete working strategy of our system is a hybrid setup consisting of IoT devices along with a fuzzy interface. The working strategy of the device is shown in Figure 3. The outputs from the sensing and networking devices are supplied to the interface as input, and finally, output is generated using human reasoning. The output from the fuzzy logic is then transferred to the wearable device via bluetooth and is converted to an audio signal.
3. Simulation and Results
Three parameters are selected as input variables with two corresponding outputs. Obstacle distance, obstacle direction, and target direction are the three inputs in the FLC interface with acceleration and direction of acceleration as output. Figure 4 shows the fuzzy interface using Mamdani’s model [25] with input and output parameters.
Five membership functions are selected for obstacle distance. As shown in Figure 5, the membership functions are very__near, near, middle, far, and very__far.
First of all, the location of the user is determined and then the distance from obstacles and targets will be calculated. The values for the inputs are given by Equation (5).
(5) |
where represents the distance between two points, is the change in the coordinate, and is the change in the coordinate.
OR, AND, and NOT connectives are normally used for fuzzy compound preposition. OR represents union, AND represents intersection, and NOT is complement. If variables for obstacle distance, obstacle direction, target direction, acceleration, and acceleration direction are represented by OD, ODir, TD, A, and AD, then the preposition for fuzzy is represented by T: OD × ODir × TD = A, AD. Similarly five membership functions of input 2 (obstacle direction) are right, fwd, nill, back, and left, as shown in Figure 6.
Finally, for input 3 (target direction), the membership functions are taken as right, fwd, stop, back, and left, as shown in Figure 7.
The membership functions for output 1 (acceleration) are stop, ready__to__stop, and keep__moving, as shown in Figure 8.
Finally, the membership functions for output 2 (acceleration direction) are move__right, move__forward, stop, move__backward, and move__left, as given in Figure 9.
As all three inputs have five membership functions, therefore, the rules for the output generated will be calculated as 5 × 5 × 5 = 125 using the Mamdani model formula. Therefore, 125 rules are generated using an IF and THEN formulation. For example, IF obstacle distance is very far and obstacle direction is left and the target direction is right, THEN acceleration is keep moving and acceleration direction is right. For decision making, the priority is given to the safety of the user. The three-dimensional graphs of the two inputs with different combinations are plotted against the two outputs, as shown in Figure 10.
Mamdani’s model has been used for error estimation and comparison of simulation results. Rule viewer graph is shown in Figure 11. From this rule viewer, fuzzy values are selected and further calculations are done.
Fuzzy values for all the three inputs are selected. For obstacle distance, the value selected is 12, for obstacle direction, the value is 0.9, and for target selection, the value is 3. After that, the values of membership functions are calculated with the help of Mamdani’s model by the Equations (6) and (7).
are calculated as: max value of input 1—crisp value/max value.
(6) |
(7) |
Similarly, the values for are calculated as 0.82, 0.18, 0.4, and 0.6, using maximum value and crisp value for input 2 and input 3, respectively. For calculation of outputs acceleration and acceleration direction, Table 1 and Table 2 are presented with some suitable rules.
Table 1.
Rule No. | Obstacle Distance | Obstacle Direction | Target Direction | Acceleration (a) |
Member Ship Function Values (MFs Values) |
Min. Value of MFs (Mi) |
Singleton Value for Acceleration (Si1) |
Mi × Si1 |
---|---|---|---|---|---|---|---|---|
R1 | Very near | Fwd | Back | Keep moving | y1^y3^y5 | 0.4 | 0.01 | 0.004 |
R2 | Very near | Fwd | Stop | Stop | y1^y3^y6 | 0.52 | 0 | 0 |
R3 | Near | Back | Right | Keep moving | y1^y4^y5 | 0.18 | 0.01 | 0.0018 |
R4 | Near | Back | Fwd | Keep moving | y1^y4^y6 | 0.18 | 0.01 | 0.0018 |
R5 | Middle | Right | Back | Keep moving | y2^y3^y5 | 0.4 | 0.01 | 0.004 |
R6 | Middle | Right | Stop | Stop | y2^y3^y6 | 0.48 | 0 | 0 |
R7 | Far | Back | Left | Keep moving | y2^y4^y5 | 0.18 | 0.01 | 0.0018 |
R8 | Far | Left | Back | Keep moving | y2^y4^y6 | 0.18 | 0.01 | 0.0018 |
Table 2.
Rule No. | Obstacle Distance | Obstacle Direction | Target Direction | Acceleration Direction | Member Ship Function Values (MFs Values) |
Min. Value Of MFs (Mi) |
Singleton Value for Acceleration Direction (Si2) |
Mi × Si2 |
---|---|---|---|---|---|---|---|---|
R1 | Very near | Fwd | Back | Move Back | y1^y3^y5 | 0.4 | 0.025 | 0.01 |
R2 | Very near | Fwd | Stop | Stop | y1^y3^y6 | 0.52 | 0 | 0 |
R3 | Near | Back | Right | Move right | y1^y4^y5 | 0.18 | −0.05 | −0.009 |
R4 | Near | Back | Fwd | Move fwd | y1^y4^y6 | 0.18 | −0.025 | −0.0045 |
R5 | Middle | Right | Back | Move back | y2^y3^y5 | 0.4 | 0.025 | 0.01 |
R6 | Middle | Right | Stop | Stop | y2^y3^y6 | 0.48 | 0 | 0 |
R7 | Far | Back | Left | Move left | y2^y4^y5 | 0.18 | 0.05 | 0.009 |
R8 | Far | Left | Back | Move back | y2^y4^y6 | 0.18 | 0.025 | 0.0045 |
The singleton values are calculated by dividing the output values corresponding to selected input values by 100.
The Mamdani model is implemented here and represented in Equation (8).
(8) |
By using the above formula, calculations have been performed for the minimum singleton values and we calculated , using . The simulated MATLAB value is 0.53. The same has been done for output 2 (acceleration direction). It has been found that the minimum and singleton values are , respectively. The Mamdani expression becomes and the simulated MATLAB value is 0.77.
From the above results, it is clear that the simulated values and calculated values based on the Mamdani model are very close. Hence, IoT-based systems are useful with the fuzzy-based approach to assist blind people for safe movement in a smart home [26,27]. The presented work would provide handy information for the development of a real-time efficient and reliable system for people who cannot survive independently in normal circumstances with ease. In a future work, the implementation of this model will be performed by considering additional vibrational signals, electronic circuits, and IoT device integration. With some extension, the system can be used to provide support to the deaf person, for ease in navigation and communication.
4. Conclusions
Here, a model for smart home using the IoT system is proposed. The IoT system comprising sensors and antennas generates warning signals about the obstacles in the way of users and also navigates the user to move around the house safely. The outputs from the IoT system are used as inputs in the FLC. Thus, in case of multiple behavior inputs, the decision is made with human reasoning and on the basis of likelihood. Fuzzy-based simulation has been carried out. Calculated results are compared with simulated values. It shows accurate processing of data, reliability, and mobility of the blind user indoor.
Author Contributions
Conceptualization, S.T., M.W.A., T.A. and Z.A.; Data curation, Z.A. and S.M.; Formal analysis, S.T., M.W.A., T.A., Z.A. and S.M.; Investigation, S.T., M.W.A., T.A., Z.A. and S.M.; Methodology, S.T., M.W.A., T.A. and Z.A.; Resources, Z.A.; Software, S.T., M.W.A. and S.M.; Supervision, M.W.A.; Validation, S.T.; Visualization, Z.A. and M.W.A.; Writing—original draft, S.T. and S.M.; Writing—review & editing, M.W.A., Z.A. and T.A. All authors have read and agreed to the published version of the manuscript.
Funding
The authors are thankful to the Center for Advanced Materials (CAM), Qatar University for the support during this work.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- 1.Velázquez R. Wearable and Autonomous Biomedical Devices and Systems for Smart Environment. Springer; Berlin/Heidelberg, Germany: 2010. pp. 331–349. Wearable Assistive Devices for the Blind. [Google Scholar]
- 2.Baldwin D. Wayfinding technology: A road map to the future. J. Vis. Impair. Blind. 2003;97:612–620. doi: 10.1177/0145482X0309701006. [DOI] [Google Scholar]
- 3.Shah C., Bouzit M., Youssef M., Vasquez L. Evaluation of RUNetra tactile feedback navigation system for the visually-impaired; Proceedings of the International Workshop on Virtual Rehabilitation; New York, NY, USA. 29–30 August 2006; pp. 72–77. [Google Scholar]
- 4.Elmannai W., Elleithy K. Sensor-Based Assistive Devices for Visually-Impaired People: Current Status, Challenges, and Future Directions. Sensors. 2017;17:565. doi: 10.3390/s17030565. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Abdelkader T., Mokhtar K., Abdelaziz O. New space time coding for joint blind Channel Estimation and Data Detection through time varying MIMO channels. Int. J. Comput. Sci. Issues. 2014;11:33–38. [Google Scholar]
- 6.Abuthinien M., Chen S., Wolfgang A., Hanzo L. Joint maximum likelihood channel estimation and data detection for MIMO systems; Proceedings of the IEEE International Conference on Communications, 2007. ICC’07; Glasgow, UK. 24–28 June 2007; pp. 5354–5358. [Google Scholar]
- 7.Mezghani A., SwindleHurst A.L. Blind estimation of sparse multi-user massive MIMO channels; Proceedings of the 21th International ITG Workshop on Smart Antennas; Berlin, Germany. 15–17 March 2017; pp. 2–6. [Google Scholar]
- 8.Seyman M.N., Taspinar N. Symbol detection using the differential evolution algorithm in MIMO-OFDM systems. Turk. J. Electr. Eng. Comput. Sci. 2013;21:373–380. [Google Scholar]
- 9.Mahdi Safaa A., Muhsin Asaad H., Al-Mosawi Ali I. Using Ultrasonic Sensor for Blind and Deaf persons Combines Voice Alert and Vibration Properties. Res. J. Recent Sci. 2012;1:50–52. [Google Scholar]
- 10.Li S., Tryfonas T., Li H. The Internet of Things: A security point of view. Internet Res. 2016;26:337–359. doi: 10.1108/IntR-07-2014-0173. [DOI] [Google Scholar]
- 11.Li S., Xu D., Zhao S. The Internet of Things: A Survey. Inf. Syst. Front. 2015;17:243–259. doi: 10.1007/s10796-014-9492-7. [DOI] [Google Scholar]
- 12.Hong T.S., Nakhaeinia D., Karasafi B. Application of Fuzzy Logic in Mobile Robot Navigation. In: Dadios E., editor. Book Fuzzy Logic- Controls, Theories and Applications. InTech; Shanghai, China: 2012. [Google Scholar]
- 13.Erman M., Mohammad A., Rakus-Edndersson E. Fuzzy Logic Applications in Wireless Communications; Proceedings of the Joint 2009 International Fuzzy Systems Association World Congress and 2009 European Society of Fuzzy Logic and Technology Conference; Lisbon, Portugal. 20–24 July 2009. [Google Scholar]
- 14.Xiong B., Shiru Q.U. Intelligent Vehicle’s Path Tracking Based on Fuzzy Control. J. Transp. Syst. Eng. Inf. 2010;10:70–75. doi: 10.1016/S1570-6672(09)60034-9. [DOI] [Google Scholar]
- 15.Ali B., Ashraf M.W., Tayyaba S. Simulation, Fuzzy Analysis and Development of ZnO Nanostructure-based Piezoelectric MEMS Energy Harvester. Energies. 2019;12:807. doi: 10.3390/en12050807. [DOI] [Google Scholar]
- 16.Liao Y., Huang J., Zeng Q. Preview fuzzy control method for intelligent vehicle path tracking; Proceedings of the IEEE International Conference on Informatics and Computing (PIC); Shanghai, China. 10–12 December 2010; pp. 1211–1214. [Google Scholar]
- 17.Omrane H., Masmoudi M.S., Masmoudi M. Fuzzy Logic Based Control for Autonomous Mobile Robot Navigation. Comput. Intell. Neurosci. 2016;2016:9548482. doi: 10.1155/2016/9548482. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Ghaffari S., Homaeinezhad M.R. Autonomous path following by fuzzy adaptive curvature-based point selection algorithm for four-wheel-steering car-like mobile robot. Res. Artic. Artic. Inf. 2018;232:2655–2665. doi: 10.1177/0954406217723363. [DOI] [Google Scholar]
- 19.Tayyaba S., Afzal M.J., Sarwar G., Ashraf M.W., Afzulpurkar N. Simulation of flow control in straight microchannels using fuzzy logic; Proceedings of the 2016 International Conference on Computing, Electronic and Electrical Engineering (ICE Cube); Quetta, Pakistan. 11–12 April 2016; pp. 213–216. [DOI] [Google Scholar]
- 20.Ali B., Tayyaba S., Ashraf M.W., Nawaz M.W., Mushtaq M.T., Akhlaq M., Wasim M.F. Fuzzy Simulation, Synthesis, Characterization and Voltage Measurements of Zinc Oxide Nano-Rods Based Nanogenerators. Dig. J. Nanomater. Biostructures. 2020;15:289–297. [Google Scholar]
- 21.Karakaya S., Ocak H. Fuzzy logic-based moving obstacle avoidance method. Glob. J. Comput. Sci. Theory Res. 2019;9:1–9. doi: 10.18844/gjcs.v9i1.3972. [DOI] [Google Scholar]
- 22.Ilyana N., Apandi A., Martin A. The Integration of Fuzzy Logic System for Obstacle Avoidance Behavior of Mobile Robot. Int. J. Electr. Eng. Appl. Sci. 2019;2:31–38. [Google Scholar]
- 23.Yamamoto B., Wong A., Agcanas P.J., Jones K., Gaspar D., Andrade R., Trimble A.Z. Received Signal Strength Indication (RSSI) of 2.4 GHz and 5 GHz Wireless Local Area Network Systems Projected over Land and Sea for Near-Shore Maritime Robot Operations. J. Mar. Sci. Eng. 2019;7:290. doi: 10.3390/jmse7090290. [DOI] [Google Scholar]
- 24.AsadUllah M., Khan M.A., Abbas S., Athar A., Raza S.S., Ahmad G. Blind channel and data estimation using fuzzy logic-empowered opposite learning-based mutant particle swarm optimization. Computational Intelligence and Neuroscience. Comput. Intell. Neurosci. 2018;2018:6759526. doi: 10.1155/2018/6759526. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Lancu I. In: A Mamdani Type Fuzzy Logic Controller, Fuzzy Logic: Controls, Concepts, Theories and Applications. Dadios E., editor. InTech; Shanghai, China: 2012. [Google Scholar]
- 26.Afzal M.J., Tayyaba S., Ashraf M.W., Javaid F., Balas V.E. Chapter 3—A case study: Impact of Internet of Things devices and pharma on the improvements of a child in autism. In: Balas V.E., Solanki V.K., Kumar R., editors. Emergence of Pharmaceutical Industry Growth with Industrial IoT Approach. Academic Press; Cambridge, MA, USA: 2020. pp. 49–83. [Google Scholar]
- 27.Tayyaba S., Khan S., Ashraf M.W., Balas V.E. Home Automation Using IoT. In: Balas V., Kumar R., Srivastava R., editors. Recent Trends and Advances in Artificial Intelligence and Internet of Things. Intelligent Systems Reference Library. Volume 172 Springer; Cham, Switzerland: 2020. [Google Scholar]