» Through-Wall (非接触) Optical Water Level Sensing

Through-Wall (非接触) Optical Water Level Sensing

6 月 2, 2026

Sensing water level through wall using an optical sensor is attractive because it can avoid drilling the tank, adding wetted parts, or creating another leak point. For clear tubes, translucent plastic reservoirs, glass sight windows, and some clean container walls, an external optical or IR sensor can detect a liquid boundary from outside.

The limitation is just as important: this method does じゃない work through every tank. Opaque plastic, メタル, painted surfaces, thick walls, curved dirty walls, 泡, 凝縮, and strong ambient light can make through-wall optical sensing unreliable. In many industrial, 純正, or safety-critical systems, an in-tank optical switch is still the more dependable choice.

Why Engineers Want Through-Wall Water Level Detection

A non-contact external water level sensor is useful when the tank cannot be opened or when the liquid should not touch the sensor. This is common in small appliances, medical or lab containers, beverage equipment, battery water reservoirs, 冷却タンク, chemical dosing systems, and prototype enclosures.

The appeal is simple:

  • No hole in the tank wall
  • No direct contact with water or chemical liquid
  • Easier retrofit on existing containers
  • Lower contamination risk
  • Faster assembly for some OEM designs
  • Sensor can be replaced without draining the tank

しかし, “non-contact” does not mean “works anywhere.” Optical sensing depends on light behavior. If the wall blocks, scatters, absorbs, 反映, or distorts the IR beam too much, the sensor cannot clearly distinguish dry wall from liquid behind the wall.

That is why through-wall optical level detection should always be treated as a feasibility-based design, not a universal replacement for an 光学レベルセンサー installed directly into the tank.

How External Optical / IR Water Level Sensing Works

Most optical liquid level sensors use an infrared LED and a phototransistor or photodiode receiver. In a standard in-tank optical switch, the sensor has a prism tip. プリズムが乾いているとき, infrared light reflects internally back to the receiver. 液体がプリズムを覆うとき, the refractive index changes and less light returns. The electronics convert this optical change into an ON/OFF signal.

External through-wall sensing uses a related idea, but the optical path is harder to control. Instead of the sensor tip touching the liquid, the IR light must pass through or reflect from the container wall, then change when water is present behind that wall.

Depending on the sensor design, the method may use:

  • Reflection change: the receiver detects a different reflected signal when liquid is behind the wall.
  • Transmission change: light passes through a tube or wall, and the receiver reads the difference between air and liquid.
  • Refraction change: the liquid changes the optical path enough to create a detectable state difference.
  • Threshold comparison: the circuit compares dry-wall and wet-behind-wall signal levels and switches output when the difference is stable.

This is why external optical sensing is more sensitive to wall material, 壁の厚さ, カラー, curvature, surface finish, liquid clarity, and installation alignment than an internal optical switch.

The Biggest Constraint: The Wall Must Allow Useful Optical Signal

A through-wall optical sensor needs a wall that lets enough usable infrared or visible light reach the receiver. The best candidates are usually transparent or translucent materials with consistent thickness and clean surfaces.

Clear glass, clear acrylic, transparent polycarbonate, and some natural or milky translucent plastics can work after testing. Thin clear tubing is often easier than a flat tank because the sensor can clamp around a known diameter and read a smaller optical path.

But a black plastic tank, stainless steel tank, painted metal housing, thick opaque wall, or heavily colored container will normally block or distort the signal. そういう場合, an external optical sensor may not produce a stable dry/wet difference.

This is the key rule: through-wall optical water level sensing is practical only when the wall and environment support optical detection. It should not be specified blindly for any opaque tank.

Through-Wall Feasibility Table

Container wall / 状態Feasibility for external optical sensingMain reasonBetter option if unreliable
Clear glass wallGood candidateAllows optical signal to pass or reflect predictablyTest for thickness, curvature, 凝縮
Clear acrylic or PC plasticGood candidateUsually supports IR/visible transmissionConfirm wall thickness and color
Transparent small tubeGood candidateStable geometry and short optical pathClamp-on external optical sensor or tube sensor
Milky translucent plastic可能性はありますSome light can pass, but scattering may reduce contrastTest with real liquid and wall sample
Colored transparent plasticPossible but riskyDye can absorb IR or change signal thresholdTest actual material, not a sample of different color
Thick plastic wallUncertainSignal loss and internal scattering increaseUse stronger optical design or in-tank switch
Curved molded reservoirUncertainCurvature can bend/refocus light unpredictablyUse fixed bracket and real-unit testing
Condensation on wallRiskyDroplets can mimic liquid or scatter lightAdd shielding, 清掃計画, or internal sensor
汚い, scaled, or oily wallRiskyFilm changes reflection and transmissionUse direct-contact sensor or maintenance access
Foamy or bubbly liquidRiskyAir bubbles and foam can cause unstable readingsAdd filtering, delay logic, or in-tank optical switch
Black or opaque plasticUsually not suitableBlocks useful optical signalIn-tank optical switch, 容量, 超音波, or float
Painted tank wallUsually not suitablePaint blocks or changes optical pathIn-tank switch or top-mounted sensor
Metal tank wall不適切ですMetal blocks optical transmissionIn-tank optical switch, サイトグラス, 超音波, レーダー, or float
Outdoor sunlight exposureRiskyAmbient IR can interfere with receiverUse optical shielding, modulation, or different sensor method

