刺激和响应事件之间的区别
1. 刺激事件:
在实时系统中,环境会生成此类事件,并且这些事件会作用于环境。刺激事件是非周期性和异步的。
例子:
- 在键盘上打字会产生一个刺激事件来作用于计算机系统。
- 核电站温度测量。
2. 响应事件:
当系统生成事件时,它们是响应事件。这些事件是在刺激事件的响应中产生的。这些事件作用于环境。它可以是周期性的或非周期性的。
例子:
- 考虑5点钟的闹钟,时间等于5是刺激事件,闹钟响是响应事件。
- 在温度超过 100 度时关闭感应。
刺激和响应事件之间的区别:
STIMULUS EVENTs | RESPONSE EVENTs |
---|---|
Stimulus events are generated by environment. | Response events are generated by system. |
These events act on the system. | These events act on the environment. |
These events are aperiodic. | These can be periodic as well as aperiodic. |
These are asynchronous events. | These are synchronous events. |
These are not generated for a response. | These are generated in response of stimulus events. |
These events may be instantaneous or may have some duration. | These are instantaneous events. |