Beruflich Dokumente
Kultur Dokumente
Color sorting is a recurrent problem in the food industry. Such machines are necessary for
sorting grains, seeds or coffee. This project, entitled “M&M’s® Color Sorter”, develops a
proof of concept for color sorting by using candies. Given a random assortment of
M&M’s® candies, consisting of up to 8 different colors, the device will be able to sort
them by color in a reasonable time (maximum of 10 seconds per candy) and with accuracy
higher than 80% (4 candies out of 5 sorted correctly).
I know that there a few student don’t feel interested on some document project that we
usually learn at university. Some of them couldn’t be used at the true reality nowadays
when every industry partnership who care about skill to work which define every student
on their study process
This is the small project that could let you simply understand the way how to manufacturing
a machine to classify the candy. By the way separate it into small part, my team solve the
problem in each type of side and somehow we find the solution by the help of arduino with
sensor connect with them. The prototype below will show how does it work and the process
how could we make it to become possible
Introduction
Having passed a long history with different kind of unlimited dynamic change, we could
see a huge million time in snack, a small fast sweet invention in the world that could affect
everyone since they were a child. Snack could be attractive and one of the most wonderful
things in the huge library is chocolate. Since the time it was created, there are so many
formal copy types of them. Many mixed complex that was standing in many place in the
world from the small packed in some convenient store to the grand pieces of packed in the
supermarket. Chocolate is a usually sweet, brown food preparation of roasted and
ground cacao seeds. It is made in the form of a liquid, paste, or in a block, or used as a
interested ingredient in other foods and could be shaped with many form and mixed with a
huge range of color. One the most chocolate brand which was popular nowadays is M&M
chocolate. It was a company which was named with the word “colorful chocolate “by
making an ocean of chocolate colors. We are fabricated a machine which can help M&M
separate chocolate in color to serve in many type of purposes that was a hard thing to solve
when that problem happen. For serving in M&M world signature
Figure 4: 2D Drawing
- The material for making frame is formex with 3mm in thickness.
- All parts assembly together by screw and glue.
Figure 5: 3D View
Figure 6: Explosion View
a. Separator design
- Position: The separator is put at the top of the machine.
- Uses: It will consider the color of candies and sent the information to the Arduino.
- Principle: When the candy enter the top of the machine via the Runner. It will be moved
to the scanning area by the distributor formex. Then, the sensor will scan, take information
from the candy and sent it to the Arduino.
Figure 7: Separator
- Components: It consist of 4 small parts:
+ Sensor Box: The sensor box is the dark department where the color sensor can scan and
take information with the higher accuracy. All the side face inside the box is painted by
back so that it can reduce the perturbation.
Figure 8: Sensor Box
+ Distributor Formex: This formex will delivery the candy to the scanning area after it met
the top of the machine. The candy will lie on the ∅16 grave and move along when it rotate.
Figure 9: Distributor Formex
+ Supporting: is used for connecting the separator to the machine.
+ Color Sensor: is used for scanning the color of candy.
b. Distributor design
- Position: At the top of the machine and under the sensor box.
- Uses: It deliveries the color to the right container.
- Principle: After scanning the candy will slide on the lower formex under the press force
of distributor formex. When it reach the right groove of the upper formex the distributor
will reverse the direction and the long hand of it will put the candy fall down to the
container which stay at the end of the groove.
Figure 10: Distributor
- Components: It consists of 5 small part:
+ Servo motor: Although the distribution of 6 containers is around 100 degree. The angle
between the first container to the scanning area is 40 degree so the servo motor have to
rotate atleast 140 degree. The motor will be programmed on Arduino Uno R3. The
specification of the motor will be calculated and chose for productivity optimization and
saving money. This work will be done in the Calculation and Selection part.
Figure 11: Working area
+ Upper Formex: It will create rail for the candy slide to the right position under the
press force of distributor formex.
= 0 (Nmm)
Moment of Distributor Formex = Lever arm*weight of Distributor Formex
= 17.41 (mm) * 0.05 (kg) * 10
= 8.705 (Nmm)
Torque for separator servo motor = T1 = 0+8.705= 8.705 (Nmm)
Rotational speed of the servo motor = n1 = 3 (rpm)
𝑛1∗𝑇1
The needed power = P1 = = 2.7*10−6 (kW) (1)
9.55∗106
3 Arduino Uno R3 1
4 Column 6
5 Supporting 2 1
6 Supporting 3 2
7 Hole Supporting 1
8 Sensor Box 1
9 Candy 1
10 Color Sensor 11
11 Runner 1
12 Servo Supporting 1
13 Distributor Formex 1
14 Upper Formex 1
16 Servo Motor 2
17 Lower Formex 1
18 Container 2
Specification Value
Main control Chip ATmega328
Loading and ATmega16U2
Communicating Chip
Power supply 5VDC
Digital pins/Analog pins 14(6 PWM
pins)/6
Maximum output on 40mA
GPIO
Maximum output on the 150mA
power supply pin
3.3VDC
Flash memory capacity 32kb
Table 2: Specification Arduino
3.4.2 Schematic
Figure 23: Schematic
3.4.3 Wiring
Some conclusions can be drawn from these experiments. First, the little inaccuracy
between the red and the orange M&M’s is due to an error of detection. Sometimes the
M&M’s are not well positioned under the color sensor and, since these colors are quite
similar, the color is not well detected (red M&M’s become orange and orange M&M’s
become red). This issue could maybe be solve by using another parameter, the luminance,
to distinguish the difference between the red and the orange color, or by improving the
positioning of the M&M’s under the color sensor. The others inaccuracy are explained by
the fact that, sometimes, the M&M’s are “jumping” to the next channel. This phenomenon
is due to the rotor, which is a little twisted. This problem could be solved by using another
material for the rotor, more rigid.Beside these little inaccuracies, the project is a success.
The system meets its specifications (at least 4 M&M’s out of 5 well sorted) and the final
aspect of the prototype is a success. Since the device is working on batteries, one possible
improvement will be to optimize the power consumption by, for instance, entered the
microcontroller in sleep mode when the feeder tube is empty.
Conclusion
For the huge effect that could bring possible to this project is colour sensor which were the
main thing control this solution. With the lack of knowledge and technique, we could
conclude this is the short plane for us to finish this project in high advantage learning
method how to fix the problem by using the mind solution to deep learning from own
project which was the fabrication to core of the machine and the fundamental deviation to
reduce the tolerance as small as possible for the best re-present it in high effective way. For
a long journey that we deep learn together to analysis the form , the base , the core,… and
make the fully whole machine in the prototype as reality as possible. To be honest that
sometime the speed of the machine should be improved to adapt the social need and
increase the effectiveness