← 返回资讯屏轩教育 · 行业资讯

7. The Unit Function and the Delay Rule | 7. 单位函数与延迟规则

2026-08-03 02:36 · 本文部分内容由AI辅助创作

📚 7. The Unit Function and the Delay Rule | 7. 单位函数与延迟规则

In IB Computer Science HL, Topic 7 – Control delves into how embedded systems interact with the physical world through sensors and actuators. Two foundational concepts that every student must grasp are the unit step function and the time‑delay rule. These ideas allow us to model system inputs and account for real‑world lag, forming the basis for analysing transient responses, stability, and controller design.

在 IB 计算机科学高级课程中,主题 7 —— 控制深入探讨嵌入式系统如何通过传感器和执行器与物理世界交互。每位学生都必须掌握的两个基础概念是单位阶跃函数和时间延迟规则。这些思想使我们能够对系统输入进行建模并考虑真实世界中的滞后,从而构成分析瞬态响应、稳定性以及控制器设计的基础。


1. The Role of Control in Computer Systems | 计算机系统中的控制角色

Control systems are everywhere in modern computing: from temperature regulation in a server room to the precise movement of a robotic arm. A control system takes a desired setpoint, compares it with the measured output, and computes a corrective action. Studying the response to a sudden change – the unit step – tells us how fast and how smoothly the system reaches its target.

控制系统在现代计算中无处不在:从服务器机房的温度调节到机械臂的精确运动。控制系统接收期望的设定值,将其与测得的输出进行比较,并计算出校正动作。研究系统对突变——单位阶跃——的响应,可以告诉我们系统达到目标的速度和平滑程度。


2. What Exactly Is the Unit Step Function? | 单位阶跃函数到底是什么?

ative time and instantly becomes 1 at t = 0. In control theory we use it to mimic a sudden “on” h as switching a heater to full power or requesting a motor to accelerate instantaneously.

单位阶跃函数通常用 u(t) 或赫维赛德阶跃函数表示,是一种数学信号:在所有负时刻值为 0,在 t = 0 时瞬间跳变为 1。在控制理论中,我们用它来模拟突然的“开”指令,比如将加热器切换到全功率或要求电机瞬间加速。

u(t) = 0 for t < 0, u(t) = 1 for t ≥ 0

u(t) = 0(t < 0 时),u(t) = 1(t ≥ 0 时)


3. Representing the Step Function in System Analysis | 系统分析中阶跃函数的表示

step response Y(s) = G(s)/s. The inverse Laplace transform of this product yields the time‑domain behaviour that engineers rely on for performance metrics.

在拉普拉斯域中,单位阶跃变得极其简单:其变换为 1/s。这允许我们将它与系统的传递函数 G(s) 相乘,得到阶跃响应 Y(s) = G(s)/s。对该乘积进行拉普拉斯逆变换可得到时域行为,工程师依靠这一行为来评价性能指标。

ℒ{u(t)} = 1 / s


4. Time‑Domain Characteristics of a Step Response | 阶跃响应的时域特征

Analysing the step response reveals key parameters: rise time, overshoot, settling time, and steady‑state error. A critically damped system reaches the setpoint without oscillation, while an underdamped system overshoots before stabilising. The unit step thus acts as a diagnostic tool for evaluating a controller’s tuning.

分析阶跃响应可以揭示关键参数:上升时间、超调量、调节时间和稳态误差。临界阻尼系统无振荡地达到设定值,而欠阻尼系统在稳定之前会出现超调。因此,单位阶跃充当了评估控制器整定性能的诊断工具。

Parameter | 参数 Meaning | 含义
Rise time | 上升时间 Time to go from 10% to 90% of final value | 从终值的10%升至90%所需时间
Overshoot | 超调量 Maximum peak above the setpoint | 超过设定值的最大峰值
Settling time | 调节时间 Time to stay within ±2% of final value | 保持在终值±2%以内的时间

5. Introducing Time Delay in Real Systems | 实际系统中的时间延迟

No physical system responds truly instantaneously. A transport delay occurs when a signal or material takes a finite time to travel from one point to another – for example, the lag between a command to a web server and the arrival of data packets, or the time for heat to propagate along a pipe. This dead time is a critical factor in control design.

没有任何物理系统能够真正做到瞬时响应。当一个信号或物质需要有限时间从一个点传递到另一个点时,就会产生传输延迟——例如,向 Web 服务器发出命令与数据包到达之间的滞后,或者热量沿管道传播的时间。这种死区时间是控制设计中的关键因素。


广告 / Sponsored

6. The Delay Rule in Laplace Transforms | 拉普拉斯变换中的延迟规则

