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

Материал из Wiren Board
(Новая страница: «File:CurrenMaxRawMotion.png|1000px|thumb|center|Correlation of motion sensor parameters, short blue segments indicate the periods of detection of the most inten…»)
(Новая страница: «== LED lights ==»)
Строка 235: Строка 235:
[[File:CurrenMaxRawMotion.png|1000px|thumb|center|Correlation of motion sensor parameters, short blue segments indicate the periods of detection of the most intense motion. The window for Max Motion is set to 10 seconds.]]
[[File:CurrenMaxRawMotion.png|1000px|thumb|center|Correlation of motion sensor parameters, short blue segments indicate the periods of detection of the most intense motion. The window for Max Motion is set to 10 seconds.]]


== Светодиодные индикаторы ==  
== LED lights ==  


[[Файл:Wbmsw3flash2.gif|500px|thumb|right| Работа светодиодного индикатора в WB-MSW v.3]]
[[Файл:Wbmsw3flash2.gif|500px|thumb|right| Работа светодиодного индикатора в WB-MSW v.3]]

Версия 15:38, 24 июля 2019

Другие языки:

Buy online Внимание: Отображаемое название «Wall-mounted 8-in-one sensor WB-MSW v.3» переопределяет ранее заданное отображаемое название «WB-MSW v.3».


Hybrid sensor WB-MSW v.3, front view
Universal sensor WB-MSW V. 3, rearview. You can see the list of possible options and pin assignment on the screw connectors.

Purpose

WB-MSW v.3 module combines digital sensors of temperature, humidity, illumination, sound pressure, the concentration of VOC, Volatile organic compounds, motion sensor and transmission of IR commands. When ordering, you can select a combination of sensors to be installed in the module. Designed for domestic use. Design: plastic housing, wall-mounted. The module is controlled from the controller or PC via RS-485 bus by Modbus RTU Protocol commands.

The article about the sensor of the previous generation WB-MSW is here: WB-MSW2 Sensor.

Specifications

Measured value Range Error Ready

after power-on

Concentration CO2 0 — 5000 ppm (ppm) 50 ppm 3 min

(self-calibration after 24h)

Temperature -40°C — +80°C ±0.3°C (range 0°C — 70°C)

±0.5°C (full range)

1 sec
Relative humidity 0 — 99.9% (operating range: 0 — 98%) ±3% 1 sec
Noise level (sound pressure) 40 — 82 dB ±3 dB 5 sec
Illumination 0,02 — 100 000 Lux ±10% 1 sec
Air quality

(Volatile organic

compounds)

0 ppm - 60000 ppb (billion shares) by ethanol ±15%(type)

±40%(max)

5 min.

(self-calibration after 12h)

Motion sensor up to 8 m, 120 degree 5 sec
Transmitting IR commands up to 10 m (depends on ambient conditions)


Option Value
Power
Supply voltage 9 V — 28 V DC
Power consumption

0.5 W

Number of stored IR commands
Number of commands

32

Command duration The maximum command length is 508 registers, plus two registers indicate the end of the command.

Each register encodes the duration of a high or low signal level (sequentially) in microseconds.

Terminals and wire section
The recommended wire cross section with pin bushing insulated tip, mm2 0,75 — 1
Standard sleeve length of pin bushing insulated tip, mm 8
Tightening torque of screws, Н∙м 0,2
Control
Management interface RS-485
Interface isolation Uninsulated
Communication protocol Modbus RTU, the address is set by software, factory settings are indicated on the label
RS-485 interface parameters

speed 9600 bps; data bits 8; parity N; stop bits 2;

The interfaces can be configured programmatically:

Display
Power and data exchange green led at the bottom of the case
Custom indicator green and red led with adjustable flashing frequency and duty cycle
Sound indication beeper dimensions
Size 83x90,83x20 mm
Operating conditions
Air temperature -40°C to +80°C
Relative humidity up to 98%, no condensation

Modifications

Characteristics are coded in the article, according to the following scheme:

Designation Supported function
TH temperature and humidity measurement
L light measurement
I IR transceiver
S sound pressure level measurement
M motion sensor
C CO2 concentration measurement
V VOC concentration measurement

Data exchange

At the physical level, the module is connected via RS-485 interface. Modbus RTU Protocol is used to control the WB-MSW sensor. In Wirenboard Devices, Modbus data is transmitted over RS-485 communication lines. See the Modbus Protocol page for details. Modbus-the address of the counter is set at the factory and marked on the label. The address can be changed programmatically. Details refer to the Modbus control.

Installation

The module has holes for mounting to the surface. The installation pattern for body sensor: Файл:Установочный шаблон WB-MSW3 .pdf. To print a template, save it, open it in Acrobat Reader and select the "Real scale" option when printing.

