Fold Machine
Fold Machine
a
ay
al
BAKR SAEED RIZIQ DARAGHMEH
M
of
ity
ENGINEERING (MECHATRONICS)
U
2019
i
DESIGN AND DEVELOPMENT OF AUTOMATION SYSTEM
FOR (CLOTHES FOLDING MACHINE)
a
ay
al
BAKR SAEED RIZIQ DARAGHMEH
M
of
ity
rs
2019
ii
UNIVERSITY OF MALAYA
ORIGINAL LITERARY WORK DECLARATION
a
FOR (CLOTHES FOLDING MACHINE)
ay
Field of Study: Industrial Electronics and Automation
al
(1) I am the sole author/writer of this Work;
(2) This Work is original;
M
(3) Any use of any work in which copyright exists was done by way of fair dealing
and for permitted purposes and any excerpt or extract from, or reference to or
reproduction of any copyright work has been disclosed expressly and sufficiently
of
and the title of the Work and its authorship have been acknowledged in this Work;
(4) I do not have any actual knowledge nor do I ought reasonably to know that the
making of this work constitutes an infringement of any copyright work;
(5) I hereby assign all and every rights in the copyright to this Work to the University
ity
of Malaya (“UM”), who henceforth shall be owner of the copyright in this Work
and that any reproduction or use in any form or by any means whatsoever is
prohibited without the written consent of UM having been first had and obtained;
rs
(6) I am fully aware that if in the course of making this Work I have infringed any
copyright whether intentionally or otherwise, I may be subject to legal action or
ve
Name:
Designation
i
ABSTRACT
Clothes folding machine is developed and designed to overcome the routine task of
folding clothes, because of its highly requirement in our daily life use. The machine
represented a fully automation system that combines the mechanical design with the
electrical control design. the machine was developed to serve the normal people with a
a
normal human intelligence so its design was completely representing the manual way of
ay
clothes folding, and specifically following the steps of folding the sleeves back ward then
folding the lower shirt part and finally try to flip the shirt to its upper face on the way of
al
delivering it to the operator. Shirts was taken as the first sample which the machine
M
mechanisms designed to fold. Human intelligence was also required to overcome the obstacle
of defining the clothes type and shape. So it was required by the operator to feed the clothes
of
with a certain way, then allow the machine to fold it. Using the 3D simulation with the help
ity
of CAD engineering softwares (solidworks) boost the initial ideas to a desired point to go
through the control part. PLC take a place to control the mechanisms with proper time folding
rs
and sequence. OMRON PLC CP1L model training kit hardware connected to the CX-
ve
Programmer software was the way of implementing the actual outputs for the machine parts
ii
ABSTRAK
Mesin lipat pakaian dibangunkan dan direka untuk mengatasi tugas rutin mesin lipatan,
dan kerana keperluan yang sangat diperlukan dalam kehidupan seharian kita. Mesin mewakili
sistem automasi sepenuhnya yang menggabungkan reka bentuk mekanikal dengan reka
bentuk kawalan elektrik. mesin itu dibangunkan untuk melayani orang biasa dengan
a
kecerdasan manusia yang normal supaya reka bentuknya benar-benar mewakili cara manual
ay
pakaian lipat, dan secara khusus mengikuti langkah-langkah lipat lengan belakang lengan
kemudian lipat bahagian baju yang lebih rendah dan akhirnya cuba untuk flip baju ke
al
bahagian atasnya dalam perjalanan menyerahkannya kepada pengendali. Baju telah diambil
M
sebagai sampel pertama yang mekanisme mesin direka untuk melipat. Kecerdasan manusia
juga diperlukan untuk mengatasi halangan untuk menentukan jenis pakaian dan bentuk. Jadi
of
ia dikehendaki oleh pengendali untuk memberi makan pakaian dengan cara tertentu,
ity
untuk membuang bahagian kawalan. PLC mengambil tempat untuk mengawal mekanisme
ve
dengan lipat dan urutan masa yang sesuai. Perisian kit model latihan OMRON PLC CP1L
iii
ACKNOWLEDGEMENTS
First of all, all praise to Allah who creates us and give us the mind power to recognize
and learn to share and help each other. I am very grateful that Allah offers me this great
I also want to thank my dearest professor Mr. Prof. Ir. Dr. Mahidzal Bin Dahari who gives
a
me a huge hand, guiding me all the way along to complete my project report.
ay
Thirdly, I also want to express my gratitude to all my friends who always support and
al
motivate me. Especially Adamu Yusof and Yusof Haroon (Ma Lin). I am really thankful to
you for your pure nice smiles when we shard our true friend’s feelings together.
M
Fourthly, I also want to express my deepest appreciation to my four brothers Atheer,
of
Hammam, Sohaib, and Ahmed my entire family. Most of all, my parents who are the brightest
star lead me to this very stage. I am really thankful and grateful to them for every single step
ity
Last of all, I want to express my deep appreciation to my wife who has more patient than
ve
anyone else, hiding her illness and tiredness to keep me moving on until I finally reached.
ni
U
iv
Contents
CHAPTER 1 .......................................................................................................................................1
INTRODUCTION ......................................................................................................................1
1.1 Overview ...............................................................................................................................1
1.2 Problem Statement...............................................................................................................2
1.3 Objectives..............................................................................................................................3
1.4 Scope of Study ......................................................................................................................4
1.5 Expected Results ..................................................................................................................4
1.6 Thesis Organization .............................................................................................................5
a
CHAPTER 2 .......................................................................................................................................7
ay
LITERATURE REVIEW ..........................................................................................................7
2.1 Background ...........................................................................................................................7
2.2 Fully Autonomous Clothes Folding ....................................................................................8
al
2.3 Semi-Manual Clothes Folding .......................................................................................... 13
M
CHAPTER 3 .................................................................................................................................... 16
METHODOLOGY .................................................................................................................. 16
3.1 Introduction ....................................................................................................................... 16
of
3.2 Material.............................................................................................................................. 18
3.3 Machine Design ................................................................................................................. 22
ity
CHAPTER 4 .................................................................................................................................... 47
RESULTS AND DISCUSSION ..................................................................................................... 47
rs
v
LIST OF FIGURES
FIGURE 1. 1 FOLDING STEPS FOR CLOTHES AND DESIRED OUTPUT ......................................................1
FIGURE 1. 2 TWO DIFFERENT FOLDING STEPS FOR FORMAL CLOTHES .................................................2
FIGURE 1. 3 TWO DIFFERENT FOLDING STEPS FOR INFORMAL CLOTHES ..............................................3
FIGURE 1. 4 THE DESIRED WAY FOR THE OPERATOR TO FEED THE DESIGN MACHINE WITH SHIRTS ....3
FIGURE 2. 1 ATTEMPT TO FULLY AUTOMATE CLOTHES FOLDING. (SOURCE;(HUBLI ET AL., 2017)) ....9
FIGURE 2. 3 SEMI-MANUAL FOLDING MACHINE (SOURCE; (MAHAJAN ET AL., 2017)).......................14
FIGURE 3. 1 RESEARCH METHODOLOGY FLOW CHART ......................................................................17
a
FIGURE 3. 2 MAIN SOLIDWORKS ICONS .............................................................................................18
ay
FIGURE 3. 3 OMRON KIT DIMENSIONS AND SHAPE ..........................................................................19
FIGURE 3.4 CX-PROGRAMMER SOFTWARE .......................................................................................20
FIGURE 3. 5 CX-PROGRAMMER MAIN WORKING SPACES ..................................................................22
al
FIGURE 3. 6 MAIN FOLDING BOARDS ................................................................................................23
M
FIGURE 3. 7 DRIVE GEAR ...................................................................................................................23
FIGURE 3. 8 DRIVEN GEAR .................................................................................................................24
FIGURE 3. 9 STEPPER MOTOR ASSEMBLY ...........................................................................................25
of
FIGURE 3. 10 HINGE ...........................................................................................................................26
FIGURE 3. 11 LEFT VIEW ....................................................................................................................27
ity
FIGURE 3.19 LADDER LOGIC DIAGRAM FOR THE MACHINE LOGIC (CONTINUED) ..............................43
FIGURE 3. 20 STEPPER MOTOR DRIVERS A) STP-DRV-DLO5. B) M542. C) TB6600. .......................44
FIGURE 3. 21 IMPLEMENTATION OF DRIVERS WIRING ........................................................................45
FIGURE 3. 22 TYPICAL CONNECTION FOR THE DRIVER STP-DRV-DLO5 WITH THE PLC .................46
FIGURE 4. 1 TOP AND FRONT VIEW FOR THE MACHINE WITH SOME DIMENSIONS .............................47
FIGURE 4. 2 ISOMETRIC VIEW WITH THE RIGHT VIEW SHOWS HIDDEN LINE. .....................................48
FIGURE 4. 3 EXPLODED VIEW FOR CLOTHES FOLDING MACHINE WITH ANNOTATIONS......................49
vi
FIGURE 4. 4 FOLDING MACHINE IN ACTION (A) LEFT BOARD IN ACTION. (B) RIGHT BOARD IN ACTION.
(C) MIDDLE BOARD IN ACTION....................................................................................................51
FIGURE 4. 5 CONDITION OF OMRON PLC BEFORE SIMULATION STARTED.......................................52
FIGURE 4. 6 LADDER LOGIC DIAGRAM ACTIVATION (A) PHYSICAL INPUTS RESPONSIBLE FOR HIGH
OUTPUT (B) LATCH 100.10 IS KEEPING THE OUTPUT HIGH. ........................................................53
a
FIGURE 4. 11 OMRON PLC ON STANDBY CONDITION ........................................................................55
ay
FIGURE 4. 12 THE FIRST MOTOR RECEIVES THE SIGNAL AND RUNNING .............................................56
FIGURE 4. 13 HOLDING RELAY LATCH KEEPS THE SYSTEM ON .........................................................56
FIGURE 4. 14 THE FIRST MOTOR RECEIVES THE SIGNAL AND RUNNING .............................................57
al
FIGURE 4. 15 THE SECOND MOTOR RECEIVES THE SIGNAL AND RUNNING FORWARD .......................57
M
FIGURE 4. 16 THE SECOND MOTOR RECEIVES THE SIGNAL AND RUNNING BACKWARD .....................58
FIGURE 4. 17 THE THIRD MOTOR RECEIVES THE SIGNAL AND RUNNING FORWARD...........................58
FIGURE 4. 18 THE THIRD MOTOR RECEIVES THE SIGNAL AND RUNNING BACKWARD ........................59
of
FIGURE 4. 19 INDICATORS ARE ON AS DC MOTORS ARE IN ACTION...................................................59
FIGURE 4. 20 SWITCH 2 ACTIVATED TO STOP THE SYSTEM FROM RUNNING ......................................60
ity
FIGURE 4. 21 SECOND DC MOTOR STILL ON WHILE THE FIRST ONE IS OFF. .......................................60
FIGURE 4. 22 FINAL SHAPE OF FOLDED CLOTH, DELIVERED BY THE MACHINE. .................................61
rs
vii
LIST OF TABLES
a
TABLE 4. 1 FOLDING MACHINE PARTS WITH REF. ANNOTATION NUMBER TO THE EXPLODED VIEW IN
ay
FIGURE 4.3 ................................................................................................................................. 50
al
M
of
ity
rs
ve
ni
U
viii
CHAPTER 1
INTRODUCTION
1.1 Overview
Folding your clothes is one of the most boring and routine task that you will ever do again
and again. So developing a machine that overcome this boring issue was the aim of this
research. Clothes are classified into many groups every group has its own specification and
a
dimensions. These groups are (Shirts, Trousers, Shorts, Socks, Jackets, Suits and Formal
ay
Beadles). Every category of this group has also its own sub-group with different size and
al
dimensions. So because of this wide variety of groups and sub-groups we face the first
obstacle in our mission of designing the machine. Hence we decided to select one group of
M
these groups and focus only on one sub-group of them. we go also only with one way of
of
folding for this shape of clothes. Because of the wide difference in the clothes folding ways
between cultures and even single peoples in the same society. Our selection was under shirts
ity
group and to be more specify by selecting the formal and the informal ones. Automated the
rs
manual folding steps shown in the Figure 1.1 is the goal of this research.
ve
ni
U
1
1.2 Problem Statement
Since we roam with a very huge numbers of clothes groups and types, and even after we
select our sub-group that we will take as an example to start our folding machine, we still
face a problem of which way of folding we have to start our initial design with. To understand
the different ways of clothes folding. figure 1.2 shows a different folding methods for a
a
formal shirt, while figure1.3 shows another difference in folding the informal shirts which
ay
people use around the world.
One of the main obstacles is how the clothes will be feed to the machine? Can we just drop
al
them inside it as in the washing machine? or we have still to use the human intelligence and
M
feed the machine with the clothes in a proper way?
of
We considered here the easy way for our research, so the operator has to feed the machine
with the shirts with a proper define way. Shirts has to be flipped and expanded on the machine
ity
as shown if figure 1.4. if we try to drop the clothes inside the machine and give the machine
the chance to identify the type clothes or the shape. Machine has to have the ability of image
rs
processing and artificial intelligence for the processing of the shape. And this will lead our
ve
research project to deal with more complicated issue and to be more complex and advanced.
ni
U
2
Figure 1. 3 Two different folding steps for informal clothes
a
ay
al
M
of
Figure 1. 4 The desired way for the operator to feed the design machine with shirts
ity
1.3 Objectives
rs
The goal of this research is to improve and design a complete integrated automation system
ve
of mechanical parts and assembly with a programmable logic controller (PLC), implemented
system, with the mechanical system that integrates the mechanical parts to achieve
b. Develop and design clothes folding machine with proper sequence to fulfill the
client requirement, these sequences are:
1- Define the mechanism motion with proper machinery parts.
2- Specify the motors torque and speed.
3
3- Specify the Motors drivers and wiring diagram.
4- Build the sequence diagram for the motion.
5- Build the ladder diagram with a suitable software complies with the PLC.
c. Improve the skills of using the programmable logic controller and how to connect it
with the stepper motors.
This research is trying to build a smart automation system that uses the advanced industrial
a
parts and engineering softwares. By using the OMRON PLC training kit and the solidworks
ay
3D design we will build the clothes folding machine and try to simulate it for our initial
prototype.
al
Hence The clothes folding machine represented an automation system, it has to include the
M
machinery design and the mechanisms interface with the low voltage control units that
of
represented by the CP1L PLC as a logic, stepper motor and dc motors as an actuator, with
So, for the machinery parts the following conditions has to be applied to achieve a proper
rs
machine motion:
ve
a- Machine parts has to be design and build with proper dimensions. (actual logical
size, weight and material type).
b- Machine parts has to interfere and connected to achieve the initial and final position
ni
c- Plc should be programmed and interface with the stepper motor driver perfectly.
d- System should be tested and stopped with a proper button accessed by the operators.
1.5 Expected Results
By completing this research, the expected goal is to build a very defined automated system
that synchronize between the mechanical part and electrical one without any serious fail or
damages. This machine can be carried out and be built as a prototype initially so once other
4
problems appears we can manage and solve them or even any more special improvement can
In chapter 1, it presents the whole idea about starting an automating system and gives an
overview for the variety of clothes that we are intending to design the machine for. Then the
main objectives with the scope of work and describe shortly some obstacles that the designer
a
had faces.
ay
In chapter 2, here we pass through different ways of how human can automate the folding
al
task, by using robot arms or by using mechanical interaction by using motor control. People
M
still trying to improve the task more and more depending on other experience or initiating
combine them together to ensure the full proper task with a high efficiency during operation.
ity
Here we go through the mechanical system applying the kinematic analysis and machinery
rs
design to define the initial and final position of the moving parts. Using the powerful
ve
engineering tools and software such as SOLIDWORKS and OMRON PLC programmer, the
clothes folding machine will be design, simulated and tested. Since the physical model is not
ni
going to be built, the programming can be done several times so that the challenges faced
U
In chapter 4, results and the total system output are explained and discussed separately,
starting by the machine steps, folding board’s action after the motor action. Then the ladder
diagram outputs in steps and how it appears after doing online simulation with the CX-
5
program. Finally, the PLC outputs which are the led indicators in the actual relay outputs.
In chapter 5, we present the research conclusion with some recommendations to improve the
system, it was essential to know the weakness points of the system to avoid and overcome
a
ay
al
M
of
ity
rs
ve
ni
U
6
CHAPTER 2
LITERATURE REVIEW
2.1 Background
From the 20th century and beyond, machines have made human life much easier by taking
over most of the tedious and repetitive tasks. Humans now have more time to attend to other
pressing issues. One of the areas where machines have benefitted mankind is in the laundry
a
services. All over the globe, different forms of sophisticated machines are available for doing
ay
the laundries. While some perform only the washing leaving the drying to human to perform
manually, others are so sophisticated that they can carry out both the washing and drying.
al
However, even with this sophistication, the laundry task is yet to be fully complete as the
M
washed clothes need to be neatly folded before they are stored. Most of the machines are
handicapped when it comes to autonomous folding of the clothes as they are only capable of
of
washing and drying. To complete the laundry task, different approaches have been made by
ity
researchers to come up with models, designs, and machines that can perform the folding task.
In this chapter, some of the works done on the clothes folding machine will be investigated.
rs
In this research project folding of clothes will be categorized into three kinds depending on
ve
the level of technology. First is the manual folding which is done by hand. It is the oldest and
most efficient method till date. The second kind is the semi-manual method where the clothes
ni
are being laid on a platform and then the folding is done by the machine. So, it involves
U
human for spreading and laying the clothes on the platform, then the motor-controlled
platform then carries out the folding. The final and the third type is the fully automated kind
of folding. Here the clothes are being fully folded by an intelligent folding machine. For the
fully automated folding, the clothes are spread out, laid, and folded all automatically by a
machine. This is mostly carried out by two-armed robot equipped with cameras or range
7
finders for image detection and dexterous grippers for manipulations. This third kind of
folding clothes is still under serious research as a total breakthrough has not been made in
this regard.
It has been stated and worthy of notice that a cloth is deformable, flexible and non-rigid in
shape which makes it very difficult to manipulate (Miller et al., 2015). This complexity has
a
been the major barrier hindering the full development of the clothes folding machine. Sitting
ay
on some assumptions, (Miller et al., 2015) have come up with some cloth configurations
al
which could be represented by some parameters that are polygonal in nature. They used a
Willow Garage PR2 robot to test their model which is an algorithm that outputs the motion
M
plans for executing a particular kind of fold. Naming it g-folds which stands for gravity folds,
of
they used four categories of clothing for their model: short sleeve shirts, long sleeve shirts,
pants, and towels. Each of these categories is represented by a polygon. Their work can be
ity
classified under the third kind of clothes folding method as they have tried to carry out a fully
automated means of folding clothes. A similar work which is aimed at addressing clothes
rs
perception and manipulation (CloPeMa) has been conducted in (Stria et al., 2014) where a
ve
dual robot was used instead of a Willow garage PR2. Their research which also deals with a
polygonal model is an extension and an improvement over previous polygonal model works.
ni
The novelty in their study is that a new garment polygonal model was developed alongside
U
its manipulation planning algorithm. There results showed that the process of CloPeMa can
be sped up by two orders of magnitude. In another article, a system which folds clothing from
a random crumpled state to a fine state is presented in (Bersch, Pitzer, & Kammel, 2011).
They developed an algorithm which has a novel detection and grasp strategy which is capable
of suggesting grasp points from poses of the clothing. The drawback of this system is that it
8
is limited to t-shirts alone as shown by the experiments that have been conducted in their
work. They also made use of the Willow Garage PR 2 for their experiments. A set of
procedure was including pick-up, perception, estimation of current grasp point, selection of
next grasp point, grasp pose computation and evaluation, grasp execution, grasp verification,
and finally folding (Bersch et al., 2011). The major focus of their work on the grasp points.
With the use of fiducial markers, the configuration of the t-shirt need not be known, thereby
a
making their system tolerant to all kinds of t-shirts. In a similar paper, an algorithm that can
ay
reliably detect the corners of the piece of cloth was developed (Maitin-Shepard, Cusumano-
Towner, Lei, & Abbeel, 2010). They based their algorithm on geometric cues due to its
al
robustness in texture variation. Rather than using t-shirts for their experiments, they based
M
their experiments on a towel. However, they concluded that their algorithm can be applied to
other kinds of clothing. Willow Garage PR 2 has been used in their research just like in the
of
two previously mentioned papers. Figure 2.1 shows the process of folding using the willow
ity
garage PR 2 robot.
rs
ve
ni
U
9
An all-encompassing work on autonomous folding machine has been conducted where all
the process of clothes folding from the sorting of the clothes from pile of clothing to
unfolding, to spreading and finally folding is taken care of (Doumanoglou et al., 2016).
Capitalizing on the fact that clothes are deformable which makes perception and
manipulation difficult, a two-arm robot was used in their research. All the subtasks necessary
for an autonomous clothes folding has been addressed in their work making it the first of its
a
kind. What makes their work unique is the fact that they proposed a novel method for
ay
completely unfolding a partially unfolded garment. Some garments tend to fold up at the
edges after attempts have been made to spread them out, so this novel approach takes care of
al
such problems. This was achieved by comparing the deformation of the examined garment
M
with the template garment for a particular kind of clothing (e.g t-shirt). Another novelty in
their research is the area of garment unfolding which is based on classic random forests. They
of
called their novel method active random forests which performs a good classification and
ity
regression, thus selecting the best viewpoint. From their experiments, they have concluded
that their work is not only limited to t-shirts but can also be applied to all forms or kinds of
rs
garment.
ve
To fully automate the laundry process, classification is a key property that a system should
have as that will enable the system to autonomously perform washing, drying, and folding.
ni
interactive perception technique. Two tasks are involved in this technique, the first being the
isolation of clothing from a pile one after another, and the second task being classification of
the sorted clothing into pre-specified categories (short sleeves, long sleeves, pants, shorts,
and underwear) using the information form the visual based shape and appearance.
10
It has been stated that clothes are generally difficult to handle due to their flexibility, but
linen is even more difficult to handle. So, for proper and efficient handling at a linen supply
industry, (Hata, Hojoh, Toda, & Hamada, 2011) developed a system that can autonomously
input washed clothes (linen based) into washing and folding machines. Also using towels for
testing their algorithm, they have agreed with those who believe that the most essential part
to handle a rectangular piece of clothing is at the edges. The number of steps in the algorithm
a
of (Hata et al., 2011) is five (5) which is contrary to the number of steps in (Willimon et al.,
ay
2011).
al
Utilizing small mobile robots and a normal table, (Watanabe, Kawamura, Iizuka, & Suzuki,
2107) proposed a system which is capable of folding clothes. Although they were faced with
M
limited work space, they were able to implement their algorithm. The mobile robots are
of
equipped with markers which are used to obtain coordinates and also manipulate the clothes
while an external camera is mounted above the robots to fetch RGB images files for the PC.
ity
Their system uses a path planning algorithm to trace the coordinates needed to fold the
clothes. In another study (Yang et al., 2017), a humanoid robot is programmed using deep
rs
learning to perform the herculean task of folding a soft object. Cotton material was used as
ve
An attempt at attaining a full autonomous clothes folding has been made in the work of (Hubli
U
et al., 2017) where a three stage procedure is used to get a clothes from a pile transformed
into a neat uniform folds. A gripper capable of sliding was employed in separating each
clothe from the pile of clothes. With the aid of fans and moveable grippers, the second step
of unfurling the clothes is achieved thereby spreading the clothes over the platform for
orientation with that of the template in order to achieve the best orientation of the unfurled
11
clothes. (Hubli et al., 2017) concluded that although their model is not void of some
inaccuracies, they have been able to automate the clothes folding process. Not precise form
of measurement was seen present in their work. So, further investigation is needed to
optimize their work. In a similar study, (Hamada, Hata, Hojoh, Kobayashi, & Fukumoto,
2009) made use of two robot arms to perform the folding task on linen. Although they didn’t
develop any serious algorithm, trial and error method was adopted by them to perform several
a
hundreds of experiments. They also divided the task into three stages as described previously.
ay
(Hamada et al., 2009) relied on images obtained from the cameras mounted on robots and
made their robot perform grasping of corners and edges for the manipulation and eventually
al
folding.
M
of
ity
rs
ve
work of (Petrík, Smutný, Krsek, & Hlavác, 2017). Their research was based on the static
U
equilibrium of forces and a two-dimensional shape were used to model the garment as an
elastic shell. This makes the work an upgraded version of a previous similar one-dimensional
path generation technique. Their model has the advantage of preventing slippage of the
garment while it is being folded on a surface with low friction. One of the limitations in
(Petrík et al., 2017) is the fact that material properties detection is somewhat left for the
12
operator to be manually done. By making use of some complex algorithms which collects
data form 3D images and then converting them into grayscale image, (Estevez, Victores,
Morante, & Balaguer, 2016) investigated how clothes can be unfolded. In their model, height
of contours are used to generate a height profile which the systems records as folded or
unfolded part. For contours that are high, the model takes them a critically folded part, while
a
2.3 Semi-Manual Clothes Folding
ay
For the semi-manual kind of clothes folding method, the work of (Mahajan, Prasad, Binnar,
al
& Tambe, 2017) has shown some advancement in this regard. A motor driven clothes folding
machine was developed in their project. They aimed at reducing the time consumed during
M
the house chores (laundry in particular) thereby saving time for other chores. The project
of
consisting of folding trays, folding flaps, and flips was focused on folding only t-shirts. Just
like in the work of (Bersch et al., 2011), the shortcoming of this project is the fact that it
ity
cannot accommodate all types of garments as all the system is limited to t-shirts only. It is
believed that if applied in the Indian textile industry, it will save plenty of time and minimize
rs
errors in sorting of textiles. Figure 2.2 shows the work of (Bersch et al., 2011).
ve
ni
U
13
Figure 2. 3 Semi-manual folding machine (source; (Mahajan et al., 2017))
In an effort to eliminate the manual laying of the clothes on the semi-manual folding machine,
(Miyamotoa, Mub, & Kitazono, 2014) developed a clothes folding machine which is an
enhancement of the previous work of (Mahajan et al., 2017). This is because their folding
machine is able to fold clothes (t-shirt) from the state of hanging. The machine is also
equipped with sensors which detects whether or not the clothes are wet before folding, and a
a
special kind of hanger which folds up during the clothes folding process. Inexpensive
ay
materials were used in the work of (Miyamotoa et al., 2014) as the folding board is made of
cardboard, while the frames are made of aluminum. The motors used to control the folding
al
motion are off-the-shelf (OTS) servo motors.
M
of
ity
rs
ve
While most of the articles used in this project did their works on clothes folding, the article
U
unfolding of clothes. Relying on some heuristic approaches, (Triantafyllou et al., 2016) also
adopted the detection and manipulation method to determine two arbitrary grasping points
on a garment where when held, the clothe unfolds using gravity. A two-arm robot equipped
with range sensors for image detection was used in their work. They concluded that the
14
geometric approach they have used in their method is more advantageous than the machine
In summary, different articles on clothes folding have been reviewed. While some of the
researches are working on full automation of the clothes folding, others have attempted a
semi-automatic folding. In all of the researches, emphases were made on the usage of robots
to accomplish the folding task. Most of them involved algorithms that are used for the
a
detection and manipulation of the clothes. However, little or no effort has been made to utilize
ay
a PLC for the programming aspect of the clothes folding. So, in this research project, a PLC
al
based kind of programming will be used in controlling the clothes folding machine. The
research project is limited to the folding of the clothe only. The detection and spreading of
15
CHAPTER 3
METHODOLOGY
Herein we are going to explain all the steps and the methodologies we used to establish and
improve our prototype simulation for the Clothes Folding Machine using the engineering
3.1 Introduction
a
In this chapter, the steps and the methodologies that were used to establish and improve the
ay
prototype are discussed. The simulation and analysis of the Clothes Folding Machine were
achieved using the engineering software Solidworks for the design and OMRON
al
Programmable Logic Controller (PLC) for the simulation.
M
The first step in conducting this project was to put down the sketches of the initial ideas of
of
the machine prototype on paper. Upon satisfactory sketches, 3D design is performed using a
CAD software, SOLIDWORKS was used in this regard. All these steps and more are
ity
represented in the flow chart of the research methodology given in Figure 3.1.
rs
ve
ni
U
16
Start
Kinematics Analysis
a
ay
Motors and drivers Selection
al
Design the ladder logic program
Is program
ok?
ve
ni
End
17
3.2 Material
Solidworks is one of the powerful softwares that helps the engineers to imagine and visualize
their designs and ideas in a powerful manner. It gives the designer the ability to present his
different parts together and create sub-assemblies. These sub-assemblies are assembled
a
together to generate a full assembly of the machine parts.
ay
Running the software will be by clicking the main icons of mechanical desing in the computer
al
system. Figure 3.2 below shows the main software icons that engineers can use.
M
of
ity
rs
ve
ni
U
18
3.2.2 OMRON Programmable Logic Contoller CP1L
kit specifications, here we are using the training kit model CP1L that has built in pulse, serial
The kit has the ability to contorl small and medium machine size, this CP1L has an embedded
ether net port that gives more flexibility in funcitioning, logging and monitoring. Since we
a
are dealling with stepper motor in our desgin also the CP1L has a high-precision position
ay
contol. Figure 3.3 shows the physical shape of the OMRON PLC CP1L.
al
M
of
ity
rs
Using the PLC in a proper way will be by having all the information about its spcifications
and charachteristics, for OMRON PLC Training Kit table 3.1 shows the specifications.
ni
U
19
Type AC power supply models
Model CP1L
a
20 A max. ( at room Temerature ),8 ms max.
ay
200 to 240 VAC inputs:
al
External power supply 2000 mA at 24 VDC
M
Insulation resistance 20 MΩ min. ( at 500 VDC) between the external AC
Shock resistance Conforms to JIS C60068-2-27. 147 𝑚𝑚�𝑠𝑠 2 three times each
ni
20
CX-programmer which main icon is shown in figure 3.4 is a software used to constuct the
logic program for the OMRON PLC. This software is one of the software included in the
a
ay
Figure 3. 4 CX-Programmer
al
CX-Programmer software uses ladder logic program to communicate the information to PLC.
M
The users can choose the OMRON PLC mode ( programming, running, online runinig) to
design their program and check it, even OMRON PLC give the chance to the designer to
of
simulate the program using online simulator provided in the sofware. This is to ensure that
The first window that you see when starting CX-Programmer is the main application window.
rs
This window is the launching point for you to access other CX-Programmer views and
ve
functions. The screen will be blank until you open or create a project. When a project has
been opened or created, you will see two main working spaces and additional menu options
ni
appear:
U
Located on the left for accessing the information about the PLCs and programs used
in the project.
• Ladder/Programming Workspace
a
ay
al
M
of
Figure 3. 5 CX-Programmer Main working spaces
Since our goal is to find a machine that is capable to fold the clothes, it was necessary to go
rs
through the major steps of designing ( Sketching, Improving the drawing to 3D, Doing the
ve
motion study (simulating), analyzing, and building the initial prototype). In the following
In this section we are going to show the major parts dimensions and specification individually
22
3.3.1.1. Main folding boards
a
ay
al
M
of
Figure 3. 6 Main Folding Boards
a
ay
al
M
Figure 3. 8 Driven Gear
of
ity
rs
ve
ni
U
24
3.3.1.4 Stepper motor
a
ay
al
M
of
ity
rs
ve
ni
25
3.3.1.5 Hinge
a
ay
al
M
of
ity
Figure 3. 10 Hinge
rs
ve
ni
U
26
3.3.2 Full Machine Assembly
a
ay
al
M
Figure 3. 11 Left View
of
ity
rs
ve
ni
U
27
Table 3. 2 Bill of Material for the machine
a
ay
al
M
of
ity
rs
ve
ni
U
28
3.3.2.1 Position view
Figure 3.13 shows the mechanism move for the clothes folding machine, we can see the
implementation for each part mentioned before as a line and the points of connection between
these linkages.
a
ay
al
M
of
ity
rs
ve
To specify the accurate engineering data for the motor, we have to define the characteristics
for the motor (Torque, Pulses / revolution, rising and falling time). All of these characteristics
29
3.3.3.1 Stepper motor:
Stepper motor is one of the most popular motors used to achieve an exact position with a
high resolution and precision.in this section we will find the characteristics (Torque,
Pulses/revolution, rising and falling time) of the stepper motor that we used to actuate our
mechanical mechanisms.
a
The stepper motor torque is divided into two types of torque, the acceleration torque, and the
ay
running torque. The acceleration torque is related to the system inertia and system
al
acceleration, the running torque is due to friction and oppose forces need to overcome them.
gram.mm^2
ni
30
Since we are designing the system, We assumed the acceleration to be
𝜋𝜋 𝑟𝑟𝑟𝑟𝑟𝑟� . This
2 𝑠𝑠 2
assumption was concluded as we required the wooden board to travel from its initial position
Recall equation (2) and substitute the values of J mentioned in table 3.3 and the assumed α
𝜋𝜋
� 𝑔𝑔𝑔𝑔𝑔𝑔𝑔𝑔. 𝑚𝑚𝑚𝑚2 ∗ 𝑟𝑟𝑟𝑟𝑟𝑟�𝑠𝑠 2 �
a
𝑇𝑇𝑎𝑎𝑎𝑎𝑎𝑎 = 43252615.8 ∗
2
ay
𝑇𝑇𝑎𝑎𝑎𝑎𝑎𝑎 = 67906606.8 ∗ 10−9 � 𝑘𝑘𝑘𝑘. 𝑚𝑚2 ∗ 𝑟𝑟𝑟𝑟𝑟𝑟�𝑠𝑠 2 �
al
𝑻𝑻𝒂𝒂𝒂𝒂𝒂𝒂 = 𝟎𝟎. 𝟎𝟎𝟎𝟎𝟎𝟎 𝑵𝑵. 𝑴𝑴
M
For the running torque we are required to find the effected forces for the system that acts on
of
point B for the Driven Gear. Figure 3.14 shows the full mechanism parts, (a) shows the
dimensions between the contact point of the parts. (b) the mechanism real shape.
ity
N
rs
W1
ve
ni
U
Figure 3. 14 Machine mechanism (a) shows the dimensions between the contact point of the parts.
(b) the mechanism real shape.
31
Recalling the equation (3)
𝑇𝑇𝑟𝑟𝑟𝑟𝑟𝑟 = 𝐹𝐹 ∗ 𝑑𝑑
a
∑ 𝐹𝐹𝑦𝑦 = 0
ay
𝑁𝑁 − 𝑊𝑊1 = 0 W1
al
where 𝑁𝑁 is the normal force from the plate and
𝑅𝑅 + 𝐹𝐹1 − 𝑁𝑁 − 𝑊𝑊2 = 0
ve
𝑅𝑅 + 𝐹𝐹1 = 8.4366
∑ 𝑀𝑀𝐴𝐴 = 0
32
Solving the previous two equations lead to:
Pushing hinge = 54 N F1
∑ 𝐹𝐹𝑦𝑦 = 0
a
where 𝐹𝐹2 is the reaction force from the link, F2 W3
ay
𝑊𝑊3 is the Pushing hinge weight and
al
𝐹𝐹1 is the resultant force from plate and cloth, then: F2
∑ 𝐹𝐹𝑦𝑦 = 0
where 𝐹𝐹2 is the resultant force from upper parts i.e. Cloth, plate and Pushing hinge
ve
F3
∑ 𝑀𝑀𝐵𝐵 = 0
Center point B for the driven gear
0.098 ∗ 𝐹𝐹3 − 0.11 ∗ 𝐹𝐹𝑡𝑡 = 0
33
where, 𝐹𝐹3 is the resultant force from upper parts
∑ 𝑀𝑀𝑐𝑐 = 0 Rx
Ft
a
𝑇𝑇 − 0.037 ∗ 𝐹𝐹𝑡𝑡 = 0
ay
Solving this equation lead to: B
al
𝑇𝑇 = 0.4097139 𝑁𝑁. 𝑚𝑚
M
T
𝑇𝑇 = 𝑇𝑇𝑎𝑎𝑎𝑎𝑎𝑎 + 𝑇𝑇 𝑟𝑟𝑟𝑟𝑟𝑟 c Fr
3.3.3.1.2. Find the Pulses for the Motor per one Full Move .
ni
To calculate the minimum pulses for the motor to get the desired output, we have to analyze
U
the mechanism machinary and to define the angle required by the drive motor, in addtion to
So by looking to the side view of the system we find that the diven Gear ( 88 teeth) is
travilling a 800 angle to reach the desired output postion. By converting this angle to a
travilling distance on the parameter of the driven gear and reflected it to the drive Gear ( 30
34
teeth) we can find the travilling angle for the motor shaft and then calculate the pulses
required.
Ө1 𝑟𝑟2
=
Ө2 𝑟𝑟1
𝑟𝑟2
Ө1 = ∗ Ө2
𝑟𝑟1
0. 11𝑚𝑚𝑚𝑚
a
Ө1 = ∗ 1.4𝑟𝑟𝑟𝑟𝑟𝑟
0.037𝑚𝑚𝑚𝑚
ay
Ө1 = 4.16 𝑟𝑟𝑟𝑟𝑟𝑟−→ 238.5 𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑
al
Where
M
r2, r1 , Ө2 , Ө1 are driven gear raduis, drive gear raduis, driven gear travilling angle , drive gear travilling angle respectively
of
ity
rs
ve
ni
35
By selecting a 1.8𝑜𝑜 stepper motor, and with 239 steps required to reach the desired position,
we can calculate the required pulses needed by the motor to complete the rotation.
pulses
For one pulse we get 1.8o rotation and for 239 degree we will require a 133 second.
ifwe consider a 0.1ms for rising time and the same for the falling time so the total pulses for
the motor for one move will be as Total pulses = 133 + (2 ∗ 13.3) = 159.6
a
= 160 pulses for one move
ay
239
To complete one revolution the motor required 360
=
al
0.66 present the relative value ro the action move to the full rotaion. so 242 pulses is required
M
To complete one rotation.
3.3.3.2 DC motor
of
For the conveyor system that do the task of transferring the clothes to the delivery area we
ity
can use the normal DC motor, with the precise specifications of (Torque, Revelations). How
to select the proper motor depending on the torque and rotation speed will be explained next?
rs
The torque of the motors is divided into running torque and the acceleration torque. Here
ni
because of the small size of the motor moment of inertia that will reduce the acceleration
U
analyzing the system kinetics (recall equations (3.1,3.2,3.3)). we will only consider the
running toque in our calculation to select the proper motor size. Because the accelerating
𝑇𝑇 = 𝑇𝑇𝑎𝑎𝑎𝑎𝑎𝑎 + 𝑇𝑇 𝑟𝑟𝑟𝑟𝑟𝑟
36
𝑇𝑇𝑎𝑎𝑎𝑎𝑎𝑎 = 𝐽𝐽 ∗ 𝛼𝛼
1
𝑇𝑇𝑟𝑟𝑟𝑟𝑟𝑟 = 𝐷𝐷(𝐹𝐹 + µ𝑚𝑚𝑚𝑚)
2
𝑇𝑇𝑎𝑎𝑎𝑎𝑎𝑎 = 𝐽𝐽𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑 ∗ 𝛼𝛼
α=𝜋𝜋�2 𝑟𝑟𝑟𝑟𝑟𝑟�𝑠𝑠 2
a
ay
𝑇𝑇𝑎𝑎𝑎𝑎𝑎𝑎 = 1.2 ∗ 10−9 ∗ 𝜋𝜋�2
al
𝑇𝑇𝑎𝑎𝑎𝑎𝑎𝑎 = 1.2 ∗ 10−9 ∗ 𝜋𝜋�2
M
𝑇𝑇𝑎𝑎𝑎𝑎𝑎𝑎 = 1.9 ∗ 10−9 𝑁𝑁. 𝑀𝑀 𝑤𝑤ℎ𝑖𝑖𝑖𝑖ℎ 𝑖𝑖𝑖𝑖 𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛 𝑧𝑧𝑧𝑧𝑧𝑧𝑧𝑧 .
of
For the running Torque we can use the following formula for a moving load on a conveyor
1
𝑇𝑇𝑟𝑟𝑟𝑟𝑟𝑟 = 2 𝐷𝐷(𝐹𝐹 + µ𝑚𝑚𝑚𝑚) … … … … … … … … … … … … … … … … … … … … … … . . … . (3.5)
ity
D = 2 mm , F = 0 N, m = 0.8 KG, g=9.81 𝑚𝑚�𝑠𝑠 2 , µ = 0.3 assumed as the belt made of rubber.
U
1
𝑇𝑇𝑟𝑟𝑟𝑟𝑟𝑟 = 𝐷𝐷(𝐹𝐹 + µ𝑚𝑚𝑚𝑚)
2
1
𝑇𝑇𝑟𝑟𝑟𝑟𝑟𝑟 = ∗ 2 ∗ 10−3 (0 + 0.3 ∗ 0.8 ∗ 9.81)
2
37
a
ay
Figure 3. 17 Kinetics analysis for the DC motor
al
M
3.3.3.2.2 Calcualating the motor speed (revelution per minute)
The need of transfering the cloth for 400 mm lead us to search for a way of doing it. By using
of
a simple DC motor we can fulfil the task. To identify the motor speed we will calcualate it
ity
as the total travelling distance for the cloth is 400 mm withen 1 seconed , so the speed will
equal to 400 𝑚𝑚𝑚𝑚⁄𝑠𝑠 converting this value to RPM, it will equal to 24000 𝑚𝑚𝑚𝑚�𝑚𝑚𝑚𝑚𝑚𝑚. . to make
rs
it revolution per minute we require to transfer the linear distance to rotational move for the
ve
driven/drive gear. Knowing that the raduis of the gears are 4.5 mm we can just devide the
24000 by the raduis to get the rotation angle, then devide the value by 2π we will get the
ni
By equations
mm 60s mm
400 s
*min. = 24000 min.
mm
rotation angle ∗ raduis = total travelling distance = 24000
min.
38
total travelling distance 24000 mm
rotation angle = raduis
= 4.5 mm
= 5334 rad .
a
400 mm
ay
al
3.3.4 Machine Control Design
M
Explaining the control side of the designed machine will take place in the following sections.
of
These sections will include the sequence diagram, Boolean equations, ladder logic, and
circuit diagram.
ity
the Boolean equations represent the relations between the output variable (Virtual and
Actual) and the programmable instructions logic. Every variable has to has a set value and
ve
reset value, so it can be correctly programmed and inserted to PLC. Table 3.4 shows the
ni
39
Table 3. 4 Boolean equation for the Machine logic
1 TIM 00 HRT00M1F
a
4 TIM 01 HRT01M1BW
ay
5 M1BW HRT01M1BW TIM 01
al
7 TIM 02 HRT02M2F
M
8 M2F HRT02M2F TIM 02
13 TIM 04 HRT04M3F
rs
16 TIM 05 HRT05M3BW
ni
19 TIM 06 HRT06DCM1
22 TIM 07 HRT07DCM2
40
3.3.4.2 Sequence diagram
a
ay
al
M
of
ity
rs
ve
ni
U
41
Figure 3. 18 Sequence diagram for the machine logic
The sequence diagram describes the sequence of the desired logic intended to be done by the
engineer or the designer. Figure3.18 Shows the sequence diagram for the clothes folding
machine.
Ladder logic it is the way which the engineer transfers the data and the logic to the PLC.
a
Ladder logics always done by a proper software that can be interface with the PLC without
ay
any problems and interruptions because it is the final step of programming to be done before
transfer the data to the PLC. Figure 3.19 Shows the ladder logic diagram for the Clothes
al
Folding Machine.
M
of
ity
rs
ve
ni
U
42
a
ay
al
M
of
ity
rs
ve
ni
U
Figure 3.19 Ladder logic diagram for the machine logic (continued)
43
3.3.5 Stepper motor driver
After the selection of the stepper motor of a 1.8𝑜𝑜 step, torque (4.8 N.M ) , and 160 pulses. We
can go and select the proper stepper motor driver to do the task for providing the accurate
pulses to the motor to rotate. Because our torque and rotations are not that big values we are
not going to face any serious issue to pick a random driver with two direction rotations that
complies with the PLC and stepper motor current and voltage. Figure 3.20 present three
a
different types of stepper motor drivers that do the same task of driving the motor but from
ay
different manufactures (STP-DRV-DL050, M542, AND TB6600). Figure 3.21 shows an
implementation of wiring connection to drive the stepper motor, we can easily see that the
al
input for the drivers are the Vcc and the signals from the PLC which are the (-Pulse) and the
M
(-DIR). Here we explain the driver model (STP-DRV-DLO5) from sure step automation
company. This driver is compatible to be used by PLC signal or even by microchips pulses.
of
Figure 3.22 represent the wiring diagram for the driver with the PLC and Motor to introduce
ity
a proper understanding of our system. After complete the full Vdcc connection to the motor
and the PLC, you can find the signal output Y0 (-step), Y1(-dir) from the PLC going to the
rs
drivers these two signals control the motor rotation CW, CCW. As per the PLC program.
ve
44
a
ay
al
M
Figure 3. 21 Implementation of drivers wiring
45
Table 3. 7 Stepper motor driver signals activation table
2 1 0 0 Rotate CW
3 1 1 0 Rotate CCW
4 1 1 1 Stop running
a
ay
al
M
of
ity
rs
ve
ni
U
Figure 3. 212 Typical connection for the driver STP-DRV-DLO5 with the PLC
46
CHAPTER 4
RESULTS AND DISCUSSION
In this chapter we overview all the results and output data we found in the methodology of
chapter 3. These results will be divided in three manners. The machine hardware design and
assembly, the ladder logic outputs, and the actual simulation for the PLC.
a
The figures below will show us the full assembly of the clothes folding machine with the
ay
exploded view. In addition of its steps after each signal from the PLC.
al
4.1.1 Machine full assembly
M
of
ity
rs
ve
ni
U
Figure 4. 1 Top and Front View for the machine with some dimensions
47
Figure 4.1 shows the top and front view of the final machine design including the main out
dimensions, height (600 mm), width (800mm), and the depth (900mm). while the figure 4.2
shows the right view in addition with the isometric one. Note here that the right view is done
to show the hidden lines and make them visible view so we can see the internal integrated
a
ay
al
M
of
ity
rs
ve
ni
U
Figure 4. 2 Isometric view with the right view shows hidden line.
48
4.1.2 Exploded View
Figure 4.3 displays the exploded view for the clothes folding machine, with annotations that
a
ay
al
M
of
ity
rs
ve
ni
U
49
Table 4. 1 Folding machine parts with ref. annotation number to the exploded view in figure 4.3
ITEM NO. PART NUMBER DESCRIPTION QTY .
1 Folding Board Oak Wooden Board 2
2 Hinge A Aluminum Hinged 3
3 Hinge B Aluminum Hinged 3
4 Central Pin Axial Pin Fixing the Hinges Parts 3
5 Pushing Arm 3
6 Pushing Hinge 3
Metric - Spur gear
7 2.5M 88T 20PA 12FW Driv en Gear / Brass 3
---S88N75H50L14S1
Metric - Spur gear
8 2.5M 30T 20PA 12FW Driv e gear 1
---S30N75H50L10S1
a
9 Base St epper Mot or Assembly 3
10 Back Plat e 3
ay
11 Body 3
12 Axial Rod 3
AFBMA 12.1.4.1 -
al
13 0050-11 - 6
10,DE,AC,10_68
B18.6.7M - M3 x 0.5 x
M
14 5 Type I Cross 12
Recessed PHMS --5S
Stepper Motor
15 Mount NEMA_17 4
of
Sized
16 1 belt drive hanger 7
17 Machine frame 1
Clothes
18 1
ity
Representation
19 Driven Gear Support 2
AFBMA 20.1 - 10-5 -
20 3
8,SI,NC,8_68
rs
--S16N75H50L2N
23 Mot or 2
24 Dc mot or billow 1
25 1 belt Driv e 4
ni
50
4.1.3 Machine steps
After loading the proper ladder diagram to the PLC the simulated steps will be as the shown
in figure 4.4. we can easlily see when the motors are in action for the foldig steps. Figure
4.4a is explains the first step of moving the left board for its final position. Figure 4.4b also
shows the right board in action. Figure 4.4c is the middle board in action. In addition to the
a
ay
al
M
of
ity
rs
ve
ni
U
a) b) c)
Figure 4. 4 Folding machine in action (a) left board in action. (b) right board in action. (c) middle
board in action.
51
4.2 Ladder Diagram
The ladder logic program was developed and tested using the CX-Program,then loaded to the
PLC. In the following series of figures, we will comment the figures and explain them briefly
for every activated rung in the ladder diagram, showing the inputs, the outputs and their
addresses .
a
Figure 4.5 shows the system condition before simulation started. then Figure 4.6 (a) and (b)
ay
presents the first step of the program, we can see that the open contactor dresses by 0.00
al
stands for the Push Button which is connected in series with the input switch 0.01 which
M
stands for the board sensor that defines if the cloth exists on the board or not. Then timer
T0001 is the one for reseting the output for the rung which is the vertual Holding relay
of
adressed 100.10 to run the first motor forward by activating the T0000. We can see also that
all the contactors are all high in the first rung in figure 4.5a, while the sensor is already off
ity
in figure 4.5b. even though the output still high because of the latch connection 100.10. we
rs
can also see that the 2nd rung is taking the responsibilty to activate the physical output (
represented by a led in the PLC) addressed by 100.00. which stands that the siganl is sending
ve
to the motor driver while the timer T0000 is on. Keep in mind that these steps are typically
ni
52
a)
a
ay
al
M b)
of
Figure 4. 6 Ladder logic diagram activation (a) physical inputs responsible for high output (b) latch
100.10 is keeping the output high.
ity
figure 4.7 shows how the backward rotation for the motors are controlled. In rung 3 in the
rs
ladder diagram the timer T000 is latched by the output 100.11 which present the vertual
holding relay for the backward Timer on rotation. The timer T0001 is set on by 100.11 and
ve
reseted by the same holding relay after T0001 time is finish. Rung 5 explains the physical
ni
output for the ladder logic in the PLC addressed by 100.01 which is shown as a led. You have
U
to note that both outputs are high for rotating the motor in the back ward side as per the driver
53
Figure 4. 7 The logic sequence of backward rotation for motor 1
a
ay
Figure 4.8 shows the forward sequence for the second motor. Virtual relay setted by the timer
T001 and reseted by the Timer T0002 that activate the forward motor by keeping the relay
al
100.12 on.
M
of
ity
rs
Figure 4.9 shows the backward sequence for the second motor. Virtual relay 100.13 setted
ve
by the timer T0002 and reseted by the Timer T0003 that activate the forward motor by
ni
al
Figure 4.10 shows the DC motors activated in the rung 20 and 23 under the addresses of
M
Q100.06, Q100.07.
Figure 4.11 represent the condition of the OMRON PLC before the program been in action.
We can clearly see the inputs switches ( PB,S1,S2) and the outputs
rs
(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7).
ve
ni
U
S0 S1 S2
55
Once we activate the system by the Push Button (S0) and with the cloth reading sensor (S1)
that fixed on the main wood boards, the system starts to run. The first step of the system is
implemented by the figure 4.12 where we can see that the output Y0 is high and the led
number 0 is on. This activation means that the first stepper motor is running forward by
a
ay
al
M
of
Figure 4. 12 The first motor receives the signal and running
ity
Changing the status of the switches (S0, S1) from active to Off will not stop the system,
since, the system is already latched by the virtual holding relay 100.10. this can be seen by
rs
figure 4.13.
ve
ni
U
56
In Figure 4.14 we can see that the both outputs Y0, Y1 are high and the led numbers (0,1)
are on, indicating that the stepper motor is running backward as per the motor driver
specifications that when the both (Pulse-/step-) and the Dir- are high the motor will change
a
ay
al
M
Figure 4. 14 The first motor receives the signal and running
of
Figure 4.15 shows the motor 2 in action for the second folding step by the second wooden
board. The output Y2 are high and the led 2 are on. Indicating that the second motor is running
ity
forward.
rs
ve
ni
U
Figure 4. 15 The second motor receives the signal and running forward
57
Figure 4.16 represent the backward movement for the second motor when the both outputs
are high Y2, Y3 and the leds 2,3 are on. Here the driver of the stepper motor receives the
signal from the PLC to reverse the forward rotation and make it backward.
a
ay
al
M
Figure 4. 16 The second motor receives the signal and running backward
of
The third action of the machine is impelemented by figure 4.17 for the third stepper motor,
the led 4 are on means that the output Y4 is high, and the driver is receiving the signal to run
ity
Figure 4. 17 The third motor receives the signal and running forward
Moving the third wooden board back to its desired postion is done impemented by the figure
4.18 where we can see the leds 4,5 are on and the outputs Y4,Y5 are high to ignite the motor
58
driver to run back the motor. If you follow the ladder diagram rung number 19 you will see
that this leds will be on more time than the others. Because the board has to move backward
a
ay
al
M
Figure 4. 18 The third motor receives the signal and running backward
of
Running the DC motors with the PLC signal is presented in the figure 4.19 where we can see
that led 6,7 are on and the outputs Y6, Y7 are high. These motors are responsible to deliver
ity
in figure 4.20 we can see that if we activate the stop button switch S2, the program will be
inturrupted and the machine will stop running since all the input signals has been stopped.
59
a
Figure 4. 20 Switch 2 activated to stop the system from running
ay
Once the PLC activated and the DC motors are running we can note that the second DC
motors still running (led 7 is on) while the first one is off ( led 6) in figure 4.21 and this is
al
represets the ladder logic timer time, since we keep it on for more seconds than the first
motor.
M
of
ity
rs
ve
ni
figure 4.22 shows the final shape of the cloth after finishing the task. In this shape the clothes
60
Figure 4. 22 Final shape of folded cloth, delivered by the machine.
a
ay
al
M
of
ity
rs
ve
ni
U
61
CHAPTER 5
DISCUSSION AND RECOMMENDATION
Our goal in this research was trying to introduce a fully automation system, that identifies
how the integrity of a pure mechanical with a control system can be smoothly go to achieve
5.1 Conclusion
a
Designing the clothes folding machine was an improvement of the manual steps where
ay
normal humans used to fold their clothes, and make it fully automatic. Fully automatic mean
you just drop your piece of cloth inside the machine and it will deliver it to you folded within
al
a short time. But facing obstacles as the difference in clothes shapes and categories forced us
M
to choose just one type of these clothes and simulate our machine to fold it. This shape was
of
the T-shirts, where we try folding it within six series steps. Shown in figure 5.1
ity
rs
ve
ni
U
After reaching to the suitable design through many drafts and sketches, engineers software
takes a place to develop the machine assembly and control. Using solidworks was a wise
decision to complete the task of drawings, and parts assembly even to animate the machine.
Then heading to CX-Program that can interface easily with the PLC OMRON which we use
62
to simulate the machine movements by. It was essential for the designer to build the ladder
logic diagram for testing the system and simulate it with the CX-program before transferring
Using the human intelligence in the process was one of weak point of this machine. Operator
still has to feed the cloth with a proper way, so the machine can fold it easily. From here we
can see that the machine was designed to do only a few certain simple steps to fold the cloth,
a
not to make it complex and more intelligent.
ay
5.2 Recommendations
al
For future work, and after building the first prototype of the machine and test it, it is necessary
M
to integrate this machine with others, to make it more easy for the operator to deal with it.
of
These integrated machine could be like design a way to feed the machine with clothes as
hanging the clothes form the shoulders and feed them to the core of the machine, or even
ity
improve it more like adding a box where the machine can decide the shape of the clothed by
itself using advance image processing and artificial intelligence science. This step surely need
rs
a high precise cameras and huge data collection to do the image processing for the feed cloth.
ve
Programming the control is surely depending on the controller type itself. Here we use the
U
PLC to simulate the task, if PLC is not available or expensive. Still you can find your
controller by using the Arduino kit, where it can easily interface with the stepper and DC
motors in the machine using a proper driver. All of these electronic devices has to be
technically applicable for interfacing each other. Specifically, the current value that present
63
REFERENCES
Bersch, C., Pitzer, B., & Kammel, S. (2011). Bimanual Robotic Cloth Manipulation for Laundry
Folding. Paper presented at the International Conference on Intelligent Robots and
Systems, San Francisco, CA, USA.
Doumanoglou, A., Stria, J., Peleka, G., Mariolis, I., Petrık, V., Kargakos, A., . . . Malassiotis, S. (2016).
Folding Clothes Autonomously- A Complete Pipeline. IEEE Transactions On Robotics.
Estevez, D., Victores, J. G., Morante, S., & Balaguer, C. (2016). Towards Robotic Garment Folding.
Paper presented at the International Conference on Autonomous Robot Systems and
a
Competitions. https://ieeexplore.ieee.org/document/7781974/
Hamada, T., Hata, S., Hojoh, H., Kobayashi, H., & Fukumoto, Y. (2009). Flexible Handling Robot
ay
System for Cloth using 3-D Sensor. Paper presented at the IEEE Workshop on Advanced
Robotics and its Social Inpacts, Tokyo, Japan.
Hata, S., Hojoh, H., Toda, M., & Hamada, T. (2011, August 7-10). Cloth Handling System for Linen
al
Supply Industry. Paper presented at the International Conference on Mechatronics and
Automation, Beijing, China.
M
Hubli, P. V., Alekhya, S., Vijayakumar, S., Prasad, T., Hegde, V. N., & Rao, K. N. (2017).
Mechanization of Cloth Plication.
Mahajan, M. P., Prasad, S., Binnar, T., & Tambe, M. (2017). Automatic T-shirt Folding Machine.
International Journal of Computer Applications, 162(10), 13-16.
of
Maitin-Shepard, J., Cusumano-Towner, M., Lei, J., & Abbeel, P. (2010). Cloth Grasp Point Detection
based on Multiple-View Geometric Cues. Paper presented at the IEEE International
Conference on Robotics and Automation, Anchorage, Alaska, USA.
ity
Miller, S., Berg, J. v. d., Fritz, M., Darrell, T., Goldberg, K., & Abbeel, P. (2015). A geometric
approach to robotic laundry folding. The International Journal of Robotics Research, 31(2),
249–267.
Miyamotoa, R., Mub, S., & Kitazono, Y. (2014). Development of System to Fold T-shirt in the State
rs
Petrík, V., Smutný, V., Krsek, P., & Hlavác, V. (2017). Single arm robotic garment folding path
generation. Advanced Robotics. doi: 10.1080/01691864.2017.1367325
Stria, J., Pr°uˇsa, D., Hlav´aˇc, V. a., Wagner, L., Petr´ık, V. ı., Krsek, P., & Smutn, V. ı. (2014).
ni
Garment Perception and its Folding Using a Dual-arm Robot. Paper presented at the
IEEE/RSJ International Conference on Intelligent Robots and Systems, Chicago IL, USA.
Triantafyllou, D., Mariolis, I., Kargakos, A., Malassiotis, S., & Aspragathos, N. (2016). A geometric
U
approach to robotic unfolding of garments. Robotics and Autonomous Systems, 75, 233-
243.
Watanabe, T., Kawamura, T., Iizuka, K., & Suzuki, S. (2107, September 19-22). Development clothes
folding system with small mobile robtos. Paper presented at the Proceedings of the SICE
Annual Conference, Japan.
Willimon, B., Birchfield, S., & Walker, I. (2011). Classification of Clothing using Interactive
Perception. Paper presented at the IEEE International Conference on Robotics and
Automation, Shanghai, China.
Yang, P.-C., Sasaki, K., Suzuki, K., Kase, K., Sugano, S., & Ogata, T. (2017). Repeatable Folding Task
by Humanoid Robot. IEEE ROBOTICS AND AUTOMATION LETTERS, 2(2), 397-403.
64