WB-MSW v.3 Modbus Sensor/en: различия между версиями

Новая страница: «The operation principleof the motion detection mechanism in the WB-MSW v.3 sensor is as follows. The module constantly receives "raw" values from the ADC to which…»
(Новая страница: «== Motion sensor == The module has a PIR motion sensor that detects the movement of objects at a distance of up to 8 m with a viewing angle of about 100 degrees.…»)
(Новая страница: «The operation principleof the motion detection mechanism in the WB-MSW v.3 sensor is as follows. The module constantly receives "raw" values from the ADC to which…»)
Строка 226: Строка 226:
The module has a PIR motion sensor that detects the movement of objects at a distance of up to 8 m with a viewing angle of about 100 degrees. The module has 3 Modbus-registers related to the data received from the sensor, and one register that specifies the window time to calculate the maximum traffic intensity for the past time interval.
The module has a PIR motion sensor that detects the movement of objects at a distance of up to 8 m with a viewing angle of about 100 degrees. The module has 3 Modbus-registers related to the data received from the sensor, and one register that specifies the window time to calculate the maximum traffic intensity for the past time interval.


Принцип работы механизма обнаружения движения в модуле WB-MSW v.3 выглядит следующим образом. Модуль постоянно получает "сырые" значения с АЦП, к которому подключен датчик движения (регистр 281). При отсутствии движения эти значения практически не изменяются. При движении излучающего в ИК-диапазоне объекта в поле зрения датчика происходит резкий рост и резкий спад значений, считываемых с АЦП.  
The operation principleof the motion detection mechanism in the WB-MSW v.3 sensor is as follows. The module constantly receives "raw" values from the ADC to which the motion sensor is connected (register 281). In the absence of movement, these values are virtually unchanged. When moving radiating in the IR range of the object in the field of view of the sensor is a sharp increase and a sharp decline in the values read from the ADC.  
Изменения сырых значений сразу увеличивают значение '''Current motion''' (текущее усредненное значение интенсивности движения), которое затем начинает медленно спадать в течение нескольких секунд. Каждое новое резкое изменение значения, получаемого от АЦП, вновь "заряжает" регистр '''Current motion'''. В регистр '''Max Motion''' записывается максимальное значение регистра Current motion за последние N секунд (N — ширина временного окна, за которое вычисляется максимальное значение, записанное в регистре хранения 282).  
Changes in raw values immediately increase the value of '''Current motion''' (the current average of the intensity of movement), which then begins to slowly subside for a few seconds. Each new sharp change in the value received from the ADC, again "charges" the register '''Current motion'''. '''Max Motion''' in the register is recorded on the maximum value of the Current register of motion in the last N seconds (N is the width of the time window over which is calculated the maximum value recorded in the storage register 282).  


В шаблоне устройства представлены два параметра: '''Current motion''' и '''Max Motion'''. Если датчик движения опрашивается быстро (несколько раз в секунду), мы можем использовать параметр '''Current motion''' для обнаружения движения с хорошим временным разрешением. Если датчик опрашивается редко (наример, раз в 30 секунд, в большой сети), то мы можем пропустить быстрое однократное перемещение объекта: в этом случае следует использовать значение '''Max Motion''' и устанавливать ширину временного окна вычисления максимального "количества" движения заведомо большим, чем период опроса датчика.
В шаблоне устройства представлены два параметра: '''Current motion''' и '''Max Motion'''. Если датчик движения опрашивается быстро (несколько раз в секунду), мы можем использовать параметр '''Current motion''' для обнаружения движения с хорошим временным разрешением. Если датчик опрашивается редко (наример, раз в 30 секунд, в большой сети), то мы можем пропустить быстрое однократное перемещение объекта: в этом случае следует использовать значение '''Max Motion''' и устанавливать ширину временного окна вычисления максимального "количества" движения заведомо большим, чем период опроса датчика.
12 063

правки