БПЛА Data Link кіраўніцтва карыстальніка

VCAN1878 User Manual

900MHz Data Transmission Module

Змест

1. Агляд прадукту

VCAN1878-10W is one of the digital radio stations in the 1878 серыял. It is mainly used for the transmission of high-power long-distance industrial data. It has the characteristics of small volume, добрая інтэграцыя, і высокая адчувальнасць. The VCAN1878-10W operates in the 902~928MHz band. The VCAN1878-10W comes in two models, the VCAN1878A-10W and the VCAN1878B-SMA. The only difference is the transmission distance. У добрым асяроддзі, максімальная адлегласць перадачы VCAN1878-40A-SMA складае 100 км, і максімальная адлегласць перадачы VCAN1878-40B-SMA складае 200 км.

2. тэхнічныя параметры

  • дыяпазон частот:       902-928МГц
  • Рэжым пашыранага спектру: Гэтая мадэль была распрацавана для бесправадной перадачы відэа і даных з двухбаковым бесправадным каналам перадачы дадзеных
  • Шыфраванне даных:       256-бітавае шыфраванне фізічнага ўзроўню
  • Дыяпазон сувязі: Да 100/200 км
  • Выхадная магутнасць:         10Вт (40 дБм)
  • Хуткасць адтуліны:         Да 276,4 кбіт/с
  • Хуткасць перадачы паслядоўнага порта:       Да 921,6 кбіт/с
  • працоўная тэмпература:   -40℃ +85 ℃
  • Напружанне крыніцы харчавання:      DC15~26V, Тыповае значэнне +24В
Напружанне крыніцы харчавання100% дадзеныя поўны пік току (А)100% дадзеныя поўная магутнасць сярэдні ток (А)
15V3.20А2.10А
18V2.80А1.74А
24V2.00А1.30А
26V1.85А1.20А
  • адчувальнасць:
Хуткасць адтуліны10-7 BER100KM Максімальная карыстацкая хуткасць200Максімальная карыстацкая хуткасць км
276.4kbps-106 дБм136kbps128kbps
230.4kbps-107 дБм116kbps104kbps
172.8kbps-108 дБм82kbps74kbps
115.2kbps-109 дБм48kbps42kbps
57.6kbps-110 дБм14kbps10kbps

3. Mechanical Drawings

UAV Data Link user manual 1
UAV Data Link user manual 2

VCAN1878-SMA памерная дыяграма

  • Памер VCAN1878-SMA: 111мм*49мм*18,5мм (з кіраўніком SMA).
  • VCAN1878-SMA Вага:137г

4. Product Connector

4.1   J30J-15pin Schematic Diagram

4.2   J30J-15pin Pin Definition

няма.Назва шпількіапісаннеНапрамак
1PWRКлема харчавання плюсаваяЯ
2PWRКлема харчавання плюсаваяЯ
3GNDКлема харчавання адмоўнаяЯ
4GNDКлема харчавання адмоўнаяЯ
5D_TXDПаслядоўны порт перадае даныя TXO
6D_RXDПаслядоўны порт дадзеных прымае дадзеныя RXЯ
7GNDПаслядоўны порт перадачы дадзеных зазямлены GNDO
8C_TXDПаслядоўны порт кіравання перадае дадзеныя TXЯ
9C_RXDПаслядоўны порт кіравання прымае дадзеныя RXO
10GNDПаслядоўны порт кіравання зазямлены GNDO
11IO1* рэзерв *IO
12IO2* рэзерв *IO
13IO3* рэзерв *IO
14IO4* рэзерв *IO
15GNDзазямленнеO
Нататка: Калі ласка, пацвердзіце, ці з'яўляецца паслядоўны порт модуля ўзроўню TTL або RS232.

5. Product Indicator Meaning

UAV Data Link user manual 4

Магутнасць PWR(Зялёны)

Індыкатар харчавання загараецца, паказваючы, што прылада ўключана.

Лямпа перадачы TX(чырвоная)

Калі загараецца TX, гэта паказвае, што модуль адпраўляе дадзеныя.

Прыёмная лямпа RX(чырвоная)

Калі RX загараецца, гэта паказвае, што модуль атрымлівае дадзеныя.

Лямпа індыкатара сігналу (RSSI). 3 зялёныя лямпы)

Большая колькасць лямпачак энергіі паказвае на большую сілу прыёму сігналу.

