Biomonitoring · Early-warning

It never tests the water. It watches who lives in it.

The FishToximeter II detects toxic substances by reading the behaviour of live fish — not by chemistry. A camera watches the tank; software learns what "normal" looks like and raises an alarm when the fish deviate.

METHOD
Extended Dynamic Daphnia Test
ENGINE
Shared with DaphniaToximeter II
OUTPUT
Green · Yellow · Red
01

EDDT คืออะไร

bbe ระบุว่า FishToximeter II พัฒนาบนพื้นฐาน Extended Dynamic Daphnia Test ชื่อนี้เล่าเรื่องทั้งหมดไว้แล้ว — นี่คือที่มาของแต่ละคำ และเหตุผลว่าทำไมเครื่องนี้ต้องเกิดขึ้น

จุดตั้งต้น · "Daphnia Test"

DIN 38412 — static daphnia test

มาตรฐานอุตสาหกรรมเยอรมัน: นำไรน้ำ (daphnia) สัมผัสตัวอย่างน้ำ แล้ววัดอัตราการตายหลัง 48 หรือ 72 ชั่วโมง เป็นวิธีที่พิสูจน์แล้ว มีมาตรฐานรองรับ และเป็นรากฐานของทุกอย่างที่ตามมา

ปัญหา

สามวัน — สายเกินไป

รูปแบบและระยะเวลาของการทดสอบนี้ทำให้ใช้งานออนไลน์ไม่ได้ เพราะกว่าจะรู้ผลอย่างเร็วที่สุดก็ 3 วัน — ตอนนั้นน้ำปนเปื้อนไหลผ่านไปไกลแล้ว ผู้ปฏิบัติงานไม่เคยได้ ‘เสียงสะท้อนทันที’ ที่จำเป็นต่อการรับมือ

ทางแก้ที่ 1 · "Extended"

ดูพฤติกรรม ไม่ใช่การตาย

bbe ขยาย (extend) การทดสอบแบบ static ให้ทำงานออนไลน์: บันทึกพฤติกรรมการว่ายด้วย digital image processing แล้วให้คอมพิวเตอร์ในเครื่องประเมินอย่างต่อเนื่อง ทำให้รู้ว่ามีสิ่งผิดปกติ ก่อนที่สิ่งมีชีวิตจะตาย — เปลี่ยนจากการชันสูตรหลังเกิดเหตุ เป็นเซนเซอร์ที่มีชีวิต

ทางแก้ที่ 2 · "Dynamic"

Hinkley Detector

พฤติกรรมสดมี noise และมีการเลื่อนไหล — คำถามว่า ‘ค่าสูงไหม’ จึงเป็นคำถามที่ผิด คู่มือเรียก Hinkley ว่า dynamic jump detection และระบุจุดชี้ขาดไว้ชัดว่า ต้องมี Hinkley Detector เท่านั้น การทดสอบไรน้ำจึงจะใช้เป็น bio-monitoring แบบต่อเนื่องได้ คำนี้คือหัวใจของเครื่อง

ผลลัพธ์

EDDT → แล้วจึงเปลี่ยนเป็นปลา

static test + image processing + Hinkley = Extended Dynamic Daphnia Test · เปลี่ยนสิ่งมีชีวิตเซนเซอร์จากไรน้ำเป็นปลา โดยใช้ซอฟต์แวร์ กระบวนการ และกลไกแจ้งเตือนชุดเดิม ก็กลายเป็น FishToximeter II · bbe อธิบายว่าเครื่องนี้พัฒนาต่อยอดจาก EDDT ซึ่งเป็นวิธีตรวจจับที่ใช้งานพิสูจน์แล้วทั้งในยุโรปและภูมิภาคอื่น นี่คือเหตุผลที่คู่มือ Daphnia ใช้อธิบายเครื่องปลาของเราได้

เวลาที่กว่าจะรู้ว่าน้ำเป็นพิษ

static test (DIN) 48–72 ชม.
EDDT (ออนไลน์) ~1 นาที
สิ่งมีชีวิตเดียวกัน · ความเป็นพิษเดียวกัน · ต่างกันแค่เปลี่ยนจากการนับศพ มาเป็นการถามคำถามกับสิ่งที่ยังมีชีวิต
02

Behaviour is the signal

Fish in poisoned water betray it in their movement long before anyone could sample and analyse it. The instrument is built to catch four distinct deviations at once.

Speed shift

Faster (fleeing) or slower (physiological damage) than the learned baseline.

Rising up

Fish swim higher, away from the contaminated inflow at the bottom.

Hectic circling

Smooth tracks turn into tight, twisting loops — captured by fractal dimension.

Inactivity / death

Detected fish count drops — scored directly as alarm points.

Teach this first: it is a broad-spectrum sensor. It reacts to whatever harms the fish without knowing the toxin in advance — but it tells you that something is wrong, never what. Confirmation always needs conventional chemistry.
03

