AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Explainer

Why per-product conveyor speed changes at the handoff, not the batch

Sensors, encoders and machine vision on the machine Published 6 min read By AutomateDirectUSA engineering team

Short answer

Trigger each conveyor's speed change from a photoelectric sensor at its own inlet, where the belt takes the box over, instead of from the feeder's batch change: 2.4 m/min for box type 1, 1.2 m/min for box type 2. Three conveyors of different length then switch at three different moments, as the new batch front reaches each one, and stay fully independent.

On this page
  1. Why the batch change is the wrong trigger
  2. Put the trigger where the belt takes over
  3. Identifying the arriving box type
  4. From trigger to motor speed
  5. Keeping three conveyors independent
  6. Worked example: one batch front through three conveyors
  7. Verifying the switch on the machine
  8. Questions asked

Change each conveyor's commanded speed when the arriving box is detected at that conveyor's inlet, the takeover point, not when the feeder switches batches. For the two 50-part batches used here, the commands are 2.4 m/min for box type 1 and 1.2 m/min for box type 2, and a photoelectric sensor at each receiving conveyor's inlet supplies the trigger: its rising edge makes the controller write the matching speed to that one conveyor's drive. With its own sensor on each belt, the line's three conveyors, of different lengths, switch at three different moments, each when the new batch front actually reaches it. A global speed write at the batch change would instead slow belts still covered with the previous type.

Why the batch change is the wrong trigger #

The feeder's batch change says something about the feeder and nothing about your belts. When the first box of batch 2 is released, every conveyor except the one at the feeder discharge is still carrying batch-1 boxes, and the new front needs real travel time to reach them. Write the new speed to all three drives on that event and each downstream belt runs the wrong command for everything on it; the longer the belt, the longer the error lasts. Responsibility for a box changes at exactly one place, the point where it leaves one belt and the next one takes it over, and that is the event worth triggering on.

Put the trigger where the belt takes over #

Mount a photoelectric sensor across each conveyor's inlet, just downstream of the transfer: through-beam or retro-reflective, aimed so the leading face of a box breaks the beam once the receiving belt carries it. The rising edge of that beam is the trigger. On it, the controller writes the speed for the detected type to that conveyor's drive and no other.

Sensor speed is not what limits you. Photoelectric sensors are documented on quarry belts running at 392 ft/min, about 2 m/s, fifty times the 0.04 m/s of the faster command here, so the precision of the switch comes from beam placement, not sensor response.

Mount and aim the sensor with the belt stopped and the drive locked out, behind the guarding the machine's risk assessment requires at the transfer nip.

Identifying the arriving box type #

The trigger needs to know which type just arrived. When the same controller sequences the feeder, you already know: write the type into a tracking register as each box is released and shift it along the belt, the method described in tracking conveyor parts with an encoder and a FIFO buffer; the inlet trigger then reads the register entry for the box in the beam. When boxes can arrive in an unknown order, classify them physically at the inlet instead: a second beam at a different height for a height difference, the two-sensor length check from the sensor spacing rules for detecting box length with two sensors, or a color-contrast sensor when only the surface differs. Decision: use the declared type whenever your controller runs the feeder, and add physical classification only when the type genuinely cannot be known in advance.

From trigger to motor speed #

Each conveyor gets its own drive, one variable-frequency drive per motor, with the two commands stored as preset speeds and two digital inputs from the controller selecting between them, the standard multi-speed arrangement on most drives. The setup that makes those presets behave is short: the control method, the motor's full-load amps from its nameplate, and the acceleration and deceleration times. Keep the ramps brief. The step between the two commands is only 0.02 m/s, and a 2 s linear ramp shifts following boxes by 0.02 m/s times 2 s divided by 2, which is 0.02 m, about 20 mm. That is a rule-of-thumb figure calculated for these commands, so confirm the gap behaviour at the switch on your line.

Keeping three conveyors independent #

Give each conveyor its own inlet sensor, its own speed register and its own drive, and let the handler for one conveyor write only that conveyor's preset selection. Belt length stops mattering: a 2 m conveyor and a 12 m conveyor each switch when the front crosses their own beams. The only thing that should travel the whole line is the type information riding with the boxes, never the speed write. Wiring one controller output to all three drives' speed-select inputs rebuilds the batch-change behaviour in hardware, which is exactly the thing you are removing.

Worked example: one batch front through three conveyors #

A calculated example, not a measurement. The line: feeder, conveyor A (2 m), conveyor B (6 m), conveyor C (4 m), each with an inlet beam. Batch 1 is 50 boxes of type 1 at 2.4 m/min; batch 2 is 50 boxes of type 2 at 1.2 m/min. Conversions: 2.4 m/min divided by 60 is 0.04 m/s, and 1.2 m/min divided by 60 is 0.02 m/s.

