主要内容

连续-离散转换

模型离散化,离散到连续时间转换,重采样

Control System Toolbox™ 提供了相应的命令,可以对动态系统模型进行重采样或在连续时间域和离散时间域之间进行转换。

实时编辑器任务

转换模型速率在连续时间和离散时间之间转换模型,并在实时编辑器中对模型进行重采样

函数

c2d将模型从连续时间转换为离散时间
d2c将模型从离散时间转换为连续时间
d2d重采样离散时间模型
upsample上采样离散时间模型
c2dOptions为连续时间到离散时间的转换指定离散化方法
d2cOptions为离散时间到连续时间转换创建选项集
d2dOptionsCreate option set for discrete-time resampling

主题

  • Discretizing and Resampling Models

    This example shows how to use the commands for continuous/discrete, discrete/continuous, and discrete/discrete conversions.

  • Discretize a Compensator

    This example shows how to convert a compensator from continuous to discrete time using several discretization methods, to identify a method that yields a good match in the frequency domain.

  • 对陷波滤波器进行离散化

    此示例说明对陷波滤波器进行离散化的多种方法的比较。虽然控制系统组件通常是在连续时间下设计的,但为了在数字计算机和嵌入式处理器上实现,一般必须对其进行离散化。

  • Improve Accuracy of Discretized System with Time Delay

    This example shows how to improve the frequency-domain accuracy of a system with a time delay that is a fractional multiple of the sample time.

  • 将离散时间系统转换为连续时间

    此示例说明如何使用 d2c 将离散时间系统转换为连续时间,并使用两种不同的插值方法比较结果。

  • 连续-离散转换方法

    选择用于在连续模型与离散模型之间进行转换的离散化方法和插值方法。

  • Upsample Discrete-Time System

    This example shows how to upsample a system using both the d2d and upsample commands and compare the results of both to the original system.

  • 选择重采样命令

    使用重采样命令更改离散时间系统的采样时间。