Voltecx is in beta. The macOS build comes first; Windows and Linux packages are still being tested.Beta. macOS comes first; Windows and Linux are still in testing. What's new
Documentation

Dead Time (deadtime)

Delays the rising edge of a gate signal and passes the falling edge at once.

deadtime

Component reference · 繁體中文

Group: Control · Kind: {"block":"deadtime","kind":"control"}

When to use it

Use it on each gate of a half bridge so that one switch turns off before the other turns on.

Pins

Pin Domain Meaning
in signal Gate signal; above 0.5 counts as on
out signal Gate signal with the rising edge delayed by td
outn signal Complementary gate output: on while the input is off and td has passed since its falling edge, so one block drives both switches of a half bridge.

Common parameters

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

Parameters

Key Unit Default Typical range Description
td s 0 Delay added to every rising edge of out, and of the complementary output outn
tdn s optional (off) Delay added to every rising edge of outn instead of td, when the two switches need different dead times

Parameter descriptions are in English in both languages.

Model

The block turns the input into a logic level (above 0.5 is true). A rising edge appears at the output td seconds later, while a falling edge appears at once. The output is on only while the input is on and td has passed since its rise. A pulse shorter than td never reaches the output. The second output outn is the complement with the same delay on its own rising edge (the input's falling edge); an input that starts low turns outn on at td. The solver lands a step on the delayed edge.

Common mistakes

  • The unit of td is seconds, so write 500n for 500 ns. A dead time longer than the shortest on-time deletes the pulse completely.
  • One block handles one gate. A half bridge needs a Dead Time on both gates, the second one after a Logic NOT, or the switches can still overlap.

Problems rules: param.out_of_range, shoot-through

Datasheet and sources

Choose td from the switch datasheet: it must be longer than the turn-off delay plus the fall time with a margin, and short against the on-time. A few hundred nanoseconds is typical for MOSFETs.

Example

Open the example with the command file.openExample and the name demo:deadtime.


Generated by cargo xtask reference from the usage texts and parameter specs. Do not edit by hand.