Next Article in Journal
A n-out-of-n Sharing Digital Image Scheme by Using Color Palette
Previous Article in Journal
Effectiveness Assessment of a Nanocrystalline Sleeve Ferrite Core Compared with Ceramic Cores for Reducing Conducted EMI
Previous Article in Special Issue
A Comprehensive Medical Decision–Support Framework Based on a Heterogeneous Ensemble Classifier for Diabetes Prediction
Article Menu
Issue 7 (July) cover image

Export Article

Electronics 2019, 8(7), 801;

An Intelligent Air Quality Sensing System for Open-Skin Wound Monitoring
Department of Computer Science, Govt Sadiq College Women University, Bahawalpur 63100, Pakistan
Department of Computer Science & IT, The Islamia University of Bahawalpur, Bahawalpur 63100, Pakistan
Author to whom correspondence should be addressed.
Received: 16 May 2019 / Accepted: 8 July 2019 / Published: 17 July 2019


There are many factors that may have a significant effect on the skin wound healing process. The environment is one of them. Although different previous research woks have highlighted the role of environmental elements such as humidity, temperature, dust, etc., in the process of skin wound healing, there is no predefined method available to identify the favourable or adverse environment conditions that seriously affect (positively or negatively) the skin wound healing process. In the current research work, an IoT-based approach is used to design an AQSS (Air Quality Sensing System) using sensors for the acquisition of real-time environment data, and the SVM (Support Vector Machine) classifier is applied to classify environments into one of the two categories, i.e., “favourable”, and “unfavourable”. The proposed system is also supported with an Android application to provide an easy-to-use interface. The proposed system provides an easy and simple means for patients to evaluate the environmental parameters and monitor their effects in the process of open skin wound healing.
IoT; health sensors; machine learning; SVM classifier

1. Introduction

Skin makes up 15% of the human body’s weight and is considered as the most essential part of the human body. Skin acts as safeguard for all body components, as all body parts are beneath it, so any injury to the human body may first affect skin. Any injury to skin results in skin wounds. Skin wounds vary in size and type, which depends on the intensity and type of injury. Skin wounds are divided into two major categories, i.e., open wounds and closed wounds.
In closed wounds, tissues beneath the skin layer are not affected by injury; only the external skin layer is affected; while in open wounds, skin is affected by injuries such that tissues beneath the skin layer become visible and exposed to the outside atmosphere. Open wounds further are divided into four major types: abrasions, avulsions, lacerations and punctures.
Open wounds that are deep in skin are called abrasions, which results from skin rubbing against a hard surface. They commonly do not bleed and are also known as scrapes. An avulsion is an open wound to skin due to severe injury to the human body such as a car accident or gunshot. As a result, skin tears away, and underlying tissues are exposed to the external environment. This wound results in excessive bleeding. Skin cuts caused by sharp objects like knives cause deep skin tears known as lacerations. They may bleed more if the cut is deep in skin. Skin holes, which appear after contact with a sharp pointy object, as known as punctures. They may bleed sometimes, but not always. All types of open skin wounds are shown in Figure 1, given by [1].
There are different factors that may complicate or delay the wound healing process. These factors are of two types, local and systemic. Local factors directly affect wounds, while systemic factors are concerns about the patient’s health state [2]. Local factors include infection or abnormal bacterial presence as environmental conditions, while systemic factors include trauma, age, stress, nutrition, obesity, repeated trauma, skin moisture, chronic conditions and medication. The term environment comprises many parameters to measure, i.e., temperature, humidity and air quality (concentration of gases, smoke and dust particles). Other factors that may delay/complicate wound healing are regional factors and other miscellaneous factors such as exposure to radiation and smoking [3].
IoT provides more flexible and low-cost solutions for daily life problems, which ultimately improve the user’s life [4,5]. Although many previous researchers proposed air quality sensing systems by using different sensor combinations [6,7,8,9,10,11,12,13], as shown in Table 1, with the detailed description of previous studies provided, we may conclude that there are three reasons for the motivation to design an efficient wound monitoring system.
  • Previously-proposed air quality sensing systems focused on air gases’ measurement for monitoring of air quality rather than considering other environment components, e.g., moisture, temperature, etc.
  • Previously-proposed air quality systems used expensive sensor arrays for monitoring air quality.
  • Previously-proposed air quality sensing systems did not consider the design goals from the clinical perspective of the environment’s role in wound healing.
  • Previous studies did not implement data mining techniques to investigate the exterior environment for wound healing.
  • Previously-proposed air quality monitoring systems were only available locally.
In order to assure wound healing continues in a normal fashion, it is necessary to check all important parameters that may complicate/delay the healing, one of which is the external wound environment. Traditionally, external environment factors, i.e., temperature, humidity, air dust, etc., did not receive much attention from physicians and medical experts to monitor wound healing; they generally ask patients to ensure normal environment conditions for faster recovery of the wound. Mostly, patients at their home are not concerned with checking the air temperature, humidity and other factors to ensure the environmental factors are in favour of healthy wound healing, as there is not a simple and inexpensive solution to check and analyse all environmental factors at once. Although there are many types of pollution measurement equipment available, they have two major issues: they are expensive and present only local information, as they are in fixed locations [14]. Therefore, we provide an effective wound care solution by undertaking the following objectives.
  • The proposed solution is designed to provide a simple solution for wound monitoring, which motivates patients to track wound healing easily at their home.
  • The proposed solution can measure the environment by low-cost sensing devices and a microcontroller, which ultimately offer patients a very feasible and inexpensive wound care solution.
  • The proposed solution is designed to facilitate clinical practice, as with the help of the proposed solution, doctors can control impaired wound healing as a result of bad environmental conditions and could improve the wound healing rate.
  • The proposed solution also helps physicians in the maintenance of a healthy environment in the hospital with continuous monitoring of the environmental conditions for wounded patients. This facility may guarantee speedy recovery of wounded patients.
  • The proposed solution provides an intelligent decision making technique to check environment feasibility based on standard rules, rather than ambiguous predictions made by patients.
Our proposed system consists of an air quality sensing system to record real-time environmental values and an SVM classifier to classify the real-time environment into favourable or unfavourable classes. Experiments show that the Air Quality Sensing System (AQSS) reads and records current environmental values which, can further be correctly classified by SVM in MATLAB, as shown in Figure 2 of the block diagram of the proposed approach.
The rest of the paper is structured as follows: Section 2 discusses the clinical and technological concepts and methods for analysing the effect of wound healing factors, the SVM classifier-based analysis systems carried out during the research and the related work; Section 3 describes the theatrical basis of the proposed system along with the materials and methods of the presented research for the SVM system used for the proposed air quality sensing system; Section 4 provides the details of the experiments, their results and a discussions to show the performance during testing and the outcomes of the presented approach; Section 5 presents the conclusion of the research presented.

2. Related Work

In this section, we discuss related research work that has been done in the area of skin wound healing, data mining, and air quality sensing. This section is further divided in two subsections. In the first section, we provide a brief description of previously-done research in Table 1, to highlight previous research work’s key features and current research goals, while in the second section, we discuss different technological approaches of previous research in the area of wound healing, data mining and sensing devices.

