Zhejiang Xinsenzheng Automation Co., Ltd.

Industrial Sensor Manufacturer OEM & Application Support Factory-direct Supply

Glass detection guide

What Sensor Detects Glass? Choose by the Job, Not Just the Material

A glass-break alarm, a clear-bottle counter, a through-wall level switch, and an inline thickness system all “detect glass,” but they use different physical principles. Start by defining the event your machine or security system must recognize.

Direct answer: use an acoustic or on-glass vibration detector for breakage; a dedicated transparent-object photoelectric sensor for clear bottles and panes; capacitive sensing for close-range glass or level through a non-metal wall; ultrasonic sensing for suitable presence or distance tasks; and a dedicated displacement or thickness measurement system when a numeric measurement is required.
Broken vs intact glass Clear-bottle detection Level and distance sensing Thickness and position measurement
01 / SECURITY Detect the break event

Use an acoustic detector for room coverage or a compatible vibration detector mounted to the pane.

02 / CONVEYOR Count clear containers

Start with a photoelectric model designed specifically for transparent objects.

03 / LEVEL Sense through glass

Evaluate adjustable capacitive sensing with the real empty and full container states.

04 / DISTANCE Ignore optical transparency

Ultrasonic sensing may suit presence or distance when the surface returns a usable echo.

05 / QUALITY Measure a value

Use a dedicated displacement, confocal, profiler, or thickness system rather than a switch.

The useful answer

A sensor detects a change; define which change matters before choosing the sensor.

“Glass” is not a complete sensing specification. An automation engineer may need a switching output when a clear bottle crosses a conveyor. A filling machine may need liquid level through a glass wall. A quality station may need an actual thickness value. A security installer may need to recognize breaking glass without detecting intact glass at all.

The strongest industrial starting point for an intact clear bottle is usually a transparent-object photoelectric sensor. This is not the same as assuming every standard photoelectric sensor will work. Clear glass can transmit, refract, and reflect the beam in ways that leave too little stable signal change for an ordinary setup.

Before comparing sensing range, answer one question: should the output mean “glass is present,” “glass broke,” “liquid reached this point,” “the surface is this far away,” or “the glass is this thick”?
XSZ industrial photoelectric sensor for object detection applications
Industrial photoelectric sensing is a practical starting point for conveyor detection, but transparent glass requires the correct optical mode and real-sample testing.

Same material, different evidence

Five glass-detection jobs lead to five different sensor families.

Use this map to avoid buying a technically capable sensor that answers the wrong question.

Breakage event

Window security

The system must recognize the acoustic pattern or mechanical vibration associated with damage.

Start with: acoustic or pane-mounted vibration detection
Discrete presence

Bottle or pane

The PLC needs a repeatable ON/OFF signal as intact transparent glass enters the sensing point.

Start with: transparent-object photoelectric sensing
Through-wall state

Liquid or bulk level

The sensor must distinguish empty and filled states through a non-metal container wall.

Start with: adjustable capacitive sensing
Position or distance

Pane location

The controller needs a distance or proximity result that does not depend only on optical opacity.

Start with: ultrasonic or validated optical distance sensing
Numeric inspection

Thickness or flatness

The quality system needs a measured value, tolerance decision, profile, or surface position.

Start with: dedicated displacement or thickness measurement
Cracked safety glass illustrating a glass break detection application
Breakage detection is a security function, not an intact-object presence function. Photo: Engin Akyurt / Pexels.

Security glass-break detection

Acoustic and pane-mounted detectors protect different physical paths.

An acoustic glass-break detector is normally installed in the room and analyzes sound associated with an impact and shatter event. A pane-mounted passive detector instead senses mechanical vibration in the glass. These approaches differ in mounting, coverage, compatibility, testing, and exposure to environmental disturbances.

Acoustic detector Useful when one correctly placed device is intended to monitor compatible glazing in a room. Room geometry, curtains, blinds, background noise, pane size, glass construction, and the exact product instructions matter.
Pane-mounted vibration detector Useful when the sensing element should monitor vibration directly on a supported pane. Mounting position, bonding, pane condition, glass construction, and permitted protection area are model-specific.
Combined security design Some systems combine more than one signal or add door/window contacts and motion detection. Do not assume that “dual technology” always means one universal sound-plus-vibration architecture.
Do not use a generic radius or thickness rule. Official security datasheets list supported glass types, thicknesses, pane sizes, mounting limits, environmental tests, and product-specific coverage. Select and commission the exact model according to its instructions.

