📜  刺激和响应事件之间的区别

📅  最后修改于: 2022-05-13 01:56:11.700000             🧑  作者: Mango

刺激和响应事件之间的区别

1. 刺激事件:
在实时系统中,环境会生成此类事件,并且这些事件会作用于环境。刺激事件是非周期性和异步的。

例子:

  1. 在键盘上打字会产生一个刺激事件来作用于计算机系统。
  2. 核电站温度测量。

2. 响应事件:
当系统生成事件时,它们是响应事件。这些事件是在刺激事件的响应中产生的。这些事件作用于环境。它可以是周期性的或非周期性的。

例子:

  1. 考虑5点钟的闹钟,时间等于5是刺激事件,闹钟响是响应事件。
  2. 在温度超过 100 度时关闭感应。


刺激和响应事件之间的区别:



STIMULUS EVENTsRESPONSE 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.