Contenuto principale

cktoperpoint

Operating point analysis of switched circuit

Since R2026a

Description

[dcResults,plotData,waves,ssmodels,abcd] = cktoperpoint(circuit,Name=Value) performs the operating point analysis of a switched circuit created from a Simscape™ electrical diagram or subsystem or a circuit configuration object.

Input Arguments

collapse all

Simscape electrical diagram or subsystem or a circuit configuration on which the function performs operating point analysis, specified either as a schematic or as an object. For more information, see cktconfig.

Name-Value Arguments

collapse all

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Example: [dcresults,plotdata,waves,ssmodels,abcd] = cktoperpoint(circuit,Frequency=[0.7e5 1.3e5]) performs the operating point analysis of a circuit configuration object at switching frequency range [0.7e5 1.3e5].

Name on the icon if the function builds a Simulink block, specified as a string.

Name of the block instance in the Simulink model, specified as a string.

Name of the primary output port for the operating point analysis, specified as a string.

Desired output values for the operating point analysis, specified as a real scalar or real-valued vector.

Constant input port values for the operating point analysis, specified as a n×2 cell array. The first row contains the designators for the input ports and the second row contains the real-valued inputs corresponding to the designators in the first row.

Control variable for operating point analysis, specified as "Duty cycle" or "Frequency".

Duty cycle value or range for the operating point analysis, specified as a real scalar or 2-element vector.

Switching frequency value or range for the operating point analysis, specified as a real scalar or 2-element vector.

Expression to evaluate the array of phase offsets for all of the control input signals in an operating point analysis, normalized to the switching period, specified as a string or character array. In the expression of phase offsets, the duty cycle and the switching frequency are denoted by the variables d and f, respectively. The function evaluates the expression to a scalar or a vector array.

Example: [0,d] specifies the phase offsets for the true and complement controls of a half bridge switching network.

Expression to evaluate the array of pulse durations for all of the control input signals in an operating point analysis, normalized to the switching period,, specified as a string or character array. In the expression of pulse durations, the duty cycle and the switching frequency are denoted by the variables d and f, respectively. The function evaluates the expression to a scalar or a vector array.

Example: [d-50e-9*1e5,1-d-50e-9*1e5] specifies the pulse durations, with a 50ns gate delay, for the true and complement controls of a half bridge switching network.

The number of uniformly spaced samples to output for the steady state switch cycle voltage or current waveforms produced by an operating point analysis, specified as a real positive integer.

Output Arguments

collapse all

Operating point results, returned as a table. Each row of the table contains the duty cycle, switching frequency, and the average value for each output port for an operating point.

The data used to plot the output as a function of control value, returned as an array. The array has one column for the control input and one column for the primary output.

Waveforms for each operating points, returned as an array of tables with one table for each operating point. Each wave table contains a steady state switch cycle waveform for every voltage node and device current in the circuit.

Small signal objects, one for each operating point. If there is only one operating point, the return value is the small signal object for that operating point. For multiple operating points, the small signal objects are returned in a cell array.

ABCD matrix structure for each small signal model, returned as a structure array. The ABCD matrix structure contains the A, B, C, D, tau, inports, and outports values.

Version History

Introduced in R2026a