For mounting the module, choose screws/screws with a head diameter of about 7 mm, if you want the module to be removable, and 9-10 mm — for permanent fixation.

The screw terminal block of the module is located on its back side and is used to connect power lines (V+ and GND) and control over RS-485 (RS-485 A and B). When using type handpieces for installation of wires in screw clamps, it is necessary that the diameter of the insulated cuffs does not exceed 3.6 mm, the wire section — 0.75 mm2, and the length of the conductive sleeve — 6 mm. Screw clamps also accept wire section up to 1.5 mm2.

Module connection to RS-485 process is described RS-485:Физическое_подключение/en / here in detail.

The module must be operated under recommended environmental conditions.

The recommended mounting height of the sensor from the floor level is 1 — 1.6 m.

Sample installation and connection of WB-MSW v.3 module. Screw clamps are located on the back side of the module in a special recess (see photo)

How to open the sensor housing

WB-MSW3-OPEN 1 .png
WB-MSW3-OPEN 2.png
WB-MSW3-OPEN 3.png
Locate the latch tab on the underside of the sensor housing. Push the screwdriver against the tab perpendicular to the side of the sensor housing until it stops. Lift the top cover of the sensor.

Th and VOC modules

Temperature/humidity (TH) and VOC measurement are done on separate modules. Modules are installed on the arrow in the connectors. For more accurate measurement, the TH module must be installed in the upper left connector. Otherwise it is heated by the CO2 sensor and overestimates the reading by 1-2 degrees.

Indication

The module has an indicator of operation and data exchange, which is visible in the technological hole on the bottom of the case. This indicator is not visible when the module is mounted on the wall, but is convenient when connecting and configuring the device. For the main indication in the module, there are two LEDs, green and red, which illuminate the lens on the front surface of the module (see below). The module has a sound beeper to attract attention. The beeper is also controlled via Web-interface or Modbus-register. For more information, see Modbus Control.

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 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 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. 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).

The device template contains two parameters: Current motion and Max Motion. If the motion sensor is polled quickly (several times per second), we can use the Current motion parameter to detect motion with good time resolution. If the sensor is rarely polled (for example, every 30 seconds, in a large network), then we can skip the rapid single movement of the object: in this case, we should use the value Max Motion and set the width of the time window for calculating the maximum number of motion is obviously greater than the sensor polling period.

The intensity value of the movement allows you to programmatically in the rules engine to react in different ways at different thresholds.

Correlation of motion sensor parameters, short blue segments indicate the periods of detection of the most intense motion. The window for Max Motion is set to 10 seconds.

LED lights

Работа светодиодного индикатора в WB-MSW v.3

В модуле имеется два ярких светодиода, зеленый и красный, подсвечивающие линзу на передней поверхности модуля. Включение, периодичность и длительность вспышек светодиодов задаются в web-интерфейсе или в соответствующих Modbus-регистрах. Периодичность и длительность задаются одинаковыми для обоих светодиодов, поэтому при их одновременном включении они будут мигать синхронно. Режима постоянного свечения не предусмотрено.

Индикаторы позволяют обеспечить обратную связь при монтаже и эксплуатации. Например, датчик может мигать красным при превышении оптимальной концентрации углекислого газа. При монтаже большого количества датчиков индикаторы (или бипер) помогут определить, к какому конкретно датчику вы сейчас обращаетесь.

Эмуляция ИК-пультов

В WB-MSW v.3 под линзой расположены ИК-приёмник для обучения и 8 ИК-светодиодов.

Подробное описание и использования модуля, а также карта регистров, описаны в разделе Инструкция по работе с ИК-приёмопередатчиком в устройствах WB-MS, WB-MSW, WB-MIR.

Обучение делается один раз — команды сохраняются в памяти устройства и могут быть воспроизведены командой по Modbus с контроллера. Количество запоминаемых команд достаточно большое (до сотни, в зависимости от модели пульта), чтобы управлять сразу многими устройствами в помещении. Мощности передатчика хватает, чтобы управляемые устройства принимали не только прямой, но и отраженный сигнал.

В нежилых помещениях по ИК обеспечивает управление кондиционерами и теплозавесами. Учтите, что ИК команды отправляются всем устройствам в зоне видимости, поэтому послать разные команды на одинаковые устройства не получится. Для индивидуального управления каждым кондиционером используйте модуль WB-MIR.

Датчик освещенности

Датчик освещенности модуля имеет фильтр, который повторяет кривую спектральной чувствительности человеческого глаза. Это позволяет измерять освещенность в люксах, что позволяет обеспечить контроль освещенности, в соответствии с нормами СанПиН.


Светодиодные индикаторы, датчик освещенности и ИК-светодиоды выполнены на одном отдельном модуле, в зависимости от комплектации при покупке их может не быть.

Датчик шума