From camera to data

The integrated PC digitises the camera into a 256-grey-level image and runs four operations in sequence — then computes the behavioural parameters.

Frame capture & analysis · 25 frames per second
STEP 01

Background removal

A long-term averaged background is subtracted; the result is thresholded into a clean binary image of moving objects.

STEP 02

Blob analysis

Each object gets a centre of gravity and area. Wrong size or shape (debris, offspring) is discarded.

STEP 03

Path tracing

Positions are linked into per-minute swim tracks (~one point every 40 ms), resolving crossings and bridging gaps.

STEP 04

Parameters

Speed, height, distance, fractal dimension and more are computed — each as an average across all fish.

04

What the numbers mean

The single most important behavioural parameter to explain is fractal dimension — a number for how "curvy" a swim path is. Watch the difference.

HEALTHY WATERFRCDIM1 · low
Smooth, directed swimming → D ≈ 1.1
TOXIC EVENTFRCDIM1 · high
Hectic, tight circling → D ≈ 1.5
AVGVEL1
Average velocity — swimming speed (cm/s); rises in flight, falls with damage.
AVGHEIGHT1
Average height — fish move up and away from contaminated inflow.
FRCDIM1 / FRCBOX1
Fractal dimension ×2 — path curviness by regression and by box-counting; two independent methods cross-check the circling signature.
AVGDIST1
Average distance — spacing between fish: clustered vs. evenly dispersed (social structure).
OBJCOUNT1
Number of fish detected — a drop signals inactivity or death.
VCLASSIND1
Speed-class index — shape of the speed distribution; catches changes the mean hides.
RECRATE1
Recognition rate — data-quality / hardware check, not a toxic signal.
TEMPSMPL1 · FLOWRATE
Temperature & flow — diagnostic housekeeping: do we trust the biology right now?
05

Watch every parameter react

Flip one switch. Every behavioural parameter shifts at once — which is exactly why an alarm needs concurrence across many parameters, not just one.

State: learned normal

Average velocity

AVGVEL1

Speed spikes in the flight response, then becomes erratic.

swimming speed0.5 cm/s

Swimming height

AVGHEIGHT1

Fish flee upward, away from the contaminated inflow.

mean heightlow–mid

Fractal dimension

FRCDIM1

Directed tracks collapse into tight, twisting loops.

dimension D≈ 1.1

Box-counting

FRCBOX1

The second method: count grid cells the path touches. Circling touches far more.

cells touched12

Average distance

AVGDIST1

Evenly dispersed fish bunch together under stress.

spacingeven

Number of fish

OBJCOUNT1

Inactivity and death reduce the detected count — scored directly.

active fish10 / 10
06

How a deviation becomes an alarm

No single parameter crossing a line raises an environmental alarm. Each parameter is checked by three alarm types; every one that fires adds points. The summed points are the toxic index, and two thresholds on that sum drive the traffic light.

TOXIND1 · live monitor
idx 0.0

Limit value simple

A plain too-high / too-low / too-few check. Used only where natural behaviour can't drift into a false alarm — speed and fish count.

Gradient slope

Fires when behaviour changes abnormally fast. Two slopes run at once: short-term spikes and slow long-term creep. Either trips it.

Hinkley jump

A dynamic jump-detector that finds sudden, sustained steps inside a noisy, drifting signal. This is what makes it a true continuous biomonitor.

Per-parameter alarms→ Points→ Σ Toxic index→ Yellow limit→ Red limit

The Hinkley detector, intuitively

It keeps a running sum g(t). Each new reading adds itself but pays a fixed "half-jump tax." Normal noise stays under the tax, so the sum sits at zero. Only a real, sustained step keeps adding more than the tax — the sum climbs until it crosses the limit λ, and a jump is flagged. A brief blip contributes too little to push it over.

g(t) = g(t−1) + z(t) − (m₁+m₀)/2    [g never < 0]    Alarm when  g(t) ≥ λ

Because real systems drift, the adaptive version recomputes the jump level and limit from the running noise (jump factor ≈ 1.1, Hinkley factor ≈ 0.6), over a ~270-minute fit window, after subtracting drift.

NEXT PAGE
Where these values are actually set
Open the Alarm parameter settings screen — every field explained, with live Hinkley and traffic-light simulators.
→
07

At a glance

Key hardware figures and the ways the instrument talks to a monitoring station.

≤ 10
FISH · 4–6 cm
9 L
AQUARIUM VOLUME
50–150
L/H SAMPLE FLOW
25
FRAMES / SECOND
≤ 40
FTU TURBIDITY
IP54
HOUSING · 200 W
LAN / EthernetRS232ModBus TCP · port 5024–20 mA (opt.)2× alarm relaysUSB ×2

ModBus note: TraySlave.exe reads the instrument's dated output files and republishes them as a ModBus slave — put it in autostart so it survives a power failure.