2.1. Features and Limitations of Previous Research

Zampolli et al. [6] proposed an electronic nose by using a sensor array for the detection of indoor air quality. Their proposed system sensed CO2 and NO2. They proposed the system to be integrated with indoor climate control units, which ultimately control the air quality of the indoor environment and facilitate home users.
Kavi et al. [7] proposed wireless sensors based on an air quality monitoring system in Mauritius. Their system recorded real-time environmental values and used the air quality index to categorize air quality. They proposed a system to measure the air quality of the country and facilitate the government to categorize the air quality of the country by comparing real-time environmental values with the standard air quality index. They used different colours to indicate air quality categories, which made the system very user friendly.
Kinkeldei et al. [8] proposed an air quality monitoring system for textiles. Their proposed system used two sensors for the measurement of humidity and temperature, i.e., flexible polyimide substrates containing a gold Resistance Temperature Detector (RTDs) and a conductive polymer (PEDOT-PSS) humidity sensor. The sensor was woven into a textile using a commercial band weaving machine.
Abdelghani Benharref et al. [9] proposed a biosensor-based healthcare framework for monitoring chronic diseases of patients. The proposed system used a service-oriented architecture and wireless body sensors along with cloud environments. They assigned each patient a set of sensors depending on his/her chronic disease(s). The system consisted of a mobile app. The proposed system took readings of health parameters by sensors and automatically communicated these to the mobile application. The mobile app communicated with healthcare personnel (e.g., physician, nurse and nutritionist) for advice if necessary.
Maradugu Anil Kumar et al. [10] proposed an Android-based system for health monitoring. They proposed an approach to monitor patient biological parameters such as heart rate, blood oxygen and temperature with the help of a web server and Android app. Their proposed approach was beneficial for patient health monitoring as doctors did not need to be present physically, and patient health history was stored on a web server as well.
Cecilia Occhiuzzi [11] proposed a wound monitoring and healing approach by integration of an RFID sensor tag in a hydrogel bandage. Their proposed approach provided an effective way to monitor the wound, as the integrated sensor was highly sensitive to fluid, which either changed or was absorbed. Their proposed approach provided a better reading range by a temperature microchip embedded in the tag. This enabled reading temperature and fluid by a hand-held device. Their proposed approach facilitated a smart bandage preparation, which helped to observe wound healing.
Rahim Rahimi [12] proposed a wound assessment approach based on a pH sensor array. The work discussed how the pH level is a key indicator for the assessment of wound healing in a chronic wound bed; therefore, an approach for the measurement of pH level by a low cost pH sensor array was presented, which was placed on palette paper. The proposed sensor array showed a linear potential of 0.9734 in buffer solutions of pH in the range of 4–10 and a sensitivity of 50 mV/pH, which matched with the target level, so the approach could be integrated in a wound dressing to detect pH.
Sohini Roy Choudhury et al. [13] designed wearable device to monitor wound healing with the help of a uric acid biosensor. Their proposed device detected Uric Acid (UA) from the wound. UA is a biomarker that has a strong correlation with wounds and their healing. They used a redox electron shuttle, Ferrocene Carboxylic Acid (FCA), which allowed the transfer of electrons between the enzyme and the transducer. For uric acid detection in wound fluid, they used a wound fluid volume range of 0.5–50 μL. Their case studies from different wound samples showed an average recovery of 107%.

2.2. Related Approaches

