LabVIEW Control Design and Simulation Module

Model Conversion VIs

  • Updated2023-03-14
  • 3 minute(s) read

Owning Palette: Control Design VIs and Functions

Requires: Control Design and Simulation Module. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Model Conversion VIs to convert a system model from one representation to another, from a continuous-time to a discrete-time model, or from a discrete-time to a continuous-time model. You also can use the Model Conversion VIs to convert a control design model into a simulation model or a simulation model into a control design model.

The VIs on this palette can return general LabVIEW error codes or specific control design error codes.

Palette ObjectDescription
CD Canonical State-Space RealizationTransforms the State-Space Model to a canonical form that Form Type specifies. This VI also returns the similarity Transformation Matrix that this VI uses to transform the given system.
CD Convert Continuous to DiscreteConverts a continuous-time model to a discrete-time model using the Sampling Time (s) and the Method you specify. The Zero-Order-Hold conversion method supports input and output delays that are not an integer multiple of the Sampling Time (s). Wire data to the Continuous State-Space Model input to determine the polymorphic instance to use or manually select the instance.
CD Convert Control Design to SimulationConverts a control design model into a model you can use for simulation. Wire data to the State-Space Model input to determine the polymorphic instance to use or manually select the instance.
CD Convert Delay to Poles at OriginIncorporates delays into discrete system models by adding poles at the origin to account for the specified delay. Wire data to the State-Space Model input to determine the polymorphic instance to use or manually select the instance.
CD Convert Delay with Pade ApproximationIncorporates time delays in a continuous-time system model using Pade approximation, which converts all residuals. Wire data to the State-Space Model input to determine the polymorphic instance to use or manually select the instance.
CD Convert Discrete to ContinuousConverts a discrete-time model to a continuous-time model by using the specified Method.Wire data to the Discrete State-Space Model input to determine the polymorphic instance to use or manually select the instance.
CD Convert Discrete to DiscreteChanges the sampling time of a discrete-time system model. Wire data to the Discrete State-Space Model input to determine the polymorphic instance to use or manually select the instance.
CD Convert Simulation to Control DesignConverts a simulation model into a model you can use for control design. You must manually select the polymorphic instance to use.
CD Convert to State-Space ModelConverts a system model to state-space form. This VI produces a full or minimum realization by specifying the Realization Type. Wire data to the Transfer Function Model input to determine the polymorphic instance to use or manually select the instance.
CD Convert to Transfer Function ModelConverts a system model to transfer function form. Wire data to the State-Space Model input to determine the polymorphic instance to use or manually select the instance.
CD Convert to Zero-Pole-Gain ModelConverts a system model to zero-pole-gain form. Wire data to the State-Space Model input to determine the polymorphic instance to use or manually select the instance.
CD Eliminate Small NumbersEliminates coefficients from a model that are less than or equal to the Tolerance you specify. Wire data to the State-Space Model input to determine the polymorphic instance to use or manually select the instance.
CD Normalize Transfer Function ModelNormalizes the numerator and denominator polynomials of a transfer function model. This VI arranges the coefficients of the resulting model in ascending or descending order of power, depending on the Normalized Term you specify.
CD Sort Zero-Pole-Gain ModelClassifies the complex roots of the polynomial for a zero-pole-gain model into real, complex conjugate pair, and pure complex roots, and then sorts the zeros and poles of the model in ascending or descending order with respect to real and imaginary parts or magnitude.

Log in to get a better experience