Design and Implementation of Chicken Egg
Design and Implementation of Chicken Egg
4, 2021 363
L. Niranjan*
Department of Computer Science and Engineering,
HKBK College of Engineering,
Bengaluru, Karnataka, India
Email: [email protected]
*Corresponding author
C. Venkatesan
Department of Electronics and Communication Engineering,
HKBK College of Engineering,
Bengaluru, Karnataka, India
Email: [email protected]
A.R. Suhas
Department of Electronics and Communication Engineering,
HKBK College of Engineering,
Bengaluru, Karnataka, India
Email: [email protected]
S. Satheeskumaran
Department of Electronics and Communication Engineering,
Anurag Group of Institutions,
Hyderabad, Telangana, India
Email: [email protected]
S. Aaquib Nawaz
ACI Worldwide Pvt. Ltd.,
Bangalore, Karnataka 560008, India
Email: [email protected]
Abstract: In this paper, the egg fertilisation is one of the major factors to be considered in the
poultry farms. The smart incubation system is designed to combine the IoT technology with the
smart phone in order to make the system more convenient to the user in monitoring and operation
of the incubation system. The incubator is designed first with both setter and the hatcher in one
unit and incorporating both still air incubation and forced air incubation which is a controller and
monitored by the controller keeping in mind the four factors: temperature, humidity, ventilation
and egg turning system. Here we are setting with three different temperatures for the
experimental purpose at T1 = 36.5°C, T2 = 37.5°C and T3 = 38°C. The environment is
maintained same in all the three cases and which is the best temperature for the incubation of the
chicken eggs is noted.
Reference to this paper should be made as follows: Niranjan, L., Venkatesan, C., Suhas, A.R.,
Satheeskumaran, S. and Nawaz, S.A. (2021) ‘Design and implementation of chicken egg
incubator for hatching using IoT’, Int. J. Computational Science and Engineering, Vol. 24, No. 4,
pp.363–372.
Biographical notes: L. Niranjan is pursuing his PhD in Electronics and Communication
Engineering under Visvesvaraya Technological University, Belgavi, India. He currently serves as
an Assistant Professor in the Department of Computer Science and Engineering, HKBK College
of Engineering, Bangalore, India. He was also the Chief of Research Department for R.R
Institute of Technology, Bengaluru, India. He has research and teaching experience of more than
ten years and his research interests include wireless sensor networks, embedded systems, and
cloud computing. He has published more than 38 research papers in reputed
journals/conferences.
C. Venkatesan received his BE from the Anna University, Chennai, India in 2006 and ME with
Distinction in Applied Electronics from Government College of Technology, Coimbatore, India
in 2009. He received his PhD under Information and Communication Engineering in Anna
University, Chennai, India. Currently, he is working as a Professor in the Department of
Electronics and Communication Engineering, HKBK College of Engineering, Bengaluru,
Karnataka, India. His areas of research include bio-medical signal processing, cloud computing
and VLSI. He has 13 years of experience in teaching and research. He published many research
articles in various national and international journals such as Springer, IEEE, Elsevier, etc.
A.R. Suhas received his BE in Electronics and Communication Engineering, MTech in Digital
Electronics and Communication and he is on verge of completing PhD in Electronics and
Communication Engineering from Visvesvaraya Technological University, Belagavi, India.
Currently he is working as an Assistant Professor in the Department of Electronics and
Communication Engineering, HKBK College of Engineering, Bengaluru, Karnataka, India. His
areas of research include wireless sensor networks and IoT. He has ten years of experience in
teaching and research, published research articles in various national and international journals
such as Springer, Inderscience, Emerald, etc. Also, he is a member in various international
bodies.
S. Aaquib Nawaz received his MTech in Electronics and Communication Engineering from
Visvesvaraya Technological University, Belgaum, India. He currently serves as a Senior
Software Engineer, ACI Worldwide Pvt. Ltd., Bangalore, India. He has research and industrial
experience of more than ten years. His research interests include wireless sensor networks, fuzzy
logic, machine learning, internet of things (IoT), biomedical signal processing, and artificial
intelligence-based applications. He has published more than 14 research papers in reputed
journals/conference.
(Huang and Sun, 2015). The systems which are available the metabolic balance so the total weight loss should
are not user friendly to maintain, smaller in size and not be greater than 12% to 13%. In the first 17 days the
expensive (Kabir and Abedin, 2018) which in turn means relative humidity level should be maintained at 65%
that smaller villages cannot afford the system. and the last four days the relative humidity level should
The first and foremost step is to build an incubator with be around 70% to 75%.
good housing, good thermal insulation to keep the eggs
warmer throughout the incubation period (Aldair et al., 4 Temperature: Temperature is the most critical part and
2018). Here the incubator has both hatchery and brooder in it plays the key role in the incubation system. To have
a single unit which saves the space and the money. Add-on good embryo development and hatchability the
to the system an IoT technology is incorporated using the temperature should be maintained at the optimal level.
Blynk app to help the farmers to control and monitor the During the first 17 days the temperature should be
smart incubator from distance. According to the market maintained between 37.5°C to 38°C. In the last four
demand the size of the incubator varies, it has its own days the temperature should be maintained at 36.5°C to
advantages of accommodating more eggs in turn it hatches 37.5°C. This can be done by using forced air incubation
more baby chicks when ever need arises (Gutierrez et al., system to maintain the temperature at optimal level.
2019). The objective of this paper is to increase the number
5 Disinfection: The disinfection should be done before
of chicks produced by controlling temperature, humidity,
keeping the eggs inside the incubator, this will prevent
ventilation and egg turning.
fungus, bacteria, yeast and virus to develop which can
The information signal from the sensors is sent to the cause serious damage to the growing embryo. This can
controller, each signal is individually monitored in the be achieved by using disinfection liquid before placing
system (Sanjaya et al., 2018). The information is then the eggs in the incubator.
passed on to the Blynk cloud server in a timely manner. The
information is then passed to the user via internet through Figure 1 Environmental factors during egg incubation
the Blynk app. The information related to the unit is (see online version for colours)
monitored and also controlled remotely.
2 Theoretical background
Poultry found in south Asia are of many different species,
farmers raise the poultry to consume eggs and meat. Eggs
have many nutrition factors such as vitamin, fat protein and
minerals. The process of egg incubation is to develop the
eggs embryo until hatching is achieved. Most of the
research development is based on microcontroller to
develop a smart egg incubator which can control the
humidity, temperature, egg turning and ventilation.
Figure 1 shows the environmental factors to be
considered for better results, as noted below:
1 Air quality: The adequate oxygen level should be
maintained in the incubator during the incubation
process. To do so the air in and air out exhaust fans 3 Structural design for the incubator
should be used to regulate the oxygen level in the
incubator. This is controlled by the proposed method The structure is build using mechanical materials like
using the controller. plastic egg tray, corrugated sheets, Styrofoam sheets and
plastic angles which are easily available and low cost
2 Egg turning: The most essential part in the incubation is materials. The electronics materials include temperature
the egg turning, in the 1st week the embryo has no sensor, humidity sensor, light sensor, egg tilt sensor, liquid
circulation system hence egg rotation is critical, this level sensor, microcontroller, egg turning DC motor,
helps proper development of additional embryonic humidifier, water pump, node, MCU, solar panel, light bulb,
membrane which in turn helps the chick to pep out LCD display, SMPS and UPS. Figure 2 shows the structure
without any problem. Eggs must be turned every 2 hrs of the incubator with necessary air circulation and placing
in the 24 hrs duration for proper development of chick. of egg trays in the unit. Figure 3 shows the electrical
The egg rotating also helps to transfer the yolk nutrients connections of the incubator. The forced air and still air
to embryo through the sub embryonic fluid. incubation can be achieved by controlling the fan and the
3 Humidity and evaporation: The rate at which the water vent using the controller. The enclosure is designed in such
evaporates depends on humidity present in the hatching a way to keep the eggs warm and maintain the uniform
unit. The important factor for incubation is to maintain temperature throughout the incubator, this is achieved by
using the Styrofoam sheets and aluminium foil. In the
366 L. Niranjan et al.
proposed method in order to save space and money the Figure 4 Block diagram of the proposed method (see online
hatcher and the brooder are in the same unit. version for colours)
2 Temperature sensor: DS18B20 is used to maintain the microcontroller is used to control all the parameters in the
temperature in the unit. Here two sensors are used, one incubator unit, the ESP8266 (NodeMCU) is used to
at the top and the other one at the bottom of the unit, control and monitor the unit remotely by using Blynk
which regulates the heat uniformly. app by the user.
3 Humidifier: HSM-20G is used to maintain the humidity 7 Ventilation unit: The air circulation is controlled by six
in the unit. Here two sensors are used, one at the top DC fans which are synchronous with the temperature.
and the other one at the bottom of the unit, which The controller takes care of the air circulation by
regulates the humidity uniformly. monitoring the temperature and humidity level in the
4 Egg tilt sensor: Reed switch is used to maintain the tilt unit.
of the eggs in the trays. There are two reed switches
which are connected in opposite onto the tray, which
indicates the tilt of the trays using logic operation. 5 Circuit diagram and flow chart of the
incubator
5 Water level sensor: Three stainless steel rods are used
to check the water level. The one for the upper level The circuit is designed using the Proteus Design tool. The entire
and the one for the lower level. The third one is for the simulation is done using this tool and the inputs are varied
reference to both the levels. in the simulator to check the actions taken care by the
controller. The coding is done using the MP-Lab software
6 Controllers: PIC16F887 and ESP 8266 are used to
using c-code.
control the entire unit remotely by the user. The
Figure 5 Circuit diagram of the incubator using Proteus Design tool (see online version for colours)
368 L. Niranjan et al.
Figure 6 Flowchart of incubation unit for temperature, humidity, egg turning and ventilation control (see online version for colours)
The main criteria in incubation system are to maintain the Pk APk 1 AT Q (4)
temperature and humidity level stable. To do this a
continuous monitoring and a closed loop system should be where Pk is error covariance and Q is the process noise
maintained. The data coming from the sensor may not be covariance.
correct due to noise from the environment, to overcome this The measurement equations are illustrated by:
problem Kalman filter is proposed (Lim et al., 2016). By Kk Pk HT HPk HT R1 (5)
using the Kalman filter algorithm it can screen out the
unwanted signals resulting which the data with respect to Xˆ Xˆ Z HXˆ (6)
K
k k K k
humidity and temperature to be more precise. k
The Kalman filter model at time (k) derives from state Pk I Kk H Pk (7)
(k – 1) of the state-space model.
X k AX k 1 Buk Wk where K is the Kalman gain, H is observation model and R
(1)
1 is observation noise covariance.
where A is the state transition model form the previous state In the proposed method totally 300 fertile eggs were
Xk–1 and B is the control input model that controls the Uk used for incubation. Totally three tests were carried out, at
and Wk–1. T1 36.5°C, T2 37.5°C and T3 38°C. Among these the
Zk Hxk 37.5°C is proposed best for incubation with 0.2°C variations
(2)
Vk in the incubation system. Blynk app is used to control and
where H is the measurement model and Vk is the the monitor incubator remotely, this helps the user to
measurement noise. continuously monitor the system. The incubation system
The Kalman filter equation has two parts. The time with the IoT technology is an add-on to the user to monitor
update equation used to update estimation from the current and control anywhere in the world. This helps a lot for the
time step to next time step. This equation is also known as user to continuously check the status of the system.
predict equation. The other part is measurement update As shown in Figure 9, the temperature (36.5°C) with
equation which is responsible for feedback. It is also known respect to humidity is plotted for totally 21 days. The results
as correct equation. show there is a variation in the humidity with respect to
temperature.
Design and implementation of chicken egg incubator for hatching using IoT 369
Figure 7 Temperature measurement and estimation (see online Figure 10 Temperature (37.5°C) vs. humidity for 21 days
version for colours) (see online version for colours)
Temperature
Day
T1 = 36.5°C T2 = 37.5°C T3 = 38°C
(Chicks =100) (Chicks =100) (Chicks =100)
1 100 No development 100 No development 100 No development
2 100 Appearance of tissue 100 Appearance of tissue 100 Appearance of tissue
development development development
3 100 Appearance of blood vessels 100 Appearance of blood vessels 100 Appearance of blood vessels
4 97 (3 chicks) without heart beats 100 Heart beats 100 Heart beats
5 97 Eye pigmented 100 Eye pigmented 100 Eye pigmented
6 97 Appearance of elbow and knees 100 Appearance of elbow and knees 100 Appearance of elbow and
knees
7 97 Appearance of beak 100 Appearance of beak 100 Appearance of beak
8 97 Appearance of growth and 100 Appearance of growth and 98 Appearance of growth and
moment (3 chicks dead) moment moment (2 chicks dead)
9 96 Embryo starts to look like bird 100 Embryo starts to look like bird 98 Embryo starts to look like bird
(4 chicks dead) (2 chicks dead)
10 95 Toe nails and mouth opening 98 Toe nails and mouth opening 96 Toe nails and mouth opening
(5 chicks dead) (2 chicks dead) (4 chicks dead)
11 95 Tail feather appears (5 chicks 98 Tail feather appears (2 chicks 96 Tail feather appears (4 chicks
dead) dead) dead)
12 94 Toe fully formed (6 chicks 97 Toe fully formed (3 Chicks 95 Toe fully formed (5 chicks
dead) dead) dead)
13 92 Body covered lightly with 96 Body covered lightly with 94 Body covered lightly with
feathers (8 chicks dead) feathers (4 chicks dead) feathers (6 chicks dead)
14 91 Embryo turns heads towards 96 Embryo turns heads towards 93 Embryo turns heads towards
large end of egg (9 chicks dead) large end of egg (4 chicks dead) large end of egg (7 chicks
dead)
15 89 Feather covered completely 95 Feather covered completely 93 Feather covered completely
(11 chicks dead) (5 chicks dead) (7 chicks dead)
16 88 Albumen nearly gone 94 Albumen nearly gone (6 chicks 90 Albumen nearly gone
(12 chicks dead) dead) (10 chicks dead)
17 88 Head is between legs (12 chicks 94 Head is between legs (6 chicks 90 Head is between legs
dead) dead) (10 chicks dead)
18 86 Growth of embryo nearly 93 Growth of embryo nearly 88 Growth of embryo nearly
complete (14 chicks dead) complete (7 chicks dead) complete (12 chicks dead)
19 85 Embryo occupies completely 92 Embryo occupies completely 88 Embryo occupies completely
not in air cell (15 chicks dead) not in air cell (8 chicks dead) not in air cell (12 chicks dead)
20 83 Embryo become a chick 92 Embryo become a chick 86 Embryo become a chick
(17 chicks dead) (8 chicks dead) (14 chicks dead)
21 81 Chick piped out (19 chicks 92 Chick piped out (8 chicks dead) 86 Chick piped out (14 chicks
dead) dead)
Figure 14 Egg tilt with respect to temperature (38°C) Figure 17 Incubator inside view (see online version for colours)
(see online version for colours)
References Kabir, M.A. and Abedin, M.A. (2018) ‘Design and implementation
Aldair, A.A., Rashid, A.T. and Mokayef, M. (2018) ‘Design and of a microcontroller based forced air egg incubator’, 2018
implementation of intelligent control system for egg incubator International Conference on Advancement in Electrical and
based on IoT technology’, 2018 4th International Conference Electronic Engineering (ICAEEE), DOI: 10.1109/icaeee.
on Electrical, Electronics and System Engineering (ICEESE), 2018.8642976.
DOI: 10.1109/iceese.2018.8703539. Kutsira, G.V., Nwulu, N.I. and Dogo, E.M. (2019) ‘Development
Boleli, I.C., Morita, V.S., Matos, J.B., Thimotheo, M.I. and of a small scaled microcontroller-based poultry egg
Almeida, V.R. (2016) ‘Poultry egg incubation: integrating incubation system’, International Artificial Intelligence and
and optimizing production efficiency’, Brazilian Journal of Data Processing Symposium (IDAP), DOI: 10.1109/IDAP.
Poultry Science, Vol. 18, No. 2, pp.1–16. 2019.8875897.
Deeming, D.C. (1989) ‘Characteristics of unturned eggs: Lim, C.H., Ong, L.Y., Lim, T.S. and Koo, V.C. (2016) ‘Kalman
critical period, retarded embryonic growth and poor filtering: with real-time applications’, Real-time Systems
albumen utilization’, Poultry Science, Vol. 30, pp.239–249, Journals, DOI: 10.5772/62352.
DOI: 10.1080/00071668908417144. Sanjaya, W.S.M., Maryanti, S., Wardoyo, C., Anggraeni, D., Aziz,
Gutierrez, S., Contreras, G., Ponce, H., Cardona, M., Amadi, H. M.A., Marlina, L. and Kusumorini, A. (2018) ‘The
and Enriquez-Zarate, J. (2019) ‘Development of hen eggs development of quail eggs smart incubator for hatching
smart incubator for hatching system based on internet system based on microcontroller and internet of things (IoT)’,
of things’, 2019 IEEE 39th Central America and 2018 International Conference on Information and
Panama Convention (CONCAPAN XXXIX), DOI: 10.1109/ Communications Technology (ICOIACT), DOI: 10.1109/
concapanxxxix47272.2019.8976987. icoiact.2018.8350682.
Huang, T. and Sun, L. (2015) ‘Design and implementation Tolentino, L.K.S., Enrico, E.J.G., Listanco, R.L.M., Ramirez,
of the infant incubator intelligent control system based on M.A.M., Renon, T.L.U. and Samson, M.R.B. (2018)
internet of things’, The Open Automation and Control ‘Development of fertile egg detection and incubation system
Systems Journal, Vol. 7, No. 1, pp.2223–2229, DOI: 10.2174/ using image processing and automatic candling’, TENCON
1874444301507012223. 2018 – 2018 IEEE Region 10 Conference, DOI: 10.1109/
tencon.2018.8650320.
Islam, N., Uddin, M.N., Arfi, A.M., Ul Alam, S. and Uddin, M.M.
(2019) ‘Design and implementation of IoT based Tona, K., Onagbesan, O., Ketelaere, B.D., Decuypere, E. and
perspicacious egg incubator system’, 9th Annual Information Bruggeman, V. (2003) ‘Effects of turning duration during
Technology, Electromechanical Engineering and incubation on corticosterone and thyroid hormone levels, gas
Microelectronics Conference (IEMECON), DOI: 10.1109/ pressures in air cell, chick quality and juvenile growth’,
IEMECONX.2019.8877043. Poultry Science, Vol. 82, pp.1974–1979, DOI: 10.1093/ps/
82.12.1974.