第11章 电路级建模与参数反演(I40-* / Mx-*)


I. 章节目标与结构

  1. 目标:构建从网表/版图到张度地形参数的电路级联合建模与反演框架,输出可用于设计与诊断的参数后验、证据与模型比较指标;与 S20-* / S40-* / S50-* / I30-* / M10-* / M20-* / 第8章 在同一计量与记录口径下闭环。
  2. 结构:I40-1 电路级绑定接口 → Mx-1 参数表与默认先验 → Mx-2 似然与证据计算 → Mx-3 模型比较与选择 → Mx-4 反演与不确定度传播 → 数据结构与记录 → 合规模板 → 对应与退化 → 跨章指引与小结。
  3. 共享口径(到达时两式,显式 gamma(ell)、d ell,并记录 delta_form):
    • 常量外提:T_arr = ( 1 / c_ref ) * ( ∫ n_eff d ell )
    • 一般口径:T_arr = ( ∫ ( n_eff / c_ref ) d ell )

II. 变量与单位(本章新增)


I40-1 电路级绑定接口(Circuit Binding, API)


陈述

将 netlist + layout + binding 编译为含显式路径 gamma(ell)、到达时项 T_arr 与权重 w_p 的可求导电路模型,统一端口、去嵌与时间基。

接口原型(最小可执行)

I40-1:

- id: "bind.compile"

proto: "compile(netlist, layout, binding, bc, options) -> model_handle"

- id: "bind.predict"

proto: "predict(model_handle, theta, freq_grid) -> {Z_model(ω), T_arr_p(ω), w_p(ω)}"

- id: "bind.jacobian"

proto: "jacobian(model_handle, theta, freq_grid) -> ∂Z/∂θ"

- id: "bind.update_paths"

proto: "update_paths(model_handle, binding_ref) -> model_handle'"

requirements:

arrival_record: {form, gamma, measure, c_ref, delta_form}

qa_gates: ["check_dim","passivity(Re{Z}≥0)","KK_consistency"]


适用域与约束

端口/探针通过 anchors 对齐;deemb 与 sync 一致;binding 与 I30-* 同步版本控制。

可证伪要点

若 predict() 在已校准参考夹具上未通过被动性/K–K 或与 T_arr 记录不一致,则否决绑定设定或适用域。

Mx-1 参数表与默认先验(Parameters & Priors)


参数分组与符号


先验建议(发布默认)


参数卡(示例)

params:

sigma_eff: {prior: "lognormal", mu: -12.0, s: 0.8, unit: "S/m"}

Ks_amp: {prior: "halfnormal", sigma: 0.5, unit: "A·m^-2"}

Ks_tau: {prior: "loguniform", low: 1e-12, high: 1e-7, unit: "s"}

w: {prior: "dirichlet", alpha: [0.3,0.3,0.3]}

n_eff_seg: {prior: "normal", mu: n_eff_hat, sigma: 0.05*mu}

dt_sync: {prior: "normal", mu: 0.0, sigma: 2.0e-12, unit: "s"}


Mx-2 似然与证据计算(Likelihood & Evidence)


似然(复阻抗域;白化后)


证据与正则


Mx-3 模型比较与选择(Model Selection)


候选模型


比较指标


选择准则

先证据、后复杂度;若并列,优先满足更强外推一致性与更少参数耦合的模型。

Mx-4 反演与不确定度传播(Inference & UQ)


反演流程


输出


VII. 数据结构与记录(最小模板)

inversion:

model_id: "EDX-Current-eft-ms"

freq_grid_Hz: [...]

priors: {...} # 见 Mx-1

results:

theta_map: {...}

theta_mean: {...}

CI_95: {...}

logZ: -1234.5

diagnostics: {Rhat: {...}, ess: {...}}

arrival:

form: "n_over_c"

gamma: "explicit"

measure: "d_ell"

qa_gates: {check_dim:"pass", passivity:"pass", KK:"pass"}


VIII. 合规模板(执行片段,可直接粘贴)


IX. 可证伪准则(反演侧)


X. 与经典框架的对应与退化

当 K_s=K_t=0 或 w_p 对主路径取 1、其余为 0 时,Z_eft → Z_ref,反演退化为经典等效电参数拟合;差异项由显式路径 gamma(ell) 与 T_arr 记录带来的可追溯性与可证伪性保留。

XI. 跨章指引与小结