Лямпа RSSI паказвае сілу прыманага сігналу
Лічбы RSSI індыкатары энергіі гарацьАтрыманая энергія дБм
Усе 3 Індыкатары RSSI гарацьКаля -50 дБм
2 Індыкатары RSSI гарацьКаля -80 дБм
1 Індыкатары RSSI гарацьКаля -95 дБм
Тып модулярэжымVCAN1878-40-SMA Індыкатар Статус
RXТэхасRSSI 123
УсеРэжым канфігурацыі AT-камандыВыключыцьВыключыцьВыключыць
МайстарНармальная працаМігае пры атрыманні даныхУключыце (роўнае святло)Прапарцыйна сіле прыманага сігналу
РабНесінхранізацыяВыключыцьВыключыцьПераключайце святло кожныя 860 мс
РабсінхранізацыяУключыце (роўнае святло)Мігае пры адпраўцы дадзеныхПрапарцыйна сіле прыманага сігналу
РэтранслятарНесінхранізацыяМігае па чарзе з пасылаючым святломМігае па чарзе з прыёмным святломПераключайце святло кожныя 860 мс
РэтранслятарсінхранізацыяМігае пры атрыманні даных У адваротным выпадку гарыцьМігае пры адпраўцы даных У адваротным выпадку гарыцьПрапарцыйна сіле прыманага сігналу

6. AT Command/ Register Description

6.1   AT камандаванне

AT каманда (прымаюцца як верхні, так і малы рэгістр)апісанне
ATI1Запытайце нумар версіі абсталявання
ATI2Запытайце нумар версіі прашыўкі
ATI3234234   Запытайце нумар версіі праграмнага забеспячэння
ATI4Запытайце нумар SN
AT&VАдлюстраванне бягучага спісу параметраў
AT&WЗахавайце бягучую табліцу параметраў
ATAВыйдзіце з рэжыму канфігурацыі AT-каманды і ўвайдзіце ў рэжым дадзеных
ATSxxx?Запытаць значэнне рэгістра Sxxx
ATSxxx=yyyЗапісаць у рэгістр Sxxx значэнне yyy
ATSxxx /?Display the help documentation for register Sxxx
AT&FnLoad the factory default configuration:7 :Factory default settings for point-to-multipoint master8Factory default settings for point-to-multipoint slave9Factory default settings for point-to-multipoint repeater10Factory default settings for point-to-point master11Factory default settings for point-to-point slave12Factory default settings for point-to-point repeater

Нататка: All register changes must be saved using the AT&W command to take effect.

6.2   AT Command Register List

Register Numberапісанне
S101Рэжым працы
S102Частата серыйнай перадачы
S103Wireless Link Rate
S104Network Address (ID)
S105Unit Address
S108Output Power(dBm)
S110Serial Data Format
S113Packet Retransmissions
S114Repeater Index
S118Sync Address
S123RSSI From Master RSSI(dBm)
S124RSSI From Slave RSSI(dBm)
S133Тып сеткі
S140Destination Address
S141Repeater Y/N
S142Serial Channel Mode
S143Індэкс рэтранслятара Выкарыстоўвайце GPIO
S159Уключыць шыфраванне
S160Ключ шыфравання
6.2.1   S101 Operating Mode
Каштоўнасці
0 – Майстар1 – Рэтранслятар2 – Раб

Рэжым працы вызначае ролю кожнай прылады ў сетцы. Кожны модуль VCAN1878 можна канфігураваць у любым рэжыме і выконваць любую ролю ў сетцы.

  • Майстар: У кожнай сетцы ёсць адзін майстар. У сетках кропка-кропка і кропка-шматкропка, ён выкарыстоўваецца для сінхранізацыі ўсёй сеткі.
  • Рэтранслятар: У сетцы, ён выкарыстоўваецца для павелічэння адлегласці перадачы, павялічыць пакрыццё сеткі, і злучыцца з галоўным або рэтранслятарам.
  • Раб: Падпарадкаваны непасрэдна падлучаны да галоўнага або рэтранслятара.
Значэнні (біт/с)
0- 230400    6 – 144001- 115200    7 – 9600(Па змаўчанні)2- 57600     8 – 72003- 38400     9 – 48004- 28800     15 – 4608005- 19200     16 – 921600
6.2.2   S102 Serial Baud Rate                               

S102 выкарыстоўваецца для ўстаноўкі хуткасці паслядоўнага порта перадачы дадзеных. Пры змене хуткасці паслядоўнага порта, звярніце ўвагу, што хуткасць перадачы паслядоўнага порта прылады, падлучанай да VCAN1878, павінна быць зменена.

6.2.3  S103 Orifice Speed
Значэнні (біт/с)
0 – 172800( Па змаўчанні )1 – 2304002 – 2764803 – 576004 – 115200

S103 вызначае хуткасць сувязі ўсёй сеткі. Кожная прылада ў сетцы павінна быць настроена на аднолькавую хуткасць. Чым вышэй стаўка, тым вышэй прапускная здольнасць сеткі, але тым горш адчувальнасць. Розніца ў адчувальнасці паміж сумежнымі рэжымамі складае каля 1 дБ.

