مع دخولنا عصر الذكاء الصنعي فإن الحاجة لتجهيزات منزلية ذكية أضحى أمرا في غاية الأهمية لما يمكن ان تقدمه هذه التجهيزات من توفير الطاقة الكهربائية والموارد المائية التي تعتبر كنوزا على البشرية المحافظة عليها. بالاضافة لمساهمة هذه التجهيزات في حماية البيئة.
لذلك تم في بحثنا بناء غسالة اتوماتيكية تقوم بعملية الغسل بالاعتماد على حالة المابس ونوعيتها ودرجة اتساخها دون الأعتمار على برنامج محجج مسبقا.
ولإنجاز هذه الغسالة الذكية قمنا بكتابة كود برمجي لمتحكم ضبابي من النمط الثاني, باستخدام لغة البرمجة بايثون حيث استقبل هذا المتحكم أربعة مداخل: الدخل الأول (لون الملابس), وتم الحصول عليه بالتقاط صورة للملابس المطلوب غسلها بوساطة كاميرا بدقة ٨ ميغابكسل وتم تحليلها باستخدام مكتبة OpenCV والدخل الثاني نوع الملابس وتم تحديده بالاعتماد على خوارزمية تمييز الأنماط المحلية Local Binary Pattern وهي خوارزمية لمعالجة الصورة الرقمية تستخدم بشكل واسع لتمييز الاشكال التي تتبع نمط وبنية محددة, والدخل الثالث درجة الاتساخ والدخل الرابع وزن الغسيل.
As we enter the age of artificial intelligence, the need for intelligent home appliances has become very important for what this smart equipment can provide in the provision of electrical energy and water resources that are treasures should human preservation, in addition to the contribution of this equipment to protect the environment from pollution, where we face the challenges next:
High prices of electrical equipment.
The number of hours of electricity supply in many areas is low
because of the current conditions in our country.
- Water shortage.
- The rise in prices of materials used in daily life in general and
household detergents in particular
- Great waste of electricity.
- Pollution of the environment and groundwater with detergents used in the laundry process.
Moreover, the unjust economic blockade imposed on our country is pushing us to work to produce low-cost national housing equipment that competes with foreign products in order to alleviate the material burden on the citizens and promote the national economy.
In order to accomplish this smart washing machine, we have written a code for f type-2 fuzzy microcontroller, using the Python programming language. This controller has received four entries, which are: The first income (clothing color), obtained by taking a picture of the clothes that we need to wash by a camera with a resolution of 8 megapixels, analyzed using OpenCV library, and the second income (clothing type), determined by the local binary pattern algorithm, which is common digital image processing algorithm that widely used to identify shapes that follow specific pattern and structure, the third income (degree of dirt), and was identified by taking a picture of the clothes after soaking them with water for two minutes. The image was then analyzed by the OpenCV library and the fourth (washing weight) that getting From the Load Cell, which measures the physical weights. The readings were converted to digital values via the HX711 digital analogue converter and then sent to Arduino UNO to determine the weight. The weight values were eventually sent to the Raspberry PI for use in the controller. The system generates three exits: washing time (the length of time the laundry was washed), the temperature required for washing, and the amount of detergent required.
After selecting all the previous values, we transferred to control Wattar washing machine model 402, where the water valve was controlled to allow the water to pass into the powder box and from it to the washing basin. The water heater was controlled, which heated the water to the temperature determined by the Fuzzy algorithm, The temperature was monitored by the DS18B20 temperature sensor, which gives a signal to the Raspberry PI at the arrival of the temperature to the required value, and the washing machine engine is controlled for a third of the time specified in the Fuzzy algorithm and we controlled the pump Water to empty basin Washing from water, the process repeated for three consecutive times, we control using a software interface designed using TKinter library
We have been able to design a smart Fuzzy logic type-2 controller with the following advantages:
o save electricity consumption o Provide quantity of detergents o Shortenwashingtime
We have been able to control the following physical components within the washing machine:
o Control the water pump
o control Water valve
o controlMotor
o controlTemperaturesensor o controlLCDscreen
We have built a smart washing machine with the following characteristics:
o Have the ability to recognize the condition of clothes o Identify the type of clothing
o Identify the color of clothes
o Dothewashingwithoutusingapredefinedprogram.
The controller we designed gives good results to calculate the following:
o Washingtime
o Quantity of detergents o Temperature
All diagrams appear in the case of the incremental gradient with an increased degree of dirt and as values correspond to each type of clothing.
Keywords: smart washing machine, saving electricity, saving detergent, shortening washing time, color and clothing distinction, artificial intelligence, fuzzy logic type-2, Raspberry PI, control, Python programming language, HX711.
References used
Anindyaguna,K.; Basjaruddin, N. C.; Saefudin, D.; Overtaking Assistant System (OAS) with Fuzzy Logic Method Using Camera Sensor. 2nd, IEEE, International Conference of Industrial, Mechanical, Electrical, Chemical Engineering (ICIMECE), 2016, 6
Dash, K. S.; Mohanty, G.; Mohanty, A.; Intelligent Air Conditioning System using Fuzzy, International Journal of Scientific & Engineering Research Volume 3, Issue 12, December-2012, 6