A communication reliability optimization method for unmanned aerial vehicle ad hoc networks based on FPGA
By using FPGA in the UAV ad hoc network to achieve multiple transmission and adaptive forwarding, the problem of data loss caused by router instability in the UAV ad hoc network is solved, and the reliability and real-time performance of data transmission are improved.
Patent Information
- Application Number
- CN202111580645.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-22
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-12-22
AI Technical Summary
In the UAV ad hoc network, due to factors such as obstacles, electromagnetic interference, or man-made sabotage, some routers may become unstable, resulting in loss of business data and transmission delays in the network, affecting the realization of the entire network function.
Using FPGA-based parallel processing capabilities, through multiple transmission and adaptive forwarding methods, using redundant channels in the UAV self-organizing communication network, IP datagrams carrying business data are multiplexed and adaptively transmitted with low inter-channel interference. Forwarding and forming backup routes to ensure the reliability and real-time performance of data transmission.
Even if some network nodes fail, business data can still reach the destination router through multiple transmission and adaptive forwarding, which improves the reliability and real-time performance of business data transmission.
Smart Images

Figure CN114302477B
Abstract
Description
Technical Field
[0001] The invention relates to a method for optimizing the communication reliability of an unmanned aerial vehicle self-organizing network based on FPGA, and belongs to the technical field of unmanned aerial vehicle cluster network communication. Background Art
[0002] Multiple drones flying in a cluster and working together can accomplish more valuable tasks than if they work independently.
[0003] Each drone in the cluster is equipped with sensors to collect real-time information about its own status and environment, and in some cases, information related to mission objectives, which is called business data.
[0004] In many application scenarios, it is required that each member drone communicate with each other to obtain the business data collected by other members as a basis for adjusting their own position and status and making mission decisions; furthermore, during and after the mission execution, mutual communication is needed to collect business data related to the mission execution process and results. Therefore, establishing a wireless communication network and achieving reliable communication between each member drone in the cluster is a necessary function for drones to perform cluster flight and collaborative work.
[0005] If the establishment and operation of this wireless communication network does not depend on ground equipment, it is called a UAV self-organizing network, or UAV ADN for short.
[0006] In the UAV self-organizing network, the airborne communication module of each UAV is equivalent to a router, and its functions can be abstracted into two layers: control plane and data plane. Among them, the control plane exchanges information with other routers in the network according to the routing protocol, obtains information such as the link status of the entire network and the network topology connection relationship, and executes the routing algorithm, forms the routing table and the forwarding table based on this; the data plane queries the forwarding table according to the destination address of the IP datagram to be sent / forwarded, obtains the output port corresponding to the next hop, sends this IP datagram to the output port found, and sends it to the destination router of the next hop via the communication link. In the current mainstream high-performance UAV self-organizing network, the control plane function of each router is implemented by the CPU, and the data plane function is implemented by the FPGA. The CPU and FPGA communicate through the CPU external bus or dual-port RAM.
[0007] In some application scenarios, due to obstacles, electromagnetic interference, human damage and other factors, some routers in the drone self-organizing network may become unstable or even the carrier may be damaged. At this time, the faulty router will no longer be able to continue to serve as a trusted node to complete information forwarding, resulting in the original route being interrupted, and ultimately causing the IP datagrams to be forwarded sent by the previous stage to not be forwarded and business data to be lost in the network.
[0008] Furthermore, in this case, even if the original router that sent the lost IP datagram can perceive the loss event and resend the lost IP datagram based on the updated routing table, it will cause the time for the relevant business data to reach the destination router to be significantly delayed, which may affect the realization of the entire network function. Summary of the invention
[0009] The technical problem to be solved by the present invention is: how to provide a method for optimizing the communication reliability of a drone self-organizing network based on FPGA.
[0010] In order to solve the above technical problems, the technical solution proposed by the present invention is: a method for optimizing the communication reliability of a drone ad hoc network based on FPGA, performing the following steps:
[0011] 1) Establishment and maintenance of the forwarding table of the onboard router;
[0012] 1-1) Establish M numbered routing tables and assign them numbers in the order of their generation; wherein, in the process of selecting the optimal route before adding any table entry to the routing table established later, any route reduces the use of intermediate network nodes that have been used by other routes;
[0013] 1-2) generating M forwarding tables with serial numbers corresponding to the M routing tables in step 1-1) on the onboard router control plane, and sending them to the forwarding engine of the data plane for storage and standby; the serial number of the forwarding table is the same as the serial number of the routing table corresponding to the forwarding table;
[0014] 1-3) If the network status changes and is sensed by each onboard router based on the routing protocol followed, the onboard router that is still functioning normally will re-establish a new routing table, and update and store the routing table and forwarding table;
[0015] 2) Multiple sending of IP datagrams;
[0016] 2-1) Select an appropriate forwarding quantity V; V is determined by the current number of available radio frequency channels U and M of the onboard router and the application scenario requirements;
[0017] 2-2) querying the first V on the forwarding table through the forwarding engine, addressing the destination IP address of the IP datagram to be sent and obtaining V radio frequency transmission ports through the table lookup, and pointing them to V routers, thereby realizing multiple transmission;
[0018] 3) Adaptive forwarding of IP datagrams with low inter-channel interference;
[0019] The router carried by each member drone in the drone ad hoc network provides a buffer storage area for each of its receiving ports to buffer the source IP address, destination IP address, payload data characteristic value, and final forwarding port of the received IP datagram;
[0020] When the proportion of the used space in the buffer to the total storage space is greater than a preset threshold, the earliest stored IP datagram source IP address, destination IP address, payload data characteristic value, and final forwarding port are discarded according to the first-in-first-out principle;
[0021] After the router carried by a member drone receives the IP datagram to be forwarded, the data plane uses its destination IP address as the input data of the forwarding engine. The forwarding engine uses this input data to check the existing M forwarding tables and obtains M identifiers pointing to the ports corresponding to each sending channel on the output side of the forwarding engine; determines how many combinations of "source, destination IP address and payload data characteristic value" stored in the identification information buffer are the same as the corresponding parameter combination of the IP datagram to be forwarded, and the IP datagrams corresponding to the same ones are recorded as "historical multiple sent IP datagrams";
[0022] Traverse the M ports corresponding to the sending channels pointed to by each identifier obtained by querying the forwarding table. If there is an idle port, traverse the final forwarding port of each "historical multiple sent IP datagram" to determine whether it is the current idle port. If there is one, find the next idle port in the above M RF sending ports; if none of them is, send the IP datagram to be forwarded from this idle port;
[0023] 4) Multiple transmission IP datagram reception;
[0024] The router data plane receives the IP datagram, the source IP address, the destination IP address, and the characteristic value of the payload data in the buffer storage area, and determines whether the destination IP address is the IP address of the local machine;
[0025] If so, the buffer storage area is searched to determine whether an IP datagram belonging to the same group of multiple sent datagrams as the IP datagram has been received before. If so, the IP datagram is discarded. If not, the parsed payload data is forwarded to the application layer.
[0026] The improvement of the above technical solution is: in step 2-2), as long as V radio frequency channels are available and there are no messages with higher priority that have not been sent, the IP datagrams to be sent are immediately forwarded to the V radio frequency sending ports respectively, and these ports send them to the V routers pointed to by the destination IP address segments corresponding to the V port numbers in accordance with the multiple access rules supported by the radio frequency communication protocol followed and without generating unacceptable interference between channels.
[0027] The improvement of the above technical solution is: when the proportion of used space in the identification information buffer in the total storage space is greater than a preset threshold, the earliest existing IP datagram source IP address, destination IP address, load data characteristic value, and final forwarding port stored are discarded according to the first-in-first-out principle.
[0028] The beneficial effects of the present invention are as follows: based on the parallel processing capability of FPGA, the present invention utilizes the redundant channels in the unmanned aerial vehicle self-organizing communication network to perform multiple transmission and adaptive forwarding methods with low inter-channel interference on IP datagrams carrying business data. Even if some routers in the network become unstable in working state or even the carrier is damaged due to obstacles, electromagnetic interference, human damage and other factors, causing some network nodes to fail, the business data can still reach the destination router via the backup route formed by multiple transmissions and adaptive forwarding, thereby improving the reliability and real-time performance of business data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 The present invention is a flowchart of a method for optimizing the communication reliability of an unmanned aerial vehicle self-organizing network based on FPGA according to an embodiment of the present invention.
[0030] Figure 2 The present invention is an embodiment of a method for optimizing the communication reliability of an unmanned aerial vehicle self-organizing network based on FPGA and a process for establishing and maintaining a forwarding table.
[0031] Figure 3 The present invention is an embodiment of an FPGA-based unmanned aerial vehicle self-organizing network communication reliability optimization method and an IP datagram adaptive forwarding process with low inter-channel interference.
[0032] Figure 4 The present invention is an embodiment of an FPGA-based unmanned aerial vehicle self-organizing network communication reliability optimization method with low inter-channel interference IP datagram adaptive forwarding process (CICQ switching structure). DETAILED DESCRIPTION
[0033] Embodiment 1
[0034] A method for optimizing the communication reliability of a drone ad hoc network based on FPGA in this embodiment is as follows: Figure 1 As shown, perform the following steps:
[0035] 1) Establishment and maintenance of the forwarding table of the onboard router;
[0036] The router carried by each drone in the drone ad hoc network supports a radio frequency communication protocol with non-time division multiple access capability (such as frequency division multiple access and code division multiple access), and multiple radio frequency transceiver ports are set, the number N of which is no more than the upper limit of the number of low crosstalk channels allowed by the radio frequency communication protocol and achievable under the current system cost constraints.
[0037] For a member of the drone ad hoc network, after obtaining the information required to establish a new routing table, the router control plane it carries runs the routing algorithm to establish M (M≤N, the specific value is determined in combination with the application scenario requirements) numbered routing tables, and these M routing tables and their establishment process have the following characteristics:
[0038] First, the first routing table is established according to the standard routing algorithm and is assigned a sequence number 1 to record the order in which it is generated.
[0039] Secondly, in the process of establishing the second routing table (called "routing table under construction"), in the sub-process of selecting the optimal route before adding any table entry to the table, two routes should be considered: the first is the route in the routing table under construction that corresponds to this table entry and has not yet been selected, and the second is the route in the first routing table that has been established and corresponds to the destination IP address (called the current destination IP address) contained in this table entry in the routing table under construction - based on these two definitions, the additional requirement for the first route is that when establishing the first route, the use of intermediate network nodes that have been used in the second route should be minimized. With this as a constraint, the first route defined above is selected according to the standard routing algorithm, and then a routing table entry containing the current destination IP address is formed based on it, written into the routing table under construction, and assigned a sequence number 2 to record the order in which it was generated.
[0040] After the first and second routing tables are established according to the above method, in the process of establishing the third routing table (called the "routing table under construction"), in the sub-process of selecting the optimal route before adding any table entry to the table, three routes should be considered: the first route is the route that has not yet been selected and corresponds to this table entry in the routing table under construction, and the second and third routes are the two routes corresponding to the destination IP address (called the current destination IP address) contained in this table entry in the routing table under construction in the first and second routing tables that have been established. Based on these two definitions, the additional requirement for the first route is that when establishing the first route, the use of intermediate network nodes that have been used in the second and third routes should be minimized. With this as a constraint, the first route defined above is selected according to the standard routing algorithm, and then a routing table entry containing the current destination IP address is formed based on it, written into the routing table under construction, and assigned the sequence number 3 to record the order of its generation.
[0041] Similarly, after the 1st, 2nd, ..., M-1st routing tables are established according to the above method, in the process of establishing the Mth routing table (called "the routing table under construction"), in the sub-process of selecting the optimal route before adding any table entry to the table, M routes should be considered: the 1st route is the route that has not yet been selected corresponding to this table entry in the routing table under construction, and the 2nd, 3rd, ..., Mth routes are the M-1 routes corresponding to the destination IP address (called the current destination IP address) contained in the table entry in the routing table under construction in the 1st, 2nd, ..., M-1st routing tables that have been established. Based on these two definitions, the additional requirement for the 1st route is that when establishing the 1st route, the use of intermediate network nodes that have been used in the 2nd, 3rd, ..., Mth routes should be minimized. With this as a constraint, the 1st route defined above is selected according to the standard routing algorithm, and then a routing table entry containing the current destination IP address is formed based on it, written into the routing table under construction, and assigned a sequence number M to record the order of its generation.
[0042] At this point, the establishment of M numbered routing tables has been completed.
[0043] Then, the router control plane generates M forwarding tables with serial numbers corresponding to the M routing tables (the serial numbers of the forwarding tables are the same as the serial numbers of the routing tables corresponding to the forwarding tables), and sends them to the forwarding engine of the data plane, which saves them for use.
[0044] If the network status changes (for example, an unknown interference source causes abnormal signal transmission and reception of some drones or even damages the carrier), and is sensed by each router based on the routing protocol it follows, the router that is still functioning normally will re-execute the above algorithm, update and store the routing table and forwarding table.
[0045] by Figure 2 For example, the upper limit of the number of low crosstalk channels in this embodiment is N=3, and M=N=3. The establishment and maintenance process of the forwarding table is as follows:
[0046] 1) Continuously monitor the network link status. When the network link status changes, go to step 2)
[0047] 2) Router J obtains the network topology T of the network based on the OSPF protocol; establishes three empty routing tables with the number of table entries being S-1, that is, routing tables with Nj=1, 2, and 3;
[0048] 3) Router J fills in the routing table entries of routing table Nj based on the OSPF protocol and forms the corresponding forwarding table, during which it additionally records the optimal routes corresponding to each routing table entry in the routing table;
[0049] 4) Router No. J deletes the set of W intermediate nodes X except the source and destination nodes in the optimal route No. Kj from the network topology T, forms the intermediate network topology No. Tj, and retains the backup of the network topology T, Tj = Tj+1, Nj = Nj+1;
[0050] 5) Determine whether a new optimal route Kj can be formed on the intermediate network topology Tj based on the Dijsktra algorithm, if yes, then step 10); otherwise, step 6);
[0051] 6) Add the Hth node of the intermediate node set X back to the intermediate network topology Tj, H0 = H; again determine whether a new optimal route Kj can be formed on the intermediate network topology Tj based on the Dijsktra algorithm, if yes, then step 10), otherwise step 7)
[0052] 7) Add the H+1th node of the intermediate node set X back to the intermediate network topology Tj, and determine again whether a new optimal route Kj can be formed on the intermediate network topology Tj based on the Dijsktra algorithm. If yes, proceed to step 10), otherwise proceed to step 8);
[0053] 8) Delete the H+1th node from the intermediate network, H=H+1, and then determine whether H+1 is equal to W. If yes, proceed to step 14), otherwise proceed to step 7);
[0054] 9) Point the Kj routing table entry of routing table No. Nj to No. 3 to the Null0 port, and go to step 12);
[0055] 10) Generate routing table entry Kj of routing table Nj based on the optimal route, H=1, and determine whether Nj is equal to 3, if yes, proceed to step 12), otherwise proceed to step 11);
[0056] 11) Router No. J deletes the set of W intermediate nodes X except the source and destination nodes in the optimal route No. Kj from the intermediate network topology No. Tj to form the intermediate network topology No. Tj+1, Tj=Tj+1, Nj=Nj+1, and proceeds to step 5);
[0057] 12) Tj=1, Nj=1, determine whether Kj is equal to S-1, if yes, Kj=1 step 13), if not, Kj=Kj+1, go to step 4);
[0058] 13) Determine whether J is equal to S, if yes, J=1, go to step 1), otherwise J=J+1, go to step 3).
[0059] 14) Delete the aforementioned H0th node from the intermediate network, H=H0+1, and then determine whether H is equal to W. If so, proceed to step 12), otherwise proceed to step 6).
[0060] The variable S is a natural number, and its value is the number of drones participating in the drone ad hoc network. In this embodiment, the change of S is not considered during the establishment of the routing table. After the routing table is established, when the network topology changes (including the change of S) are detected based on the OSPF protocol, the routing table is re-established as shown in the attached figure. Figure 2 Establish 3 routing tables. Variable J is a natural number, used to mark the Jth onboard router in the embodiment, with an initialization value of 1 and a maximum value of S; the value of the subscript j of variable Kj is the same as J, Kj is a natural number, used as a serial number to mark the other S-1 onboard routers corresponding to the Jth onboard router, and also used as a serial number to mark the routing table items corresponding to these S-1 routers in M routing tables, with an initialization value of 1 and a maximum value of S-1; the value of the subscript j of variable Tj is the same as J, Tj is a natural number, used as a serial number to mark the intermediate network topology based on the Jth onboard router in the process of establishing the optimal route corresponding to the other S-1 onboard routers, with an initialization value of 1 and a maximum value of M. The value of the subscript j of variable Nj is the same as J, Nj is a natural number, used as a serial number to mark the routing table corresponding to the Jth onboard router, with an initialization value of 1 and a maximum value of M. In the actual execution process, Nj = Tj. The variable H is a natural number, used as a serial number to mark an intermediate node in the set of W intermediate nodes (marked as X) of any optimal route deleted by the airborne router in the process of establishing M routing tables. The initialization value is 1, and the maximum value is S-2. The variable H0 is used to temporarily store the intermediate value of H.
[0061] 2) Multiple IP datagram transmission with low inter-channel interference
[0062] After the data plane has stored the above M forwarding tables, when a drone needs to send business data collected by its own airborne sensors to another drone in the network, it first confirms the number of RF channels U currently available in its own airborne router, and then takes the smaller of M and U as the upper limit, and determines an appropriate number V in combination with the application scenario requirements (the specific algorithm varies according to the application scenario requirements), and then selects the earlier generated V from the M forwarding tables based on the forwarding table sequence number recorded when the M forwarding tables are generated during the establishment and maintenance of the above forwarding tables. The forwarding engine looks up these V forwarding tables and addresses the destination IP address of the IP datagram to be sent. The V RF transmission ports obtained by the table lookup, as long as the V RF channels are available and there are no messages with higher priority that have not been sent, the IP datagrams to be sent are immediately forwarded to these V RF transmission ports, which are sent to the V routers pointed to by the destination IP address segments corresponding to the V port numbers in accordance with the multiple access rules supported by the RF communication protocol followed, without generating unacceptable interference between channels.
[0063] A multiple transmission method with low inter-channel interference for data collected by the onboard sensors of the aircraft is realized. These V IP datagrams carrying the same service data and sent via different channels are called a group of "multiple transmitted IP datagrams".
[0064] As mentioned above, M=N=3. After the data plane stores the above three forwarding tables, when a drone needs to send the business data collected by the onboard sensor to another drone in the network, the data plane uses the IP address of the destination drone as the input data of the CICQ switching structure, and obtains instructions pointing to the three sending channels on the output side of the CICQ switching structure. Then, when any WiFi channel is available, the data plane sends the IP datagram to be sent to the sending channel input port of the WiFi transceiver module corresponding to this channel. These ports immediately send it to the router pointed to by the destination IP address segment corresponding to the port number in their allocated channels.
[0065] 3) Adaptive forwarding of IP datagrams with low inter-channel interference
[0066] The routers carried by each member drone in the drone ad hoc network provide a buffer storage area (called identification information buffer) for each of its receiving ports to buffer a certain number of source IP addresses, destination IP addresses, final forwarding ports, and payload data characteristic values of received IP datagrams that are suitable for the needs of specific application scenarios. This payload data characteristic value is generated by the data plane in the process of receiving and parsing IP datagrams, and is used to distinguish the payload data segments carried by each received IP datagram within the error range allowed by the application scenario. When the proportion of used space in the buffer to the total storage space is greater than the preset threshold, the earliest existing source IP address, destination IP address, and payload data characteristic value of the IP datagram are discarded according to the first-in-first-out principle.
[0067] For any IP datagram that needs to be forwarded entering a router, such as Figure 3 As described above, forward it to the selected channel, the process is as follows,
[0068] 1) The router receives an IP datagram D that needs to be forwarded. The data plane uses its destination IP address as the input data of the forwarding engine. The forwarding engine uses this input data to check the existing M forwarding tables and obtains M identifiers pointing to each sending channel on the output side of the forwarding engine. The sequence number F of the M identifiers is the same as the generation sequence number of the M forwarding tables, and F is initialized to 1;
[0069] 2) Determine how many of the source and destination IP addresses and payload data characteristic values stored in the identification information buffer are identical to the corresponding parameter combinations of the IP datagram D, and the IP datagrams corresponding to the identical ones are recorded as "historical multiple sent IP datagrams", the number of which is recorded as E, the sequence number is En, and En is initialized to 1;
[0070] 3) Set the sequence number F of the sending channel identifier on the output side of the forwarding engine to 1;
[0071] 4) Determine whether the channel corresponding to the sending channel indicated by the Fth identifier is idle, if yes, go to step 6), otherwise go to step 5);
[0072] 5) Determine whether F is equal to M, if yes, proceed to step 3), otherwise F=F+1, step 4);
[0073] 6) Determine whether E is equal to 0, if yes, go to step 9), otherwise, En=1, go to step 7);
[0074] 7) Determine whether the currently idle channel has been used by the Enth historical multiple transmission IP datagram, if yes, then F=F+1, step 4), otherwise step 8);
[0075] 8) Determine whether En is equal to E, if yes, go to step 9), otherwise, En=En+1, go to step 7);
[0076] 9) Send IP datagram D from this idle channel, step 1).
[0077] In this embodiment, the router carried by each member drone in the drone self-organizing network uses built-in RAM in the FPGA to provide a buffer storage area (called identification information buffer) for each receiving port to buffer the source IP address, destination IP address, final forwarding port, and payload data characteristic value of 128 received IP datagrams. When the number of IP datagram information groups stored in the buffer is greater than 120, the earliest existing IP datagram source IP address, destination IP address, and IP datagram payload data characteristic value are discarded according to the first-in-first-out principle.
[0078] The payload data characteristic value in this embodiment is generated during the process of receiving and parsing IP datagrams. Its value is the CRC-32 checksum of the IP datagram payload data, which is calculated in real time by the FPGA. If the length of the IP datagram payload data is less than 32 bits, it is supplemented by a pseudo-random number sequence, which is generated and updated in real time by the FPGA using a linear feedback shift register. For any IP datagram that needs to be forwarded that enters a router, according to the attached Figure 4 The process forwards it to the selected channel.
[0079] 4) Multiplexed IP datagram reception
[0080] When receiving an IP datagram and buffering its source IP address, destination IP address, and payload data characteristic values, the router data plane determines whether its destination IP address is the local IP address. If so, it searches the identification information buffer and determines whether it has previously received an IP datagram that belongs to the same group of multiple sent datagrams as this IP datagram. If so, it discards the IP datagram. If not, it forwards the parsed payload data to the application layer.
[0081] In this embodiment, the structures and functions of the airborne routers of each drone participating in the networking are the same. The CPU is responsible for implementing the control plane algorithm, and the FPGA is responsible for implementing the data plane algorithm. The CPU is connected to the FPGA via a bus. The FPGA has three WiFi control modules running in parallel to connect to three WiFi transceiver modules. The FPGA has one camera control module built in to connect to the airborne camera module. The FPGA implements the switching matrix module as the hub for exchanging various service information between channels.
[0082] Currently, the SOCs built into camera modules with medium or higher configurations all have built-in ISP (image signal processor) modules, video compression modules, and fully functional main control modules. They can independently complete basic imaging optimization functions such as 3A (auto focus, auto exposure, auto white balance), noise reduction, HDR, and video compression functions. They do not require intervention from the camera control module built into the FPGA, and can directly output compressed video data streams with optimized image quality.
[0083] The camera control module receives the configuration information sent by the CPU via the CPU bus, uploads the status information of the camera module to the CPU, provides a control signal sequence according to the control interface signal timing required by the camera module, and controls the camera pointing and pointing stability through the pan / tilt; the camera control module obtains the compressed video data stream from the camera module as business information to provide to the switching matrix module, and obtains the camera module status information to provide to the CPU.
[0084] The WiFi control module receives the configuration information sent by the CPU via the CPU bus, uploads the status information of the WiFi transceiver module to the CPU, provides a control signal sequence according to the control interface timing of the WiFi transceiver module, controls the frequency band, channel and transmission power of the WiFi transceiver module it is responsible for; obtains the networking information sent by other drones from the receiving channel of the WiFi transceiver module and forwards it to the CPU, obtains the business information sent by other drones and forwards it to the switching matrix module; obtains the networking information from the CPU and forwards it to the sending channel of the WiFi transceiver module, obtains the business information from the switching matrix module and forwards it to the sending channel of the WiFi transceiver module.
[0085] The switching matrix module is located in the center of each module in the FPGA. It is responsible for checking the forwarding table in the router and forwarding the service information from the receiving channel of the WiFi control module and the camera control module according to the content of the forwarding table. The forwarding destination is the sending channel of each WiFi control module. The core function of the switching matrix adopts the CICQ (Combined Input-Crosspoint Queueing) switching structure based on FPGA.
[0086] The core of each WiFi transceiver module is a WiFi transceiver SOC chip (such as TI's CC3200), which has a complete WiFi network processor built in, which can realize the two-way conversion from business information to WiFi radio frequency signals. The CPU configures the three WiFi transceiver modules through the WiFi control module to work in the 1st, 6th and 11th channels of the 2.4GHz WiFi frequency band, thereby realizing three parallel operation and low channel crosstalk multiple access channels in frequency division multiple access mode.
[0087] The present invention is not limited to the specific technical solutions described in the above embodiments. In addition to the above embodiments, the present invention may also have other implementation modes. For those skilled in the art, any technical solutions formed by any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for optimizing the communication reliability of unmanned aerial vehicle ad hoc networks based on FPGA, characterized in that , perform the following steps: 1) Establishment and maintenance of the forwarding table of the onboard router; 1-1) The router carried by each drone in the drone ad hoc network supports a radio frequency communication protocol with non-time division multiple access capability, and sets N radio frequency transceiver ports, where N ≤ the upper limit of the number of low crosstalk channels; Establish M numbered routing tables and assign them numbers in the order of their generation; in the process of selecting the best route before adding any table entry to the routing table established later, any route will reduce the use of intermediate network nodes that have been used by other routes; M≤N; When the upper limit of the number of low crosstalk channels is 3, let M = N = 3; 1-2) generating M forwarding tables with serial numbers corresponding to the M routing tables in step 1-1) on the control plane of the onboard router, and sending them to the forwarding engine of the data plane for storage and standby use; the serial number of the forwarding table is the same as the serial number of the routing table corresponding to the forwarding table; 1-3) If the network status changes and is sensed by each onboard router based on the routing protocol followed, the onboard router that is still functioning normally will re-establish a new routing table and update and store the routing table and forwarding table; 2) Multiple sending of IP datagrams; 2-1) Select an appropriate forwarding quantity V; V is determined by the current number of available radio frequency channels U and M of the onboard router and the application scenario requirements; 2-2) querying the first V on the forwarding table through the forwarding engine, addressing the destination IP address of the IP datagram to be sent, and obtaining V radio frequency transmission ports through the table, and pointing them to V airborne routers, thereby realizing multiple transmission; 3) Adaptive forwarding of IP datagrams with low inter-channel interference; The airborne router carried by each member drone in the drone ad hoc network provides an identification information buffer for each of its own receiving ports to buffer the source IP address, destination IP address, payload data characteristic value, and final forwarding port of the received IP datagram; When the airborne router carried by any member UAV receives an IP datagram to be forwarded, the data plane of the airborne router uses its destination IP address as input data of the forwarding engine, and the forwarding engine uses the input data to query the M forwarding tables with sequence numbers, obtains M identifiers pointing to the radio frequency transmission ports corresponding to each transmission channel on the output side of the forwarding engine, and finds out the historical multiple transmission IP datagrams in the identification information buffer; the historical multiple transmission IP datagrams are IP datagrams with the same combination of the source IP address, destination IP address and payload data characteristic value as the IP datagram to be forwarded; Traverse the M radio frequency transmission ports corresponding to the transmission channels pointed to by each identifier obtained by querying the forwarding table. If there is an idle port, traverse the final forwarding port of each historical multiple IP datagram to determine whether it is the current idle port. If there is one, find the next idle port in the above M radio frequency transmission ports; if none of them is, send the IP datagram to be forwarded from this idle port; 4) Multiple sent IP datagram reception; The data plane determines whether the destination IP address is the IP address of the local machine while receiving the source IP address, the destination IP address, and the characteristic value of the payload data in the buffer storage area of the IP datagram; If so, the identification information buffer of the local machine is retrieved to determine whether an IP datagram belonging to the same group of multiple sent datagrams as the IP datagram has been received before. If so, the IP datagram is discarded. If not, the parsed payload data is forwarded to the application layer.
2. The FPGA-based UAV ad hoc network communication reliability optimization method according to claim 1 is characterized in that: In step 2-2), as long as V RF channels are available and no higher priority messages have not been sent, the IP datagrams to be sent will be immediately forwarded to the V RF sending ports, which will send them to the V routers pointed to by the destination IP address segments corresponding to the V port numbers in accordance with the multiple access rules supported by the RF communication protocol and without causing unacceptable interference between channels.
3. The FPGA-based UAV ad hoc network communication reliability optimization method according to claim 1 is characterized in that: When the proportion of the used space in the identification information buffer to the total storage space is greater than a preset threshold, the earliest existing IP datagram source IP address, destination IP address, payload data characteristic value, and final forwarding port are discarded according to the first-in-first-out principle.