6.2.4  S104 Network Address (ID)                          
Значэнні(0~4294967295)
дэфолт 1234567890

Усе прылады ў сетцы павінны мець аднолькавы сеткавы адрас. Прылады з рознымі сеткавымі адрасамі не звязваюцца адзін з адным. Калі некалькі сетак працуюць адначасова ў адной вобласці, сеткавы адрас кожнай сеткі павінен быць гарантавана унікальным.

6.2.5   S105 Unit Address
Значэнні(0~65535)
дэфолт 0

У той жа сетцы, адрас прылады выкарыстоўваецца для ідэнтыфікацыі ў сетцы, і кожная прылада павінна мець унікальны адрас прылады.

Для сеткі кропка-кропка, значэнне па змаўчанні 0. Прылада аўтаматычна прысвойвае адрас прылады. Карыстальнікам не трэба ўсталёўваць гэты параметр. Карыстальнікі таксама могуць уручную прызначыць non-0 адрасы блокаў. У той жа сетцы, калі выкарыстоўваецца аўтаматычнае размеркаванне, адрас адзінкі ўсіх прылад усталяваны 0. Калі выкарыстоўваецца ручное прызначэнне, вы можаце ўсталяваць адрас прылады S105, сінхронны адрас S118, і мэтавы адрас S140 для кожнай прылады, каб пераканацца, што тапалогія сеткі правільная.

Для сетак кропка-шматкропка, кожная прылада павінна быць уручную прызначана non-0 адрас прылады. Для дэталяў, гл. Раздзел 8.7.

6.2.6    S108 Output Power(dBm)
Значэнні (дБм)
30- 3W 33- 5W 35- 7W40 – 10W (па змаўчанні)

S108 выкарыстоўваецца для ўстаноўкі магутнасці перадачы лакальнай прылады.

   6.2.7 S110 Serial Data Format
Каштоўнасці
1 – 8N1(Па змаўчанні)

The data format of the serial port supports only 8N1.

   6.2.8 S113 Packet Retransmissions
Values(0~255)
дэфолт 3

This register determines the maximum number of times the packet can be retransmitted. The number of the retransmission is used to ensure the robustness of the system in complex environment or weak signal. Retransmission can cause additional data transfer, which can reduce system throughput. The maximum number of packet transmissions is the number of data retransmissions plus one.

   6.2.9 S114 Repeater Index
Values(1~254)
дэфолт 1

  In point-to-point mode, the register takes effect when the working mode is repeater and the unit address is 0. This register indicates the relative position of the repeater on the network. No additional configuration is required on the master and slaves to add or remove repeater devices on a point-to-point network. Пры запуску прылады рэтранслятара, ён аўтаматычна падключаецца да сеткі кропка-кропка, і калі ён выключаны, сетка аднаўляецца.

Пры выкарыстанні некалькіх рэтранслятараў, пераканайцеся, што серыйныя нумары рэтранслятараў ад галоўнага да падпарадкаванага павялічваюцца манатонна, якія могуць быць разрыўнымі.

6.2.10 S118 Sync Address
Значэнні(0~65535)
дэфолт 0

Вы можаце задаць адрас сінхранізацыі галоўнай і падпарадкаванай прылады, каб указаць адрас сінхранізацыі бягучай прылады з лакальнай прылады (S105) да прылады (S118).

У сетцы кропка-кропка, калі мясцовы адрас (S105) усталяваны 0, адрас прысвойваецца аўтаматычна, і няма неабходнасці ўсталёўваць сінхронны адрас. Калі мясцовы адрас (S105) не з'яўляецца 0, сінхронны адрас павінен быць усталяваны для вызначэння тапалогіі сеткі.

У сетцы кропка-шматкропка, вы павінны ўручную ўсталяваць правільны адрас сінхранізацыі для кожнай прылады.

Для дэталяў, гл. Раздзел 8.7.

Значэнні (дБм)
-255 ~ 0 (толькі чытанне)
  6.2.11 S123 RSSI From Master RSSI(dBm)

Паказвае сілу атрыманага сігналу ведомага або рэтранслятара. Значэнне адпавядае кантактам RSSI1, RSSI2, і RSSI3.

S123 рэтранслятара паказвае сілу сігналу верхняга прылады, і S124 паказвае сілу сігналу ніжняй прылады.

Значэнні (дБм)
-255 ~ 0 (толькі чытанне)
  6.2.12 S124 RSSI From Slave RSSI(dBm)            

Паказвае сілу атрыманага сігналу майстра або рэтранслятара. Значэнне адпавядае кантактам RSSI1, RSSI2, і RSSI3。

