Voltecx 目前為測試版。macOS 版先推出,Windows 與 Linux 安裝包仍在測試中。測試版。macOS 版先推出,Windows 與 Linux 版仍在測試。⁠最新消息
文件

死區時間 (deadtime)

把閘極訊號的上升緣延後,下降緣則立刻通過。

deadtime

元件參考 · English

分類: 控制 · 種類: {"block":"deadtime","kind":"control"}

何時使用

用於半橋的每個閘極,讓一個開關先關斷,另一個才導通。

接腳

接腳 訊號域 意義
in 訊號 閘極訊號;高於 0.5 算導通
out 訊號 上升緣延後 td 的閘極訊號
outn 訊號 互補閘極輸出:輸入為截止且自其下降緣起已過 td 時為導通,所以一個方塊即可驅動半橋的兩個開關。

常用參數

  • td: Delay added to every rising edge of out, and of the complementary output outn (預設值: 0)

參數

鍵 單位 預設值 典型範圍 說明
td s 0 Delay added to every rising edge of out, and of the complementary output outn
tdn s 選填(預設關閉) Delay added to every rising edge of outn instead of td, when the two switches need different dead times

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

模型

方塊先將輸入轉成邏輯準位(大於 0.5 為真)。上升緣延後 td 秒才出現在輸出,下降緣則立即出現。輸出只有在輸入為真且自上升緣起已過 td 時才為真。比 td 短的脈波不會出現在輸出。第二個輸出 outn 為互補訊號,其上升緣(即輸入的下降緣)同樣延遲 td;輸入一開始為低時,outn 在 td 時導通。求解器會把步長落在延遲後的邊緣上。

常見錯誤

  • td 的單位是秒,500 ns 要寫成 500n。死區時間比最短導通時間長時,脈波會被整個刪掉。
  • 一個方塊只處理一個閘極。半橋的兩個閘極都需要死區時間,第二個接在反相器之後,否則兩個開關仍可能重疊。

Problems 規則: param.out_of_range, shoot-through

規格書與來源

td 依開關的規格書選定:要大於關斷延遲加下降時間並留裕度,又要比導通時間短很多。MOSFET 通常是數百奈秒。

範例

以指令 file.openExample 開啟範例,名稱為 demo:deadtime.


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