Mathematically, a time delay of τ seconds is represented in the Laplace domain as multiplication by e–τs. The delay rule states that if a function f(t) is delayed by τ, its transform becomes e–τsF(s). This property lets us incorporate pure lag into transfer functions without leaving the frequency‑domain framework.

数学上,τ 秒的时间延迟在拉普拉斯域中表示为乘以 e–τs。延迟规则指出,若函数 f(t) 被延迟了 τ,其变换就变为 e–τsF(s)。这一性质使我们能够将纯滞后纳入传递函数,而无需离开频域框架。

ℒ{f(t – τ) · u(t – τ)} = e–τs F(s)


7. Transfer Functions That Include a Delay Term | 含延迟项的传递函数

Consider a simple first‑ ut with an additional transport delay τ. Its overall transfer function becomes G(s) = (K e–τs) / (T s + 1). The exponential term makes the system infinite‑dimensional; it is no longer a rational function, which complicates stability analysis and controller synthesis.

考虑一个增益为 K、时间常数为 T 的简单一阶对象,但它还带有额外的传输延迟 τ。其总传递函数变为 G(s) = (K e–τs) / (T s + 1)。指数项使系统成为无限维的;它不再是有理函数,这使得稳定性分析和控制器综合变得复杂。


8. How Delay Affects Stability and Performance | 延迟如何影响稳定性和性能

Time delay is a notorious enemy of stability. Because the phase lag introduced by e–τs increases with frequency, a system that was perfectly stable without delay may become oscillatory or even unstable when lag is present. Controllers must be tuned conservatively, often sacrificing speed for robustness, to handle the destabilising effect of delay.

时间延迟是稳定性臭名昭著的敌人。由于 e–τs 引入的相位滞后随频率增加,一个原本没有延迟时完全稳定的系统在存在滞后时可能变得振荡甚至不稳定。控制器必须保守整定,通常以牺牲速度换取鲁棒性,以应对延迟的不稳定效应。

Key rule of thumb: The maximum acceptable delay is roughly one‑tenth of the dominant time constant for simple loops.

经验法则: 对于简单回路,最大可接受延迟约为主时间常数的十分之一。


9. Modelling Delay in Block Diagrams | 在框图中对延迟进行建模

In block diagram notation, a time delay is represented by a block containing the exponential term e–τs. It can appear anywhere along the forward path, feedback loop, or even inside the plant model. When simulating or sketching root loci, the delay block reminds us that the system’s response is inherently stretched over time.

在框图符号中,时间延迟用一个包含指数项 e–τs 的方框表示。它可以出现在前向通路、反馈回路的任何位置,甚至出现在对象模型内部。在仿真或绘制根轨迹时,延迟方框提醒我们系统的响应本质上在时间上是被拉伸的。

[Input] → [G(s)] → [e–τs] → [Output]


10. Practical Example – Heating System with Sensor Lag | 实例——带传感器滞后的供暖系统

a drop in temperature and turns on the heating element. However, there is a noticeable delay before the warm air reaches the thermostat – yed rise in room temperature, potentially causing the thermostat to overshoot and oscillate if not properly compensated.

设想一个由恒温器控制的空气加热器。恒温器检测到温度下降并开启加热元件。然而,在暖空气到达恒温器之前存在明显的延迟——这就是传输延迟 τ。阶跃输入(u(t) = 全功率)会使室温出现延迟上升,如果没有适当的补偿,可能导致恒温器超调并发生振荡。


11. Network Lag as a Time Delay in Digital Control | 网络滞后——数字控制中的时间延迟

In a network‑based control system, such as a cloud‑connected IoT actuator, the communication latency between sensor, controller and actuator behaves exactly like a time delay. The unit step response of such a system can degrade rapidly if the round‑trip time is too large, making this concept directly relevant to modern distributed computing scenarios.

在基于网络的控制系统中,例如云连接的物联网执行器,传感器、控制器和执行器之间的通信延迟就像一个时间延迟。如果往返时间过大,这类系统的单位阶跃响应可能会迅速恶化,使得这一概念与现代分布式计算场景直接相关。


12. Key Takeaways and Exam Tips | 关键要点与考试提示


Published by TutorHao | Control Revision Series | aleveler.com

广告 / Sponsored
IBDP国际文凭计算机科学学生用书 高级及标准水平 Computer Science for the IB Diplo…
计算机 备考教辅 · 正版现货 · 与本文内容相关
查看详情 / View on Taobao参考价 ¥524.0

更多咨询请联系16621398022(同微信)

备考资讯每日更新,关注不错过
考纲变化 · 科目分析 · 学习方法
扫码关注公众号 tutorhao
在微信里长按二维码识别关注
或截图后用「扫一扫 → 相册」选择本图
公众号:tutorhao