S123 рэтранслятара паказвае сілу сігналу верхняга прылады, і S124 паказвае сілу сігналу ніжняй прылады.

Каштоўнасці
0 – Кропка да шматкропка (пункт да шматкропка)1 – Ад кропкі да кропкі (кропка ў кропку)
  6.2.13 S133 Network Type                                  

Гэты рэгістр выкарыстоўваецца для ўстаноўкі тыпу сеткі. У адной сетцы, тып сеткі ўсіх прылад павінен быць аднолькавым.

  • Кропка-шматкропка:Майстар транслюе дадзеныя на ўсе прылады, і ўсе падпарадкаваныя прылады адпраўляюць дадзеныя назад галоўнаму. ( Можа быць 0 або больш рэтранслятараў)
  • Кропка-кропка:Толькі галоўны і падпарадкаваны канчатковыя кропкі ўзаемадзейнічаюць адзін з адным. (Можа быць 0 або больш рэтранслятараў)
  6.2.14 S140 Destination Address                             
Значэнні(0~65535)
дэфолт 0

Галоўная прылада і рэтранслятар могуць задаць адрас прызначэння, які выкарыстоўваецца для ўказання адраса даччынай прылады, падлучанай да лакальнай прылады.

У сетцы кропка-кропка, калі ўсталяваны лакальны адрас 0, адрас прызначаецца аўтаматычна без усталявання мэтавага адраса. Калі мясцовага адраса няма 0, адрас прызначэння павінен быць усталяваны, каб вызначыць тапалогію сеткі.

У сетцы кропка-шматкропка, вы павінны ўручную ўсталяваць правільны адрас прызначэння для кожнай прылады.

Для дэталяў, гл. Раздзел 8.7.

  6.2.15 S141 Repeater Y/N                                   
Значэнні(0~1)
0 – без рэтранслятара(Дзейнічае толькі на галоўным баку)(Па змаўчанні)1 – з рэтранслятарам ( Дзейнічае толькі на галоўным баку )

Гэты рэестр несапраўдны ў сетцы "кропка-кропка", дзе адрасы прызначаюцца аўтаматычна (адрас прылады S105 0) але павінна быць усталявана 0. У гэтым выпадку, the network automatically identifies whether the repeater exists. You do not need to set this parameter.

 When manually assigning addresses, this register is set based on whether a repeater exists in the current network.

  6.2.16 S142 Serial Channel Mode                       
Каштоўнасці
0 – RS232( Default )

This register configures the working mode of the data serial portThe default is RS232 and currently only RS232 mode is supported. У будучыні, it will support RS485 full duplex, RS485 half- дуплекс, і SBUS。

  6.2.17 S143 Repeater Index Use GPIO              
Каштоўнасці
Use the S114 register (Default)Use the GPIO[4:1] to indicate the relay serial number

To make it easy for the repeater to change the sequence number, you can configure the repeater sequence number using GPIO [4:1].

When S143 is 0, the repeater sequence number is the value of S114, які вагаецца ад 1 у 254.

When S143 is 1, the repeater sequence number is GPIO [4:1]+1, які вагаецца ад 1 у 16.

If GPIO is used as the repeater number, нумар рэтранслятара вагаецца ад 1 у 16. таму, максімум 16 рэтранслятары можна наладзіць.

Каштоўнасці
Адключыць шыфраванне (па змаўчанні)1 – Уключыце шыфраванне
  6.2.18 S159 Encryption Enable                              

VCAN1878 забяспечвае 256-бітнае шыфраванне даных, які ўключаецца або выключаецца праз рэестр S159.

Каштоўнасці
256біт сакрэтны ключ
  6.2.19 S160 Encryption Key                                     

Пры выкарыстанні шыфравання, ўсталяваць 256-бітны ключ для шыфравання і дэшыфравання. Для атрымання правільных даных на абодвух канцах павінен быць настроены адзін і той жа сакрэтны ключ.

7. Point-to-Point Networks

У сетцы кропка-кропка, модуль VCAN1878 можна выкарыстоўваць для ўстанаўлення шляху перадачы даных паміж пунктам А і пунктам В. Кропка А можа быць гаспадаром, кропка B можа быць раб. Калі пункт А і пункт Б не могуць быць злучаныя непасрэдна, вы можаце дадаць вузел рэтранслятара. Рэгістр тыпу сеткі S133=1 неабходна наладзіць для сеткі "кропка-кропка"..

The point-to-point networks can also be used in some special cases: When multiple slaves or repeaters are deployed, the master selects the desired slaves for communication by configuring the destination address S140.

UAV Data Link user manual 5
UAV Data Link user manual 6

7.1   Configuration Preparations