Tor Svensjo et al. [14] studied the wound repair process influenced by many factors. They did experiments to investigate the effect of hydration on contraction, granulation tissue thickness, and epithelial thickness. During the treatment process, they studied the influence of different environmental conditions on these parameters, and they found that a wet environment encouraged fast wound healing the most.
S. M. Riaz ul Islami et al. [15] did a comprehensive survey on IoT applications in the healthcare domain. In their paper, they studied IoT application domains, including healthcare. Improvement in IoT provides the growth of technological, economic and social prospects of healthcare. Their paper studied advances in IoT-based healthcare technologies. They provided reviews about state-of-the-art network architectures/platforms, applications and industrial trends in IoT-based healthcare solutions. They proposed a security model that minimized security risk. They discussed the effect that big data innovations, ambient intelligence and wearables can have in a healthcare context.
Riyadh Arridha et al. [16] did research on classification extension for environment monitoring based on big data analytics. They proposed a method to integrate big data technology with the water monitoring system for real-time analysis. They engaged in the ongoing project named SEMAR (Smart Environment Monitoring and Analytics in Real-time system) to provide an IoT-big data platform for water monitoring. In their proposed solution, they designed an extension of SEMAR for water quality classification based on the pollution index method. In their system, they used the updated communication protocol MQTT. Then, they implemented a real time-user interface for visualization. Their results showed that the linear SVM and decision tree algorithms provided 90% accuracy with 0.019075 for the MSE.
Emmanuel Agu et al. [17] studied the benefits and challenges of smartphone applications as a medical device. Smart phones are composed of multi-core CPUs and GPUs, megapixel cameras and an array of sensors. Currently, smartphone sensors can be configured for the diagnosis of different medical conditions such as cough detection, irregular heartbeat detection and lung function analysis. These smart phone applications enable the patient to detect these medical conditions early, and this reduces the healthcare costs. In their paper, they provided state-of-the-art examples and studied the technical issues of smart phone usage as a medical device. They also highlighted the benefits and challenges of smartphone usage for medical assistance. In addition, they presented an Android smartphone app for wound detection and healing for diabetic patients.
Shoffi Izza Sabilla et al. [18] proposed an approach to find a suitable gas sensor by using the slope deflection method. They used an E-nose to obtain the concentration of gases in air with the MQ (Mingan Qi-Lai) family of sensors and then used an artificial neural network to estimate gases’ concentration. Their results showed that ANN provided a good ratio to achieve higher performance of the E-nose.
Andrei-Stelian Bejana et al. [19] did an experiment to design an energy-efficient building with low energy consumption and a low effect on the environment. They proposed a system to measure the indoor environment factors, i.e., temperature, CO2 and relative humidity levels, during one winter month (February) and also to correlate the results with the energy consumption. From their experiment, they concluded that the indoor parameters, in their case study of the EFdeN project (, were achieved with minimum energy consumption during the winter period, and this case study represented a model of a sustainable building that could be widely implemented.

3. Materials and Methods

In this section, we give a detailed description of the proposed system. We first discuss theoretical the background of the proposed system, which provides a basis for the design of AQSS and implementing it with a linear SVM classifier.

3.1. Relational Constructs Used

The proposed system was designed to identify the real-time environmental measurement feasibility level for wound healing, as there are many environmental factors, but in our proposed system, we focused on temperature, humidity, air dust and air quality. After studying the effect of each component on wound healing, we drew the basic relational construct for each environmental factor for wound healing to justify the significance of the proposed system in clinical aspects.
There are many environmental factors that can delay or boost the normal healing process. In fact, environmental factors affect skin conditions, which ultimately delay/boost wound healing. Skin factors that contribute to wound healing are: skin moisture level and body oxygen level.
It has been observed that open skin wounds such as lacerations, abrasions, crush injuries and burns heal faster when treatment involves promoting a moist wound bed. Researcher have studied the “comparison of the effects of moist and dry conditions” and concluded that wounds heal faster under moist conditions because inflammatory and proliferative phases are accelerated in moist conditions and slow under dry conditions [20]. Specifically, cell growth needs moisture, and the main goal of moist wound therapy is to create and maintain these optimal moist conditions. Cells can grow, divide and migrate at an increased rate to enhance the formation of new tissue. During this phase of wound healing, an aqueous medium with several nutrients and vitamins is essential for cell metabolism and growth. We depict the relationship of open skin wound healing and environmental factors in Equations (1)–(3).
WH = Wound Healing
EF = Environmental Factors
EF = T ∪ H ∪ AQ
T = Temperature
H = Humidity level
AQ = Air Quality
AQ = Smoke ∪ GC ∪ DP
Smoke = air smoke
GC = Gas Concentration
DP = Dust Particles
In Equation (1), we draw the relationship between wound healing and environmental factors. Equation (2) shows that the term environmental factors is a union of temperature, humidity level and air quality, while Equation (3) shows that air quality is a union of smoke, gasses and dust articles in the air.

3.1.1. Measuring Temperature

Temperature plays a vital role in skin wound healing. The human body’s normal temperature is the most suitable temperature for fast wound healing, i.e., 37 °C (98.6 °F). This temperature is best for human body cells and enzymes. If wound temperature drops even by 2 °C, the healing process can slow down or even stop. Therefore, if environmental temperature is higher than the normal range, it causes sweating, and as a result, skin loses its moisture and its temperature drops. Therefore, we draw the relationship between temperature and skin moisture in Equation (4).
T = 1/SM
T = temperature
SM = Skin Moisture
Our proposed approach used Equation (4) for building the working rules shown in Section 3.4, which was further implemented with SVM for classification.

3.1.2. Measuring Humidity

Environmental humidity has effects on temperature. If there is more humidity in the air, then a high temperature feels greater, e.g., if the temperature is 90°, it will feel like 90° in the presence of 30% humidity, but if the humidity is up to 65%, then a 90° temperature feels like 112°. This rise in feeling of temperature provokes the body to maintain body temperature by sweating, which ultimately cools down the body, and skin loses its moisture; therefore, the temperature of skin tissues drops.
The humidity level in the air also has a relationship with the skin moisture level, i.e., in the presence of less humidity in the air, water in the skin can be drawn out of the skin’s surface into the air, which ultimately dries out the skin’s outermost layer, called the epidermis; while, if the humidity level in air is high, the skin moisture level is sustained as the body uses its own natural moisturizing factors and absorbs water from the atmosphere to keep it hydrated. We depicted relationship between temperature and humidity is given Equations (5) and (6):
H ∝ TF
TF ∝ 1/SM
H = Humidity
TF = Temperature Feel
SM = Skin Moisture
Equation (5) shows that humidity is directly proportional to the way the temperature feels, while Equation (6) shows the inverse proportionality between the way temperature feels and skin moisture.
Our proposed system used Equation (6) to design working rules, given in Section 3.4, which were further used for the implementation of the SVM classifier.

3.1.3. Measuring Air Quality

Air quality is a combination of different elements, i.e., smoke, gases and dust particles. Mostly, the air quality of commercial buildings and public places is not so good: air in these places is mostly contaminated with harmful gases such as carbon dioxide (CO2), carbon monoxide (CO), nitrogen dioxide (NO2), ozone (O3), and formaldehyde (CH2O), and even bacteria. All these gases can negatively affect wound healing [21]. Different indoor environments are also polluted with harmful pollutants, which may damage skin [22].
The environment may contain smoke either coming from smoking, burning waste material or from production houses. This smoke can badly affect the wound healing process. Smoke prohibits the body from winning the battle against infections, as smoke chemicals cause respiratory problems, which ultimately reduce the tendency of skin tissues to absorb oxygen [2].
An adequate amount of oxygen level in the body is very necessary for normal wound healing. The major source of oxygen is air. When humans take oxygen from the air, it passes from the blood and reaches the wound site, so the wound gets enough strength to fight infections for a smooth and fast recovery of the affected skin tissues. We represent the relationship of smoke and open skin wound healing by Equations (7) and (8).
Ob ∝ 1/Infection
Smoke ∝ 1/Ob
Ob = Oxygen in the body
We used Equation (7) to show that oxygen in the body is inversely proportional to infection, and Equation (8) shows the inverse proportional relation between smoke and oxygen in the body. We measured the air quality rule, i.e., air having more positive gases, i.e., oxygen is more favourable for skin wound healing, while the presence of negative constituents like smoke can disturb the normal level of positive gases, as shown in Equation (8).

3.1.4. Measuring Dust Particles

Air contains dust particles in which bacteria also exist, so with more dust particles in the air, there are more chances for bacteria to be within it. Skin wound infection usually occurs due to the presence and growth of bacteria on the wound site [23]. Moreover, recently, epidemiological and mechanistic studies showed that air pollution negatively affects skin [24]. These infections can delay the wound healing process as they negatively affect the immune system. Infection causes inflammation and tissue damage on the wound site, which ultimately delays the healing process. This effect is represented in Equation (9).
D ∝ M ∪ B
D = Dust
M = Microbes
B = Bacteria.
Equation (9) shows that dust is directly proportional to the microbes’ union bacteria.

3.2. Proposed Methodology

The proposed wound monitoring system is designed with the capacity for intelligent classification of the environment on the basis of considering factors like air quality, humidity, temperature and dust particles. An intelligent air quality sensing system handles the effective utilization of sensors to ensure efficient sensing of current environmental factors.
The proposed approach specifically monitors wound healing by classifying the environment as feasible or not feasible with the proposed SVM classifier. The proposed approach is divided into two major systems, i.e., a sensor-based system named AQSS for data collection and an SVM classifier for data analysis, and mobile app for the display of the output. The proposed approach of environment classification for wound monitoring is broken up into the following steps.
  • Collecting the dataset from different environments by reading environmental factors, i.e., temperature, humidity, air quality and dust particles, by using the Air Quality Sensing System (AQSS) based on Arduino sensors.
  • Recording the obtained readings of AQSS in an Excel datasheet for further analysis.
  • Defining standard working rules for the SVM classifier, from the derived equations of the environmental factors’ relationship with wound healing, as referenced in Section 3.1.
  • Designing the SVM classifier for the classification of environmental factors by training on a standard input dataset designed by using defined standard rules, as given in Section 3.4.
  • Testing of the trained SVM classifier to get environment classes.
  • Analysis of the obtained SVM class to validate the trained SVM classifier.
  • Displaying the output, i.e., obtaining the class of the environment using the Android app.
  • Our proposed approach for wound monitoring is comprised of 4 major working phases, as shown in Figure 3.

3.3. Hardware Used

Although there are many types of pollution measurement equipment available, they have two major issues: they are expensive and are present only locally as they are in fixed locations [25]. Therefore, in our proposed approach, we designed an inexpensive and portable AQSS.
In order to read the values of observed environmental factors, i.e., humidity, temperature, air quality and dust particles, we designed an air quality sensing system composed of the following components.
The features of all hardware components along with the corresponding configuration details are given in Appendix A.

Design and Configuration of the AQSS Circuit

To measure the environmental factors, we built a circuit consisting of the abovementioned components. The interface and working of the circuit are shown in Figure 4, and the circuit configuration is described in Table 2.
We used this circuit to read and record the values of humidity and temperature with the DHT11 sensor attached, the values of the gases’ concentration using the MQ135 attached and the density of dust in the air with optical dust sensor attached. The proposed circuit used standard ranges of temperature, humidity, air pollutants and dust particles, as given in Table 3, Table 4, Table 5 and Table 6, respectively.
All input values were directly read in Excel with the help of PLX-DAQ, and we did the experiment in different indoor and outdoor environment setups to obtain a dataset having environmental factor values of diverse environments. On the basis of the extracted relationship of environmental factors and the skin wound healing process, we defined some standard rules to classify the environment either as “favourable “or “unfavourable”.

3.4. Working Rules for SVM Used

In our proposed system, we recorded environmental factor values with the proposed AQSS, then we needed some standard working rules to compare these values, in order to design the SVM classifier. We built working rules for the classifier, shown in Table 7. We provided these working rules for the “favourable” environment type of each open skin wound type by analysing the relationship between the environment factors discussed in Section 3.1 and the standard values of temperature, humidity, air pollutants and dust particles given in Table 3, Table 4, Table 5 and Table 6 respectively.

3.5. SVM Classifier Used

To facilitate the patient in the suggestion of a suitable environment for faster wound healing, we needed to classify the environment based on different factor readings obtained by AQSS. To do so, we used the linear SVM classifier. In recent years, many research applications have used machine learning classification techniques to obtain solutions in the medical domain. Most of these applications designed classifiers that could separate instance classes based on input attributes measured in each instance. The purpose of these applications is to analyse medical data and detect or diagnose disease [26].
There are many classification techniques that can be applied on data to analyse output, e.g., naive Bayes classifiers, decision tress, KNN, NN, etc.
In our proposed approach, we chose SVM for the classification decision because of the following three reasons:
  • SVM is a suitable choice when data have clearly two distinct output classes, as in our proposed system that needs to classify the environment into one of two classes: either favourable or unfavourable.
  • SVM finds the best hyperplanes to classify the data points of one class from the data points of another class, by using its kernel functions. Different variations of the kernel function can handle linear, as well as nonlinear datasets.
  • When SVM classifies data with the resultant hyperplane having the maximum margin between the data points of the two classes, it will be considered as the best hyperplane. Although other classifiers can also separate the data points of one class from the data points of another class, their generated hyperplane does not achieve the maximum margin [27].
Mathematically, the SVM hyperplane and max hyperplane are described by Equations (10) and (11), given by [28]. The input is the training dataset having n data points:
( x 1 , y 1 ) ( x n , y n )
where y i = 1   o r + 1 , and the value of y represents the class to which the data points x i belong.
To obtain maximum margin hyperplane given concept used by SVM.
M a x H y p e r p l a n e = i = 1 n x i   w h e r e   y i = 1 j = 1 n x j   w h e r e   y i = 1
In the current problem, X = the input dataset, which consisted of sensor readings obtained by the AQSS system. It contains the values of temperature, humidity, air quality and dust particles. The output of the problem defined is the environment classes according to the AQSS reading, either “favourable” or “unfavourable”. The output is represented by Y.
Y = 0 to denote an unfavourable environment
Y = 1 to denote a favourable environment

4. Implementation of AQSS and the Linear SVM Classifier

To validate the working of the proposed model, we designed an experimental setup for the proposed AQSS and the linear SVM classifier of MATLAB. To predict the environment class successfully, we executed the given steps discussed in this section and depicted in Figure 5.
The SVM classifier first needed the standard input dataset, which means all possible input data values with some pre-labelled class values, so that the SVM classifier could train on that dataset and further use it to predict the outcome of incoming data values. We did this by designing a standard dataset of labelled classes, which was prepared by using the rules mentioned in Section 3.4. After training the SVM classifier, the next step was to export that training model to the MATLAB workspace for further use. Next, we used the proposed AQSS to read real-time environmental factor values in different indoor and outdoor environment setups and recorded these input datasets in an MS-Excel sheet. The trained model of SVM provided the output classes predicted.

4.1. Training Dataset Used

We took the training dataset at different time intervals by AQSS and used this dataset to train the SVM for future use. We collected 500 instances of the training dataset by AQSS. The design of the training dataset is given in Table 8.
We did the labelling of the trained dataset by applying the rules given in Table 6. We followed the steps below to prepare the labelled training data.
  • Reading environmental factors using AQSS after every 100 s.
  • Keeping a record of environmental values in an Excel sheet using PLX-DAQ.
  • Applying rules given in Table 6 in the form of the formula on the recorded input values of the Excel sheet to assign environment class label values for each recorded instance, e.g., if temperature = 0–16, humidity = 60–70, air quality = 100–150 and dust particles = 0–25.9, the environment class will be equal to one, which indicates a favourable environment.

4.2. Training SVM

We designed the SVM classifier in MATLAB by using the following steps, shown in Figure 6.
  • First, we opened the trained dataset in MATLAB.
  • We created a training dataset variable in the workspace by using the following commands.
    Training data = read table (‘TrainingData.xlsx’);
  • Next, we opened the classification learner app and designed the SVM model after doing the required configuration, i.e., each parameter range depends on its stored values; for humidity, we provided a range from 20–164, for temperature 0–111, air quality 100–203 and dust particles 0.1–94.62. We set this range after carefully observing the break points of rules. We set Temperature, humidity, air quality and dust particles as predictors and environment type as the response.
  • Next, we trained the classifier on training dataset. The model was trained with an 87.2% accuracy rate.
    After training, we exported the model in the workspace to use for the unlabelled input dataset obtained from the real-time reading of AQSS.
  • We opened the test dataset in MATLAB, which we recorded with our proposed AQSS.
  • We used the trained SVM to predict the environment type of the test dataset. We used the following commands to get the results of the predicted classes from the trained SVM.
yfit = predict(trainedClassifier, TestData{1:10,trainedClassifier.PredictorNames})
The yfit function took the trained SVM classifier’s name, the dataset name, the range of rows for which values of the unknown label were need to predict and the parameter of the predictor name as the input.

5. Results and Discussion

We did the experiment on three different datasets obtained by taking environment readings thorough AQSS in three different environment setups, i.e., indoors, outdoors and industrial area, to verify the working of the trained SVM.

5.1. Evaluation of the Trained SVM Classifier

We used the SVM classifier to predict environment type. The SVM has the capability to handle larger dataset values of approximately 2500 vectors, as presented by other researchers [29]. Although Support Vector Machines (SVMs) are very accurate modern classifiers that deliver up-to-the-mark performance in pattern recognition problems of real-world scenarios, are also preferred in data mining applications such as text categorization, hand-written character recognition, image classification and bioinformatics and they generate very accurate solutions, they are not preferred in online applications where classification has to be done on a large number of vectors that require a high speed [30].
The SVM model trained on the provided standard training dataset showed an 87.2% accuracy and a 12.8% error rate, as shown in Figure 7. We obtained different plots that depicted the trained SVM classifier’s characteristics more precisely. We chose different parameters on the X-axis and Y-axis to view the change of the hyperplane of the trained SVM classifier.
In Figure 8, a scatter plot is drawn between temperature and humidity. The red line shows that unfavourable classes were correctly classified, and the green line shows that favourable classes were correctly classified. The hyperplane shows the wider separation for temperature values of 18–23 and a humidity range of 20–50. In Figure 9, the scatter plot is drawn between air quality and humidity in which the “favourable” class value is present in the humidity range between 20 and 60 and an air quality range of 100–120. In Figure 10, the scatter plot shows the relationship between dust particles and humidity in which the “favourable” class values are shown for a humidity range of 0–70 and a dust particle range of 0–10. Figure 11 shows the relationship between dust particles and air quality where the “favourable” class exists in an air quality range of 100–1200 and a dust particle range of 0–1.
The ROC curve of our proposed trained SVM classifier using the linear kernel function is shown in Figure 12. The ROC showed a true positive rate of the trained SVM on the—axis and false positive on the X-axis. The linear SVM classifier ROC showed an AUC = 0.930. The confusion matrix of the trained SVM classifier is shown in Figure 13. The confusion matrix shows the % of correctly predicted classes and wrongly predicted classes. The matrix value showing the total predicted “favourable” classes was 89, out of which one class was truly unfavourable and wrongly predicted to be favourable, while the total unfavourable classes were 145, out of which 116 were predicted correctly, and 29 were truly favourable, but predicted to be unfavourable. By the given confusion matrix of the accuracy and error rate for both classes, prediction could be measured with the help of the formulae given in Equations (12) and (13).
A c c u r a c y ( U F ) = C o r r e c t l y   P r e d i c t e d T o t a l   P r e d i c t e d   × 100
E r r o r   R a t e = W r o n g l y   P r e d i c t e d T o t a l   P r e d i c t e d × 100
Accuracy rate for favourable class prediction = 88/89 × 100 = 98%
Accuracy rate for unfavourable class prediction = 116/145 × 100 = 80%
Error rate for favourable class prediction = 1/89 × 100 = 1.122%
Error rate for unfavourable class prediction = 29/145 × 100 = 20%

5.2. Experiment Results of Classification

We used the trained SVM classifier to predict the environment type of three different datasets obtained by reading real-time environment values by AQSS in three different environment setups, i.e., indoors, outdoors and industrial area, as shown in Table 9. The results obtained from the SVM classifier are given below in Table 10. We used the statistical measures of precision, recall and accuracy to evaluate the performance of the trained SVM classifier. The evaluation parameters are given in Figure 14; by using these, we drew the formulas for precision, recall and accuracy given below.
  • True Favourable (TF): SVM classifier predicted the real favourable class as favourable.
  • False Favourable (FF): SVM classifier predicted the real unfavourable class as favourable.
  • True Unfavourable (TUF): SVM classifier predicted the real unfavourable class as unfavourable.
  • False Unfavourable (FUF): SVM classifier predicted the real favourable class as unfavourable.
P r e c i s i o n = T F ( T F + F F ) × 100
R e c a l l = T F T F + F U F × 100
A c c u r a c y = ( T F + T U F ) / T o t a l × 100
The SVM prediction results for three different datasets taken from indoors, a hospital and an industrial area are shown in Figure 15, showing that the indoor environment had a high precision and accuracy rate compared to the other two environments. SVM predicted more favourable classes for the dataset for indoors with a 99% accuracy rate, as indoor environments have a suitable atmosphere for skin wound healing, while outdoor environments like hospitals have a lesser value for the favourable class, with an accuracy rate of 96%. The third dataset for the industrial area had a greater value for the unfavourable class, so SVM showed less precision of 92% and an accuracy rate of 96% as shown in Figure 15.

5.3. Complexity of the Proposed System

Complexity measurement means the calculation of the time and memory requirement of the proposed system. According to our proposed system design, there was no big data store directly involved; therefore, only one complexity parameter affected the quality of the proposed system, i.e., the system response time, which depended on the sensors. The system response time depends on the sensor delay time interval. The delay time interval is set to create a gap between two readings; the larger the gap, the more time sensors require to complete a predefined number of readings, which ultimately increased the system response time. We set the standard delay time interval of 30 s to take two readings in a minute and maximum of 120 readings in an hour.

5.4. Quality of Experience for the Proposed System

The quality of experience facilitates improving the reliability of systems by checking users’ experiences with the system. By using QoX (Quality of Experience), different parameters necessary to evaluate the proposed system’s performance could be measured, e.g., privacy, service cost, delay, etc. [31]. In order to ensure the quality of the proposed system, we focused on checking the quality of the experience of patients in monitoring wound healing at their site. We considered four important parameters to verify the quality of the proposed system, i.e., interface flexibility, response time, accuracy rate and portability. We did experiments with users of different ages and obtained the results given in Table 11.

5.5. Limitations of the Proposed System

The proposed wound monitoring system was designed to check the current environment feasibility level, and it was very effective for this purpose. The limitations of proposed solution are described in Table 12.
There are many machine learning classification algorithms, e.g., SVM, neural network, decision trees, KNN, linear regression etc. Neural network and SVM are more popular for solving classification problems. In our proposed wound monitoring system, we used SVM classification; the characteristics of the proposed SVM in comparison with other machine learning techniques are described in Table 13.

6. Conclusions and Future Work

The proposed model provided a simple solution to monitor current environment feasibility for open skin wound healing. The given model has two components, i.e., AQSS and SVM classifier. We used AQSS to record the current environment readings with the help of an Arduino UNO-based circuit connected to three sensors, DHT11, MQ135 and optical dust. We programmed the Arduino Controller to record the temperature, humidity, air quality and dust particles from the environment and recorded the values in Excel. The next component of the presented model used the SVM classifier of MATLAB, which took the designed standard training dataset to train and then further used this trained SVM to predict the environment feasibility of the dataset, which were taking real-time environment readings by AQSS.
Two major components, AQSS and SVM, showed good quality of experience results for the user, i.e., around 80–90%. The trained SVM showed an 87% accuracy rate on the provided training dataset, and from the experiment results, we concluded that our proposed system could predict the environment type with an approximately 80–90% accuracy rate for the indoors, outdoors and an industrial area. Therefore, our proposed solution can easily predict environment feasibility based on current environment factor values, which ultimately help the patient to predict the current environment’s suitability for open skin wound healing. If the environment is not favourable enough to heal the wound faster, then the patient can take precautions to adjust the environment factors or he/she may change place to avoid unfavourable environmental conditions.
We implemented the proposed approach by using linear SVM classification. In the future, the current problem could be implemented by using other classification techniques, i.e., neural network, KNN, decision tress, fuzzy system, DBSCAN, random forest, etc. Additionally, the current approach can be reproduced by selecting more features from the environment to monitor wound healing.

Author Contributions

H.S. is the main author of the paper and contributed in problem analysis, design of the approach and writing this this draft. I.S.B. supervised this work and contributed in conceptualization, editing and proof-reading of this manuscript. U.F.S. contributed in coding and data analysis of this study.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Appendix A.1. Arduino UNO

We used an open-source microcontroller board, shown in Figure A1, which is composed of 14 digital and six analogue Input/Output (I/O) pins, which can be used to communicate with various expansion boards (shields); these pins can be programmed with the Arduino IDE (Integrated Development Environment) by using a type B USB cable.
Figure A1. Arduino UNO microcontroller.
Figure A1. Arduino UNO microcontroller.
Electronics 08 00801 g0a1

Appendix A.2. DHT11 Humidity and Temperature Sensor

The air quality monitoring circuit, DHT11, given in Figure A2, was used to measure humidity and temperature. This sensor generates calibrated digital output. This sensor can be interfaced with any microcontroller like Arduino, Raspberry Pi, etc. DHT11 provides high reliability and long-term stability. We used the interfacing description given in Table A1 to connect DHT11 to AQSS.
Figure A2. DHT11 humidity and temperature sensor.
Figure A2. DHT11 humidity and temperature sensor.
Electronics 08 00801 g0a2
Table A1. Interfacing DHT11 to Arduino UNO.
Table A1. Interfacing DHT11 to Arduino UNO.
DHT11Arduino UNO
PIN 1 = VDDVcc

Appendix A.3. MQ135 Gas Sensor

The air quality monitoring system used the MQ135 gas sensor shown in Figure A3 to measure air quality. This sensor can detect ammonia, sulphide, benzene steam, smoke and other harmful gases. The MQ135 gas sensor has a tested concentration range from 10–1000 ppm. We used the interfacing description given in Table A2 to connect MQ135 to AQSS.
Figure A3. Gas sensor.
Figure A3. Gas sensor.
Electronics 08 00801 g0a3
Table A2. Interfacing MQ135 to Arduino UNO.
Table A2. Interfacing MQ135 to Arduino UNO.
MQ135Arduino UNO
PIN 1 = A0A0
PIN 2 = D0D0
PIN 3 = VCC5 V

Appendix A.4. Optical Dust Sensor

We used the optical dust sensor in the AQS system to measure the quality of air. The optical dust sensor given in Figure A4 can provide a good indication of the air quality in an environment. This can be done by dust concentration measurement. The air Particulate Matter level (PM level) was analysed by counting the Low Pulse Occupancy time (LPO time). For an air purifier system, this sensor can provide reliable data. We used the interfacing description given in Table A3 to connect the optical dust sensor to AQSS.
Figure A4. Optical dust sensor.
Figure A4. Optical dust sensor.
Electronics 08 00801 g0a4
Table A3. Interfacing optical dust sensor to Arduino UNO.
Table A3. Interfacing optical dust sensor to Arduino UNO.
Optical Dust SensorArduino Uno
PIN 5 = V0A0
PIN 6 = VCC5 V


  1. Torres, J. Burns, Open Wounds/Wounds. 2017. Available online: (accessed on 4 March 2019).
  2. Guo, S.; Dipietro, L.A. Factors affecting wound healing. J. Dent. Res. 2010, 89, 219–229. [Google Scholar] [CrossRef] [PubMed]
  3. Hunt, T.K.; Hopf, H.; Hussain, Z. Physiology of wound healing. Adv. Skin Wound Care 2000, 13, 6. [Google Scholar] [CrossRef]
  4. Aloqaily, M.; Otoum, S.; Al Ridhawi, I.; Jararweh, Y. An intrusion detection system for connected vehicles in smart cities. Ad Hoc Netw. 2019, 90, 101842. [Google Scholar] [CrossRef]
  5. Otoum, S.; Kantarci, B.; Mouftah, H.T. On the Feasibility of Deep Learning in Sensor Network Intrusion Detection. IEEE Netw. Lett. 2019, 1, 68–71. [Google Scholar] [CrossRef]
  6. Zampolli, S.; Elmi, I.; Passini, M.; Cardinali, G.; Dori, L.; Ahmed, F.; Nicoletti, S. An electronic nose based on solid state sensor arrays for low-cost indoor air quality monitoring applications. Sens. Actuators B Chem. 2004, 101, 39–46. [Google Scholar] [CrossRef]
  7. Khedo, K.K.; Perseedoss, R.; Mungur, A. A Wireless Sensor Network Air Pollution Monitoring System. Int. J. Wirel. Mob. Netw. 2010, 2, 31–45. [Google Scholar] [CrossRef]
  8. Kinkeldei, T.; Zysset, C.; Cherenack, K.H.; Tröster, G. A textile integrated sensor system for monitoring humidity and temperature. In Proceedings of the 2011 16th International Solid-State Sensors, Actuators and Microsystems Conference, Beijing, China, 5–9 June 2011; pp. 1156–1159. [Google Scholar]
  9. Benharref, A.; Serhani, M.A. Novel Cloud and SOA-Based Framework for E-Health Monitoring Using Wireless Biosensors. IEEE J. Biomed. Health Inform. 2014, 18, 46–55. [Google Scholar] [CrossRef] [PubMed]
  10. Kumar, M.A.; Sekhar, Y.R. Android based health care monitoring system. In Proceedings of the 2015 International Conference on Innovations in Information, Embedded and Communication Systems (ICIIECS), Coimbatore, India, 19–20 March 2015; pp. 1–5. [Google Scholar]
  11. Occhiuzzi, C.; Ajovalasit, A.; Sabatino, M.A.; Dispenza, C.; Marrocco, G. RFID epidermal sensor including hydrogel membranes for wound monitoring and healing. In Proceedings of the 2015 IEEE International Conference on RFID (RFID), San Diego, CA, USA, 15–17 April 2015; pp. 182–188. [Google Scholar]
  12. Rahimi, R.; Ochoa, M.; Parupudi, T.; Zhao, X.; Yazdi, I.K.; Dokmeci, M.R.; Tamayol, A.; Khademhosseini, A.; Ziaie, B. A low-cost flexible pH sensor array for wound assessment. Sens. Actuators B Chem. 2016, 229, 609–617. [Google Scholar] [CrossRef]
  13. Roychoudhury, S.; Umasankar, Y.; Jaller, J.; Herskovitz, I.; Mervis, J.; Darwin, E.; Hirt, P.A.; Borda, L.J.; Lev-Tov, H.A.; Kirsner, R.; et al. Continuous Monitoring of Wound Healing Using a Wearable Enzymatic Uric Acid Biosensor. J. Electrochem. Soc. 2018, 165, B3168–B3175. [Google Scholar] [CrossRef]
  14. Svensjö, T.; Pomahac, B.; Yao, F.; Slama, J.; Eriksson, E. Accelerated Healing of Full-Thickness Skin Wounds in a Wet Environment. Plast. Reconstr. Surg. 2000, 106, 602–612. [Google Scholar] [CrossRef]
  15. Islam, S.M.R.; Kwak, D.; Kabir, M.H.; Hossain, M.; Kwak, K.-S. The Internet of Things for Health Care: A Comprehensive Survey. IEEE Access 2015, 3, 678–708. [Google Scholar] [CrossRef]
  16. Arridha, R.; Sukaridhoto, S.; Pramadihanto, D.; Funabiki, N. Classification extension based on IoT-big data analytic for smart environment monitoring and analytic in real-time system. Int. J. Space-Based Situated Comput. 2017, 7, 82. [Google Scholar] [CrossRef]
  17. Agu, E.; Pedersen, P.; Strong, D.; Tulu, B.; He, Q.; Wang, L.; Li, Y. The smartphone as a medical device: Assessing enablers, benefits and challenges. In Proceedings of the 2013 IEEE International Workshop of Internet-of-Things Networking and Control (IoT-NC), New Orleans, LA, USA, 24–27 June 2013; pp. 48–52. [Google Scholar]
  18. Sabilla, S.I.; Sarno, R.; Siswantoro, J. Estimating Gas Concentration using Artificial Neural Network for Electronic Nose. Procedia Comput. Sci. 2017, 124, 181–188. [Google Scholar] [CrossRef]
  19. Bejan, A.S.; Catalina, T.; Munteanu, A.T. Indoor environmental quality experimental studies in an energy-efficient building. Case study: EFdeN Project. Energy Procedia 2017, 112, 269–276. [Google Scholar] [CrossRef]
  20. Dyson, M.; Young, S.; Pendle, C.L.; Webster, D.F.; Lang, S.M. Comparison of the Effects of Moist and Dry Conditions on Dermal Repair. J. Investig. Dermatol. 1988, 91, 434–439. [Google Scholar] [CrossRef] [PubMed]
  21. Kim, S.; Paulos, E. InAir: Sharing indoor air quality measurements and visualizations. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, Atlanta, GA, USA, 10–15 April 2010; pp. 1861–1870. [Google Scholar]
  22. Edwards, R.; Harding, K.G. Bacteria and wound healing. Curr. Opin. Infect. Dis. 2004, 17, 91–96. [Google Scholar] [CrossRef] [PubMed]
  23. Devarakonda, S.; Sevusu, P.; Liu, H.; Liu, R.; Iftode, L.; Nath, B. Real-time air quality monitoring through mobile sensing in metropolitan areas. In Proceedings of the 2nd ACM SIGKDD International Workshop on Urban Computing, Chicago, IL, USA, 11 August 2013; p. 15. [Google Scholar]
  24. Krutmann, J.; Liu, W.; Li, L.; Pan, X.; Crawford, M.; Sore, G.; Seite, S. Pollution and skin: From epidemiological and mechanistic studies to clinical implications. J. Dermatol. Sci. 2014, 76, 163–168. [Google Scholar] [CrossRef] [PubMed]
  25. Leung, M.; Chan, A.H. Control and management of hospital indoor air quality. Med. Sci. Monit. 2006, 12, SR17–SR23. [Google Scholar]
  26. Foster, K.R.; Koprowski, R.; Skufca, J.D. Machine learning, medical diagnosis, and biomedical engineering research-commentary. Biomed. Eng. Online 2014, 13, 94. [Google Scholar] [CrossRef]
  27. Jakkula, V. Tutorial on Support Vector Machine (SVM); Washington State University: Pullman, WA, USA, 2006; p. 37. [Google Scholar]
  28. Han, J.; Pei, J.; Kamber, M. Data Mining: Concepts and Techniques; Morgan Kaufmann: Burlington, MA, USA, 2011. [Google Scholar]
  29. Osuna, E.; Freund, R.; Girosi, F. Training support vector machines: An application to face detection. Incvpr 1997, 97, 99. [Google Scholar]
  30. Keerthi, S.S.; Chapelle, O.; DeCoste, D. Building support vector machines with reduced classifier complexity. J. Mach. Learn. Res. 2006, 7, 1493–1515. [Google Scholar]
  31. Aloqaily, M.; Kantarci, B.; Mouftah, H.T. A Generalized Framework for Quality of Experience (QoE)-Based Provisioning in a Vehicular Cloud. In Proceedings of the 2015 IEEE International Conference on Ubiquitous Wireless Broadband (ICUWB), Montreal, QC, Canada, 4–7 October 2015; pp. 1–5. [Google Scholar] [CrossRef]
Figure 1. (A) Skin open wound abrasion. (B) Skin open wound avulsion. (C) Skin open wound laceration. (D) Skin open wound puncture.
Figure 1. (A) Skin open wound abrasion. (B) Skin open wound avulsion. (C) Skin open wound laceration. (D) Skin open wound puncture.
Electronics 08 00801 g001
Figure 2. Environmental classification model.
Figure 2. Environmental classification model.
Electronics 08 00801 g002
Figure 3. Phases of the proposed model. AQSS, Air Quality Sensing System.
Figure 3. Phases of the proposed model. AQSS, Air Quality Sensing System.
Electronics 08 00801 g003
Figure 4. AQSS circuit design.
Figure 4. AQSS circuit design.
Electronics 08 00801 g004
Figure 5. Phases of the proposed model.
Figure 5. Phases of the proposed model.
Electronics 08 00801 g005
Figure 6. Training steps of the proposed SVM.
Figure 6. Training steps of the proposed SVM.
Electronics 08 00801 g006
Figure 7. Trained SVM.
Figure 7. Trained SVM.
Electronics 08 00801 g007
Figure 8. Scatter plot between temperature and humidity.
Figure 8. Scatter plot between temperature and humidity.
Electronics 08 00801 g008
Figure 9. Scatter plot between air quality and humidity.
Figure 9. Scatter plot between air quality and humidity.
Electronics 08 00801 g009
Figure 10. Scatter plot between dust particles and humidity.
Figure 10. Scatter plot between dust particles and humidity.
Electronics 08 00801 g010
Figure 11. Scatter plot between dust particles and air quality.
Figure 11. Scatter plot between dust particles and air quality.
Electronics 08 00801 g011
Figure 12. ROC curve.
Figure 12. ROC curve.
Electronics 08 00801 g012
Figure 13. Confusion matrix.
Figure 13. Confusion matrix.
Electronics 08 00801 g013
Figure 14. SVM predicted class types.
Figure 14. SVM predicted class types.
Electronics 08 00801 g014
Figure 15. SVM classifier prediction evaluation chart.
Figure 15. SVM classifier prediction evaluation chart.
Electronics 08 00801 g015
Table 1. Previous studies.
Table 1. Previous studies.
Work YearSensor/Technique UsedPurposeLimitation
[6] 2004Sensor array Detection of CO2 and NO2 for indoor air qualityIndoor Only gases’ detection
[7] 2010Wireless sensors Air quality detection monitoring for a countryLocally available
[8] 2011Resistance Temperature Detector (RTDs) and conductive polymer (PEDOT-PSS) humidity sensorDetection of temperature and humidity for textilesOnly detects two environmental factors
[9] 2014Wireless biosensorsHealthcare monitoringExpensive sensors
[10] 2015Web server and AndroidHealth monitoring Uses static methods to measure heath parameters
[11] 2015RFID epidermal sensorWound monitoring and healingExpensive sensors
[12] 2016pH sensor arraypH level detection for wound healing Detection of only one parameter, i.e., pH
[13] 2018Uric acid biosensorMonitor wound healingExpensive biosensors
Table 2. Interface of the air quality monitoring system.
Table 2. Interface of the air quality monitoring system.
PINArduino UNO
5 VPin 3 = Vcc (MQ135)
Pin 1 = Vled (ODS)
Pin 6 = Vcc (ODS)
GNDPin 3 = Ground (DHT11)
Pin 4 = Ground (MQ135)
Pin 2 = LED-GND (ODS)
Pin 4 = S-GND (ODS)
D0Pin 2 = D0 (MQ135)
D2Pin 3 = LED
A0Pin 2 DATA (DHT11)
Pin 1 = A0 (MQ135)
Pin 5 = V0 (ODS)
VccPin 1 VDD (DHT11)
Table 3. Standard temperature range.
Table 3. Standard temperature range.
ClassTemperature Range
Normal (winter)16–18 °C
Normal (summer)20–23.5 °C
Table 4. Standard humidity range.
Table 4. Standard humidity range.
ClassHumidity Range %
Comfort range20–60%
Table 5. Standard values’ chart for air pollutants.
Table 5. Standard values’ chart for air pollutants.
ClassPm2.5 Particles mg/m3P10 Particles mg/m3
very good/low0–8.90–16.4
fair/unhealthy for sensitive26.0–39.933–49.9
poor/unhealthy for all40.0–106.950–74.9
very poor107.0 or Greater75 or Greater
Table 6. Standard air quality ppm.
Table 6. Standard air quality ppm.
ClassAir Quality Range ppm
normal air100–150
alcohol air700
lighter gas 750
Table 7. Classification rules for the SVM environmental classifier.
Table 7. Classification rules for the SVM environmental classifier.
Temperature °CHumidity %Air Quality ppmDust Particles mg/m3Environment Class
0–16 °C60–70%100–1500–25.9Favourable
20–23.5 °C30–50%100–1500–25.9Favourable
16–18 °C20–60%100–1500–25.9Favourable
>16 °C>80%100–1500–25.9Unfavourable
0–16 °C60–70%150–75026.0–107.0 or GreaterUnfavourable
20–23.5 °C30–50%150–75026.0–107.0 or GreaterUnfavourable
0–20 °C80–100%100–1500–25.9Unfavourable
16–18 °C20–60%150–75026.0–107.0 or GreaterUnfavourable
<16 °C80–100%100–1500–25.9Unfavourable
<16 °C>80%150–75026.0–107.0 or GreaterUnfavourable
0–20 °C0–29%150–75026.0–107.0 or GreaterUnfavourable
0–16 °C0–19%150–75026.0–107.0 or GreaterUnfavourable
Table 8. Three training datasets’ design.
Table 8. Three training datasets’ design.
Test DatasetTotal ReadingsFavourableUnfavourable
industrial area1508070
Table 9. Three test data design.
Table 9. Three test data design.
Test DatasetTotal ReadingsFavourableUnfavourable
Industrial Area1200546654
Table 10. Performance measure results of the trained SVM implementation. TF, True Favourable; FF, False Favourable; TUF, True Unfavourable; FUF, False Unfavourable.
Table 10. Performance measure results of the trained SVM implementation. TF, True Favourable; FF, False Favourable; TUF, True Unfavourable; FUF, False Unfavourable.
Test Data SetTotal ReadingsTrue ClassTFFFTUFFUFPrecisionRecallAccuracy
Indoors8001 = 749 0 = 517490447100%99%99%
Outdoors10001 = 678 0 = 32267834288095%100%96%
Industrial area12001 = 546 0 = 65454643611092%100%96%
Table 11. Quality of experience.
Table 11. Quality of experience.
PatientsUser FriendlyResponse TimeReliablePortable
Table 12. Limitations of the proposed approach.
Table 12. Limitations of the proposed approach.
Working rules The proposed approach considered weather conditions of a normal zone for building working rules; extreme weather conditions were not considered for analysis by proposed system.
Skin characteristicThe proposed approach analysed the environment effect without considering special skin characteristics, i.e., skin diseases.
AnalysisThe proposed approach used linear SVM classification. The linear classifier was good at training, as it could train faster, but using linear SVM resulted in a low training rate, i.e., 87%.
Dataset size The proposed approach used a dataset size that was not very large, and the accuracy rate may vary for a much larger dataset.
Feature selectionThe proposed approach performed environment classification based on four selected features, i.e., environment factor; there are also other environment factors that may affect the healing process.
Table 13. Comparison with other data mining techniques.
Table 13. Comparison with other data mining techniques.
SVMOther Data Mining Techniques
1. The proposed approach used the SVM classifier for environment prediction. SVM is the most suitable two-class classifier to find the optimal separation hyperplane.1. Other machine learning algorithms, e.g., neural networks, decision trees, random forest, etc., require a complex configuration of input, output, hidden layers and neurons, etc., for accurate mapping of input to output.
2. The proposed SVM is very effective in a high dimension space.2. Other machine learning techniques like neural networks are good for mapping a low-dimensional space.
3. Training of the proposed SVM was very efficient.3. Other machine learning techniques’ training process may be expensive, e.g., neural networks, DBSCAN, random forest.
4. In the proposed approach, the SVM used easily handled the problem of overfitting by the tuning of two parameters. 4. Other machine learning techniques have a greater number of hyperparameters to be adjusted in order to reduce the error rate, e.g., in neural network, the number of layers, layer size, activation function for each layer, optimization algorithm, regularization methods and initialization method are important hyperparameters that need to be adjusted for better classification performance.
5. In the proposed approach, the SVM used had a straightforward configuration by applying the kernel trick for efficient non-linear classification of data.5. Other machine learning algorithms are not straightforward to interpret; they may be preferable if the user only cares about the output, e.g., neural network.
6. The proposed approach worked for small dataset of environmental factors values, for which SVM is the most suitable choice. 6. Other machine learning techniques may generate a high error rate/overfitting for a small training dataset.

© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (
Electronics EISSN 2079-9292 Published by MDPI AG, Basel, Switzerland RSS E-Mail Table of Contents Alert
Back to Top