Harsiddh Unimach

Capsule Counting Machine Working Principle

Capsule Counting Machine Working Principle

When a patient opens a bottle labelled “60 capsules”, they expect 60 capsules, not 59, not 61, and certainly not 58 whole capsules and a few broken halves. For pharmaceutical and nutraceutical manufacturers, the count on the label is a legal and quality commitment, and it has to be met on every bottle, shift after shift.

The capsule counting machine is what makes that possible. Modern machines count capsules electronically, at high speed and with very low error rates, by turning a heap of loose capsules into a steady stream of individual capsules that can each be detected by a sensor.

This article looks closely at how the counting itself works: how capsules are separated, how sensors see them, how the controller avoids miscounts and how count accuracy is verified. For an overview of the full bottling process, including encapsulation, see our capsule filling machine working principle.

Why Counting Capsules Is a Challenge

Capsules seem easy to count, but several properties make accurate high-speed counting difficult:

Capsule PropertyCounting Challenge
Smooth, glossy shellsCapsules slide and roll, sometimes overlapping
Elongated shapeMust travel lengthwise to pass sensors one at a time
Low weightLight capsules bounce and can be affected by air flow
Sensitivity to humiditySoft, sticky shells in humid conditions; brittle shells in dry conditions
Static chargeCapsules can cling to trays and each other
Range of sizesFrom large sizes to very small sizes on the same machine
Possible defectsDented, split or empty capsules and loose powder

The counting machine’s design addresses each of these points.

The Core Principle: Separate, Then Detect

Every electronic capsule counter works on two simple ideas:

  1. Separate the capsules so that they move in single file with gaps between them.
  2. Detect each capsule as it passes a sensor and add one to the count.

If separation is good, detection is easy and accurate. Most counting errors come from poor separation: two capsules passing the sensor together or so close that they look like one.

Stage 1: Controlled Feeding from the Hopper

Bulk capsules are loaded into a hopper above the machine. The hopper outlet has an adjustable gate that controls how many capsules flow onto the first vibratory tray.

  • Too many capsules create a thick layer on the trays, causing overlapping and stacking.
  • Too few capsules leave the channels underfed, slowing output.

Some machines use a level sensor on the trays to adjust the hopper feed automatically and keep a steady flow.

Stage 2: Vibratory Separation

The capsules move across a series of stepped vibratory trays, usually two or three. Each tray has its own electromagnetic vibrator and its own amplitude setting.

The principle is progressive acceleration:

  • The first tray moves capsules forward slowly and spreads them into a thinner layer.
  • The second tray vibrates more strongly, moving capsules faster, so gaps open up between them.
  • The final tray moves capsules faster still, delivering a single, well-spaced layer to the channels.

Because each tray runs faster than the one before, capsules are pulled apart rather than pushed together, a bit like cars spreading out as they accelerate onto a motorway.

Stage 3: Channelling into Single File

The final tray feeds a channel plate: a series of grooves, each just wide enough for one capsule lying lengthwise. The channels:

  • Turn capsules so they travel end to end
  • Prevent two capsules travelling side by side
  • Keep each lane separate so capsules fall one at a time

Channel width and depth are matched to the capsule size. Changing capsule size usually means fitting a different channel plate. A plate that is too wide allows side-by-side capsules; one that is too narrow causes jams.

Stage 4: Optical Detection

At the end of each channel, capsules fall freely through a sensor window. This is where counting happens.

How the sensor works

Most capsule counters use infrared or photoelectric sensors arranged across the falling path:

  • A row of light emitters sends beams across the fall path.
  • Receivers on the opposite side detect the light.
  • When a capsule falls through, it blocks some of the beams for a brief moment.
  • The sensor electronics register this interruption as an object passing.

Using an array of beams rather than a single beam makes detection reliable regardless of where in the window the capsule falls.

Signal processing

The controller does more than just count interruptions. It analyses each signal to decide whether it represents one capsule:

  • Duration of interruption – a capsule of a known size blocks the beams for a predictable time as it falls.
  • Size of interruption – how many beams are blocked indicates the object’s size.
  • Gap between objects – two signals very close together can be checked to ensure two capsules have been counted.

By comparing each signal with what a good capsule looks like, the system can identify:

  • Single capsules – counted normally
  • Fragments or loose powder clumps – signals too small, flagged as possible defects
  • Doubles – signals too long or too large, which may indicate two capsules together

What the machine does with a suspect signal, whether it counts, alarms or rejects the bottle, depends on the sensor system and its configuration.

Dust compensation

Capsule dust can gradually coat sensor windows and reduce light levels. Many sensor systems monitor their own light levels and compensate automatically, or raise an alarm when cleaning is needed. Regular cleaning remains essential.

Stage 5: Totalising and Gating

Counts from all channels are added together for the current bottle. When the total reaches the set count:

  1. A gate closes or switches over, so further capsules from all channels are directed to a second chamber for the next bottle.
  2. The counted capsules wait in a pre-count chamber until the bottle is ready.
  3. When the bottle is positioned under the funnel, the chamber opens and the capsules drop in.