Application selector

Which sensor should detect your glass?

Select the result your system needs. The recommendation is a starting principle, followed by the evidence that should be tested before release.

What must the system detect?

Recommended starting point

Transparent-object photoelectric sensor

Use a model documented for transparent glass or containers. Retro-reflective transparent-object designs are common because the sensor evaluates a controlled return path from a reflector.

Test clear and tinted bottles, empty and filled states, labels, seams, wet surfaces, bottle wobble, line speed, reflector contamination, and minimum signal margin.
Glass bottles moving through an industrial production line
Bottle shape, movement, contents, labels, condensation, and background all affect the real detection margin. Photo: Mark Stebnicki / Pexels.

Transparent-object photoelectric sensing

Clear bottles need a controlled optical reference and enough signal change.

Standard diffuse sensing depends on light returning from the target. A clear, curved bottle may return too little light to the receiver or direct it away from the sensor. A standard through-beam or retro-reflective setup may also leave too much light at the receiver when the transparent target enters the path.

A dedicated transparent-object sensor is designed to evaluate the smaller optical change created by clear glass, film, trays, or bottles. Official OMRON transparent-object product documentation, for example, identifies glass bottles among supported workpieces and explains optical designs intended to reject unstable refracted light. That is useful evidence for the sensing principle, but it does not make every glass bottle equivalent.

Use the exact reflector and optical mode A reflector, polarization method, sensor geometry, and sensitivity range are part of the sensing system rather than interchangeable accessories.
Teach every real bottle state Include empty, filled, capped, labeled, unlabeled, clear, tinted, wet, dry, round, flat-sided, and worst-position samples.
Aim away from unstable highlights Curvature, embossed logos, seams, threads, and glossy labels can steer or concentrate the beam as the container moves.
Record margin, not only ON/OFF success Commission with contamination, vibration, ambient light, tolerance, and alignment reserves rather than one clean sample.

Optical mode comparison

Retro-reflective is a common starting point, but geometry can change the better optical method.

Choose the layout according to mounting access, target shape, desired margin, and the specific transparent-object capability stated by the manufacturer.

Optical arrangement How it detects Where it can fit Main glass risk Validation focus
Transparent-object retro-reflective Measures a change in the controlled light returned from a reflector. Conveyors and packaging lines where electrical wiring on one side is preferred. Insufficient attenuation, bottle lensing, shiny labels, reflector contamination, or misalignment. Exact reflector, teach method, clear/filled states, shape, speed, and cleaning interval.
Transparent-object through-beam Measures a change between a separate emitter and receiver. Applications with two-sided mounting access and a stable beam path. Some transparent targets reduce the beam too little unless the model is designed for them. Target attenuation, receiver threshold, optical axis, line vibration, and cable routing on both sides.
Diffuse / distance-settable Uses light returned from the target, sometimes with distance evaluation. One-sided mounting when the glass surface or edge provides a usable and repeatable return. Transparency, angle, curvature, background, and surface coating can shift the return. Every orientation, background distance, tint, coating, edge condition, and mounting angle.
Fiber optic head with amplifier Moves the optical sensing point into a small or constrained area. Compact stations, narrow access, small glass parts, edges, or precision feeding. A small head does not automatically solve transparent-object contrast. Fiber head geometry, spot size, amplifier mode, bend routing, contamination, and sample margin.

When light is not the best evidence

Capacitive and ultrasonic sensors solve different non-optical glass tasks.

Neither is a universal replacement for photoelectric sensing. Each responds to a different physical change and has its own installation limits.

1

Capacitive proximity sensing

The sensor detects a change in capacitance near its sensing face. It can respond to glass and to liquids, powders, pellets, or other materials through a non-metal wall when the wall, contents, mounting, and sensitivity create a separable signal.

Best starting use: a close-range glass part or a point-level check through a glass container.

2

Ultrasonic presence or distance

The sensor transmits sound and evaluates an echo. OMRON guidance notes stable detection of transparent films, glass bottles, plastic bottles, and plate glass with suitable ultrasonic arrangements, while also describing temperature error and multiple-reflection risks.

