ZombieVerter Timing Diagrams: Difference between revisions
Purplemeanie (talk | contribs) No edit summary |
Purplemeanie (talk | contribs) No edit summary |
||
| Line 10: | Line 10: | ||
=== ZombieVerter failing to Precharge === | === ZombieVerter failing to Precharge === | ||
[[File:Zombie Timing PreChargeFail.svg|800x800px]] | [[File:Zombie Timing PreChargeFail.svg|800x800px]] | ||
== Diagram Source == | |||
=== ZombieVerter successfully moving from OFF to RUN mode === | |||
<plantuml> | |||
@startuml | |||
scale 100 as 200 pixels | |||
hide time-axis | |||
skinparam backgroundColor #FFFFFF | |||
<style> | |||
timingDiagram { | |||
backgroundColor #white | |||
constraintArrow { | |||
LineThickness 2 | |||
LineColor #lightgray | |||
} | |||
.analog { | |||
LineThickness 3 | |||
} | |||
.blue { | |||
LineColor blue | |||
LineThickness 5 | |||
} | |||
} | |||
</style> | |||
title "ZombieVerter Timing Diagram - RUN -> Start (not to scale)" | |||
footer 2026-03 | |||
caption "\nThis diagram illustrates the timing of ZombieVerter input and output signals leading to a normal start sequence.\nThis example shows UDC rising and reaching UDCmin within the precharge timeout period, allowing the system to enter MOD_RUN successfully.\n" | |||
rectangle "OpMode" as OM | |||
concise "Torque Demand" as TQ | |||
binary "T15" as T15 | |||
binary "Throttle Position" as THROTTLE | |||
binary "Start" as START | |||
binary "Contactor Power" as CP | |||
binary "NegativeCON" as NEG | |||
binary "PositiveCON" as POS | |||
binary "PrechargeCON" as PCH | |||
binary "Inverter Power" as INV | |||
analog "UDC Voltage" as UDC <<analog>> | |||
OM is MOD_OFF #LightGray | |||
T15 is {low,high} | |||
START is low | |||
CP is high | |||
INV is low | |||
NEG is low | |||
POS is low | |||
PCH is low | |||
TQ is ZERO | |||
THROTTLE is {low,high} | |||
@50 as :precharge | |||
' Start | |||
@0 | |||
UDC is 0 | |||
'OM is MOD_OFF | |||
@10 | |||
T15 is high | |||
@:precharge-20 | |||
THROTTLE is low | |||
@:precharge-10 | |||
START is high | |||
START --[#gray]> OM@+10 | |||
T15 --[#gray]> OM@+10 | |||
@:precharge | |||
OM is MOD_PRECHARGE #LightBlue | |||
NEG is high | |||
PCH@50 <-[#blue]> @+250 : {250ms} | |||
@:precharge+10 | |||
START is low | |||
THROTTLE is {low,high} | |||
@300 | |||
PCH is high | |||
UDC is 0 | |||
PCH --[#gray]> UDC | |||
highlight 300 to 395 #Lavender;line:DimGrey : Variable Pre-Charge Time | |||
@395 | |||
UDC is 250 | |||
UDC --[#gray]> OM@+5 | |||
@400 | |||
OM is MOD_RUN #PaleGreen | |||
TQ is "~THROTTLE" | |||
INV@400 <-[#blue]> @+250 : {250ms} | |||
POS@400 <-[#blue]> @+250 : {250ms} | |||
@+250 | |||
INV is high | |||
POS is high | |||
@+100 | |||
INV is high | |||
THROTTLE is {low,high} | |||
@enduml | |||
</plantuml> | |||
=== ZombieVerter successfully moving from RUN to OFF mode === | |||
=== ZombieVerter failing to Precharge === | |||
[[Category:ZombieVerter]] | [[Category:ZombieVerter]] | ||
Revision as of 13:55, 26 March 2026
Timing Diagrams
Shown below are some simple ZombieVerter scenarios as timing diagrams.
ZombieVerter successfully moving from OFF to RUN mode
ZombieVerter successfully moving from RUN to OFF mode
ZombieVerter failing to Precharge
Diagram Source
ZombieVerter successfully moving from OFF to RUN mode
<plantuml> @startuml
scale 100 as 200 pixels hide time-axis skinparam backgroundColor #FFFFFF
<style> timingDiagram {
backgroundColor #white
constraintArrow {
LineThickness 2
LineColor #lightgray
}
.analog {
LineThickness 3
}
.blue {
LineColor blue
LineThickness 5
}
} </style>
title "ZombieVerter Timing Diagram - RUN -> Start (not to scale)" footer 2026-03 caption "\nThis diagram illustrates the timing of ZombieVerter input and output signals leading to a normal start sequence.\nThis example shows UDC rising and reaching UDCmin within the precharge timeout period, allowing the system to enter MOD_RUN successfully.\n"
rectangle "OpMode" as OM concise "Torque Demand" as TQ binary "T15" as T15 binary "Throttle Position" as THROTTLE binary "Start" as START binary "Contactor Power" as CP binary "NegativeCON" as NEG binary "PositiveCON" as POS binary "PrechargeCON" as PCH binary "Inverter Power" as INV analog "UDC Voltage" as UDC <<analog>>
OM is MOD_OFF #LightGray T15 is {low,high} START is low CP is high INV is low NEG is low POS is low PCH is low TQ is ZERO THROTTLE is {low,high}
@50 as :precharge
' Start @0 UDC is 0 'OM is MOD_OFF
@10 T15 is high
@:precharge-20 THROTTLE is low
@:precharge-10 START is high START --[#gray]> OM@+10 T15 --[#gray]> OM@+10
@:precharge OM is MOD_PRECHARGE #LightBlue NEG is high PCH@50 <-[#blue]> @+250 : {250ms}
@:precharge+10 START is low THROTTLE is {low,high}
@300 PCH is high UDC is 0 PCH --[#gray]> UDC
highlight 300 to 395 #Lavender;line:DimGrey : Variable Pre-Charge Time
@395 UDC is 250 UDC --[#gray]> OM@+5
@400 OM is MOD_RUN #PaleGreen TQ is "~THROTTLE" INV@400 <-[#blue]> @+250 : {250ms} POS@400 <-[#blue]> @+250 : {250ms}
@+250 INV is high POS is high
@+100 INV is high THROTTLE is {low,high} @enduml </plantuml>