肉厚, カラー, and Shape Matter More Than Many Buyers Expect

When buyers ask whether an optical sensor can detect water through a wall, they often focus only on material: “It is plastic, will it work?「もっと良い質問はこうだ: what plastic, what color, what thickness, what surface finish, and what liquid condition?

A thin clear plastic wall may give a strong difference between air and water. A thicker version of the same plastic may reduce the signal enough that the switch becomes unstable. A lightly tinted wall may work in visible light but absorb infrared. A molded radius can reflect the beam away from the receiver. A rib, seam, ラベル, glue line, or internal baffle can create false readings.

OEMプロジェクト用, the best practice is to test the sensor using the actual tank material, final wall thickness, real liquid, real mounting position, and expected operating environment. Testing only on a clean lab cup can create misleading confidence.

Clean Conditions Are Part of the Specification

Through-wall optical detection works best when the wall stays optically consistent. Anything that changes the wall surface can change the reading.

Common failure modes include:

  • Condensation on the outside of a cold tank
  • Water droplets running down the wall
  • Limescale or mineral buildup inside the container
  • Oil film or chemical residue
  • Scratches from cleaning
  • Bubbles stuck to the inner wall
  • Foam at the detection height
  • Direct sunlight or reflective machine lighting
  • Sensor bracket movement after vibration
  • Wall deformation when the tank is filled or pressurized

These are not minor details. For a coffee machine reservoir, aquarium side wall, coolant bottle, or chemical container, surface condition may decide whether the external optical method is stable enough for production.

For low-voltage detection modules, HojellyTekの項目を参照してください IR water sensor page for related infrared sensing concepts.

External Optical Sensor vs In-Tank Optical Switch

An external optical sensor is best when avoiding tank penetration is the main priority and the wall is optically suitable. An in-tank optical switch is best when the reading must be more controlled and repeatable.

Design choiceExternal through-wall optical sensingIn-tank optical level switch
Tank penetration必須ではありません必須
Wetted partsNone from sensorSensor tip contacts liquid
Best wall typeClear or translucentWall material less important
Opaque tank compatibilityUsually poorGood if sensor can be mounted into tank
Sensitivity to condensation高い下げる
Sensitivity to wall color/thicknessハイ低め
Installation repeatabilityNeeds careful alignmentMore repeatable after mounting
メンテナンスSensor replaceable outsideMay need tank access
最適な用途Clean clear wall, retrofit, 試作機, small reservoirOEM機器, アラーム, ポンプ保護, 産業用タンク

The in-tank version has a more defined optical path because the prism tip directly contacts air or liquid. This is why it is often more reliable for pump dry-run protection, オーバーフロー防止, 低レベル警報, and equipment interlocks.

How In-Tank Optical Switches Work Differently

A typical in-tank optical liquid level switch places the prism tip inside the tank. The sensor body may be made from PSU, PTFE製, 316 ステンレススチール, グラス, or other materials depending on the liquid, 温度, 洗浄プロセス, および機械的要件.

When dry, プリズムは赤外線を受信機に反射します. When the liquid reaches the prism, the light path changes and the electronics switch state. This produces a clean point-level signal such as high level, 低レベル, 空の, 満杯, or no-liquid condition.

Common configuration options include:

  • NPN or PNP transistor output for PLC or controller input
  • Digital ON/OFF output for small appliances and control boards
  • 4–20 mA output for continuous or transmitter-style systems where applicable
  • Threaded mounting such as small panel threads, 1/4 NPT-style mounting, or custom OEM threads
  • Flange or bracket mounting for special tanks
  • ケーブル, コネクター, or PCB-mounted versions
  • Normally open or normally closed logic depending on control design

Material selection matters. PSU is often used for compact plastic sensor bodies. PTFE is preferred for chemical resistance. 316 stainless steel is used where mechanical strength or industrial compatibility is needed. Glass can be useful for certain chemical or high-temperature sensing environments. The final choice should match the liquid, 洗浄方法, 圧力条件, および設置構造.

When Through-Wall Optical Sensing Makes Sense

External optical/IR water level detection is worth testing when the application has most of these conditions:

  • The wall is clear or translucent.
  • The detection point is flat or has a repeatable shape.
  • The liquid is reasonably clear and stable.
  • The container wall stays clean.
  • The installation is indoors or shielded from strong ambient IR.
  • The system can tolerate calibration or threshold setting.
  • The sensor bracket can hold alignment over time.
  • The application is a level indication or non-critical control, not a dangerous shutdown system.

Examples may include small appliance water tanks, transparent chemical bottles, clear drain containers, lab reservoirs, humidifier tanks, aquarium side-wall detection, and prototype water-level projects. For DIY testing concepts, ホジェリーテック DIY optical sensor article is a useful starting point.