At t = 0 the feeder releases the first type-2 box, and A's beam, sitting at the discharge, switches A within one scan. The front then takes 2 m divided by 0.02 m/s, which is 100 s, to cross A, and a further 6 m divided by 0.02 m/s, which is 300 s, to cross B, so B switches at about 100 s and C at about 400 s. The three switch instants, 0 s, 100 s and 400 s, ripple down the line at the speed of the boxes, each belt waiting its turn.

The cost of the wrong trigger: with a global write at t = 0, a type-1 box 1 m from C's exit is slowed from its batch's command to the other one, and its remaining ride grows from 1 m divided by 0.04 m/s, which is 25 s, to 1 m divided by 0.02 m/s, which is 50 s. Dwell doubled, and the gap behind it compresses.

Trigger precision: allow 10 ms for sensor response plus one controller scan; the belt moves 0.04 m/s times 0.01 s, which is 0.0004 m or 0.4 mm, during that loop, so the switch lands within a millimetre of the beam at the fast command. Aim the beam; do not shop for a faster sensor.

Verifying the switch on the machine #

Watch two consecutive batches and note each conveyor's switch instant; it should coincide with a box crossing that conveyor's beam, not with the feeder's changeover. Confirm the belt actually reaches the command rather than assuming it: read the drive's output frequency, or measure the belt directly, since a wheel sensor held against the return side of the belt turns with it and reports true belt speed, and the controller-side calculation is the one covered in calculating belt speed from a proximity sensor in an S7-1200. The decision, then: one inlet beam per conveyor, the declared type carried in a register, two presets in each drive selected by that conveyor alone, and the batch change left to do nothing but change the batch.

Questions asked

What happens to the boxes already on a belt when it changes speed?

They keep the spacing they entered with. Every box on one belt moves at that belt's current speed, so the gaps set at takeover stay constant, and the spacing step between the two batches forms at the inlet where the speed changes, not mid-belt. Downstream equipment therefore sees two pitches, the wide one from the fast batch and the tight one from the slow batch, with a single transition gap between them.

How do I choose the release interval for two batch speeds?

Spacing is fixed at takeover as belt speed times the interval between arrivals, so size the release interval for the tighter pitch. With a 3 s release interval, boxes land 120 mm apart at the fast command and 60 mm apart at the slow one; if the tight pitch is too small for the downstream station, shorten the release interval while the slow batch runs, since the feeder is already switching between recipes.

Where should the inlet beam sit relative to the transfer point?

One box length past the transfer nose, where the receiving belt fully supports the box. A box bridging the dead plate between two belts is not yet taken over by either one, and a beam at that spot fires on an ambiguous box. With the beam one full box length downstream, every trigger means the receiving belt alone carries the box, which is exactly the condition the speed change should wait for.

What if consecutive boxes touch so the beam never clears between them?

A blocked beam produces no new rising edge at the batch boundary, so edge triggering alone misses the changeover. Keep a running gap of at least a few centimetres between released boxes, enough for the beam to clear between them, or, if the process forbids gaps, count boxes from the feeder and trigger the speed write when the inlet sensor confirms arrival of the box number at which the type changes.

Keep reading

  • Selection guide

    Where to Mount a Proximity Switch for Induction Motor Speed Feedback

    Mount the inductive proximity switch on the motor's own shaft, rear stub if there is one, otherwise the drive-end stretch, sensing a single metal flag whenever the number you need is motor RPM. One flag keeps the pulse rate near 29 Hz at 1750 RPM, far inside a 200 Hz sensor. Use the VFD's estimate when the drive already runs the motor and an estimate suffices; use an encoder when speed is critical to control.

    Sensors, encoders and machine vision on the machine

  • Troubleshooting

    Why Robot Conveyor Tracking Ignores Encoder Speed Changes

    A conveyor-tracking motion that ignores encoder speed has one of three faults: the controller receives no changing count, the count converts to the wrong belt distance, or the executed motion never activates the conveyor reference. Confirm the count changes with belt speed first, calibrate distance per count second, verify tracking activation third — in that order. Speed and acceleration settings cannot supply a missing reference.

    Sensors, encoders and machine vision on the machine

  • How-to

    Wiring a Proximity Switch to Trigger a Robot Gripper and Conveyor

    Wire the sensor's positive and 0 V supply wires to the 24 V DC source and the switched output wire to a robot digital input, taking all three terminal assignments from the sensor datasheet rather than wire color. Confirm the input changes state at Menu > I/O > Digital, then prove the 3-second conveyor run lands the part in the next slot over many cycles, because a timed index only matches the slot pitch while travel stays repeatable.

    Sensors, encoders and machine vision on the machine