В модуле используется микрофон с усилителем и фильтрами для коррекции по шкале А с учётом особенностей восприятия человеческим ухом звуков разных частот. Шум измеряется в акустических децибелах (дБА), что позволяет контролировать шумовую обстановку в соответствии со стандартами и санитарными нормами.

Датчик качества воздуха (VOC)

Летучие органические вещества (ЛОВ, VOC) представляют собой легкоиспаряющиеся вещества, выделяющиеся в атмосферу в виде газов. Датчик определяет суммарную концентрацию летучих органических веществ, в том числе испарения лаков/красок и элементов внутренней отделки помещений (фенол, формальдегид, толуол, стирол), спирты, бензол, гниющие овощи, выделяемые человеком газы, бытовой газ. Высокие концентрации опасных ЛОВ представляют угрозу жизни и здоровья человека. Датчик VOC не работает как детектор утечки бытовых горючих газов!

Датчик измеряет общую концентрацию летучих органических веществ в единицах на миллиард ppb (также называемую ОЛОС — см. ГОСТ Р ИСО 16000-9-2009). Данный параметр характеризует общую концентрацию ЛОВ в усредненном помещении. На основании исследований производителем датчика установлены следующие пороги концентрации:


Концентрация (ppb) Уровень Соответствие гигиеническим нормам Рекомендации Предельное время воздействия
2200 - 5500 Опасно для здоровья Ситуация неприемлема Подвергаться воздействию только в критических случаях / Необходимо интенсивное вентилирование часы
660-2200 Неудовлетворительно Серьезные претензии Необходимо интенсивное вентилирование или проветривание, требуется поиск источников загрязнения < 1 месяца
220 - 660 Приемлемо Некоторые претензии Рекомендуется интенсивное вентилирование или проветривание, требуется поиск источников загрязнения < 12 месяцев
65 - 220 Хорошо Без особых претензий Рекомендуется вентилирование или проветривание нет предела
0-65 Отлично Без претензий Требуемое значение нет предела


Датчик готов к работе через 6 минут после включения. До этого в регистре качества воздуха находится значение, сигнализирующее об ошибке (0xFFFF). Примерно каждые 12 часов производится самокалибровка датчика.

Внимание: датчик не реагирует на дым!

Представление модуля WB-MSW v.3 в web-интерфейсе Wiren Board

В таблице перечислены названия измеряемых модулем параметров и их значение. Названия параметров, которые не поддерживаются конкретным модулем, будут выделены красным.

Элеменеты управления и индикации модуля WB-MSW v.3 в веб-интерфейсе
Параметр Значение
Temperature Температура внутреннего датчика
Humidity Относительная влажность в процентах
Air Quality (VOC) Качество воздуха (ЛОВ) в ppm
CO2 Концентрация CO2 в PPM
Sound Level Звуковое давление в дБ
Illuminance Освещенность в лк
Max Motion Максимальное усредненное значение датчика движения за последние N секунд (N — настраиваемый параметр, регистр 282)
Current Motion Усредненное значение датчика движения на коротком интервале времени
Buzzer Включение(ON)/выключение(OFF) звукового сигнала ("пищалки")
Red LED Включение/выключение мигающего красного светодиода
Green LED Включение/выключение мигающего красного светодиода
LED Period (s) Период между вспышками светодиодов в секундах
LED Glow Duration (ms) Длительность вспышек светодиодов в миллисекундах
Learn to RAM — Reset all ROM Управление ИК-передатчиком, подробнее в статье управление по ИК
Input Voltage Входное напряжение в вольтах
Serial Серийный номер устройства

Дополнительные функции

Смена адреса производится широковещательный (slave_id 0) командой записи (WRITE_SINGLE_REGISTER) в holding register с адресом 128 (0x80).

Обновление прошивки устройства

Начиная с новых версий микропрограмм устройства поддерживается функционал обновления прошивки (микропрограммы) по протоколу Modbus. Это дает возможность расширять функциональные возможности устройств и устранять ошибки в микропрограммном обеспечении непосредственно на месте монтажа.

Подробнее о перепрошивке устройств рассказано в статье Загрузка прошивок на устройства Wiren Board.

Список версий прошивок, поддерживающих обновление, а также устройств, для которых эта функция реализована, можно найти в статье Firmware_Changelog.

Управление по Modbus

Подробно о работе с модулем по протоколу Modbus написано в разделе Управление датчиками Wirenboard по протоколу Modbus. Там же можно найти карту регистров устройства.

Назад к списку периферийных устройств

Изображения и чертежи устройства


По ссылкам ниже вы можете скачать изображения и чертежи устройства WB-MSW3.

Corel Draw 2018: WB-MSW3.cdr.zip

Corel Draw PDF: WB-MSW3.cdr.pdf

Autocad 2013 DXF: WB-MSW3.dxf.zip

Autocad PDF: WB-MSW3.pdf