Best starting use: suitable glass presence or distance where optical transparency is the main challenge.

3

Why the geometry still matters

A flat pane can reflect ultrasound away from the receiver when the angle changes. Nearby frames can create unwanted echoes. Capacitive sensing can drift with buildup, moisture, grounding, surrounding metal, wall thickness, or changing material density.

Validation rule: test the worst position and environment, not only a clean target centered in front of the sensor.

Industrial worker handling a large glass sheet in a manufacturing environment
Flat-glass quality control may require surface position, edge, profile, warpage, or thickness data rather than a simple presence output. Photo: Hanna Alves / Pexels.

Measurement is not presence sensing

For thickness, height, or flatness, specify the measurement result and tolerance first.

A proximity switch answers whether a target crossed a switching point. A measurement sensor returns a numeric position, displacement, profile, or thickness result. Conflating these two functions is a common cause of under-specified inspection stations.

Glass creates additional optical questions: which surface should be measured, whether multiple interfaces are visible, whether the surface is coated or mirrored, whether the target is curved, and whether the system can access one or both sides. Dedicated confocal displacement sensors are one established non-contact option for transparent surfaces. Laser triangulation, 2D/3D profilers, machine vision, and ultrasonic thickness instruments may fit other geometries.

Presence or edge only Use a switching sensor if the controller only needs a repeatable boolean state.
Surface height or position Use a displacement sensor whose stated target capability includes the glass surface and angle.
Thickness Confirm whether the instrument evaluates two optical interfaces, uses two opposed heads, or uses a dedicated ultrasonic method.
Flatness, profile, or defects Define field of view, spatial resolution, cycle time, allowed motion, coating, defect size, and data interface before selecting the system.
Do not transfer a sample accuracy, temperature rating, or thickness range from one measurement model to another. Use the exact datasheet and confirm performance on representative glass.

Robots and automatic equipment

Transparent obstacles deserve a validated sensing layer, not a blanket claim about lidar or infrared.

Optical ranging can become unreliable on transparent, highly reflective, coated, angled, or low-return surfaces. The exact behavior depends on wavelength, optical method, sensor algorithm, geometry, background, and surface condition. Ultrasonic sensing can add a non-optical observation, but its echo quality and blind zone must also be validated.

System question Possible sensing layer What it contributes What must be tested
Is a pane or glass door present? Dedicated transparent-object photoelectric, validated optical ranging, ultrasonic, or a combination A direct presence or distance observation at the relevant zone Angle, frame, edge, tint, coating, background, open/closed positions, and minimum detectable area
Is a person in a doorway? A door system designed and certified for its required activation and safety functions Person detection and monitored protective behavior defined by the door system Applicable regulations, full detection field, approach paths, stationary presence, commissioning, and periodic test
Can a mobile robot avoid glass? Validated multi-sensor perception with a dedicated near-field safeguard where required Redundant observations across different physical principles or viewing geometries Every glass type, lighting state, door position, angle, height, frame, edge, contamination, and failure response
For safety-related doors or machinery, use the applicable certified safety system and risk assessment. A general-purpose proximity or photoelectric sensor should not be presented as a complete safety function.

Conditions that change the result

Six glass details can overturn the first sensor choice.

Use these factors to define worst-case samples and prevent a successful bench test from becoming an unstable production station.

01 / GLASS CONSTRUCTION

Clear, tinted, coated, laminated

Transmission, reflection, sound response, internal layers, and surface behavior vary. List every glass construction the system must accept.

02 / SHAPE

Flat, curved, hollow, textured

A bottle can act like a changing lens, while a tilted pane can steer optical or ultrasonic energy away from the receiver.

03 / CONTENTS

Empty, filled, labeled, capped

Liquid, bubbles, foam, labels, print, seams, closures, and condensation can change the signal more than the glass wall itself.

04 / BACKGROUND

Reflector, frame, machine panel

The sensor may react to the background through the glass or to a nearby machine surface instead of the intended target.

05 / ENVIRONMENT

Water, dust, oil, vibration, light

Contamination changes optical transmission and capacitive baselines; vibration shifts alignment; temperature affects ultrasonic distance.

06 / MACHINE BEHAVIOR

Speed, wobble, spacing, tolerance

Confirm response time, output timing, target dwell, minimum gap, PLC filter, bracket rigidity, and the full mechanical tolerance stack.