When an In-Tank Optical Switch Is More Reliable

Choose an in-tank optical switch instead of external through-wall sensing when:

  • The tank is opaque, 黒い, painted, 金属とも.
  • The wall is too thick or optically inconsistent.
  • The liquid leaves residue, スケール, 油, 泡, or bubbles.
  • The tank is exposed to sunlight or washdown conditions.
  • The signal controls a pump, ヒータ, バルブ, or safety alarm.
  • The product must behave consistently across mass production.
  • The OEM cannot guarantee identical tank material from batch to batch.
  • The sensor must work after months of use, not only during clean testing.

For outdoor water-level or remote monitoring projects, the sensor choice may also depend on power, 通信, 囲い込み, および設置環境. ホジェリーテック 地下水モニタリング resource discusses related sensing considerations for field applications.

What Buyers Should Check Before Ordering

Before choosing any external or internal optical level sensor, prepare the following information for the supplier:

  • Tank wall material: グラス, アクリル, PC, PPの, PE, PVC, メタル, またはその他
  • Wall color and transparency
  • Wall thickness at the detection point
  • Flat or curved surface shape
  • 液体タイプ: 水, 冷却液, 油, 化学薬品, 飲料, 廃水
  • Whether the liquid is clear, 有色人種, 泡沫, bubbly, or scaling
  • Expected condensation, 塵, オイルミスト, or cleaning chemicals
  • Indoor or outdoor installation
  • 必要な出力: NPN, PNP, デジタルロジック, リレーモジュール, またはアナログ信号
  • 電源電圧とコントローラ入力タイプ
  • Required mounting: external bracket, ねじ込みマウント, フランジ, パネルマウント, またはカスタムハウジング
  • ケーブルの長さ, コネクター, and wiring requirements
  • フェイルセーフロジック: alarm when wet, alarm when dry, 通常は開いています, or normally closed
  • Sample quantity for testing before production

For through-wall detection, sending real tank samples or wall material pieces is especially useful. A supplier cannot honestly guarantee external optical sensing on an unknown wall without testing.

HojellyTek’s Role in Optical Level Sensing Projects

HojellyTek is a Shenzhen manufacturer and exporter focused on photoelectric optical sensing and liquid level sensor solutions. Our team supports OEM/ODM projects for compact optical switches, infrared water detection modules, customized housings, ケーブルアセンブリ, and application-specific mounting designs.

For external through-wall sensing, we help buyers evaluate feasibility instead of promising universal performance. For applications where the wall is not suitable, we can recommend an in-tank optical switch, material upgrade, mounting adjustment, or alternative sensing structure.

Our projects commonly involve buyers in the US, 私たちは, インド, その他の輸出市場. Tuya/Smart Life integration can be discussed where the project requires smart water-level monitoring, アプリのアラート, or connected device development.

よくある質問

Can I use sensing water level through wall using an optical sensor on any plastic tank?

いいえ. It depends on the plastic type, カラー, thickness, surface finish, and cleanliness. Clear or translucent plastic may be feasible. Opaque, 黒い, thick, painted, or dirty plastic usually does not provide a reliable optical signal.

Can an IR sensor detect water through glass?

It can be possible through clean, clear glass, especially if the wall is not too thick and the sensor is aligned correctly. 凝縮, curvature, tinting, 垢, and ambient light can still affect the result, so real glass testing is required.

Why does an opaque tank usually fail with external optical sensing?

External optical sensing needs usable light transmission or reflection. Opaque walls block or scatter the IR signal, so the sensor cannot clearly detect the difference between air and water behind the wall.

Is a through-wall optical sensor better than a capacitive sensor?

常にとは限りません. Optical sensing can be good for clear walls and clean liquids. Capacitive sensing may work better through some non-metallic opaque walls, but it also depends on wall thickness, liquid dielectric properties, and interference. The best choice depends on the tank and liquid.

When should I choose an in-tank optical level switch?

Choose an in-tank optical switch when the tank wall is opaque, 汚い, thick, or inconsistent, or when the signal controls important functions such as pump dry-run protection, オーバーフロー防止, heater interlock, or equipment shutdown.

What samples should I send before ordering a custom sensor?

Send the actual tank or a wall sample, 液体の詳細, 壁の厚さ, photos of the mounting area, 電源電圧, 出力要件, コントローラ入力タイプ, and target detection state. OEM/ODMプロジェクト用, this helps confirm whether external sensing or an in-tank optical switch is the safer design.

Request a Feasibility Check

Through-wall optical water level sensing can be clean, elegant, and non-invasive — but only when the wall and environment support it. If your tank is clear or translucent, external optical sensing may be worth testing. If the tank is opaque, 汚い, メタル, or safety-critical, an in-tank optical switch is usually the more reliable path.

To discuss your tank material, 壁の厚さ, 液体タイプ, 出力信号, および取り付け設計, request a quote from HojellyTek via WhatsApp or email.