The gate must act very quickly so that a capsule already falling is directed to the correct chamber. Fast-acting gates and good timing are key to accuracy at high speeds.

Stage 6: Filling the Bottle

The counted capsules fall through a funnel into the bottle. The funnel guides them into the bottle neck without bouncing out. Bottles are positioned by a stopper system or star wheel on the conveyor and then released once filled.

Empty bottles reach the counter via a bottle unscrambler, such as our Automatic Bottle Unscramblers or the bottle unscrambler on Harsiddh Engineering, and are often air-cleaned first, using an Automatic Bottle Air Jet and Vacuum Cleaning Machine or the automatic bottle air-jet and vacuum cleaning machine.

Capsule Counting Machines from Harsiddh

Browse the tablet and capsule counting and filling machines category and the tablet and capsule counting and filling line. For tablet-specific considerations, read our tablet filling machine working principle.

Environmental Factors: Humidity and Static

Humidity

Hard gelatin capsules contain moisture as part of their structure. In high humidity they absorb more, becoming soft and sticky, which can cause them to cling to trays and channels and slow or block feeding. In very low humidity they lose moisture and become brittle, which can lead to cracking when they drop. HPMC (vegetarian) capsules behave differently and are generally less sensitive to low humidity. Room conditions for counting should follow the capsule supplier’s recommendations and your product requirements.

Static electricity

In dry conditions, capsules rubbing against trays and each other can build up a static charge. Charged capsules cling to surfaces, stick together or jump unpredictably, all of which disturb counting. Static is reduced by:

  • Maintaining suitable room humidity
  • Proper grounding of the machine
  • Using anti-static measures such as ionisers where needed
  • Choosing suitable contact materials

Verifying Count Accuracy

Even with excellent sensors, count accuracy must be checked:

  1. Start-up verification – run a set of bottles and count the contents manually.
  2. Challenge test – run a known number of capsules through the machine and confirm the machine count matches.
  3. In-process checks – sample bottles at set intervals and count by hand or by weight.
  4. Checkweighing – an in-line checkweigher rejects bottles whose weight indicates a missing or extra capsule. This works best when capsule weight variation is small compared with the weight of a single capsule.
  5. Visual inspection – check filled bottles for broken capsules, for example on a bottle visual inspection table.

Frequencies and acceptance criteria should be defined in your quality procedures.

After Counting: Closing the Bottle

Counted bottles move on to capping and sealing:

Key Settings and Their Effect on Counting

SettingWhat It ControlsEffect If Wrong
Hopper gateSupply to traysOverlapping or starved channels
Tray vibration amplitudesSeparation and speedDoubles, or capsules bouncing out
Channel plate sizeSingle-file travelSide-by-side capsules or jams
Sensor sensitivity and size limitsWhat counts as one capsuleMissed counts, fragments counted
Count setpointCapsules per bottleWrong pack count
Gate timingSwitching between bottlesCapsules in the wrong bottle
Conveyor and stopper timingBottle position under funnelSpillage

Troubleshooting Capsule Counting Errors

SymptomLikely CauseCorrective Action
Occasional under-countTwo capsules passing togetherReduce feed, adjust vibration for better spacing
Occasional over-countFragments or powder clumps detected as capsulesAdjust size limits, inspect capsule quality, clean sensors
Counts drifting over shiftDust building up on sensorsClean sensors more often, check extraction
Capsules sticking on traysHigh humidity, staticAdjust room humidity, check grounding
Capsules jamming in channelsWrong plate, dented capsulesFit correct plate, check incoming capsules
Cracked capsules in bottlesLow humidity, long dropAdjust humidity, shorten drop
Capsules in wrong bottleGate timingAdjust gate and chamber timing

Maintenance Tips

  • Clean sensor windows at regular intervals during production.
  • Check and empty dust extraction filters.
  • Inspect vibrators, springs and tray mountings.
  • Verify gates and chambers open and close cleanly.
  • Keep channel plates for each capsule size clean, labelled and stored safely.
  • Carry out challenge tests with a known count at defined intervals.

Frequently Asked Questions

What is the working principle of a capsule counting machine? Vibratory trays separate bulk capsules into single file through channels. Each capsule falls through an optical sensor that detects and counts it. When the set count is reached, a gate diverts capsules to the next chamber and the counted capsules drop into the bottle.

How does the machine avoid counting two capsules as one? By separating capsules well with progressive vibration and channels, and by analysing the size and duration of each sensor signal.

Can capsule counters detect broken capsules? Many sensor systems can identify signals that are too small for a whole capsule and flag them, depending on the system.

Why does humidity affect capsule counting? Humid conditions make capsules soft and sticky; dry conditions make them brittle and prone to static. Both affect feeding and counting.

Can the same machine count tablets? Yes. Electronic counters handle tablets and capsules with the appropriate channel plates and settings.


Looking for an accurate capsule counting machine? Contact our team or send an inquiry with your capsule sizes, pack counts and bottle details.

Shopping Cart
Scroll to Top
Get A Quote

Fill out the form below, and our engineering experts will get back to you with a tailored technical proposal within 24 business hours.

    X
    Get A Quote