Selection request checklist

Send these eight facts for a useful glass-sensor recommendation.

A clear application brief is more valuable than asking for “a sensor that detects glass.” It lets the supplier compare optical, capacitive, ultrasonic, and measurement options against the same requirement.

1

Required result

Presence, absence, count, level, breakage, edge, distance, thickness, profile, or defect decision.

2

Real glass samples

Photos plus clear/tinted/coated/laminated state, dimensions, wall thickness, shape, surface, and permitted variation.

3

Every operating state

Empty, filled, capped, labeled, wet, dry, clean, dusty, hot, cold, stationary, moving, and worst orientation.

4

Mounting geometry

Working gap, access on one or both sides, bracket space, target angle, background distance, frame, and available reflector position.

5

Motion and timing

Line speed, target dwell, spacing, wobble, cycle rate, required response, output pulse, and PLC input filtering.

6

Environment

Ambient light, washdown, dust, oil mist, condensation, vibration, temperature, chemicals, cleaning method, and IP requirement.

7

Electrical interface

Supply voltage, NPN or PNP, normally open or normally closed, analog or switching output, connector, cable, and controller input.

8

Acceptance criteria

Allowed misses and false trips, measurement tolerance, diagnostics, maintenance interval, safety role, and test record required.

1. Establish clean margin

Teach or align with representative good and no-target states. Record the stability indicator or measured signal where available.

2. Run worst samples

Use the least favorable tint, coating, fill, label, angle, speed, position, thickness, and mechanical tolerance.

3. Add environment

Repeat with realistic light, moisture, contamination, vibration, temperature, and surrounding machine surfaces.

4. Record production evidence

Log misses, false trips, switching position, measurement spread, fault behavior, and cleaning or retuning needs before approval.

Troubleshooting by symptom

Use the failure pattern to decide whether to retune, remount, or change principle.

Do not immediately increase sensitivity. That can hide poor geometry and create false trips when the background or contamination changes.

Observed problem Likely cause First checks When to change approach
Clear bottle is missed Standard optical mode, too little signal change, bottle lensing, wrong reflector, or threshold set from one easy sample. Verify transparent-object capability, reflector, beam location, teach procedure, empty/filled states, and worst bottle position. Compare another transparent-object optical design or ultrasonic sensing when geometry prevents stable optical margin.
One bottle gives multiple counts Seams, ribs, neck, label, contents, or wobble repeatedly crosses the switching threshold. Move the sensing point, check stability indication, adjust response or PLC debounce, and test all permitted bottle orientations. Use a sensor and optical geometry intended for the container, or add validated timing logic based on the process.
Capacitive level drifts Moisture, residue, wall variation, nearby metal, grounding, density, temperature, or excessive sensitivity. Compare empty/full signal, clean the wall, stabilize mounting, review surroundings, and follow the exact adjustment instructions. Consider another point-level principle if the empty and full states cannot maintain separation across the process range.
Ultrasonic distance jumps Angled glass, multiple reflections, frame echoes, temperature variation, blind zone, or target movement. Review beam alignment, target angle, nearby surfaces, mounting rigidity, temperature compensation, and valid measurement window. Change mounting geometry, use a suitable through-beam arrangement, or evaluate another distance technology on the real pane.
Glass-break alarm is unreliable Unsupported glass construction, poor mounting location, room acoustics, obstruction, environmental noise, or incorrect test method. Use the product's approved tester and installation instructions; verify pane type, size, thickness, room geometry, and mounting position. Select another listed model or architecture when the glazing or environment is outside the documented application.
Thickness value changes with angle Wrong measurement principle, optical-axis error, multiple interfaces, coating, vibration, or target tilt beyond the model capability. Confirm the intended surface pair, alignment, fixture, target optical properties, sampling, and the manufacturer's glass application notes. Move to a glass-capable confocal, profiler, opposed-head, or dedicated thickness system suited to the required tolerance.

XSZ application support

Send the actual glass, machine geometry, and output requirement before the model is fixed.

XSZ can compare proximity and photoelectric sensing options for bottle, pane, level, presence, counting, and OEM machine applications. Include representative samples or photos, sensing distance, speed, background, environmental conditions, PLC input, cable or connector, and required quantity.

Continue the selection

Compare the nearby sensing principles before requesting a model.

