12 063
правки
(не показаны 82 промежуточные версии 4 участников) | |||
Строка 11: | Строка 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''' | ||
|- | |- | ||
| Operating System || Debian Linux 7.0. Mainline kernel 3.19. | | Operating System || Debian Linux 7.0. Mainline kernel 3.19. | ||
Строка 30: | Строка 30: | ||
|| [[Special:MyLanguage/GSM/GPRS|GSM/GPRS]] || 900/1800 МГц. GPRS multi-slot class 10/8 max. 85.6 kbps (downlink). microSIM card, packaged | || [[Special:MyLanguage/GSM/GPRS|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 [[Special:MyLanguage/Поддерживаемые устройства |Noolite]] devices, [[Special:MyLanguage/Поддерживаемые устройства |Oregon]] | || Radio module 433 MHz || RFM69H module. To communicate with [[Special:MyLanguage/Поддерживаемые устройства |Noolite]] devices, [[Special:MyLanguage/Поддерживаемые устройства |Oregon]] sensors | ||
|- | |- | ||
|| Radio module 2.4 GHz || [[Special:MyLanguage/NRF24L01|NRF24L01]]To communicate with similar NRF24 modules ''(optional)'' | || Radio module 2.4 GHz || [[Special:MyLanguage/NRF24L01|NRF24L01]]To communicate with similar NRF24 modules ''(optional)'' | ||
Строка 40: | Строка 40: | ||
| Ethernet || 10/100 Mbit/s, RJ-45 connector | | Ethernet || 10/100 Mbit/s, RJ-45 connector | ||
|- | |- | ||
|| USB 2.0 Host || 2 connectors (one connector is located inside the | || USB 2.0 Host || 2 connectors (one connector is located inside the case) | ||
|- | |- | ||
|| [[Special:MyLanguage/Аудиовыход|Audiooutput]] || 3.5 mm connector, stereo | || [[Special:MyLanguage/Аудиовыход|Audiooutput]] || 3.5 mm connector, stereo | ||
Строка 52: | Строка 52: | ||
!colspan="2"| '''Connection of sensors''' | !colspan="2"| '''Connection of sensors''' | ||
|- | |- | ||
| 5x[[Special:MyLanguage/ADC | | | 5x[[Special:MyLanguage/ADC|ADC]] || 2x up to 24V , 3x - up to 5V | ||
|- | |- | ||
||2x[[Special:MyLanguage/Входы для резистивных датчиков|Inputs for resistive sensors]] | ||2x[[Special:MyLanguage/Входы для резистивных датчиков|Inputs for resistive sensors]] | ||
Строка 63: | Строка 63: | ||
|- | |- | ||
!colspan="2"| ''' | !colspan="2"| '''Outputs''' | ||
|- | |- | ||
| 9x[[Special:MyLanguage/Управление низковольтной нагрузкой|" | | 9x[[Special:MyLanguage/Управление низковольтной нагрузкой|"Open collector"]] || 24V/2A, control of contactors, LED strip lights, etc. | ||
|- | |- | ||
|| 2xРеле || | || 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" | ||
|- | |- | ||
|| | || Real-time clock RTC || [[Special:MyLanguage/RTC|RTC]] Clock battery | ||
|- | |- | ||
|| | || Watchdog timer || Separate hardware watchdog to perform full reset of the device | ||
|- | |- | ||
|| | || 1x Connector for extension module || Supported extension modules:<br /> * RS-232 extension module | ||
|- | |- | ||
!colspan="2"| ''' | !colspan="2"| '''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|| [[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 | ||
|- | |- | ||
|} | {|} | ||
Строка 103: | Строка 104: | ||
[[File:Схемки защиты WB4-2.png|thumb|400px|Input and output protection scheme]] | [[File:Схемки защиты WB4-2.png|thumb|400px|Input and output protection scheme]] | ||
Some terminal blocks can be used to perform | 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%" | ''' | | 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''' | ||
Строка 124: | Строка 125: | ||
| '''O3''' | | '''O3''' | ||
|- | |- | ||
| '''A''' || 30 V || 0V ||rowspan="2" | | | '''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 || || | | '''(9-24)V_OUT''' || 24V || ||Input voltage (output) to power devices on RS-485 bus | ||
|- | |- | ||
| '''GND''' ||| || || | | '''GND''' ||| || || | ||
|- | |- | ||
| '''A-iso''' || 30 V || 0V || rowspan="2" | | | '''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''' || || || | | '''GND-iso''' || || || Ground of optically isolated RS-485 | ||
|- | |-} | ||
! colspan="8"| | ! colspan="8"| Lower row, left block | ||
|- | |- | ||
| '''5V out''' || 5V, 0.5A || 5V || | | '''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 | ||
Строка 147: | Строка 148: | ||
| '''W2''' | | '''W2''' | ||
|- | |- | ||
| '''R1''' || rowspan="2"| 5V || rowspan="2"|High Z || rowspan="2" | | | '''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/Управление низковольтной нагрузкой| | | '''A1''' || rowspan="3"| Vin , 2A || rowspan="3"| High Z || rowspan="3" |[[Special:MyLanguage/Управление низковольтной нагрузкой|"Open collector" outputs]], [[Special:MyLanguage/ADC|ADC]] | ||
|- | |- | ||
| '''A2''' | | '''A2''' | ||
Строка 157: | Строка 158: | ||
| '''A3''' | | '''A3''' | ||
|- | |- | ||
| '''A4''' || rowspan="2"| Vin , 2A || rowspan="2"| High Z || rowspan="2" | [[Special:MyLanguage/Управление низковольтной нагрузкой| | | '''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''' | ||
Строка 164: | Строка 165: | ||
|- | |- | ||
! colspan="8"| | ! colspan="8"| Lower row, right block | ||
|- | |- | ||
| '''GND''' || rowspan="2"| || rowspan="2"| ||rowspan="2"| | | '''GND''' || rowspan="2"| || rowspan="2"| ||rowspan="2"| | ||
Строка 170: | Строка 171: | ||
| '''GND''' | | '''GND''' | ||
|- | |- | ||
| '''D1''' || rowspan="4"| Vin , 2A || rowspan="4"| +5V || rowspan="4" | [[Special:MyLanguage/Управление низковольтной нагрузкой| | | '''D1''' || rowspan="4"| Vin , 2A || rowspan="4"| +5V || rowspan="4" | [[Special:MyLanguage/Управление низковольтной нагрузкой|"Open collector"]] outputs, [[Special:MyLanguage/"Сухой контакт" | "dry contact"]] inputs | ||
|- | |- | ||
| '''D2''' | | '''D2''' | ||
Строка 179: | Строка 180: | ||
|- | |- | ||
| '''Relay1''' || rowspan="2"| 250, 2A || rowspan="2"| is open ||first relay | |||
|- | |- | ||
| '''Relay2''' || second relay | | '''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. | |||
А4 and А5 support binary input function DI: more than 3V at the terminal is considered as triggering of the input. | А4 and А5 support binary input function DI: more than 3V at the terminal is considered as triggering of the input. | ||
Строка 226: | Строка 235: | ||
== Resistive Inputs == | == Resistive Inputs == | ||
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. | |||
Строка 246: | Строка 250: | ||
== Power Supply == | |||
[[File:Питание версии4.png|thumb|300px|Блок-схема питания WB 4]] | [[File:Питание версии4.png|thumb|300px|Блок-схема питания WB 4]] | ||
Строка 253: | Строка 257: | ||
=== | === 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. | |||
Строка 265: | Строка 269: | ||
=== 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 === | ||
Wiren Board | 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== | ||
[[File:Wago.jpeg|thumb|300px| | [[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. | |||
== | == Wi-Fi, GSM, 433MHz antennas == | ||
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| | [[File:Relay.png|thumb|300px|Example of relay connection]] | ||
[[File:Button.png|thumb|400px| | [[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. | |||
=== | === 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. | |||
=== | === Analogue voltage output sensors === | ||
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. | |||
=== | === Analogue current output sensors === | ||
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. | |||
=== | === Resistive output sensors === | ||
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. | |||
=== | === Pulse output sensors, counters and buttons === | ||
These devices from output signals by closing two wires they are connected to. | |||
Connect one wire to the GND terminal or a common grounding bus. | |||
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. | |||
=== | === “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. | |||
Строка 391: | Строка 384: | ||
=== | === RS-485 network connection === | ||
See [[Special:MyLanguage/RS-485|RS-485]]. | See [[Special:MyLanguage/RS-485|RS-485]]. | ||
Строка 404: | Строка 397: | ||
=== Example of device connection === | === Example of device connection === | ||
Schematic test stand - [[Файл:Стенд-hi.jpg|thumb|500px|Schematic test stand]] | |||
== | == Schematics and Drawing == | ||
Wiren Board 4 principle diagram - [[Файл:WB 4.3.pdf|Файл:WB 4.3.pdf]], scheme - [[Файл: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]] |
правки