# 羅氏線圈與積分器 (`rogowskiCoil`)

> 套在導體上的空心線圈與它的積分器，輸出與交流電流成比例的電壓。

![rogowskiCoil](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/img/rogowskiCoil.svg)

[元件參考](https://voltecx-web.nguyenvanqui291.workers.dev/zh/docs/reference/) · [English](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/ic/rogowskiCoil/)

**分類:** 積體電路 · **種類:** `{"definition":"rogowskiCoil","kind":"subsystem"}`

## 何時使用

用來量測快速或大的交流電流，例如 di/dt 達 kA/us 等級的開關電流，不需斷開電路，也沒有會飽和的磁芯。它無法讀直流，需要時改用閉迴路霍爾電流轉換器。

## 接腳

| 接腳 | 訊號域 | 意義 |
|---|---|---|
| `IPP` | 電氣 | 導體輸入，讀值為正 |
| `IPN` | 電氣 | 導體輸出 |
| `OUT` | 電氣 | 積分器輸出，以 GND 為參考 |
| `GND` | 電氣 | 輸出的接地參考 |

## 常用參數

- `sens`: Sensitivity of the coil and its integrator (CWTUM/1: 20 mV/A) (預設值: 0.02)
- `fLow`: Low-frequency -3 dB corner: the integrator's leak, so DC reads 0 (預設值: 9.2)
- `fHigh`: High-frequency -3 dB corner of the coil and integrator (預設值: 30000000)
- `outMax`: Output limit: plus or minus this (peak current times sens) (預設值: 6)

## 參數

| 鍵 | 單位 | 預設值 | 典型範圍 | 說明 | 規格書來源 |
|---|---|---|---|---|---|
| `sens` | V/A | 0.02 | 1u – 10 V/A | Sensitivity of the coil and its integrator (CWTUM/1: 20 mV/A) | p.2 model table, CWTUM/1 sensitivity 20 mV/A |
| `fLow` | Hz | 9.2 | 1m – 100k Hz | Low-frequency -3 dB corner: the integrator's leak, so DC reads 0 | p.2 model table, CWTUM/1 LF (-3 dB) 9.2 Hz |
| `fHigh` | Hz | 30000000 | 1k – 1g Hz | High-frequency -3 dB corner of the coil and integrator | p.2 model table, HF (-3 dB) 30 MHz (note 2: 1 m cable, 80 mm coil) |
| `outMax` | V | 6 | 10m – 100 V | Output limit: plus or minus this (peak current times sens) | p.3 Output: +/-6 V peak at the peak current into 100 kOhm or more |
| `vOff` | V | 0 | -1 – 1 V | DC offset at the output (the data sheet gives +/-3 mV max) | p.3 DC offset +/-3 mV max at 25 °C (set to 0 here) |
| `noise` | V | 0 | 0 – 1 V | RMS output noise; 0 = a noiseless probe | p.2 model table, CWTUM/1 noise 15 mV peak to peak (set to simulate; about a sixth of peak to peak is the rms) |
| `seed` | — | 1 | 0 – 9007t | Whole-number seed of the noise | model parameter |

_參數說明在兩種語言中都是英文。_

## 模型

線圈產生感應電動勢 M di/dt，時間常數為 M / sens 的積分器把它還原成 sens 乘以電流。與導體串聯的電流量測元件（無電阻）讀取電流，乘以 sens 後經過 fHigh 的一階低通。積分器的洩漏是一階高通 s / (s + 2 pi fLow)，所以直流電流讀值為 0，長脈波會下垂。接著加上偏移 vOff，輸出限制在正負 outMax。

## 常見錯誤

- 脈波長於 1 / (2 pi fLow) 的十分之一左右時會明顯下垂，直流電流則讀到 0。量測長脈波時請選 fLow 較低的探頭。
- 輸出限制在正負 outMax，也就是峰值電流乘以 sens。超過時讀到的是平頂。

Problems 規則: `step.too_large`, `param.out_of_range`

## 規格書與來源

sens 取探頭靈敏度（20 mV/A 填 20m），fLow 與 fHigh 取低頻與高頻 -3 dB 頻寬，outMax 取峰值電流時的輸出，vOff 取直流偏移，noise 由峰對峰雜訊換算（約六分之一）。規格書給的是線圈加積分器的整體靈敏度，不是線圈的互感。預設值是 PEM CWT Ultra-mini CWTUM/1，Rev. 10/25 規格書。以 ic.fromSpec 搭配 rogowskiCoil 模板傳入。

## 範例

以指令 `file.openExample` 開啟範例，名稱為 `demo:rogowskiCoil`.

---
由 `cargo xtask reference` 依使用說明文字與參數規格產生，請勿手動編輯。
