HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HH
HOCHIMINH CITY INTERNATIONAL UNIVERSITY SCHOOL OF INDUSTRIAL ENGINEERING & MANAGEMENT
Trang 5HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HH
PREFACE
As science and technology have become more developed, it offers numerous incentives in both daily life and industry Therefore, most of the industrial factories apply technology to increase productivity and guarantee product quality To attain those purposes, it is impossible not to implement automation since it greatly enhances the productivity and quality of a certain product
Due to such reality, the automation subject emerged with distinguished projects in order to raise awareness and knowledge of students, hence equipping them with solid luggage to step into life
The actual requirements on bottling and packaging originated the topic "Automatic bottle labelling", bringing students closer to practical manufacture
5
HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHOHH
SPHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHHSHHSHSHSHSHHSHHSHHSHSHHSHSHHHHHHSHHHHHSHHHHHHHHHHHHHHHOHOOS SPHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHHSHHSHHHSHHSHHHSHHSHHHHHHHSHHHHHHHHHHHHHHOHOS
Trang 7HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
CHAPTER I: INTRODUCTION
With a few short months to complete the course, we decided to choose the model of automatic labelling This is a realistic project closely connected with the Logistics and Supply chain management industry, which is the object of our major
1.1 Background:
Bottle labelling has an important role in determining the aesthetics, thereby speaking up product quality Automatic bottle labelling is popularly used in the food manufacturing (beer bottles, wine bottles, syrup bottles, .) and medical industries Due to the specific characteristics of the service industry, requirements for automatic labelling machines are mainly to ensure that the label position on the bottle is even, beautiful, not deviated, and the label does not peel off
1.4 Roles:
The bottle labelling machine is a device commonly used in factories, industrial parks or export processing zones This automatic labelling system helps businesses reduce labour costs and time, increasing work efficiency significantly
Thirdly, due to the time rush, we have to abandon our initial idea about any upgrades or improvements Instead, we have to stick to the core of the system, which is auto-labelling
Trang 8e Set up hardware and electrical parts e Study code for programming ¢ Write a report
2.2 Conceptual model: a) Proposed model:
Step 1: When the system is operated, the conveyor belt is launched (using a stepper motor) and a bottle (INPUT) is put on the conveyor
Step 2: When the bottle is delivered, the optical sensor on the conveyor will detect the bottle and send the signal to the roll of labels The engine now works and pulls the label roll
Step 3: The bottle is moved to the labelling position, where the label is pressed by the aluminium bar When the bottle passes through this position, the label is separated from the roll and stuck to the bottle Step 4: In the last position of the conveyor, the bottle falls into a box (OUTPUT place)
Trang 9SPHHSSHSHSHHHHSHSHSHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH b) Process diagram:
2.3 Physical model: a) Label board
a.l Sticker roll:
The roll of labels is a long strip of 400 labels The roll of tape needs to rotate to provide the label so we prepare a smooth metal roll that is shielded on the mica pad to roll the label on it
a.2 Corner bar:
In the model, we use an aluminium bar mounted on the mica plate as an object to make the label piece easily come off So when the strip passes, the label will come off and stick on the bottle
Trang 10HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HH b.1 The conveyor belt:
The conveyor belt is a long PVC material band with the thickness of 2mm and the total length of 90cm It’s controlled with a Stepper motor JK42HS40- 1704-13A
b.2 The photoelectric sensor
The sensor is a pair of transmitter and receiver in one of the photoelectric sensors Detection distance has been adjusted according to the requirements which range is about 3cm to 50cm The sensor has a detection distance, by small visible light interference, cheap, easy to assemble, easy to use features The job of this sensor is to recognize the bottle before sticking to signal the trigger of the roll winding mechanism, move the label to the roller position, the label pops and sticks to the bottle
Trang 11HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HH c.1 Arduino MEGA 2560 R3:
Arduino hardware (microprocessor circuit boards) was born in the town of Ivrea in Italy, to build applications that interact with each other or with a more favourable environment Hardware includes an open source circuit board designed on the AVR Atmel 8bit processor, or ARM Atmel 32-bit Arduino is intended for use by both the professional and non-technical people with no previous programming experience such as students This makes Arduino the perfect tool for this project
c.2 Stepper Motor:
A stepper motor, also known as step motor or stepping motor, is a brushless DC electric motor that divides a full rotation into a number of equal steps The motor's position can then be commanded to move and hold at one of these steps without any position sensor for feedback (an open-loop controller), as long as the motor is carefully sized to the application in respect to torque and speed Here we use Stepper Motor JK42HS40-1704-13A for the model
Switched reluctance motors are very large stepping motors with a reduced pole count, and generally are closed-loop commutated
ll
HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHOHH
SPHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHHSHHSHSHSHSHHSHHSHHSHSHHSHSHHHHHHSHHHHHSHHHHHHHHHHHHHHHOHOOS SPHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHHSHHSHHHSHHSHHHSHHSHHHHHHHSHHHHHHHHHHHHHHOHOS
Trang 12HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HH
c.3 Stepper Motor Driver:
Stepper motor drivers are specifically designed to drive stepper motors, which are capable of continuous rotation with precise position control, even without a feedback system Our stepper motor drivers offer adjustable current control and multiple step resolutions, and they feature built-in translators that allow a stepper motor to be controlled with simple step and direction inputs These modules are generally basic carrier boards for a variety of stepper motor driver ICs that offer low-level interfaces like inputs for directly initiating each step An external microcontroller is typically required for generating these low- level signals
Power Supply Unit or PSU is a device that provides power to the motherboard, hard drive, optical drive and other devices ., meeting the power of all the hardware devices of the computer Its job is to convert the current from the source to the correct voltage, current, and frequency that powers the load Therefore, power supplies are sometimes referred to as electrical energy converters Some power supplies are separate stand-alone devices, while others are built-in in load devices
12
HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHOHH
SPHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHHSHHSHSHSHSHHSHHSHHSHSHHSHSHHHHHHSHHHHHSHHHHHHHHHHHHHHHOHOOS SPHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHHSHHSHHHSHHSHHHSHHSHHHHHHHSHHHHHHHHHHHHHHOHOS
Trang 13HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HH
c.5 AC/DC Adapter (9V):
The main function of the AC / DC Adapter is to provide a suitable power source for electronic devices to operate stably In addition to the computer’s USB port, the external power sources for Arduino are: linear and switching power supplies, or having a specific USB output (that most likely is of the switching kind) and batteries of various types AC 9v is an AC adapter that is converted from 220v to 9V, exclusively for 9v AC devices with constant AC
c.6 L298N Motor Driver:
In order to have a complete control over DC motor, we have to control its speed and rotation direction by interfacing L298N Motor Driver with Arduino This L298N Motor Driver Module is a high power motor driver module for driving DC and Stepper Motors This module consists of an L298 motor driver IC and a 78MO5 S5V regulator L298N Module can control up to 4 DC motors, or 2 DC motors with directional and speed control
13
HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHOHH
SPHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHHSHHSHSHSHSHHSHHSHHSHSHHSHSHHHHHHSHHHHHSHHHHHHHHHHHHHHHOHOOS SPHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHHSHHSHHHSHHSHHHSHHSHHHHHHHSHHHHHHHHHHHHHHOHOS
Trang 14HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHOHH
c.7 DC motor:
The DC Motor is the most commonly used actuator for producing continuous movement and whose speed of rotation can easily be controlled, making them ideal for use in applications were speed control, servo type control, and/or positioning is required A DC motor consists of two parts, a “Stator” which is the stationary part and a “Rotor” which is the rotating part This type of motor produces a magnetic field in a wound rotor (the part that rotates) by passing an electrical current through a commutator and carbon brush assembly, hence the term “Brushed” The stators (the stationary part) magnetic field is produced by using either a wound stator field winding or by permanent magnets Generally brushed DC motors are cheap, small and easily controlled
HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHOHH
SPHHSSHHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHHSHSHSHSHSHSHSHSHSHHSHHSHHSHHHHHSHHHHHHHHHHHHHHHHOOS SPHHSSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHHSHSHSHHSHSHSHSHSHHSHHSHHSHHHHHHHHHHHHHHHHHHHHHOOS
Trang 15
Vc.ˆeecei.eceeciVcivcivdcVcivdcvVdcvdcằVdcvdvVdvdcằdcvdằvdvdằdvdằdvddvdóddằdeddcvdvdằedvddcvddcằdeằedcằVdcằedằdée
Trang 16On the contrary, since the model is quite simple, it only has the main components that make up the labelling machine, functions such as waste classification are not yet applied in the machine In addition, our system is still slow in the process of making products and the percentage of making products as desired is not high
3.2 Applications:
As a current topic, because our country is on the way to industrialization and modernization, the problem of developing and applying research on automation in universities is an inevitable step
The topic "Automatic bottle labelling system" is a highly practical topic, as this is an indispensable chain in the food, pharmaceutical, and industries where products are bottled as pesticides, paint, From this topic we can also apply the design of similar systems such as expiry date printing line, bottle label printing line directly on bottles,
AS a project, the time invested as well as the knowledge capital at the present time is not enough for a topic to be completely researched
However, this is also one of the possible plans to develop into a graduation topic or more than half that can be applied in practice, more importantly, the project has helped us to strengthen Apply the knowledge learned to gradually approach reality
Trang 17HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HH REFERENCES:
1 Đán nhãn chai tự động sử dụng PLC S7 - 1200 (2016, June 15) [Video] YouTube https://www.youtube.com/watch?v=9GpCmOjRors 2 YouTube (2017, August 2) [Video] YouTube
https://www youtube.com/watch?v=w-x_GNuINJwé&feature=youtu.be 3 How to control DC motor with L298N driver and Arduino (2018, January 29)
[Video] YouTube https://www.youtube.com/watch?v=dyZolgNOomk 4 How to connect your “L298N Dual H-Bridge Motor Controller” to “Arduino
Uno.” (2017, March 12) [Video] YouTube
https://www youtube.com/watch?v=OkHR 1 BZCcqA &t=285s
5 L298n Dual H-Bridge Motor Driver: DC Motors: PWM: Stepper Motors: Eye-On-Stuff (2020, May 9) [Video] YouTube
https://www youtube.com/watch?v=_I-7XYaAtAo
17
HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHOHH
SPHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHHSHHSHSHSHSHHSHHSHHSHSHHSHSHHHHHHSHHHHHSHHHHHHHHHHHHHHHOHOOS SPHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHHSHHSHHHSHHSHHHSHHSHHHHHHHSHHHHHHHHHHHHHHOHOS
Trang 18HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HH
APPENDIX
int dirl =3; int pull =4; int sensor =7; int IN3 = 8; int IN4 = 9; int ENB = 10; int INI = 11; int IN2 = 12; int ENA = 13;
void bangchuyenQ { //control the speed of the conveyor system digital Write(dirl ,HIGH);
digital Write(pull,HIGH); delayMicroseconds(600); digital Write(pull, LOW); delayMicroseconds(600);
}
void cuonep() { //control the speed & direction of rotation of aluminium roll
analogWrite(ENB, 92); digital Write(IN3, HIGH); digital Write(IN4, LOW);
18
HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHOHH
SPHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHHSHHSHSHSHSHHSHHSHHSHSHHSHSHHHHHHSHHHHHSHHHHHHHHHHHHHHHOHOOS SPHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHHSHHSHHHSHHSHHHSHHSHHHHHHHSHHHHHHHHHHHHHHOHOS
Trang 19HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHOHH pinMode(ENA, OUTPUT);
}
void loopQ {
if(digitalRead(sensor)==LOW) //sensor detects the presence of the bottle
{
for (int i=1;1<=150;i1++)
dannhan(); //then signal the sticker roll to release the label
}
19
HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHOHH
SPHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHHSHHSHSHSHSHHSHHSHHSHSHHSHSHHHHHHSHHHHHSHHHHHHHHHHHHHHHOHOOS SPHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHSHHSHHSHHHSHHSHHHSHHSHHHHHHHSHHHHHHHHHHHHHHOHOS