An ultrasonic sensor measures with bursts of sound, not with an instantaneous geometric ray. After transmitting, it waits for echoes, processes the return, applies output logic, and begins another measurement. On a moving conveyor, that cycle consumes distance. Two parts that are clearly separated to the eye can therefore appear as one continuous detection if the sensor, filter, or controller cannot observe the gap long enough.
Start with the acoustic round trip
Sound must travel from the transducer to the target and back. Greater sensing distance requires more travel time. The sensor also needs a quiet interval so late echoes from one pulse are not confused with the next. Manufacturer data captures these internal limits in values such as response time, switching frequency, or measurement cycle. Use the definition provided for the exact output mode because analog updates, switching outputs, synchronization, and multiplex operation may differ.
The acoustic travel is only the first layer. Signal evaluation, averaging, hysteresis, on-delay, off-delay, and PLC input filtering add latency. A controller task may see the changed input one scan later, and the motion system may use it another task later. The complete detection path determines how much conveyor travel occurs before a usable state change.
Convert time into conveyor distance
For a known conveyor speed, the distance traveled during a response interval is speed multiplied by time. Apply that conversion to the part and the gap. The part must remain in the usable sound field long enough to create a valid detection. The gap must remain visible long enough for the sensor output to release, for the input and software filters to accept the release, and for the control logic to record a distinct trailing edge before the next leading edge arrives.
Do not use only the nominal belt speed. Include the highest permitted speed, acceleration zones, slip, part skew, and the surface point that enters the beam first. A tilted carton can shorten the apparent gap at the sensor even when the center-to-center pitch is unchanged.
Target geometry changes echo duration
An ultrasonic beam has width. A wide target begins reflecting when its leading edge enters the effective beam and can continue reflecting until its trailing edge leaves. Rounded, angled, porous, or textured surfaces change the returned energy. A gap may contain a rail, belt feature, or background that also produces an echo, preventing the output from returning to the clear state.
Map the sensing cone and background at the installed distance. Use the smallest and largest approved parts, including damaged packaging or overlapping flaps. If the sensor supports a teach window or background suppression behavior, confirm which echoes are accepted through the whole motion path.
Filtering trades stability for separation
Averaging and persistence filters reduce chatter from weak or intermittent echoes, but they also smooth short gaps. An off-delay deliberately holds detection after the echo disappears. A PLC debounce can erase the same gap a second time. Document every filter in the chain and calculate their combined worst-case effect rather than tuning each device independently.
Select the smallest filtering that produces stable decisions under representative vibration, temperature, airflow, and target variation. If stable detection requires a filter longer than the available gap, the station architecture—not the threshold—needs to change. Options include reducing speed, increasing pitch, moving the sensor closer, choosing a faster device, using a more suitable sensing principle, or adding a trigger that constrains the measurement interval.
Triggered and multiplexed systems need a schedule
Multiple ultrasonic sensors can interfere when one transducer hears another's pulse. Synchronization or multiplexing avoids cross-talk but reduces how often each sensor measures. A four-position multiplex group may give each channel only a fraction of the aggregate update opportunities. Use the vendor's stated timing for the selected synchronization arrangement.
External triggering can align a measurement with a known part position, but trigger latency and jitter still matter. Draw a timeline from trigger source through sensor measurement, output, controller capture, and actuator command. Confirm that the trigger cannot arrive while the previous echo window is still active.
Separate measurement validity from output state
A switching output may remain on while measurements are temporarily uncertain. An analog value can update at a specified cycle yet still be filtered. If the sensor exposes diagnostic or validity information, capture it alongside the process value. Do not interpret a held last value as proof that the target remained present.
For counting, edge quality matters more than a stable mid-part reading. Record raw or fastest available status during commissioning and compare it with the filtered signal used by production logic. This reveals whether missed counts originate acoustically, inside sensor filtering, at the input module, or in the application task.
Test at the process corners
Run the maximum belt speed, minimum allowed gap, shortest part, lowest expected echo, and worst background. Repeat with maximum part height and at temperature extremes because sound speed and sensor compensation can affect distance behavior. Introduce the approved amount of vibration and contamination. Capture transmit or trigger timing where available, sensor output, PLC input, task execution, encoder position, and final count.
Then test abnormal sequences: two touching parts, a gap below specification, a stopped part under the beam, a removed part, and a restart with a part already present. Define whether each case should count, alarm, stop, or be rejected downstream.
Maintain an explicit timing budget
The released design should state sensing distance, target assumptions, sensor mode, response or cycle data, filter values, maximum speed, minimum part length, minimum gap, controller task period, and measured margin. If production later increases speed or adds filtering to suppress noise, the budget makes the loss of separation visible before missed parts become a quality incident.
Ultrasonic sensing is reliable when its acoustic and digital timing fits the material flow. Space between parts is useful only when the system can observe that space as time. Designing the complete response chain turns a vague “fast enough” claim into a testable counting and presence-detection envelope.
Sources checked November 4, 2026:
Pepperl+Fuchs, UB500 ultrasonic sensor datasheet, including response time and switching frequency:
https://files.pepperl-fuchs.com/selector_files/navi/productInfo/edb/130227_eng.pdf
Pepperl+Fuchs, ultrasonic sensor technology overview:
https://www.pepperl-fuchs.com/global/en/classid_182.htm
Illustration note: The accompanying image is an AI-generated concept. It is not a manufacturer timing diagram, test result, or deployment record.