Wiren Board 4:Аппаратная часть/en: различия между версиями

Нет описания правки
(Новая страница: «== Schematics and Drawing ==»)
 
(не показана 141 промежуточная версия 5 участников)
Строка 3: Строка 3:




==Specification==
 
 
==Technical specifications==


[[File:WB4.png| thumb | 500px|Wiren Board 4]]
[[File:WB4.png| thumb | 500px|Wiren Board 4]]
Строка 9: Строка 11:


{|  border="1" width="45%" class="wikitable" style="text-align:center"
{|  border="1" width="45%" class="wikitable" style="text-align:center"
!colspan="2" | '''ПО'''  
!colspan="2" | '''Software'''  
|-
| Операционная система || Debian Linux 7.0. Mainline kernel 3.19.
|-
|-
!colspan="2" | '''Контроллер'''
| Operating System || Debian Linux 7.0. Mainline kernel 3.19.
|-
|-
| Процессор || [[Special:MyLanguage/Freescale i.MX233|Freescale i.MX233]] 454 МГц
!colspan="2" | '''Controller'''
|-
|-
|| Память оперативная || DDR SDRAM 64 МБ
| CPU || [[Special:MyLanguage/Freescale i.MX233|Freescale i.MX233]] 454 MHz
|-
|-
|| Память энергонезависимая || Карта microSD до 32 ГБ
|| RAM || DDR SDRAM 64 MB
|-
|-
|| ROM || MicroSD card 32 GB max
|-}


!colspan="2" | '''Wireless connectivity'''  
!colspan="2" | '''Wireless Interfaces'''  
|-
|-
| [[Special:MyLanguage/Wi-Fi|Wi-Fi]] || 802.11 b/g/n 2.4 ГГц
| [[Special:MyLanguage/Wi-Fi|Wi-Fi]] || 802.11 b/g/n 2.4 ГГц
|-
|-
|| [[Special:MyLanguage/GSM/GPRS|GSM/GPRS]] || 900/1800 МГц. GPRS multi-slot class 10/8 max. 85.6 kbps (downlink). microSIM-sized SIM card
|| [[Special:MyLanguage/GSM/GPRS|GSM/GPRS]] || 900/1800 МГц. GPRS multi-slot class 10/8 max. 85.6 kbps (downlink). microSIM card, packaged
|-
|-
|| ISM-band packet radio (433 MHz) || RFM69H module. Used to communicate with [[Special:MyLanguage/Поддерживаемые устройства |Noolite]] devices, [[Special:MyLanguage/Поддерживаемые устройства |Oregon]] sensors, etc
|| Radio module 433 MHz || RFM69H module. To communicate with [[Special:MyLanguage/Поддерживаемые устройства |Noolite]] devices, [[Special:MyLanguage/Поддерживаемые устройства |Oregon]] sensors
|-
|-
|| 2.4 GHz Wireless Module || [[Special:MyLanguage/NRF24L01|NRF24L01]]. Used to communicate with NRF24L01+ modules only ''(optional)''
|| Radio module 2.4 GHz || [[Special:MyLanguage/NRF24L01|NRF24L01]]To communicate with similar NRF24 modules ''(optional)''
|-
|-


Строка 36: Строка 38:
!colspan="2"| '''Wired interfaces'''  
!colspan="2"| '''Wired interfaces'''  
|-
|-
| Ethernet || 10/100 Mbit/s, RJ-45 socket
| Ethernet || 10/100 Mbit/s, RJ-45 connector
|-
|-
|| USB 2.0 Host ||  2 ports in total, one of them is located inside
|| USB 2.0 Host ||  2 connectors (one connector is located inside the case) 
|-
|-
|| [[Special:MyLanguage/Аудиовыход|Audio out]] || 3.5mm stereo jack
|| [[Special:MyLanguage/Аудиовыход|Audiooutput]] || 3.5 mm connector, stereo
|-
|-
||2x[[Special:MyLanguage/RS-485|RS-485]] (one isolated)|| comes with software support of Modbus RTU, ADICON/A-BUS/Uniel, Smartbus G4 protocols
||2x[[Special:MyLanguage/RS-485|RS-485]] (one of the ports is insulated)||Software support of Modbus RTU, ADICON/A-BUS/Uniel, and Smartbus G4 protocols
|-
|-
|| Debug console || [[Special:MyLanguage/Debug UART|Debug UART]] Connect to PC with USB-UART adapter
|| Debug console || [[Special:MyLanguage/Debug UART|Debug UART]] To be connected via USB-UART adapter
|-
|-
|| 2x [[Special:MyLanguage/1-Wire|1-Wire]] || Used to connect temperature sensors, humidity sensors, etc
|| 2x [[Special:MyLanguage/1-Wire|1-Wire]] || Connection of temperature and moister sensors
|-
|-
!colspan="2"| '''Sensors support'''  
!colspan="2"| '''Connection of sensors'''  
|-
|-
| 5x[[Special:MyLanguage/ADC | ADC]] ||  2x up to 24V , 3x - up to 5V
| 5x[[Special:MyLanguage/ADC|ADC]] ||  2x up to 24V , 3x - up to 5V
|-
|-
||2x[[Special:MyLanguage/Входы для резистивных датчиков|Resistive sensors inputs]]  
||2x[[Special:MyLanguage/Входы для резистивных датчиков|Inputs for resistive sensors]]  
|| Used to connect 10k NTC thermistors. Can be used as ADC with 3.3V range.
|| Connection of 10 kOhm thermistors. The controller can be used as ADC up to 3.3V
|-
|-
|| 4x[[Special:MyLanguage/"Сухой контакт"|"dry contact" inputs]]  
|| 4x[[Special:MyLanguage/"Сухой контакт"|"Dry contact"]]  
|rowspan="2"| Used to connect buttons, switches, reed switches, various meters with pulse outputs
|rowspan="2"| Connection of pushbuttons, gerkons, counters with pulse outputs
|-
|-
|| 2x[[Special:MyLanguage/DI | DI (digital inputs)]]
|| 2x[[Special:MyLanguage/DI | DI (digital input)]]
|-
|-


!colspan="2"| '''Выходы'''  
!colspan="2"| '''Outputs'''  
|-
|-
| 9x[[Special:MyLanguage/Управление низковольтной нагрузкой|"Открытый коллектор"]]  || 24V/2A, управление контакторами, светодиодными лентами, и т. п.
| 9x[[Special:MyLanguage/Управление низковольтной нагрузкой|"Open collector"]]  || 24V/2A, control of contactors, LED strip lights, etc.
|-
|-
|| 2xРеле || До 250В/3A, нормально разомкнутые контакты
|| 2xРеле || Up to 250V/3A, normally open contacts
|-
|-
!colspan="2"| '''Прочее'''  
 
!colspan="2"| '''Other'''  
|-
|-
| 8x[[Special:MyLanguage/GPIO|GPIO]] || мультиплексированы с другими входами/выходами
| 8x[[Special:MyLanguage/GPIO|GPIO]] || are multiplexed with other inputs/outputs
|-
|-
||1x[[Special:MyLanguage/Buzzer|Излучатель звука]]|| "пищалка".
||1x[[Special:MyLanguage/Buzzer|Speaker]]|| "buzzer"  
|-
|-
|| Часы реального времени || [[Special:MyLanguage/RTC|RTC]] Резервная батарейка
|| Real-time clock RTC || [[Special:MyLanguage/RTC|RTC]] Clock battery
|-
|-
|| Сторожевой таймер (watchdog) || Отдельный аппаратный watchdog, перезагружающий устройство целиком по питанию
|| Watchdog timer || Separate hardware watchdog to perform full reset of the device
|-
|-
|| 1xРазъём для модуля расширения || Поддерживаемые модули расширения:<br>* Модуль расширения RS-232
|| 1x Connector for extension module || Supported extension modules:<br /> * RS-232 extension module
|-
|-
!colspan="2"| '''Питание'''  
!colspan="2"| '''Power supply'''  
|-| Рабочее напряжение || 9-24 В
|| Потребляемая мощность || <3 Вт (пиковая - до 12 Вт)
|-
|-
| Работа от резервного аккумулятора || Поддерживаются Li-ion
|| Operating voltage  || 9-24 V
|-
|-
||питание по витой паре || [[Special:MyLanguage/Power over Ethernet | Passsive Power over Ethernet]]
|| Power consumption || <3 W (maximum 12 W)
|-
|-
|| Габаритные размеры || плата - 103x87x20 мм, в корпусе на DIN рейку 6U
| Redundant battery || Operation Li-ion batteries are supported
|-
|-
||Эксплуатация || Рабочая температура - 0..70C (-40..85C по запросу) Покрытие лаком для влагозащиты.
||Passive Power over Ethernet|| [[Special:MyLanguage/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) Conformal coating of pcb for moister protection
|-
{|}




== Клеммники ==


[[File:Схемки защиты WB4-2.png|thumb|400px|Схема защиты входов и выходов]]
== Terminal blocks ==


Часть клеммников может выполнять более одной функции - смотрите описание входов/выходов и статью [[Special:MyLanguage/Мультиплексирование портов|Мультиплексирование портов]].
[[File:Схемки защиты WB4-2.png|thumb|400px|Input and output protection scheme]]
 
Some terminal blocks can be used to perform more than one function. See the detailed description in the [[Special:MyLanguage/Мультиплексирование портов| Port multiplexing]] article.


{|  border="1" width="45%" class="wikitable" style="text-align:center"
{|  border="1" width="45%" class="wikitable" style="text-align:center"
|  
|  
'''подпись'''  
'''legend'''  
|| '''Max. V, I'''  
|| '''Max. V, I'''  
| width="10%" | '''cостояние''' '''по умолчанию'''
| width="10%" | '''state''' '''default'''
| width="60%"|'''Функуции'''
| width="60%"|'''Functions'''
|-
|-
! colspan="8"| Верхний ряд, правый блок
! colspan="8"| Upper row, right block
|-
|-
| '''Vin'''  || 24V || ||Входное напряжение
| '''Vin'''  || 24V || ||Input voltage
|-
|-
| '''GND''' ||  || ||
| '''GND''' ||  || ||
|-
|-
| '''O1''' ||  rowspan="3"| || rowspan="3"| || rowspan="3" |Входы/выходы модуля расширения
| '''O1''' ||  rowspan="3"| || rowspan="3"| || rowspan="3" |Inputs/outputs of extension module
|-
|-
| '''O2'''  
| '''O2'''  
Строка 119: Строка 125:
| '''O3'''  
| '''O3'''  
|-
|-
| '''A''' ||  30 V || 0V ||rowspan="2" |Неизолированный порт [[Special:MyLanguage/RS-485|RS-485]]
| '''A''' ||  30 V || 0V ||rowspan="2" |Non-isolated port [[Special:MyLanguage/RS-485|RS-485]]
|-
|-
| '''B''' ||  30 V || +5V  
| '''B''' ||  30 V || +5V  
|-
|-
| '''(9-24)V_OUT''' ||  24V || ||Входное напряжение, выход, для питания устройств по шине RS-485
| '''(9-24)V_OUT''' ||  24V || ||Input voltage (output) to power devices on RS-485 bus
|-
|-
| '''GND''' ||| || ||
| '''GND''' ||| || ||
|-
|-
| '''A-iso''' || 30 V || 0V || rowspan="2" |Оптоизолированный порт [[Special:MyLanguage/RS-485|RS-485]]
| '''A-iso''' || 30 V || 0V || rowspan="2" |Optically isolated RS-485 [[Special:MyLanguage/RS-485|RS-485]]
|-
|-
| '''B-iso''' ||  30 V || +5V
| '''B-iso''' ||  30 V || +5V
|-
|-
| '''GND-iso''' || || || Земля оптоизолированного RS-485
| '''GND-iso''' || || || Ground of optically isolated RS-485
|-
|-}


! colspan="8"| Нижний ряд, левый блок
! colspan="8"| Lower row, left block
|-
|-
| '''5V out''' || 5V, 0.5A || 5V || выход 5V (для датчиков 1-Wire)
| '''5V out''' || 5V, 0.5A || 5V || output 5V (for 1-Wire sensors)
|-
|-
| '''W1''' || rowspan="2"| 30V || rowspan="2"| 3.3V || rowspan="2" |[[Special:MyLanguage/1-Wire|1-Wire]], GPIO  
| '''W1''' || rowspan="2"| 30V || rowspan="2"| 3.3V || rowspan="2" |[[Special:MyLanguage/1-Wire|1-Wire]], GPIO  
Строка 142: Строка 148:
| '''W2'''  
| '''W2'''  
|-
|-
| '''R1''' || rowspan="2"| 5V || rowspan="2"|High Z || rowspan="2" |Резистивные датчики, [[Special:MyLanguage/ADC|ADC]], цифровые входы (GPIO) без подтяжки
| '''R1''' || rowspan="2"| 5V || rowspan="2"|High Z || rowspan="2" |Resistive sensors,[[Special:MyLanguage/ADC|ADC]], digital inputs (GPIO) without retightening
|-
|-
| '''R2'''
| '''R2'''
|-
|-
| '''A1''' || rowspan="3"| Vin , 2A || rowspan="3"| High Z || rowspan="3" |[[Special:MyLanguage/Управление низковольтной нагрузкой|Выходы "открытый коллектор"]], [[Special:MyLanguage/ADC|ADC]]  
| '''A1''' || rowspan="3"| Vin , 2A || rowspan="3"| High Z || rowspan="3" |[[Special:MyLanguage/Управление низковольтной нагрузкой|"Open collector" outputs]], [[Special:MyLanguage/ADC|ADC]]  
|-
|-
| '''A2'''     
| '''A2'''     
Строка 152: Строка 158:
| '''A3'''  
| '''A3'''  
|-
|-
| '''A4''' || rowspan="2"| Vin , 2A || rowspan="2"| High Z || rowspan="2" | [[Special:MyLanguage/Управление низковольтной нагрузкой|Выходы "открытый коллектор"]],  [[Special:MyLanguage/ADC|ADC]] , цифровые входы DI
| '''A4''' || rowspan="2"| Vin , 2A || rowspan="2"| High Z || rowspan="2" | [[Special:MyLanguage/Управление низковольтной нагрузкой|"Open collector" outputs]],  [[Special:MyLanguage/ADC|ADC]] , digital inputs DI
|-
|-
| '''A5'''  
| '''A5'''  
Строка 159: Строка 165:
|-
|-


! colspan="8"| Нижний ряд, правый блок
! colspan="8"| Lower row, right block
|-
|-
| '''GND''' || rowspan="2"| || rowspan="2"|  ||rowspan="2"|
| '''GND''' || rowspan="2"| || rowspan="2"|  ||rowspan="2"|
Строка 165: Строка 171:
| '''GND'''
| '''GND'''
|-
|-
| '''D1''' || rowspan="4"| Vin , 2A || rowspan="4"| +5V || rowspan="4" | [[Special:MyLanguage/Управление низковольтной нагрузкой|Выходы "открытый коллектор"]], входы для [[Special:MyLanguage/"Сухой контакт" | "сухого контакта"]]
| '''D1''' || rowspan="4"| Vin , 2A || rowspan="4"| +5V || rowspan="4" | [[Special:MyLanguage/Управление низковольтной нагрузкой|"Open collector"]] outputs, [[Special:MyLanguage/"Сухой контакт" | "dry contact"]] inputs
|-
|-
| '''D2'''  
| '''D2'''  
Строка 174: Строка 180:
|-
|-


| '''Relay1''' || rowspan="2"| 250, 2A || rowspan="2"| разомкнуто ||первое реле
| '''Relay1''' || rowspan="2"| 250, 2A || rowspan="2"| is open ||first relay
|-
|-
| '''Relay2''' || второе реле
| '''Relay2''' || second relay
|-
|-
|}
{|}
 
== Input protection ==
 
As compared to previous versions, input protection and general noise immunity are significantly improved.
#All inputs are protected from applying the power supply voltage (up to 24 V) and transient noise.
#Wiren Board 4 is protected against reverse polarity.
#Wiren Board 4 features one optically isolated RS-485 interfaces.
#Low-side FET switches on Ax and Dx inputs are protected from negative voltage spikes from inductive loads.
# Relays have sparking suppression circuits
 
 
 
 
== Multifunctional inputs/outputs Ax and Dx ==
 
[[File:Ax.png|thumb|400px| Equivalent circuit of A1-A3 channels]]
[[File:А5.png|thumb|400px|Equivalent circuit of A4-A5 channels]]
[[File:Dx.png|thumb|400px|Equivalent circuit of Dx channels]]
 
Multifunctional channels consist of input and output stages are connected in parallel, as well as protective diodes (connected to one terminal of the channel).
 
Output stage consists of the Tx switch.
The Tx switch can connect the corresponding output with ground.
 
The state of the switch is controlled by logic circuits inside the controller.  The switch may be one of 2 states:
 
*Active (closed); channel output is connected to ground (0V)
 
*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.
 
The ADC has a high impedance, so it doesn't affect the channel operation even if the channel works as output.
 
 
In input mode the Tx switch is inactive (open) and, thus, does not affect voltage measuring at the channel terminals. Input resistance of the channel in input mode is determined by the Rx resistance.


If the channel terminal is left floating, the input voltage measured by ADCs is pulled down to zero by the Rx resistance.


== Input protection ==
А4 and А5 support binary input function DI: more than 3V at the terminal is considered as triggering of the input.


Compared with the previous version, Wiren Board 4 offers more sophisticated inputs protection as well as improved noise immunity.
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
# All inputs are protected against accidentally applying supply voltage (up to 24V) and against transient noise
does not affect the channel operation, provided that a more than 5 V load is connected to the channel.
# Protection against reverse supply polarity
# Optoisolated RS-485 port
# Protection diodes on Ax and Dx open-drain outputs for use with inductive loads
# Relay sparking suppression




== Универсальные входы/выходы Ax и Dx==


[[File:Ax.png|thumb|400px|Эквивалентная схема каналов A1-A3]]
[[File:А5.png|thumb|400px|Эквивалентная схема каналов A4 А5]]
[[File:Dx.png|thumb|400px|Эквивалентная схема каналов Dx]]
Универсальные каналы состоят из
параллельно работающих входного и выходного каскада, а также защитных диодов
(подключенных к одной клемме канала).


Выходной каскад состоит из коммутирующего элемента Tx.
== Resistive Inputs ==
Ключ Tx, замыкает выходы на землю.
Под управлением логических схем
контроллера, ключ Tx может находиться в 2-ух состояниях:


*Активное (замкнут);на выход канала подается 0.
Each terminal is connected to internal adjustable current source. The controller measures current flowing through the sensor and simultaneously measures the terminal voltage to calculate the resistance value. If necessary and if the corresponding program is available, resistive inputs may be used as additional analogue/binary ones.


*Неактивное (разомкнут, высокий импеданс).
Такой тип выхода называется "открытый коллектор".


Для каналов Ax входной каскад образуют аналогово-цифрового преобразователь ADCx и входное сопротивление Rx.
Преобразователь ADCx имеет высокое входное сопротивление, он подключен постоянно и не влияет
на работу канала в режиме вывода.
В режиме ввода, ключ Tx переводится в Неактивное состояние (разомкнут) и, следовательно, не
влияет на замер напряжения на клемме канала. Входное сопротивление канала в режиме ввода определяется резистором Rx: если к клемме канала не подключены другие цепи, резистор
"притянет" входное напряжение к 0 питания и преобразователь ADCx считает напряжение 0.


Для каналов А4 и А5 есть функция бинарного входа DI - напряжение на клемме больше 3В контроллер воспринимает как срабатывание входа.


Для каналов типа Dx входной каскад - это схема для подключения "сухих контактов". Этот каскад постоянно подает напряжение 5В на клемму.
== Extension modules ==
В режиме ввода, ключ Tx переводится в неактивное состояние (разомкнут).При замыкании клеммы на 0, через через канал течет небольшой ток (2 ма).
Это воспринимается контроллером как срабатывание входа.
Замыкание ключа Tx также воспринимается как срабатывание входа.
В режиме вывода входной каскад не влияет на работу канала, при условии что к каналу подключена  нагрузка с напряжением больше 5В.


Ref. the corresponding articles to describe connection and software operation:


== Резистивные входы ==
* [[Wiren Board 4: Модуль расширения RS-232|Wiren Board 4: RS-232 extension module]]
* [[Wiren Board 4: Модуль расширения CAN|Wiren Board 4: CAN extension module]]
* [[Wiren Board 4: Модуль расширения UART-CAN|Wiren Board 4: UART-CAN extension module]]


Каждая клемма подключена к внутреннему
регулируемому источнику тока.
Контроллер устанавливает ток через сенсор, при этом замеряя напряжение на клемме, соответственно
пересчитывая его сопротивление.
При необходимости и поддержке соответсвущей программы, резистивные входы могут быть
использованы как дополнительные аналоговые/бинарные входы,




== Питание ==
== Power Supply ==


[[File:Питание версии4.png|thumb|300px|Блок-схема питания WB 4]]
[[File:Питание версии4.png|thumb|300px|Блок-схема питания WB 4]]




=== От внешнего блока питания ===


Допустимый диапазон питания 7-24В.
Среднее потребление платы - 1,5-2 Вт. Но т.к. модуль GSM потребляет импульсно до 8 Вт, рекомендуется использовать блоки питания с мощностью не менее 10 Вт.


Разъем питания под стандартный jack 5.5x2.1мм, также входное напряжение можно подключать к клеммам Vin и GND.
=== External power source ===
 
Allowed voltage range is 7-24 V.
Average power consumption of the board is 1.5-2 W, but the GSM module may temporally consume up to 8 W. Therefore, it is recommended to use at least 10 W power sources.
 
A standard connector jack 5.5x2.1 mm is provided for connection to the power source. Input power can also be connected to Vin and GND terminals.
 
 




=== Power over Ethernet ===
=== Power over Ethernet ===


Поддерживается питание по кабелю Ethernet. Подробнее смотрите [[Special:MyLanguage/Power over Ethernet|Power over Ethernet]].
It is possible to power the device via an Ethernet cable. Ref.[[Special:MyLanguage/Power over Ethernet|Power over Ethernet]].
 
 




=== Battery ===
=== Battery ===


Wiren Board позволяет подключить Li-Ion (Li-Pol) аккумулятор c максимальным напряжением 4.. При подключении питания аккумулятор заряжается током до 0,5 А.
It is possible to connect Wiren Board to a Li-Ion (Li-Pol) battery with maximal voltage of 4.2 V. When the device is connected to a power source, the battery is charged with up to 0.5 A current.


Есть защита от зарядки при отрицательных температурах. Но защита от переразряда аккумулятора отсутствует, поэтому настоятельно рекомендуется использовать аккумуляторы с встроенной схемой защиты.
The battery is provided from charging at negative temperature. However, it is not protected from overcharge, and thus it is strongly recommended to use batteries with internal protection boards.
 
 
'''It is necessary to meet the battery polarity!'''




'''Соблюдайте полярность подключения аккумулятора!'''




== Working with WAGO 250 terminal blocks==
== Working with WAGO 250 terminal blocks==


[[File:Wago.jpeg|thumb|300px|Работа с клеммами WAGO 250]]
[[File:Wago.jpeg|thumb|300px|Working with WAGO 250 terminals]]
 
Self-tightened clips of WAGO 250 Series are used as interface terminals of the controller.
When a stripped single-core wire is inserted into a clip, it is automatically caught by a spring latch.
In order to insert multi-core wires, it is necessary to press the clip button to compress the spring.
The button is provided with a slot suitable for a flat screw-drive. In order to remove the wire, it is necessary to press the clip button to compress the spring, and then pull the wire out of the clip.
 


В качестве интерфейсных клемм в контроллере
применены клеммы WAGO 250 Series.
Это самозажимные клипсы. При вставке очищенного
одножильного провода в гнездо, он автоматически
зажимается пружинной защѐлкой.
Для вставки многожильных проводов, необходимо отжать
пружину, нажав на кнопку клипсы. Кнопка имеет паз под
шлицевую отвертку.
Для извлечения провода, нужно отжать пружину, нажав на
кнопку клипсы, и вытащить провод.




== Wi-Fi, GSM, 433MHz antennas ==
== Wi-Fi, GSM, 433MHz antennas ==


Антенна Wi-Fi расположена внутри корпуса.
Wi-Fi antenna is located inside the casing.
 
GSM and 433 MHz radio antennas are connected to SMA connectors on the casing.
 
If GSM signal is weak, it is recommended to use an external antenna and to locate it far from the controller.
 
 
 
 
== Peripheral devices connection diagrams ==
 
[[File:Relay.png|thumb|300px|Example of relay connection]]
 
[[File:Button.png|thumb|400px|Example of button connection]]
 
 
 
=== Low voltage load control ===
 
12/24V relays, LEDs, fans, indicator lamps, etc.
 
Power supply voltage of the controller must not be lower than voltage of the connected load.
Connect "+" of the load to "+" of the power source, and "-" to Ax or Dx terminals.
If several channels are used, and their total current exceeds 5 A, connect several GND terminals to "-" of the power source.
Voltage spikes occur when the device controls an inductive load (relay). In order to protect the controller from overload, it is equipped with built-in protective diodes. No external protective elements are necessary.
 


Антенны GSM и радио 433MHz подключаются к SMA разъемам на корпусе.


При слабом сигнале GSM рекомендуется использовать выносную антенну и располагать ее вдали от контроллера.
=== Electric contactors with control voltage of 220 V ===


Connect the control coil of the contactor via WB relay (ref. fig.). The WB relay is equipped with a damping RC-circuit and a TVS. No external components are necessary.


== Стандартные схемы подключения ==


[[File:Relay.png|thumb|300px|Пример подключения реле]]


[[File:Button.png|thumb|400px|Пример подключения кнопки]]


=== Analogue voltage output sensors ===


=== Power Supply ===
Connect the device ground to the GND terminal or a common grounding bus. Connect the sensor output to Ax or Rx terminal. Ах/Rx channels feature different ranges of measured voltages. Select the optimal channel for your sensor.


Возможно 3 варианта:


1. От блока питания со штекером.


2. От блока питания на DIN-рейку. Питание подаётся на клеммники Vin и GND.


3. По витой паре. Смотреть [[Special:MyLanguage/Power_over_Ethernet|PoE]].
=== Analogue current output sensors ===


Запрещено одновременно подключать контроллер по 1 и 2 варианту от разных источников питания.
WB is not equipped with special current inputs, but it is possible to convert current to voltage by means of 100-300 Ohm resister and use the connection diagram described above.




=== Управление низковольтной нагрузкой ===


Реле на 12/24В, светодиоды, вентиляторы, сигнальные лампы и т. д.


Напряжение питания контроллера должно быть не меньше напряжения подключаемой нагрузки.
=== Resistive output sensors ===
Подключите "+" нагрузки к "+" источника питания, а "-" к клеммам Ax или Dx.
Если используется несколько каналов, и суммарный ток больше 5 А, подключите несколько клемм GND к "-" источника питания.
При управлении индуктивной нагрузкой (реле), возникают всплески напряжения.
Для защиты от перенапряжения в контроллер встроены защитные диоды. Никаких внешних защитных элементов не требуется.


Inputs R1 and R2 are intended for measuring of resistance in a range of 1-100 kOhm. The measured resistor must be connected to GND and Rx terminals.


=== Контакторы с управляющим напряжением 220В ===


Подключите управляющую катушку контактора через реле WB (см. рисунок)
Реле WB содержит демпфирующую RC-цепочку и TVS. Никакие внешние компоненты не требуются.




=== Датчики с аналоговым выходом по напряжению ===
=== Pulse output sensors, counters and buttons ===


Подключите землю устройства к клемме GND, или соедините с общей земляной шиной.
These devices from output signals by closing two wires they are connected to.
Выход датчика подключается к одному из клемм Ах или Rx.  
Connect one wire to the GND terminal or a common grounding bus.
Каналы Ах/Rx имеют разные диапазоны измеряемых напряжений. Подберите оптимальный канал для вашего датчика.
Connect the other wire to the Dx terminal.  
Some counters are equipped with an optron based pulse output.  
In such cases it is necessary to take polarity of the wires into account.  
The negative wire must be connected to GND, while the positive one must be connected to Dx.




=== Датчики с аналоговым токовым выходом ===


Специальных токовых входов в WB нет, но можно, используя резистор 100-300Ом, ток преобразовать в напряжение и подключить как в предыдущем пункте.
=== “Open collector” output devices ===


Both device and controller must be connected to the common grounding bus. Connect the "open collector" output to the Dx terminal.


=== Датчики с резистивным выходом ===


Входы R1 R2 предназначены для измерения сопротивлений в диапазоне 1-100кОм.
Измеряемое сопротивление подключается между GND и Rx.




=== Датчики/счетчики с импульсными выходами ===
=== 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).
Подключите один провод к клемме GND, или соедините с общей земляной шиной.
It is allowed to use external power sources of 1-Wire bus.
Второй провод подключите к клемме Dx.
Некоторые счетчики имеют импульсный выход на оптроне, тогда два провода имеют полярность - "плюс" и "минус".
В таком случае минус подключается к GND, "плюс" к Dx.


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.


=== Устройства с выходом открытый коллектор ===


Устройство и контроллер должны иметь общую землю.
Выход "открытый коллектор" подключите к клемме Dx.




=== Подключение к 1-Wire сети ===
=== RS-485 network connection ===


Землю сети подключите к клемме GND или общей земляной шине.
See [[Special:MyLanguage/RS-485|RS-485]].
Линию данных к одной из клемм 1-Wire.
Линию питания к клемме 5Vout (внутренний источник питания).
Допускается использовать внешние источники питания шины 1-Wire.


При использовании пассивного питания, контакт питания каждого датчика соединяется с земляным проводом.  
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.
В этом случае, шина прокладывается двумя проводами, подключаемыми соответственно к "1-Wire" и "GND".


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.


===  Подключение к сети RS-485 ===


Смотрите [[Special:MyLanguage/RS-485|RS-485]].


В Wiren Board 4 два порта RS-485. Один гальванически изолированный, один нет.
Если сеть RS-485 достаточно протяженная, то лучше подключать к изолированному порту.
Линии А В подключаются к клеммам А и В соответственно. Сигнальную землю (если есть) подключить к клемме GNDiso.


Часто для удобства с линиями А и В прокладывают пару проводов для питания устройств на шине.
=== Example of device connection ===
В этом случае можно подключиться к клеммам GND и Vout. Ток по питанию не должен превышать 1А.


Schematic test stand - [[Файл:Стенд-hi.jpg|thumb|500px|Schematic test stand]]


== Schematics and Drawing ==
== Schematics and Drawing ==


Принципиальная схема Wiren Board 4 - [[Файл:WB 4.3.pdf|Файл:WB 4.3.pdf]], чертёж - [[Файл:WB 4.2 чертеж.pdf|Файл:WB 4.2 чертеж.pdf]]
Wiren Board 4 principle diagram - [[Файл:WB 4.3.pdf|Файл:WB 4.3.pdf]], scheme - [[Файл:WB 4.2 чертеж.pdf|Файл:WB 4.2 чертеж.pdf]]
12 063

правки