Перад канфігурацыяй, you must use the development board or user-designed hardware to provide power supplies and serial ports for the VCAN1878 module. The data serial port can be configured with registers using AT commands, and the control serial port can be configured with registers using API protocols. For details about interfaces, see Chapter 3 Апісанне абсталявання.

7.2    Рэжым працы

The VCAN1878’s point-to-point network operates in three modes: гаспадар, раб, and repeater.

The master provides synchronization signals for the whole network to ensure that all devices can communicate normally.

The slave end is the final node of the network and communicates directly with the master or repeater. When there is no user data transfer in the point-to-point network, the slave device will only synchronize with the master and will not send any information in the network.

UAV Data Link user manual 7

  The repeater can extend the coverage area of the master and forward the data. The repeater synchronizes with the master or the upper-level repeater and sends synchronization signals to the lower-level devices. The repeater device can also be used as a slave to send and receive data through the data serial portThe output data is only the data sent by the upper-level device and does not output the data of the lower-level device. аднак, the input data will be confused with the data sent by the lower-level device and sent to the upper-level device.

Adding repeaters to the network reduces the total throughput of the network by half, but only by half and not as the number of repeaters increases. If a relay is required and the throughput is considered, another solution is to place two devices back-to-back at the repeater site. One is the slave of the upstream network and the other is the master of the downstream network. The serial ports of the two devices are connected in wired mode.

UAV Data Link user manual 8
UAV Data Link user manual 9
UAV Data Link user manual 10

  When the unit address is set to 0 on the P2P network of the VCAN1878, the IP address is automatically assigned. Users do not need to set the unit address, synchronous address, and destination address.

The VCAN1878’s point-to-point repeater mode is very flexible and easy to use. Adding a repeater device in a point-to-point network does not need additional configurations for the master and the slave. You only need to set the repeater to the same network ID, orifice rate, and set the repeater sequence number. After switching on, the existing network will automatically detect whether a repeater has joined. The repeater number must increase from the master to the slave in order but can be discontinuous. Pay attention to the repeater location to ensure link stability.

The working mode configuration register is S101. Run the following command:

  • ATS101=0 —   Майстар
  • ATS101=1 —   Рэтранслятар
  • ATS101=2 —   Раб

7.3   Use Factory Defaults

The factory default settings command can be used to quickly configure and deploy the VCAN1878 module, providing a fixed default configuration for each type of configuration. Using the factory defaults sets all registers to default values. Using the default settings has the following benefits

  • To speed up the configuration process. If there is no special requirement, use the default configuration.
  • Troubleshoot issues. If communication cannot be established due to the adjustment of the settings, simply restore the factory defaults and any incorrect adjustments will be overwritten.

For most networking applications, the factory defaults are sufficient for all the functions required for point-to-point networking. No matter how complex the special requirements, you can start from the factory default settings configuration. All work modes and network types have corresponding factory default settings commands.

  • AT&F10 —   Factory default settings for the point-to-point master
  • AT&F11 —   Factory default settings for the point-to-point slave
  • AT&F12 —   Factory default settings for the point-to-point repeater
UAV Data Link user manual 11

7.4   Master Setting

UAV Data Link user manual 12
  1. AT&F10Restore the factory default settings for the point-to-point master.
  2. AT&W – Save setting parameters.
  3. AT&V – Display the current settings.
  4. S133The network type must be set to 1, corresponding to point-to-point network.
  5. S103The wireless link rate on all devices on the network must be set to the same. Чым вышэй стаўка, the greater the throughput, the lower the rate, and the better the sensitivity.
  6. S104The network addresses (IDS) of all devices on the network must be the same. It is strongly recommended not to use the default setting 1234567890. To change the network address, use ATS104=xxxxxxxx.
  7. S102The baud rate of the serial port matches that of the connected device.
  8. S101The working mode must be set to 0, corresponding to the master.
  9. S105 – The unit address is set to 0 to automatically assign the address.

Пасля завяршэння канфігурацыі, run the AT&W command to save the current settings. Run the ATA command to exit the AT command mode and the settings take effect.

7.5   Slave Setting

UAV Data Link user manual 13
  1. AT&F11Restore the factory default settings for the point-to-point slave.
  2. AT&W – Save setting parameters.
  3. AT&V – Display the current settings.
  4. S133The network type must be set to 1, corresponding to point-to-point network.
  5. S103The wireless link rate on all devices on the network must be set to the same. Чым вышэй стаўка, the greater the throughput, the lower the rate, and the better the sensitivity.
  6. S104The network addresses (ids) of all devices on the network must be the same. It is strongly recommended not to use the default setting 1234567890. To change the network address, use ATS104=xxxxxxxx
  7. S102The baud rate of the serial port matches that of the connected device.
  8. S101The working mode must be set to 2, corresponding to the slave.
  9. S105 – The unit address is set to 0 to automatically assign the address.

