Plecs { Name "halfbridge_periodicavg" Version "4.2" CircuitModel "ContStateSpace" StartTime "0.0" StopTime "0.1" Timeout "" Solver "radau" MaxStep "1e-3" InitStep "-1" FixedStep "1e-3" Refine "1" ZCStepSize "1e-9" RelTol "1e-3" AbsTol "-1" TurnOnThreshold "0" SyncFixedStepTasks "2" UseSingleCommonBaseRate "2" LossVariableLimitExceededMsg "3" NegativeSwitchLossMsg "3" DivisionByZeroMsg "2" StiffnessDetectionMsg "2" MaxConsecutiveZCs "1000" AlgebraicLoopWithStateMachineMsg "2" AssertionAction "1" InitializationCommands "min_val=0" InitialState "1" SystemState "" CodeGenParameterInlining "2" CodeGenInliningExceptions "AAAACwAAAAAA" CodeGenFloatingPointFormat "2" CodeGenAbsTimeUsageMsg "3" CodeGenBaseName "" CodeGenOutputDir "" CodeGenExtraOpts "" CodeGenTarget "Generic" CodeGenTargetSettings "" ExtendedMatrixPrecision "1" MatrixSignificanceCheck "2" EnableStateSpaceSplitting "2" DisplayStateSpaceSplitting "1" DiscretizationMethod "2" ExternalModeSettings "" AlgebraicLoopMethod "1" AlgebraicLoopTolerance "1e-6" Schematic { Location [459, 152; 1731, 708] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Inductor Name "L1" Show off Position [765, 210] Direction left Flipped off Parameter { Variable "L" Value "85e-6" Show on } Parameter { Variable "i_init" Value "0" Show off } } Component { Type Capacitor Name "Cout" Show off Position [930, 270] Direction down Flipped on Parameter { Variable "C" Value "0.47e-6" Show on } Parameter { Variable "v_init" Value "0" Show off } } Component { Type Capacitor Name "Cout1" Show off Position [930, 145] Direction down Flipped on Parameter { Variable "C" Value "0.47e-6" Show on } Parameter { Variable "v_init" Value "0" Show off } } Component { Type Resistor Name "Fixed\nLoad3" Show on Position [825, 210] Direction left Flipped on Parameter { Variable "R" Value "10" Show on } } Component { Type PulseGenerator Name "Pulse\nGenerator" Show on Position [420, 150] Direction right Flipped off Parameter { Variable "Hi" Value "1" Show off } Parameter { Variable "Lo" Value "0" Show off } Parameter { Variable "f" Value "15e3" Show on } Parameter { Variable "DutyCycle" Value "0.5" Show off } Parameter { Variable "Delay" Value "0" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Reference SrcComponent "Components/Control/Delays/Turn-on Delay" Name "Turn-on Delay" Show on Position [510, 150] Direction up Flipped off Frame [-15, -15; 15, 15] LabelPosition [0, 18] LabelAlign up Parameter { Variable "T_d" Value "2e-6" Show on } Terminal { Type Input Position [-15, 0] Direction left } Terminal { Type Output Position [19, 0] Direction right } } Component { Type Reference SrcComponent "Components/Control/Delays/Turn-on Delay" Name "Turn-on Delay1" Show on Position [540, 275] Direction up Flipped off Frame [-15, -15; 15, 15] LabelPosition [0, 18] LabelAlign up Parameter { Variable "T_d" Value "2e-6" Show on } Terminal { Type Input Position [-15, 0] Direction left } Terminal { Type Output Position [19, 0] Direction right } } Component { Type ACVoltageSource Name "V_ac" Show on Position [25, 230] Direction down Flipped on Parameter { Variable "V" Value "310" Show on } Parameter { Variable "w" Value "2*pi*50" Show on } Parameter { Variable "phi" Value "0" Show off } } Component { Type Diode Name "D1" Show on Position [180, 165] Direction down Flipped off Parameter { Variable "Vf" Value "1" Show off } Parameter { Variable "Ron" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "T_init" Value "0" Show off } } Component { Type Diode Name "D2" Show on Position [225, 165] Direction down Flipped off Parameter { Variable "Vf" Value "1" Show off } Parameter { Variable "Ron" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "T_init" Value "0" Show off } } Component { Type Diode Name "D3" Show on Position [180, 280] Direction down Flipped off Parameter { Variable "Vf" Value "1" Show off } Parameter { Variable "Ron" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "T_init" Value "0" Show off } } Component { Type Diode Name "D4" Show on Position [225, 280] Direction down Flipped off Parameter { Variable "Vf" Value "1" Show off } Parameter { Variable "Ron" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "T_init" Value "0" Show off } } Component { Type Inductor Name "L2" Show on Position [300, 100] Direction left Flipped off Parameter { Variable "L" Value "600e-6" Show on } Parameter { Variable "i_init" Value "0" Show off } } Component { Type Capacitor Name "C1" Show on Position [355, 215] Direction down Flipped on Parameter { Variable "C" Value "10e-6" Show on } Parameter { Variable "v_init" Value "0" Show off } } Component { Type Voltmeter Name "Vm2" Show on Position [160, 220] Direction up Flipped off } Component { Type Ammeter Name "Am2" Show on Position [120, 265] Direction right Flipped off } Component { Type Ammeter Name "Am3" Show on Position [285, 340] Direction right Flipped off } Component { Type PlecsProbe Name "Probe1" Show on Position [475, 385] Direction right Flipped off } Component { Type Scope Name "Scope1" Show on Position [805, 390] Direction up Flipped off Location [329, 205; 1741, 1067] State "AAAA/wAAAAD9AAAAAgAAAAEAAAC0AAAA3/wCAAAAA/sAAAAQAFoAbwBvA" "G0AQQByAGUAYQAAAAAA/////wAAADQA////+wAAABQAUwBhAHYAZQBkAFYAaQBlAHcAcwAAAAAA//" "///wAAAGYA////+wAAAAwAVAByAGEAYwBlAHMAAAAAMQAAAN8AAABmAP///wAAAAMAAAWEAAAAWPw" "BAAAAAfsAAAAUAEQAYQB0AGEAVwBpAGQAZwBlAHQBAAAAAAAABYQAAAA+AP///wAABYQAAALpAAAA" "BAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAOAFQAbwBvAGwAQgBhAHIBAAAAAP////8AAAAAA" "AAAAA==" SavedViews "AAAAAgAAAAA=" HeaderState "AAAA/wAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAL/gMAAAAJAAAAC" "AAAAGQAAAAJAAAAZAAAAAQAAABkAAAABQAAAGQAAAAGAAAAZAAAAAcAAABkAAAAAQAAAGQAAAACAA" "AAZAAAAAMAAABkAAAFeQAAAAsBAAABAAAAAAAAAAAAAAAAZP////8AAACBAAAAAAAAAAsAAAEcAAA" "AAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAA" "AAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAA" "ARdAAAAAQAAAAAAAAPoAAAAABM=" PlotPalettes "AAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" Axes "1" TimeRange "0" ScrollingMode "1" SingleTimeAxis "0" Open "0" Ts "-1" SampleLimit "0" XAxisLabel "" Axis { Name "" AutoScale 1 MinValue 0 MaxValue 1 Signals {} SignalTypes [ ] Untangle 0 KeepBaseline off BaselineValue 0 } Fourier { SingleXAxis on AxisLabel "Frequency" Scaling 0 PhaseDisplay 0 Axis { Name "" AutoScale 1 MinValue 0 MaxValue 1 Signals {} Untangle 0 KeepBaseline off BaselineValue 0 } } } Component { Type Igbt Name "IGBT1" Show on Position [630, 150] Direction up Flipped off Parameter { Variable "Vf" Value "0" Show off } Parameter { Variable "Ron" Value "0" Show off } Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "T_init" Value "0" Show off } } Component { Type Igbt Name "IGBT2" Show on Position [630, 275] Direction up Flipped off Parameter { Variable "Vf" Value "0" Show off } Parameter { Variable "Ron" Value "0" Show off } Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "T_init" Value "0" Show off } } Component { Type Diode Name "D5" Show on Position [675, 150] Direction down Flipped off Parameter { Variable "Vf" Value "0" Show off } Parameter { Variable "Ron" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "T_init" Value "0" Show off } } Component { Type Diode Name "D6" Show on Position [675, 275] Direction down Flipped off Parameter { Variable "Vf" Value "0" Show off } Parameter { Variable "Ron" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "T_init" Value "0" Show off } } Component { Type SignalMux Name "Mux2" Show off Position [760, 390] Direction right Flipped off Parameter { Variable "Width" Value "2" Show off } } Component { Type LogicalOperator Name "Logical\nOperator" Show off Position [460, 235] Direction right Flipped off Parameter { Variable "Operator" Value "6" Show off } Parameter { Variable "Inputs" Value "2" Show off } } Component { Type Reference SrcComponent "Components/Control/Filters/Periodic Average" Name "Periodic Average" Show off Position [555, 440] Direction up Flipped off Frame [-15, -15; 15, 15] LabelPosition [0, 18] LabelAlign up Parameter { Variable "T_average" Value "1/100" Show on } Terminal { Type Output Position [19, 0] Direction right } Terminal { Type Input Position [-15, 0] Direction left } } Component { Type Gain Name "Gain" Show off Position [635, 440] Direction right Flipped off Parameter { Variable "K" Value "2" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Connection { Type Wire SrcComponent "Fixed\nLoad3" SrcTerminal 2 DstComponent "L1" DstTerminal 2 } Connection { Type Wire SrcComponent "D1" SrcTerminal 2 Points [180, 100; 225, 100] Branch { DstComponent "D2" DstTerminal 2 } Branch { DstComponent "L2" DstTerminal 1 } } Connection { Type Wire SrcComponent "D4" SrcTerminal 2 Points [225, 265] Branch { DstComponent "D2" DstTerminal 1 } Branch { Points [160, 265] Branch { DstComponent "Am2" DstTerminal 1 } Branch { DstComponent "Vm2" DstTerminal 2 } } } Connection { Type Wire SrcComponent "Am2" SrcTerminal 2 Points [25, 265] DstComponent "V_ac" DstTerminal 2 } Connection { Type Wire SrcComponent "Cout1" SrcTerminal 2 Points [930, 210] Branch { DstComponent "Fixed\nLoad3" DstTerminal 1 } Branch { DstComponent "Cout" DstTerminal 1 } } Connection { Type Wire SrcComponent "D1" SrcTerminal 1 Points [180, 195] Branch { DstComponent "D3" DstTerminal 2 } Branch { Points [160, 195] Branch { Points [25, 195] DstComponent "V_ac" DstTerminal 1 } Branch { DstComponent "Vm2" DstTerminal 1 } } } Connection { Type Wire SrcComponent "L2" SrcTerminal 2 Points [355, 100] Branch { Points [630, 100] Branch { Points [675, 100] Branch { Points [930, 100] DstComponent "Cout1" DstTerminal 1 } Branch { DstComponent "D5" DstTerminal 2 } } Branch { DstComponent "IGBT1" DstTerminal 1 } } Branch { DstComponent "C1" DstTerminal 1 } } Connection { Type Wire SrcComponent "C1" SrcTerminal 2 Points [355, 340] Branch { Points [630, 340] Branch { DstComponent "IGBT2" DstTerminal 2 } Branch { Points [675, 340] Branch { Points [930, 340] DstComponent "Cout" DstTerminal 2 } Branch { DstComponent "D6" DstTerminal 1 } } } Branch { DstComponent "Am3" DstTerminal 1 } } Connection { Type Wire SrcComponent "D4" SrcTerminal 1 Points [225, 340] Branch { Points [180, 340] DstComponent "D3" DstTerminal 1 } Branch { DstComponent "Am3" DstTerminal 2 } } Connection { Type Wire SrcComponent "IGBT1" SrcTerminal 2 Points [630, 210] Branch { DstComponent "IGBT2" DstTerminal 1 } Branch { Points [675, 210] Branch { Points [675, 210] Branch { DstComponent "D5" DstTerminal 1 } Branch { DstComponent "D6" DstTerminal 2 } } Branch { DstComponent "L1" DstTerminal 1 } } } Connection { Type Signal SrcComponent "Turn-on Delay1" SrcTerminal 2 DstComponent "IGBT2" DstTerminal 3 } Connection { Type Signal SrcComponent "Mux2" SrcTerminal 1 DstComponent "Scope1" DstTerminal 1 } Connection { Type Signal SrcComponent "Turn-on Delay" SrcTerminal 2 DstComponent "IGBT1" DstTerminal 3 } Connection { Type Signal SrcComponent "Pulse\nGenerator" SrcTerminal 1 Points [460, 150] Branch { DstComponent "Turn-on Delay" DstTerminal 1 } Branch { DstComponent "Logical\nOperator" DstTerminal 2 } } Connection { Type Signal SrcComponent "Logical\nOperator" SrcTerminal 1 Points [460, 275] DstComponent "Turn-on Delay1" DstTerminal 1 } Connection { Type Signal SrcComponent "Probe1" SrcTerminal 1 Points [510, 385] Branch { DstComponent "Mux2" DstTerminal 2 } Branch { Points [510, 440] DstComponent "Periodic Average" DstTerminal 2 } } Connection { Type Signal SrcComponent "Periodic Average" SrcTerminal 1 DstComponent "Gain" DstTerminal 1 } Connection { Type Signal SrcComponent "Gain" SrcTerminal 2 Points [700, 440; 700, 395] DstComponent "Mux2" DstTerminal 3 } } ProbeBlock { Tag "halfbridge_periodicavg/Probe1" Probe { Component "V_ac" Path "" Signals {"Source power"} } } } DemoSignature "tSUlBXifZa4xtxb+9mtvsYTu4q3p2KehB5y3Vdod8YE="