Automated Control of Cocoa Post-Harvest and Transformation Process To Obtain High-Quality Beans
Automated Control of Cocoa Post-Harvest and Transformation Process To Obtain High-Quality Beans
Automated Control of Cocoa Post-Harvest and Transformation Process To Obtain High-Quality Beans
Abstract—This paper develops a method to intervene in the improve the bean quality around 45%, which would allow the
Cocoa post-harvest process (fermentation and drying) to guar- exportation of this product.
antee a high quality of the bean. For this intervention, it is au-
tomated controlled the turning and duration of the fermentation
and drying of the cocoa beans. A Cocoa with an inadequate II. F RAMEWORK
post-harvest and transformation process has unpleasant taste
A. Cocoa overview
characteristics such as astringency and high acidity (pH<5),
that can not be removed in a normal process. These flavors are Theobroma cacao is the Greek name for the cocoa tree,
associated with a poor fermentation and others sowed materials, and its fruit is commonly called Cocoa cob(1). This cob is an
which directly affects the sensory quality of the grain. In this ovoid berry approximately 30 x 10 cm in large and diameter,
way, a control and monitoring system is developed. This system
intervenes on the most influential v ariables f or high-quality with grooves along with a weight between 0,2 to 1 kg. The
production, to guarantee a better fermentation (with 5.5<pH<6) cob color is yellow, red, orange, green or brown, depending on
and drying processes. The system has an HMI for adjustments the genotype. Inside, it contains from 20 to 40 seeds, covered
and visualization of variables in real-time. by a white mucilaginous pulp, rich in sugars with an acid
Index Terms—Cocoa, post-harvest, fermentation, drying, au- taste, which fresh cocoa or recently extracted is called cocoa
tomatic control, quality indicators, agricultural systems, sustain- in drool, [2].
ability.
I. INTRODUCTION
18th LACCEI International Multi-Conference for Engineering, Education, and Technology: “Engineering, Integration, and Alliances for a Sustainable
Development” “Hemispheric Cooperation for Competitiveness and Prosperity on a Knowledge-Based Economy”, July 27-31, 2020, Virtual Edition.
2
18th LACCEI International Multi-Conference for Engineering, Education, and Technology: “Engineering, Integration, And Alliances for A Sustainable Development”. “Hemispheric
Cooperation for Competitiveness and Prosperity on A Knowledge-Based Economy”, 29-31 July 2020, Buenos Aires-Argentina.
3
TABLE II TABLE IV
L OSS OF RAW MATERIAL PER PROCESS D ESCRIPTION OF MAIN COMPONENTS OF PROCCESS
carried out using sun dryers or artificial hot air dryers. During
drying, the reactions initiated continue with the fermentation;
its bitterness and astringency decrease the polyphenols, the
almonds color changes, and the cotyledons turn brown or
cinnamon color. For this reason, the moisture content should
decrease slowly in a period of 5 to 7 days using the sun.
With this, the oxidation reactions responsible for the flavor
and aroma of cocoa are completed; otherwise, there is a risk
of inactivating enzymes before the essential chemical changes
been completed, which occur due to high temperatures (>65◦
C), and low humidity. Also, a quick-drying induces the grain
crushing, generating wrinkled cuticles that determine the
cocoa product quality.
Fig. 4. Control and communications architecture
According to work developed by WM Paez Ramos, we can
take as reference parameters the loss of raw material with The flowchart of Fig. 5 shows the process steps and its
purely handmade processes. See table III-B, and III-B as you main componets related as follows:
can see in [8].
• TK-101 FERMENTATION HOP.
• TK-102 LIQUID COLLECTOR
• TK-103 DRY GRAIN COLLECTOR
V. T RANSFORMATION P ROCESS
A brief description of the process is made next:
See P&ID in Figure 5. See Control and communications
architecture in the Fig. 4.
A. Fermentation
Cocoa stocks the process through the top cover of the
Fig. 3. Flowchart of the cocoa production process. Source: Authors. TK-101 fermentation hopper. At this moment, the system
state must be in “FILLED” mode, and the mixer screw
installed inside the TK-101 would be stopped. Posteriorly,
the discharge valve FV-101 and the FV-102 liquid evacuation
IV. M ATERIALS AND METHODS
valve located at the hopper base should be closed.
Fermentation and drying processes are designed accord-
ing to quality requirements and the raw material used for The process begins with a timer, which is activated to
project development. The system proposed has a local control record the temperatures of the sensors TIT-101, TIT-102,
panel, where all signals of the analytical measuring instru- TIT-103, TIT-104 A record of pH (AE-102) and relative
ments can be visualized. The measuring instruments detect humidity (AE-101) is also made. This data enters the PLC-001
level, start/stop and emergency stop buttons, engine shut- controller, which employs the I-01 interlock that activates the
down/ignition and opening/closing of On-Off control valves, M-101 motor for removing the product constantly to avoid
18th LACCEI International Multi-Conference for Engineering, Education, and Technology: “Engineering, Integration, And Alliances for A Sustainable Development”. “Hemispheric
Cooperation for Competitiveness and Prosperity on A Knowledge-Based Economy”, 29-31 July 2020, Buenos Aires-Argentina.
4
increasing of the temperature and pH. screw to push the product towards the discharge valve FV-101.
Once the TK-101 hopper is empty, the “FILLING” phase is
The liquid produced during the fermentation process is enabled again to start the fermentation of Cocoa products.
drained from the TK-101 hopper on one side by opening the
FV-102 valve (On-Off drive) and deposited in the TK-102 B. Drying
fermentation tank. This liquid will accumulate until reaches
The screw-type conveyor belt will take the product and
the activation level of the LSH-101 high-level switch. This
bring it to the drying table B-101, which has four industrial
switch signal generates the I-03 interlock, with which the
gas burners controlled by the TCV-101 valve. This valve
FV-103 valve is opened and the P-101 fermented recirculation
regulates the amount of gas supplied to guarantee a predefined
pump is switched on, the fermented liquid re-enters the
temperature at the drying table that is monitored by four
TK-101 hopper on the part superior to moisturize the grain
temperature sensors.
and help maintain a stable pH level.
With the ignition of the industrial gas burners, the operator
The fermentation process liquid is extracted from the starts the drying timer. Once the drying is completed, the
TK-101 hopper, on one side, opening the FV-102 valve operator announcements to remove all dried products.
(On-Off drive) and deposited in the TK-102 fermentation
tank. TK-102 will accumulate the liquid until reaching the The HMI has a process screen in which you can see in
activation level of the LSH-101 high-level switch. A switch real-time. Between these variables are the temperatures, PH,
signal generates the I-03 interlock, with which the FV-103 relative humidity, state of the equipment (engines, valves),
valve is opened and the P-101 fermented recirculation pump blocks for the configuration by the operator, and the elapsed
is switched on. Thus, the fermented liquid re-enters to TK-101 times in each process.
hopper, moisturizing the grain, and regulating the pH level.
VI. C ONSTRUCTION AND TESTS
When the timer becomes equal to a value set by the operator,
the fermentation process will be terminated. The discharge A. Construccion
valve FV-101 (on-off action) will open, a limit switch will For the construction of the control panel model, a 9mm
indicate that the valve is 100 %, which open and will activate thick triplex sheet with a length of 120 x 60 cm was used.
interlock I-02. At the same time, the I-02 will turn on the SC- A perforation was made on the left side for the insertion
101 screw-type conveyor belt, while changing the direction of a Panel View Plus 1500 (HMI with a screen of 15 ”) as
of rotation of the mixer screw of the hopper TK-101. So, the shown in Fig.6 and 7. At the bottom of the table and just
18th LACCEI International Multi-Conference for Engineering, Education, and Technology: “Engineering, Integration, And Alliances for A Sustainable Development”. “Hemispheric
Cooperation for Competitiveness and Prosperity on A Knowledge-Based Economy”, 29-31 July 2020, Buenos Aires-Argentina.
5
Fig. 6. HMI - Fermentation stage. Source: Authors. Fig. 8. Step response to temperature of fermentation. Source: Authors.
B. Tests
below the HMI, four holes are made where are installed:
• The Montecarlo tests performed corresponds to the
a NO (Start) button, an NC (Stop) button, a 2-position
communication between the PLC, HMI and operator
selector (manual/automatic) and an emergency stop button
console. It performs activation tests of PLC inputs and
with mushroom retention.
outputs, which were corroborated with the indication
LEDs of each module.
On the right side, two 25mm wide x 500mm long DIN rail
(Omega) rail units were fixed using wood screws. These rails • Additionally, the states and color changes in the process
are used for the quick anchor installation of the control units graphs displayed in the HMI are reviewed, in addition to
listed below: the correct operation of the buttons (Start, Stop, Selector,
• Stratix communications switch x 8 LAN ports Emergency stop) located on the front of the control panel.
• 24V voltage source ref: 1606-XLS
• PLC Allen Bradley CompacLogix L23-QBFC1B • For the simulation, it uses Labview with TCP-IP proto-
• Modbus TCP / IP communication card ref: Prosoft col. This simulation allows us to create disturbances to
MVI69-MNET guarantee a stable design, as shown in Fig. 9 and ??.
• 16 AWG cable terminal set
We wired the internal components of the board with VII. R ESULTS & C ONCLUSIONS
16AWG cable. For this, we uses tubular pin terminals With the Montecarlo simulation of the control, employing
and heat shrinkable bushings for wiring identification. For the use of the PLC A L23-QBFC1B, the correct operation
cable organization, it installed 2 units of 20mm grooved gutter. of the control algorithms for the drying and fermentation
process of the cocoa, and its sensors, which uses a standard
18th LACCEI International Multi-Conference for Engineering, Education, and Technology: “Engineering, Integration, And Alliances for A Sustainable Development”. “Hemispheric
Cooperation for Competitiveness and Prosperity on A Knowledge-Based Economy”, 29-31 July 2020, Buenos Aires-Argentina.
6
18th LACCEI International Multi-Conference for Engineering, Education, and Technology: “Engineering, Integration, And Alliances for A Sustainable Development”. “Hemispheric
Cooperation for Competitiveness and Prosperity on A Knowledge-Based Economy”, 29-31 July 2020, Buenos Aires-Argentina.