After the configuration is complete, run the AT&W command to save the current Settings. Run the ATA command to exit the AT command mode and the settings take effect.

7.6   Repeater Setting

UAV Data Link user manual 14
  1. AT&F12Restore the factory default settings for the point-to-point repeater.
  2. AT&W – Save setting parameters.
  3. AT&V – Display the current settings.
  4. S133The network type must be set to 1, corresponding to point-to-point network.
  5. S103The port rates of all devices on the network must be the same. Чым вышэй стаўка, the greater the throughput, the smaller the rate, and the better the sensitivity.
  6. S104The wireless link rate on all devices on the network must be set to the same. It is strongly recommended not to use the default setting 1234567890. To change the network address use ATS104=xxxxxxxx.
  7. S102The baud rate of the serial port matches that of the connected device.
  8. S101The working mode must be set to 1, corresponding to the repeater.
  9. S105 – The unit address is set to 0 to automatically assign the address.
  10. S114The repeater sequence number represents the position of the repeater in the network, the closer to the master, the smaller the sequence number, and it can be discontinuous.

Пасля завяршэння канфігурацыі, run the AT&W command to save the current Settings. Run the ATA command to exit the AT command mode and the settings take effect.

8.Point-to-Multipoint Networks

In a point-to-multipoint network, the master can directly connect to multiple slaves or connect to multiple slaves through repeaters. The repeater also has the function of the slave end and can communicate with the master, but its uplink data will be confused with that of the slave. The network type register S133=0 needs to be configured for point-to-multipoint networks.

The master can use the target address S140 to temporarily select a particular slave or repeater to communicate with and filter out data transmission requests from other devices.

UAV Data Link user manual 15

点对多点网络拓扑图

8.1   Configuration Preparation

Перад канфігурацыяй, you must use the development board or user-designed hardware to provide power supplies and serial ports for the VCAN1878 module. The data serial port can be configured with registers using AT commands, and the control serial port can be configured with registers using API protocols. For details about interfaces, see Chapter 3 Апісанне абсталявання.

8.2   Рэжым працы

The VCAN1878 point-to-multipoint network operates in three modes: гаспадар, раб, and repeater.

The master provides synchronization signals for the entire network to ensure normal communication between all devices.

The slave is the final node of the network and communicates directly with the master or repeater. When there is no user data transfer in the point-to-multipoint network, the slave device will only synchronize the master and will not send any information on the network.

UAV Data Link user manual 16

The repeater can extend the coverage area of the master and forward the data. The repeater synchronizes with the master or the upper-level repeater and sends synchronization signals to the lower-level devices. The repeater device can also be used as a slave to send and receive data through the data serial port. The output data is only the data sent by the upper-level device and does not output the data of the lower-level device. аднак, the input data will be confused with the data sent by the lower-level device and sent to the upper-level device.

Adding repeaters to the network reduces the total throughput of the network by half, but only by half and not as the number of repeaters increases. If a repeater is required and the throughput is considered, another solution is to place two devices back-to-back at the repeater site. One is the slave of the upstream network and the other is the master of the downstream network. The serial ports of the two devices are connected in wired mode.

UAV Data Link user manual 17

The repeater of a point-to-multipoint network cannot be automatically added like a point-to-multipoint network. You need to manually configure registers S105, S118, and S140 to determine the network topology.

The working mode configuration register is S101. Run the following command:

  • ATS101=0 —   Майстар
  • ATS101=1 —   Рэтранслятар
  • ATS101=2 —   Раб

8.3   Use Factory Defaults

The factory defaults settings command can be used to quickly configure and deploy the VCAN1878 module, providing a fixed default configuration for each type of configuration. Using factory defaults sets all registers to default values. Using the default settings has the following benefits

1. To speed up the configuration process. If there is no special requirement, please use the default configuration.

2. Troubleshoot issue. If communication cannot be established due to adjustments to the settings, simply restore the factory defaults and any incorrect adjustments will be overwritten.

For most networking applications, the factory defaults provide all the functionality required for point-to-multipoint network. No matter how complex the special requirements are, you can start from the factory default settings configuration. All work modes and network types have corresponding factory default settings.

  • AT&F7 —   Factory default settings for the point-to-multipoint master
  • AT&F8 —   Factory default settings for the point-to-multipoint slave
  • AT&F9 —   Factory default settings for the point-to-multipoint repeater
UAV Data Link user manual 18

8.4   Master Setting