Frequently asked questions

Questions about sensors that detect glass

What is the best sensor for detecting clear glass bottles?

Start with a photoelectric sensor specifically documented for transparent objects, often a transparent-object retro-reflective design. Verify the exact reflector and teach method, then test empty and filled bottles, labels, seams, tint, condensation, movement, background, and contamination. Ultrasonic sensing is another candidate when the optical setup cannot maintain margin and the bottle geometry returns a suitable echo.

Can a standard photoelectric sensor detect glass?

Sometimes, but it should not be assumed. A glass edge, coating, label, tint, angle, background, or curved surface may create enough optical change for one setup while another clear pane or bottle passes with an unstable signal. Use a model and optical arrangement documented for the target condition, then test the real glass across all allowed positions and states.

Can a capacitive proximity sensor detect glass?

Yes, a capacitive proximity sensor can respond to glass because the target changes capacitance near the sensing face. It may also detect liquid or bulk material through a non-metal glass wall. The usable gap depends on the exact sensor, target size, wall, contents, mounting, surrounding metal, grounding, moisture, residue, and sensitivity setting, so empty and full states must be validated.

Can an ultrasonic sensor detect transparent glass?

Ultrasonic sensing does not rely on optical opacity, and official manufacturer guidance lists glass bottles and plate glass among suitable transparent targets for supported arrangements. However, a smooth pane can reflect sound away when angled, and frames or nearby surfaces can create multiple echoes. Check the model's blind zone, beam geometry, temperature behavior, and real mounting environment.

What sensor detects a window breaking?

Use a security glass-break detector designed for that function. Acoustic models analyze sound associated with breaking glass, while passive pane-mounted detectors analyze mechanical vibration in the glass. Supported glass type, pane size, thickness, mounting, coverage, environment, and approved test method are product-specific and should come from the exact security datasheet.

What sensor measures glass thickness?

Use a dedicated thickness measurement system, not a simple proximity switch. Depending on the glass and geometry, options include confocal displacement sensing, opposed displacement heads, laser profiling, machine vision, or a dedicated ultrasonic thickness instrument. Define the relevant surfaces, coating, curve, access, tolerance, speed, and measurement environment before selecting the method.

Does tinted, laminated, or coated glass need a different sensor?

It may. Tint and coating can alter optical transmission and reflection; lamination can change acoustic and mechanical breakage behavior; layers can create multiple optical interfaces during measurement. Do not rely on the generic word “glass.” List every construction and test the worst-case sample with the exact sensor and setup.

How should I test a glass detection sensor before ordering in volume?

Test several real worst-case samples at minimum and maximum gap, every allowed angle and orientation, actual speed, empty and filled states, labels and seams, temperature limits, and realistic clean, wet, dusty, or built-up conditions. Record misses, false trips, switching position or measurement spread, signal margin, fault behavior, and maintenance needs before approving the model.

Evidence and media

References and image credits

Technical references

  1. OMRON E3S-DB Transparent Object Detection Photoelectric Sensor — glass bottles, PET bottles, films, and trays.
  2. OMRON E3ZM-B Transparent Object Sensor — transparent PET, resin, and glass workpieces.
  3. OMRON Ultrasonic Sensors: Further Information — transparent targets, temperature effects, reflection, and multiple echoes.
  4. OMRON Proximity Sensors Technical Guide — capacitive sensing principle.
  5. KEYENCE Measurement Sensors for Glass — non-contact glass position, profile, and thickness applications.
  6. Bosch RADION Glassbreak Datasheet — acoustic detection principle and model-specific glass compatibility.
  7. Bosch Passive Glass Break Detector Datasheet — pane-mounted mechanical vibration detection and installation limitations.

Image credits

  1. Glass manufacturing hero and CTA images: Keegan Checks / Pexels.
  2. Glass bottle production line: Mark Stebnicki / Pexels.
  3. Cracked safety glass: Engin Akyurt / Pexels.
  4. Industrial flat-glass handling: Hanna Alves / Pexels.
  5. Industrial photoelectric sensor image: XSZ Sensor.

Technical examples illustrate sensing principles and product-specific capabilities, not universal performance for every glass target. Final model selection should follow the exact datasheet, application test, and any applicable safety or security requirements.

Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
Click outside to hide the comparison bar
Compare