磁滞是什么意思,它如何应用于计算机科学或编程? [英] What does hysteresis mean and how does it apply to computer science or programming?
问题描述
我正在看一些代码,看到关于磁滞的上下文注释。我想我已经弄清楚了代码的作用,因此我的问题不涉及任何具体问题。我根本不理解该术语的含义或它在编程中的适用性。我环顾四周,看到一些数学定义,但需要更多信息。据我所知,迟滞与基于过去X发生的事情预测或假定X的给定状态有关。
I was looking at some code and saw an out of context comment about 'hysteresis.' I think I have figured out what the code does so my question doesn't involve anything specific. I simply do not understand what the term means or how it is applicable in programming. I looked around and saw some mathmatic definitions but would like some more information. From what I can tell Hysteresis has something to do with predicting or assuming a given state for X based on what has happened to X in the past?
推荐答案
磁滞表示一个系统,该系统的行为(输出)不仅取决于时间 t 的输入,而且还取决于其过去的行为( path )紧随其后。
Hysteresis characterizes a system whose behavior (output) does not only depend on its input at time t, but also on its past behavior, on the path it has followed.
一种具有滞后作用的著名设备是恒温器。想象一下一个恒温器,它将在70°F下打开和关闭加热。当温度在70°F左右时,温度会略有波动,但恒温器会持续打开和关闭加热功能。通常,恒温器内置滞后功能:它将打开(例如)69°F的加热,但关闭71°F的加热。这样可以避免连续切换。
A well-known device that exhibits hysteresis is a thermostat. Imagine a thermostat that would switch on and off heating at 70°F. When temperature is around 70°F, while fluctuating a bit, the thermostat would continually switch heating on and off. Generally, a thermostat is built with hysteresis: it will switch on heating at (say) 69°F, but switch off heating at 71°F. This avoids the continual switches.
编辑:看看维基百科的文章。
这篇关于磁滞是什么意思,它如何应用于计算机科学或编程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!