UAV Data Link user manual 19
  1. AT&F7Restore the factory default Settings of the point-to-point master.
  2. AT&W – Save setting parameters.
  3. AT&V – Display the current settings.
  4. S133The network type must be set to 0, corresponding to point-to-multipoint network.
  5. S103The wireless link rate on all devices on the network must be set to the same. Чым вышэй стаўка, the greater the throughput. The lower the rate, the better the sensitivity.
  6. S104The network addresses (ids) of all devices on the network must be the same. It is strongly recommended not to use the default setting 1234567890. To change the network address use ATS104=xxxxxxxx.
  7. S102The baud rate of the serial port matches that of the connected device.
  8. S141Whether a repeater exists on the network.
  9. S101The working mode must be set to 0, corresponding to the master.
  10. S105 – For the unit address, гл. Раздзел 9.7 for an example.
  11. S118For the synchronize addresses, гл. Раздзел 9.7 напрыклад.
  12. S140For the target address, гл. Раздзел 9.7 напрыклад.

Пасля завяршэння канфігурацыі, run the AT&W command to save the current Settings. Run the ATA command to exit the AT command mode and the Settings take effect.

8.5   Slave Setting

UAV Data Link user manual 20
  1. AT&F8Restore the factory default settings for the point-to-multipoint slave.
  2. AT&W – Save setting parameters.
  3. AT&V – Display the current settings.
  4. S133The network type must be set to 0, corresponding to point-to-multipoint.
  5. S103T The wireless link rate on all devices on the network must be set to the same. Чым вышэй стаўка, the greater the throughput. The lower the rate, the better the sensitivity.
  6. S104The network addresses (ids) of all devices on the network must be the same. It is strongly recommended not to use the default setting 1234567890. To change the network address use ATS104=xxxxxxxx.
  7. S102The baud rate of the serial port matches that of the connected device.
  8. S141Whether a repeater exists on the network.
  9. S101The working mode must be set to 2, corresponding to the slave.
  10. S105 – For the local address, гл. Раздзел 9.7 for an example.
  11. S118For the synchronize addresses, гл. Раздзел 9.7 напрыклад.
  12. S140For the target address, гл. Раздзел 9.7 напрыклад.

Пасля завяршэння канфігурацыі, run the AT&W command to save the current Settings. Run the ATA command to exit the AT command mode and the settings take effect.

8.6   Repeater Setting

UAV Data Link user manual 21
  1. AT&F9Restore the factory default settings for the point-to-multipoint repeater.
  2. AT&W – Save setting parameters.
  3. AT&V – Display the current settings.
  4. S133The network type must be set to 0, corresponding to point-to-multipoint.
  5. S103The wireless link rate on all devices on the network must be set to the same. Чым вышэй стаўка, the greater the throughput. The lower the rate, the better the sensitivity.
  6. S104The network addresses (ids) of all devices on the network must be the same. It is strongly recommended not to use the default setting 1234567890. To change the network address use ATS104=xxxxxxxx.
  7. S102The baud rate of the serial port matches that of the connected device.
  8. S141Whether a repeater exists on the network.
  9. S101The working mode must be set to 2, corresponding to the repeater.
  10. S105 – For the local address, гл. Раздзел 9.7 for an example.
  11. S118For the synchronize addresses, гл. Раздзел 9.7 напрыклад.
  12. S140For the target address, гл. Раздзел 9.7 напрыклад.

Пасля завяршэння канфігурацыі, run the AT&W command to save the current Settings. Run the ATA command to exit the AT command mode and the settings take effect.

8.7   Examples for Configuring Point-to-Multipoint Network Addresses.

UAV Data Link user manual 22

A point-to-multipoint network has one master, four slaves, and two repeaters. Раб 1, раб 2, and repeater 1 are synchronized to the master, рэтранслятар 2 is synchronized to repeater 1, раб 3 is synchronized to repeater 1, and slave 4 is synchronized at repeater 2. If S141 of the master is 1, there are repeaters on the network. The unit address and synchronization address of each device are set in the following table:

Local address S105Synchronous addressS118Target address S140
Майстар100
repeater1210
repeater2320
slave1410
slave2510
slave3620
slave4730

On the same point-to-multipoint network, the unit address of each device must be unique and non-zero. The synchronization address is set to the unit address of its upper-level device. The destination address is usually set to 0, or the unit address of a device if you need to specify receiving a device.

9. Mesh With Center Networks

A central Mesh network is a special point-to-multipoint network. The center of the network is still the master, and all the slaves can exchange data with each other but do not forward data. The Mesh network with a center needs to be configured with the network type register S133=2. This network type does not support repeaters.

The master can use the target address S140 to temporarily select a particular slave to communicate with and filter out data transfer requests from other devices.

UAV Data Link user manual 23

The Mesh with Center Network topology

9.1   Configuration Preparations

