Mattéo Pozzo di Borgo
Microengineering — between electronics, embedded systems and fabrication.
← Project timeline
CPNV project

Automatic honey jar labelling machine

A labelling machine for standard honey jars, controlled by a Siemens PLC, with automatic adjustment of the label height.

Period
Mar – Jun 2024
Context
Engineering preparatory year · CPNV — final project of the year
Team
Pair project
Role
A two-person project: design, studies, fabrication, wiring and programming done together
Budget
Materials: CHF 7,374
Status
Completed
Siemens PLCLadderTIA PortalPneumaticsWiringHMIInventor
Automatic honey jar labelling machine
The finished machine

Key points

  • A complete machine: jar detection, conveying, height adjustment, labelling, discharge
  • Fully programmed in Ladder with TIA Portal
  • Electronics and cabinet wiring: sensors, motors, solenoid valves for the pneumatic cylinders
  • 12 jars/min, twice as fast as by hand, for about CHF 7,400 of materials

Context and goal

This was the big end-of-year project of the preparatory year. We had to design and build a complete machine that detects honey jars of standard sizes, conveys them and applies a label at the right height.

How the machine works

The machine is organised into two subsystems:

  • Conveying — moving the jars on motorised belts
  • Labelling — a labelling head mounted on a lifting system, which adjusts its height to the detected jar

What I did

  • Programmed the whole machine in Ladder with TIA Portal: jar detection, conveying, height adjustment of the labelling head, labelling, discharge
  • Designed and built the electronics: connecting the sensors, motors and pneumatic solenoid valves to the PLC
  • Wired the control cabinet
  • Mechanical design, studies and fabrication done with my teammate (conveyors, lifting system, 3D-printed parts)

Tech

Siemens S7-1200 PLC · TIA Portal · Ladder · pneumatic cylinders · sensors · motors · belts · Inventor · 3D printing

Specifications and results

We wrote the specifications at the start of the project, and the handover report reviews them requirement by requirement. The machine performs every required function, but two numerical requirements were not met.

RequirementRequiredAchieved
ThroughputAt least the manual rate, 6 jars/min12 jars/min
Success rate98 % minimum82 %
Footprint600 × 600 × 600 mm600 × 800 × 400 mm with the external electrical enclosure, compliant without it
Jar sizes2 preset profilesLarge jar Ø 80 × 133.5 mm and small jar Ø 65 × 86 mm, plus a manual mode
FunctionsControl screen, counting, automatic height, jar-type checkDone

The enclosure for the electrical panel was added during the project to protect it from honey.

Throughput and reliability

To set the minimum rate, we first applied 25 labels by hand. It took 11.66 s per jar on average, i.e. 60 / 11.66 ≈ 5.1 jars per minute, rounded to 6 jars/min in the study. Only 15 labels out of 25 were properly centred (within ± 2 mm), i.e. 60 %.

The machine labels 12 jars per minute, i.e. 60 / 12 = 5 s per jar: about 11.66 / 5 ≈ 2.3 times faster than by hand.

The success rate reaches 82 % instead of the targeted 98 %: out of 100 jars, that means 18 failures on average instead of 2 at most. Two causes were identified. The label folds when it comes out too early, before the jar arrives. And the labels gradually drift, so they have to be re-centred by hand about every 20 labels.

Control architecture

A Siemens S7-1200 PLC (CPU 1214C), with a 16-input / 16-output module and a fast-output signal board, reads the sensors and drives the conveyors, the label motor via PWM, the height stepper motor and the cylinders' solenoid valves. The KTP700 touch screen is connected to it via Ethernet. An emergency stop and a safety relay protect the operator.

Control architecture diagram: sensors, S7-1200 PLC, KTP700 screen, actuators, safety and power supplies

Operator interface

The touch screen offers four modes: large jar, small jar, automatic (both sizes, each at its own height) and manual (any jar, at a chosen height). In the first two modes, a jar of the wrong size is sent to the exit without being labelled.

Each mode has its own counter, and the machine can stop by itself once a preset number of jars is reached. The default heights are set in recipes. After an error or an emergency stop, the machine switches to jam mode and waits for the operator to confirm a checklist.

Main menu of the touch screen with the four mode buttons, the counter and the recipes

Review and improvements

In the handover report, we listed what should change in a next version:

3D render of the final labelling unit with the head, the rollers and the jar rotation roller
  • Strengthen the jaws that drive the label roll: the brakes added against drift increase the force they have to transmit
  • Height adjustment: move to shafts at least 14 mm in diameter (8 mm today), hardened after machining, and place a motor next to each shaft rather than a single one slightly off the centre of gravity
  • Decouple the jar rotation from the label feed, so the label can keep being pressed without unrolling a second one

Result

A machine that works end to end: it detects the jar, adjusts the height, applies the label, then moves the jar on.

What I took away

Leading the control side of a real automated machine, from Ladder logic to wiring, in close coordination with the mechanics, on a project with about CHF 7,400 of materials.