Wiren Board 4:Аппаратная часть/en: различия между версиями
Строка 63: | Строка 63: | ||
|- | |- | ||
{ | {| | ||
!colspan="2"| '''Outputs''' | !colspan="2"| '''Outputs''' | ||
|- | |- |
Версия 15:29, 17 июля 2015
Technical specifications
Software | |
---|---|
Operating System | Debian Linux 7.0. Mainline kernel 3.19. |
Controller | |
CPU | Freescale i.MX233 454 MHz |
RAM | DDR SDRAM 64 MB |
ROM | MicroSD card 32 GB max |
Wireless Interfaces | |
Wi-Fi | 802.11 b/g/n 2.4 ГГц |
GSM/GPRS | 900/1800 МГц. GPRS multi-slot class 10/8 max. 85.6 kbps (downlink). microSIM card, packaged |
Radio module 433 MHz | RFM69H module. To communicate with Noolite devices, Oregon NRF24L01 sensors |
Radio module 2.4 GHz | NRF24L01To communicate with similar NRF24 modules (optional) |
Wired interfaces | |
Ethernet | 10/100 Mbit/s, RJ-45 connector |
USB 2.0 Host | 2 connectors (one connector is located inside the housing) |
Audiooutput | 3.5 mm connector, stereo |
2xRS-485 (one of the ports is insulated) | Software support of Modbus RTU, ADICON/A-BUS/Uniel, and Smartbus G4 protocols |
Debug console | Debug UART To be connected via USB-UART adapter |
2x 1-Wire | Connection of temperature and moister sensors |
Connection of sensors | |
5x АЦП | 2x up to 24V , 3x - up to 5V |
2xInputs for resistive sensors | Connection of 10 kOhm thermistors. The controller can be used as ADC up to 3.3V |
4x"Dry contact" | Connection of pushbuttons, gerkons, counters with pulse outputs |
2x DI (digital input) |
Outputs | |
---|---|
9x"Open collector" | 24V/2A, control of contactors, LED strip lights, etc. |
2xРеле | Up to 250V/3A, normally closed contacts |
Other | |
8xGPIO | are multiplexed with other inputs/outputs |
1xSpeaker | "buzzer" |
Real-time clock RTC | RTC Redundant battery |
Watchdog timer | Separate hardware watchdog to perform full reset of the device |
1x Connector for extension module | Supported extension modules: * RS-232 extension module |
Power supply | |
Operating voltage | 9-24 V |
Power consumption | <3 W (maximum 12 W) |
Redundant battery | Operation Li-ion batteries are supported |
Passive Power over Ethernet | Passsive Power over Ethernet |
Overall dimensions | board - 103x87x20 mm, housing for DIN rail installation 6U |
Operation | Operating temperature - 0..70C (-40..85C by request) Varnish coating for moister protection |
Terminal blocks
Some terminal blocks can be used to perform several functions. Ref. description of inputs and outputs and Port multiplexing article.
подпись |
Max. V, I | cостояние по умолчанию | Функуции | ||||
Верхний ряд, правый блок | |||||||
---|---|---|---|---|---|---|---|
Vin | 24V | Входное напряжение | |||||
GND | |||||||
O1 | Входы/выходы модуля расширения | ||||||
O2 | |||||||
O3 | |||||||
A | 30 V | 0V | Неизолированный порт RS-485 | ||||
B | 30 V | +5V | |||||
(9-24)V_OUT | 24V | Входное напряжение, выход, для питания устройств по шине RS-485 | |||||
GND | |||||||
A-iso | 30 V | 0V | Оптоизолированный порт RS-485 | ||||
B-iso | 30 V | +5V | |||||
GND-iso | Земля оптоизолированного RS-485 | ||||||
Нижний ряд, левый блок | |||||||
5V out | 5V, 0.5A | 5V | выход 5V (для датчиков 1-Wire) | ||||
W1 | 30V | 3.3V | 1-Wire, GPIO | ||||
W2 | |||||||
R1 | 5V | High Z | Резистивные датчики, ADC, цифровые входы (GPIO) без подтяжки | ||||
R2 | |||||||
A1 | Vin , 2A | High Z | Выходы "открытый коллектор", ADC | ||||
A2 | |||||||
A3 | |||||||
A4 | Vin , 2A | High Z | Выходы "открытый коллектор", ADC , цифровые входы DI | ||||
A5 | |||||||
GND | |||||||
Нижний ряд, правый блок | |||||||
GND | |||||||
GND | |||||||
D1 | Vin , 2A | +5V | Выходы "открытый коллектор", входы для "сухого контакта" | ||||
D2 | |||||||
D3 | |||||||
D4 | |||||||
Relay1 | 250, 2A | разомкнуто | первое реле | ||||
Relay2 | второе реле |
Input protection
As compared to version 3, input protection and general noise protection are significantly improved.
- Protection of all inputs from power supply voltage (up to 24 V) and pulse noise.
- Protection from reverse polarity.
- One optic isolated RS-485 port.
- Diode protection of keys at Ax and Dx inputs from inductive loads.
- Protection from relay contact sparking.
Versatile inputs/outputs Ax and Dx
Versatile channels consist of input and output stages that operate simultaneously, as well as protective diodes (connected to one terminal of the channel).
Output stage consists of the Tx switching element. Tx key grounds the outputs. Under control of the controller logical boards, the Tx key may be one of 2 states:
- Active (closed); 0 is at the channel output.
- Inactive (open), high impedance. Such outputs are called “open collectors”.
Input stage of Ax channel consists of an analogue-to-digital converter ADCx and an input resistor Rx. Input resistance of the ADCx is high. It is always ON and does not affect the channel operation as it works in output mode. In input mode the Tx key is inactive (open) and, thus, does not affect voltage measuring at the channel terminals. Input resistance of the channel in input mode is formed by the Rx resistor. If no other circuits are connected to the channel terminals, the resistor downs the input voltage to zero, and the ADCx converter will read 0.
А4 and А5 support binary input function DI: more than 3V at the terminal is considered as triggering of the input.
Input stage of Dx channels consists of a circuit for connection of dry contacts. This stage continuously provides 5V voltage at the terminal. In input mode the Tx key is inactive (open). When the terminal is grounded, small current (2 mA) flows via the channel. Controller considers that as triggering of the input. Closing of the Tx key is considered as triggering of the input. In output mode the output stage does not affect the channel operation, provided that a more than 5 V load is connected to the channel.
Resistive Inputs
Каждая клемма подключена к внутреннему регулируемому источнику тока. Контроллер устанавливает ток через сенсор, при этом замеряя напряжение на клемме, соответственно пересчитывая его сопротивление. При необходимости и поддержке соответсвущей программы, резистивные входы могут быть использованы как дополнительные аналоговые/бинарные входы,
Extension modules
Ref. the corresponding articles to describe connection and software operation:
- Wiren Board 4: RS-232 extension module
- Wiren Board 4: CAN extension module
- Wiren Board 4: UART-CAN extension module
Power Supply
От внешнего блока питания
Допустимый диапазон питания 7-24В. Среднее потребление платы - 1,5-2 Вт. Но т.к. модуль GSM потребляет импульсно до 8 Вт, рекомендуется использовать блоки питания с мощностью не менее 10 Вт.
Разъем питания под стандартный jack 5.5x2.1мм, также входное напряжение можно подключать к клеммам Vin и GND.
Power over Ethernet
Поддерживается питание по кабелю Ethernet. Подробнее смотрите Power over Ethernet.
Аккумулятор
Wiren Board позволяет подключить Li-Ion (Li-Pol) аккумулятор c максимальным напряжением 4.2В. При подключении питания аккумулятор заряжается током до 0,5 А.
Есть защита от зарядки при отрицательных температурах. Но защита от переразряда аккумулятора отсутствует, поэтому настоятельно рекомендуется использовать аккумуляторы с встроенной схемой защиты.
Соблюдайте полярность подключения аккумулятора!
Работа с клеммами WAGO 250
В качестве интерфейсных клемм в контроллере применены клеммы WAGO 250 Series. Это самозажимные клипсы. При вставке очищенного одножильного провода в гнездо, он автоматически зажимается пружинной защѐлкой. Для вставки многожильных проводов, необходимо отжать пружину, нажав на кнопку клипсы. Кнопка имеет паз под шлицевую отвертку. Для извлечения провода, нужно отжать пружину, нажав на кнопку клипсы, и вытащить провод.
Антенны Wi-Fi, GSM, 433MHz
Антенна Wi-Fi расположена внутри корпуса.
Антенны GSM и радио 433MHz подключаются к SMA разъемам на корпусе.
При слабом сигнале GSM рекомендуется использовать выносную антенну и располагать ее вдали от контроллера.
Схемы подключения периферии
Управление низковольтной нагрузкой
Реле на 12/24В, светодиоды, вентиляторы, сигнальные лампы и т. д.
Напряжение питания контроллера должно быть не меньше напряжения подключаемой нагрузки. Подключите "+" нагрузки к "+" источника питания, а "-" к клеммам Ax или Dx. Если используется несколько каналов, и суммарный ток больше 5 А, подключите несколько клемм GND к "-" источника питания. При управлении индуктивной нагрузкой (реле), возникают всплески напряжения. Для защиты от перенапряжения в контроллер встроены защитные диоды. Никаких внешних защитных элементов не требуется.
Контакторы с управляющим напряжением 220В
Подключите управляющую катушку контактора через реле WB (см. рисунок) Реле WB содержит демпфирующую RC-цепочку и TVS. Никакие внешние компоненты не требуются.
Датчики с аналоговым выходом по напряжению
Подключите землю устройства к клемме GND, или соедините с общей земляной шиной. Выход датчика подключается к одному из клемм Ах или Rx. Каналы Ах/Rx имеют разные диапазоны измеряемых напряжений. Подберите оптимальный канал для вашего датчика.
Датчики с аналоговым токовым выходом
Специальных токовых входов в WB нет, но можно, используя резистор 100-300Ом, ток преобразовать в напряжение и подключить как в предыдущем пункте.
Датчики с резистивным выходом
Входы R1 R2 предназначены для измерения сопротивлений в диапазоне 1-100кОм. Измеряемое сопротивление подключается между GND и Rx.
Датчики/счетчики с импульсными выходами/кнопки
Такие устройства формируют сигнал, замыкая подходящие к ним два провода. Подключите один провод к клемме GND, или соедините с общей земляной шиной. Второй провод подключите к клемме Dx. Некоторые счетчики имеют импульсный выход на оптроне, тогда два провода имеют полярность - "плюс" и "минус". В таком случае минус подключается к GND, "плюс" к Dx.
Устройства с выходом открытый коллектор
Устройство и контроллер должны иметь общую землю. Выход "открытый коллектор" подключите к клемме Dx.
Network connection of 1-Wire
Connect the device ground to the GND terminal or a common grounding bus. Connect the data line to one of 1-Wire terminals. Connect the power line to 5V terminal (internal power source). It is allowed to use external power sources of 1-Wire bus.
If a passive power source is used, the power terminals of all sensors must be connected to the grounding bus. In such cases the bus will consist of two wires connected to 1-Wire and GND, respectively.
Подключение к сети RS-485
See RS-485.
Wiren Board 4 controllers are equipped with two RS-485 ports. One of them is galvanic insulated, the other one is not. If the RS-485 network is quite large, it is better use the insulated port for connection. Lines A and B are connected to A and B terminals, respectively. The signal ground (if any) must be connected to the GNDiso terminal.
A and B lines are often accompanied by another pair of wires used to power devices connected to the bus. In such cases it is necessary to use GND and Vout terminals. Current in power wires must not exceed 1 A.
Example of device connection
Test bench diagram - thumb|500px|Test bench diagram
Diagram and Drawing
Wiren Board 4 principle diagram - Файл:WB 4.3.pdf, scheme - Файл:WB 4.2 чертеж.pdf