Перад канфігурацыяй, you must use the development board or user-designed hardware to provide power supplies and serial ports for the VCAN1878 module. The data serial port can be configured with registers using AT commands, and the control serial port can be configured with registers using API protocols. For details about interfaces, see Chapter 3 Апісанне абсталявання.

9.2   Рэжым працы

The VCAN1878’s centered Mesh network supports only two operating modes: master and slave. The repeater is not supported.

The master provides synchronization signals for the whole network to ensure that all devices can communicate normally.

The slave is the final node of the network and communicates directly with the master or the salve. When no user data is transmitted on the point-to-multipoint network, the slave device synchronizes with the master device and does not send any information on the network.

UAV Data Link user manual 24

For a Mesh network with a center, registers S105, S118 and S140 need to be configured in advance to determine the network topology.

The working mode configuration register is S101. Run the following command:

  • ATS101=0 —   Майстар
  • ATS101=2 —   Раб

9.3   Use Factory Defaults

The factory default settings command can be used to quickly configure and deploy the VCAN1878 module, providing a fixed default configuration for each type of configuration. Using factory defaults sets all registers to default values. Using the default Settings has the following benefits

1.To speed up the configuration process and use the default configuration if you don’t need it.

2. Troubleshoot issue. If communication cannot be established due to adjustments to the settings, simply restore the factory defaults and any incorrect adjustments will be overwritten.

For most web applications, the factory defaults are sufficient for all the functions required for a centralized Mesh network. No matter how complex the special requirements, you can start from the factory default settings configuration. All work modes and network types have corresponding factory default settings.

  • AT&F4Factory default settings for the Mesh-with-Center master.
  • AT&F5Factory default settings for the Mesh-with-Center slave.
UAV Data Link user manual 25

9.4   Master Setting

UAV Data Link user manual 26
  1. AT&F7Restore the factory default settings for the mesh-with-center master.
  2. AT&W – Save setting parameters.
  3. AT&V – Display the current settings.
  4. S133The network type must be set to 2 with a central Mesh for pairs.
  5. S103The wireless link rate on all devices on the network must be set to the same. Чым вышэй стаўка, the greater the throughput. The lower the rate, the better the sensitivity.
  6. S104The network addresses (ids) of all devices on the network must be the same. It is strongly recommended not to use the default setting 1234567890. To change the network address use ATS104=xxxxxxxx
  7. S102The baud rate of the serial port matches that of the connected device.
  8. S141Whether a repeater exists on the network or not, the value must be set to 0.
  9. S101The working mode must be set to 0, corresponding to the master side.
  10. S105 – For the unit address, refer to the example in point-to-multipoint networks.
  11. S118For the sync address, refer to the example in point-to-multipoint networks.
  12. S140For the destination address, refer to the example in point-to-multipoint networks.

Пасля завяршэння канфігурацыі, run the AT&W command to save the current Settings. Run the ATA command to exit the AT command mode and the settings take effect.

9.5   Slave Setting

UAV Data Link user manual 27
  1. AT&F8Restore the factory default settings for the mesh-with-center slave.
  2. AT&W – Save setting parameters.
  3. AT&V – Display the current settings.
  4. S133The network type must be set to 2 with a central Mesh for pairs.
  5. S103The wireless link rate on all devices on the network must be set to the same. Чым вышэй стаўка, the greater the throughput. The lower the rate, the better the sensitivity.
  6. S104The network addresses (ids) of all devices on the network must be the same. It is strongly recommended not to use the default setting 1234567890. To change the network address use ATS104=xxxxxxxx
  7. S102The baud rate of the serial port matches that of the connected device.
  8. S141Whether a repeater exists on the network or not, the value must be set to 0.
  9. S101The working mode must be set to 2, corresponding to the slave side.
  1. S105 – For the unit address, refer to the example in point-to-multipoint networks.
  2. S118For the sync address, refer to the example in point-to-multipoint networks.
  3. S140For the destination address, refer to the example in point-to-multipoint networks.

Пасля завяршэння канфігурацыі, run the AT&W command to save the current Settings. Run the ATA command to exit the AT command mode and the settings take effect.

9.6   Packet Length Limit

In the case of a central Mesh network, when the channel access mode is TDMA, each device communicates with the other. When multiple devices send data, the data output from serial ports will interleave with each other. To ensure the integrity of data packets, the length of data packets must be smaller than the maximum length sent by a single time slot. When the channel access mode is selected TDMA-AUTO, there is no limit on the packet length.

Хуткасць адтуліныMaximum length of a single packet
276.4kbps175 байтаў
230.4kbps140 байтаў
172.8kbps100 байтаў
115.2kbps55 байтаў
57.6kbps15 байтаў

задаваць пытанне

← Назад

Ваша паведамленне адпраўлена