{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,15]],"date-time":"2026-05-15T20:46:16Z","timestamp":1778877976030,"version":"3.51.4"},"reference-count":40,"publisher":"MDPI AG","issue":"2","license":[{"start":{"date-parts":[[2020,1,10]],"date-time":"2020-01-10T00:00:00Z","timestamp":1578614400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>This article introduces a new way of using a fibre Bragg grating (FBG) sensor for detecting the presence and number of occupants in the monitored space in a smart home (SH). CO2 sensors are used to determine the CO2 concentration of the monitored rooms in an SH. CO2 sensors can also be used for occupancy recognition of the monitored spaces in SH. To determine the presence of occupants in the monitored rooms of the SH, the newly devised method of CO2 prediction, by means of an artificial neural network (ANN) with a scaled conjugate gradient (SCG) algorithm using measurements of typical operational technical quantities (indoor temperature, relative humidity indoor and CO2 concentration in the SH) is used. The goal of the experiments is to verify the possibility of using the FBG sensor in order to unambiguously detect the number of occupants in the selected room (R104) and, at the same time, to harness the newly proposed method of CO2 prediction with ANN SCG for recognition of the SH occupancy status and the SH spatial location (rooms R104, R203, and R204) of an occupant. The designed experiments will verify the possibility of using a minimum number of sensors for measuring the non-electric quantities of indoor temperature and indoor relative humidity and the possibility of monitoring the presence of occupants in the SH using CO2 prediction by means of the ANN SCG method with ANN learning for the data obtained from only one room (R203). The prediction accuracy exceeded 90% in certain experiments. The uniqueness and innovativeness of the described solution lie in the integrated multidisciplinary application of technological procedures (the BACnet technology control SH, FBG sensors) and mathematical methods (ANN prediction with SCG algorithm, the adaptive filtration with an LMS algorithm) employed for the recognition of number persons and occupancy recognition of selected monitored rooms of SH.<\/jats:p>","DOI":"10.3390\/s20020398","type":"journal-article","created":{"date-parts":[[2020,1,10]],"date-time":"2020-01-10T10:20:29Z","timestamp":1578651629000},"page":"398","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":10,"title":["Design of a New Method for Detection of Occupancy in the Smart Home Using an FBG Sensor"],"prefix":"10.3390","volume":"20","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-3802-0595","authenticated-orcid":false,"given":"Jan","family":"Vanus","sequence":"first","affiliation":[{"name":"Department of Cybernetics and Biomedical Engineering, Faculty of Electrical Engineering and Computer Science, VSB\u2013Technical University of Ostrava, 708 33 Ostrava, Czech Republic"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7459-2043","authenticated-orcid":false,"given":"Jan","family":"Nedoma","sequence":"additional","affiliation":[{"name":"Department of Telecommunications, Faculty of Electrical Engineering and Computer Science, VSB\u2013Technical University of Ostrava, 708 33 Ostrava, Czech Republic"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9544-4533","authenticated-orcid":false,"given":"Marcel","family":"Fajkus","sequence":"additional","affiliation":[{"name":"Department of Telecommunications, Faculty of Electrical Engineering and Computer Science, VSB\u2013Technical University of Ostrava, 708 33 Ostrava, Czech Republic"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2054-143X","authenticated-orcid":false,"given":"Radek","family":"Martinek","sequence":"additional","affiliation":[{"name":"Department of Cybernetics and Biomedical Engineering, Faculty of Electrical Engineering and Computer Science, VSB\u2013Technical University of Ostrava, 708 33 Ostrava, Czech Republic"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2020,1,10]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Azghandi, M.V., Nikolaidis, I., and Stroulia, E. (2015, January 10\u201312). Multi\u2013occupant movement tracking in smart home environments. Proceedings of the International Conference on Smart Homes and Health Telematics, Geneva, Switzerland.","DOI":"10.1007\/978-3-319-19312-0_29"},{"key":"ref_2","first-page":"34","article-title":"Multioccupant activity recognition in pervasive smart home environments","volume":"48","author":"Benmansour","year":"2015","journal-title":"ACM Comput. Surv."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Braun, A., Majewski, M., Wichert, R., and Kuijper, A. (2016, January 17\u201322). Investigating low-cost wireless occupancy sensors for beds. Proceedings of the 2016 International Conference on Distributed, Ambient, and Pervasive Interactions, Toronto, ON, Canada.","DOI":"10.1007\/978-3-319-39862-4_3"},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Chan, Z.Y., and Shum, P. (2018). Smart Office\u2014A Voice-Controlled Workplace for Everyone, Nanyang Technological University.","DOI":"10.1145\/3284557.3284712"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"6360","DOI":"10.1109\/JSEN.2018.2844252","article-title":"Unobtrusive sensor-based occupancy facing direction detection and tracking using advanced machine learning algorithms","volume":"18","author":"Chen","year":"2018","journal-title":"IEEE Sens. J."},{"key":"ref_6","unstructured":"Khan, M.A.A.H., Kukkapalli, R., Waradpande, P., Kulandaivel, S., Banerjee, N., Roy, N., and Robucci, R. (2016, January 10\u201314). RAM: Radar-Based Activity Monitor. Proceedings of the IEEE INFOCOM 2016\u2014The 35th Annual IEEE International Conference on Computer Communications, San Francisco, CA, USA."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"223","DOI":"10.1016\/j.pmcj.2010.08.003","article-title":"Vision-based user-centric light control for smart environments","volume":"7","author":"Lee","year":"2011","journal-title":"Pervasive Mob. Comput."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"1503","DOI":"10.1109\/JSEN.2017.2647960","article-title":"BLUESOUND: A New Resident Identification Sensor\u2014Using Ultrasound Array and BLE Technology for Smart Home Platform","volume":"17","author":"Mokhtari","year":"2017","journal-title":"IEEE Sens. J."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"101393","DOI":"10.1016\/j.scs.2018.12.021","article-title":"Household appliance recognition through a Bayes classification model","volume":"46","author":"Yan","year":"2019","journal-title":"Sustain. Cities Soc."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"3991","DOI":"10.1109\/JIOT.2018.2849655","article-title":"Device-Free Occupant Activity Sensing Using WiFi-Enabled IoT Devices for Smart Homes","volume":"5","author":"Yang","year":"2018","journal-title":"IEEE Internet Things J."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"348","DOI":"10.1016\/j.enbuild.2014.11.067","article-title":"Simulation of occupancy in buildings","volume":"87","author":"Feng","year":"2015","journal-title":"Energy Build."},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Yin, J., Fang, M., Mokhtari, G., and Zhang, Q. (2016, January 25\u201327). Multi-resident location tracking in smart home through non-wearable unobtrusive sensors. Proceedings of the 14th International Conference on Smart Homes and Health Telematics (ICOST 2016), Wuhan, China.","DOI":"10.1007\/978-3-319-39601-9_1"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"272","DOI":"10.1016\/j.enbuild.2015.10.033","article-title":"An occupant behavior modeling tool for co-simulation","volume":"117","author":"Hong","year":"2016","journal-title":"Energy Build."},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Vanus, J., Martinek, R., Bilik, P., Zidek, J., and Skotnicova, I. (2016, January 16\u201318). Evaluation of thermal comfort of the internal environment in smart home using objective and subjective factors. Proceedings of the 17th International Scientific Conference on Electric Power Engineering, Prague, Czech Republic.","DOI":"10.1109\/EPE.2016.7521768"},{"key":"ref_15","unstructured":"Polednik, J., Pavlik, J., and Skotnicova, I. (2019, August 15). Research and Innovation Centre. Available online: http:\/\/www.vyzkumneinovacnicentrum.cz\/wp-content\/uploads\/2014\/10\/Vyzkumne-inovacni-centrum.pdf."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"1035","DOI":"10.1063\/1.108786","article-title":"Bragg gratings fabricated in monomode photosensitive optical fiber by UV exposure through a phase mask","volume":"62","author":"Hill","year":"1993","journal-title":"Appl. Phys. Lett."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"4309","DOI":"10.1063\/1.1148392","article-title":"Fiber bragg gratings","volume":"68","author":"Othonos","year":"1997","journal-title":"Rev. Sci. Instrum."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Kunzler, M., Udd, E., Taylor, T., and Kunzler, W. (2003, January 14). Traffic Monitoring Using Fiber Optic Grating Sensors on the I-84 Freeway & Future Uses in WIM. Proceedings of the Sixth Pacific Northwest Fiber Optic Sensor Workshop, Troutdale, OR, USA.","DOI":"10.1117\/12.544456"},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"1905","DOI":"10.1109\/JSEN.2010.2049199","article-title":"A fiber Bragg grating sensor system for train axle counting","volume":"10","author":"Wei","year":"2010","journal-title":"IEEE Sens. J."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"322","DOI":"10.1061\/(ASCE)0733-9445(2005)131:2(322)","article-title":"Measuring ground anchor forces of a quay wall with Bragg sensors","volume":"131","author":"Moorman","year":"2005","journal-title":"J. Struct. Eng."},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Fajkus, M., Nedoma, J., Martinek, R., Vasinek, V., Nazeran, H., and Siska, P. (2017). A non-invasive multichannel hybrid fiber-optic sensor system for vital sign monitoring. Sensors, 17.","DOI":"10.3390\/s17010111"},{"key":"ref_22","first-page":"318","article-title":"Perimeter system based on a combination of a Mach-Zehnder interferometer and the bragg gratings","volume":"14","author":"Fajkus","year":"2016","journal-title":"Adv. Electr. Electron. Eng."},{"key":"ref_23","first-page":"575","article-title":"Capacity of wavelength and time division multiplexing for quasi-distributed measurement using fiber bragg gratings","volume":"13","author":"Fajkus","year":"2015","journal-title":"Adv. Electr. Electron. Eng."},{"key":"ref_24","first-page":"460","article-title":"Encapsulation of FBG sensor into the PDMS and its effect on spectral and temperature characteristics","volume":"14","author":"Nedoma","year":"2016","journal-title":"Adv. Electr. Electron. Eng."},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Zhang, Y., Chang, X., Zhang, X., and He, X. (2018). The Packaging Technology Study on Smart Composite Structure Based on the Embedded FBG Sensor. IOP Conference Series: Materials Science and Engineering, IOP Publishing Ltd.","DOI":"10.1088\/1757-899X\/322\/2\/022059"},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Anoshkin, A.N., Shipunov, G.S., Voronkov, A.A., and Shardakov, I.N. (2017). Effect of temperature on the spectrum of fiber Bragg grating sensors embedded in polymer composite. AIP Conference Proceedings, AIP Publishing.","DOI":"10.1063\/1.5013688"},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Wang, T., He, D., Yang, F., and Wang, Y. (2009, January 19\u201322). Fiber Bragg grating sensors for strain monitoring of steelwork. Proceedings of the 2009 International Conference on Optical Instruments and Technology, Shanghai, China.","DOI":"10.1117\/12.838226"},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"30","DOI":"10.1186\/s13673-017-0113-6","article-title":"Monitoring of the daily living activities in smart home care","volume":"7","author":"Vanus","year":"2017","journal-title":"Human Cent. Comput. Inf. Sci."},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Vanus, J., Kubicek, J., Gorjani, O.M., and Koziorek, J. (2019). Using the IBM SPSS SW Tool with Wavelet Transformation for CO2 Prediction within IoT in Smart Home Care. Sensors, 19.","DOI":"10.3390\/s19061407"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"28","DOI":"10.1186\/s13673-018-0151-8","article-title":"The design of an indirect method for the human presence monitoring in the intelligent building","volume":"8","author":"Vanus","year":"2018","journal-title":"Human Cent. Comput. Inf. Sci."},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"525","DOI":"10.1016\/S0893-6080(05)80056-5","article-title":"A scaled conjugate gradient algorithm for fast supervised learning","volume":"6","author":"Moller","year":"1993","journal-title":"Neural Netw."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"626","DOI":"10.1137\/0720042","article-title":"The conjugate gradient method and trust regions in large scale optimization","volume":"20","author":"Steihaug","year":"1983","journal-title":"SIAM J. Numer. Anal."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1137\/S1064827595289108","article-title":"Subspace, interior, and conjugate gradient method for large-scale bound-constrained minimization problems","volume":"21","author":"Branch","year":"1999","journal-title":"SIAM J. Sci. Comput."},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Vanus, J., Martinek, R., Bilik, P., Zidek, J., Dohnalek, P., and Gajdos, P. (2016, January 23\u201326). New method for accurate prediction of CO2 in the Smart Home. Proceedings of the 2016 IEEE International Instrumentation and Measurement Technology Conference Proceedings, Taipei, Taiwan.","DOI":"10.1109\/I2MTC.2016.7520562"},{"key":"ref_35","unstructured":"Farhang-Boroujeny, B. (1998). Adaptive Filters: Theory and Applications, John Wiley & Sons."},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Poularikas, A.D., and Ramadan, Z.M. (2017). Adaptive Filtering Primer with MATLAB, CRC Press.","DOI":"10.1201\/9781315221946"},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"378","DOI":"10.1016\/j.ifacol.2018.07.183","article-title":"Utilization of the LMS Algorithm to Filter the Predicted Course by Means of Neural Networks for Monitoring the Occupancy of Rooms in an Intelligent Administrative Building","volume":"51","author":"Vanus","year":"2018","journal-title":"IFAC-PapersOnLine"},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"372","DOI":"10.1016\/j.ifacol.2018.07.182","article-title":"Utilization of Interoperability between the BACnet and KNX Technologies for Monitoring of Operational-Technical Functions in Intelligent Buildings by Means of the PI System SW Tool","volume":"51","author":"Vanus","year":"2018","journal-title":"IFAC-PapersOnLine"},{"key":"ref_39","unstructured":"Vanus, J., Sykora, J., Martinek, R., Bilik, P., Koval, L., Zidek, J., Fajkus, M., and Nedoma, J. (2017, January 12\u201314). Use of the software PI system within the concept of smart cities. Proceedings of the 9th International Scientific Symposium on Electrical Power Engineering (ELEKTROENERGETIKA 2017), Star\u00e1 Lesn\u00e1, Slovakia."},{"key":"ref_40","doi-asserted-by":"crossref","first-page":"174","DOI":"10.1016\/j.ifacol.2018.07.149","article-title":"Design of Smart Home Implementation within IoT with Natural Language Interface","volume":"51","author":"Petnik","year":"2018","journal-title":"IFAC-PapersOnLine"}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/20\/2\/398\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,13]],"date-time":"2025-10-13T13:29:18Z","timestamp":1760362158000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/20\/2\/398"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2020,1,10]]},"references-count":40,"journal-issue":{"issue":"2","published-online":{"date-parts":[[2020,1]]}},"alternative-id":["s20020398"],"URL":"https:\/\/doi.org\/10.3390\/s20020398","relation":{"has-preprint":[{"id-type":"doi","id":"10.20944\/preprints202001.0033.v1","asserted-by":"object"}]},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2020,1,10]]}}}