# Blade root load :id=top

------

> _Doc Ver:_ 1.1  
_App Ver:_ 2.6.6.53  
_Date:_ 09/17/2026

------

SA1 2.x (`sa-di` + `sa-web`) computes **live blade-root My / Mx** and **three-blade dynamic-balance η** on the interrogator. Strain gauges are FBG sensors already in `register.conf` (identified by **SN**). Load coefficients live on **virtual sensors 201–208** (FUN length 512). There is **no Python** on the unit and **no link to the turbine PLC / SCADA**. Ops export pitch / azimuth / rpm; you import the CSV on this page.

Related: [Configure and enable](bladeload-enable.md) · [Virtual sensors](vss.md) · [Formulas](function.md) · [Modbus TCP slave](modbus_tcp_slave.md) · [Physical value](data-pv.md) · [Q&A](bladeload-qa.md) · [Calibration](bladeload-calib.md) · [Live calculate](bladeload-calc.md) · [Balance η](bladeload-balance.md).

At http://112.74.47.129:9999 say **SA1 2.x / sa-di / BLADELOAD_ENABLE**, not only “blade load” (that hits SA2).

**Contents:** [Not SA2](#not) · [Why](#why) · [Enable](#enable) · [IDs](#ids) · [Map](#map) · [Calibrate](#calib) · [Live](#live) · [η](#eta) · [Modbus](#modbus) · [Verify](#verify) · [Limits](#limits)

------

## 0. This is SA1, not SA2 :id=not

| Item | SA1 (this page) |
|------|-----------------|
| Enable | Addon JSON `bladeload.json` → `addon.php?dir=bladeload` → checkbox `BLADELOAD_ENABLE`. Save runs **`:SYS:RELOAD`**. Do not `killall -9`. |
| Work page | `bladeload.php` (Fan Blade → Root load) |
| Live math | `sa-di` virtual sensors + `RELSTD&` |
| OLS | `sa-web` `/api/bladeload/calib` (Go `bladerootload`) |
| Version | 2.6.x, not 3.0.5.x |

Do not copy SA2 `sys_params`. Do not mix `/var/sa` with a 3.x tree. Menus, JSON, persist files: [Configure and enable](bladeload-enable.md).

------

## 0.1 Why it works :id=why

FBG yields **wavelength in pm**. Root load needs section moments, so strain comes first:

\[
\varepsilon = (\Delta\lambda - k_T\Delta T)/G_F
\]

Three or four gauges at one span (LE/TE/SS, optional PS) split flap My and edge Mx. Idle-pitch or locked-rotor gravity fits **C** (same C for both). Live frames never re-fit; they only evaluate the stored linear FUN. η is population std / mean(|My|) or |Mx| via `RELSTD&` on this box. It is **not** sent to the turbine PLC.

------

## 1. Enable :id=enable

Factory **off**. Full file list and troubleshooting: [Configure and enable](bladeload-enable.md).

1. Menu → **Setting → Fan Blade → Enable root load** (`/m/addon.php?dir=bladeload`).
2. Check **Enable root load** (`BLADELOAD_ENABLE`). Save. AfterCfg is `:SYS:RELOAD` (reply `0`). Do not `killall -9`.
3. Also need virtual sensors: Setting → Base → **Virtual sensors** (`VSS_ENABLE`). Apply turns this on.
4. Formula interpreter **type 3** (virtuals cannot run on type 0/1). Throughput drops; see [Improve demodulator speed](improve_sa_speed.md).
5. After the switch: bind → calibrate → **Apply 201–208**. Checking the box alone does not create virtual IDs.

------

## 2. Fixed virtual IDs :id=ids

| ID | Name | Meaning |
|----|------|---------|
| 201 / 202 | MyA / MxA | Blade A flap / edge |
| 203 / 204 | MyB / MxB | Blade B |
| 205 / 206 | MyC / MxC | Blade C |
| 207 / 208 | EtaY / EtaX | `RELSTD&(201,203,205)` / `RELSTD&(202,204,206)` |

Physical gauges keep their **existing register IDs** (SN merge on upgrade). Do not reuse 201–208 for factory VSS 1–5. Virtual slot cap is **16** (`VSENSORS_MAX`); factory 1–5 plus 201–208 is 13.

Physical FUN is 125 bytes — too short for a 4-gauge load sum. **My/Mx must be virtual FUN (512).**

------

## 3. Mapping :id=map

All three blades are on **this** interrogator. Field channels are not sequential; replacements move to another channel.

1. Open `bladeload.php`.
2. For each blade A/B/C choose LE / TE / SS / PS = **register sensor ID**.
3. **Read peaks** calls `:DATA:PVJ?`. Row is `[matched, ID, channel, WL_pm, PV, SN, err, alarm]`. Wavelength in the sensor file is **pm**, not nm.
4. Click the cell, then click a peak. Bind writes **Channel** in `register.conf` and the sensor window `MIN/MAX = peak ± 1500 pm`.
5. Save map writes `/var/sa/conf/bladeload_map.json`. Matching uses the new window after `:SYS:RELOAD`.

------

## 4. Calibration :id=calib

Same **C** for idle-pitch and locked-rotor. Idle is the 6 MW+ default. Locked φ default **90°**. R² gate **0.95** idle / **0.98** locked. A blade below the gate is skipped (no FUN write).

CSV: `pitch`, `azimuth`, `le,te,ss,ps` (suffix `_a` / `_b` / `_c` when three blades share a file). `time` on both files: **`time_offset_sec` is added to SCADA** so SCADA+offset ≈ strain time. Nearest neighbour. Without time columns, row counts must match.

Mass and Lcg are blade mass and CG radius. Unit default **kN·m** (`FunScale` 0.001). 3-gauge uses A⁺ (default 0/120/240°). 4-gauge uses C⁻¹ with ±1/2 on LE/TE/SS/PS.

Details: [Calibration](bladeload-calib.md).

------

## 5. Live loads :id=live

Apply writes `conf/vss/BL201.sensor` … `BL208.sensor`, merges `register_vss.conf` (does **not** delete factory 1–5), sets `VSS_ENABLE`, then `:SYS:RELOAD`.

My/Mx FUN example (4-gauge): `a1*&LE+a2*&TE+a3*&SS+a4*&PS+b`. `&ID` is physical PV.

`sa-di` evaluates virtuals **by ID ascending** and assigns `v_ID` after each so 207 can read 201–206. `RELSTD&` may reference virtual IDs.

List: Monitor → List → Virtual sensors. Verify with `:DATA:PVJ?` / `sa-cli scpi ':DATA:PVJ?'`, not `:DATA:PV?`.

------

## 6. Dynamic balance η :id=eta

η = population std / mean(|x|), n≥2, denominator floor 1e-9.

- flap: `RELSTD&(201,203,205)`
- edge: `RELSTD&(202,204,206)`

Pre-alarm uses the existing warnings page on IDs 207/208. This unit does **not** send η to the main PLC.

------

## 7. Modbus :id=modbus

Root load **does not** turn the slave on. Button **Fill Modbus sparse map** writes

`0=201,2=202,4=203,6=204,8=205,10=206,12=207,14=208`

and `MODBUS_INCLUDE_VIRTUAL=true`. Addresses are even. Then Addon → Modbus Configure → Enable → Save (`:SYS:RELOAD`). See [Modbus TCP slave](modbus_tcp_slave.md).

------

## 8. Verify :id=verify

- `BLADELOAD_ENABLE` true; `VSS_ENABLE` true; AfterCfg `:SYS:RELOAD`.
- List shows 201–208; η near 0 when three My are equal.
- `printf ':DATA:PVJ?\n' | nc -w 2 127.0.0.1 7090` (via sa-web / sa-cli, 7090 is localhost).
- Do not `killall -9 sa-di`.

------

## 9. Limits :id=limits

Auxiliary control: no live SCADA/PLC. Future read interface is reserved; today you import files. Frontend PCs have no Python. SA1 and SA2 are mutually exclusive on UDP 8190.

------

### [Top](#top)
