WO2017177541A1 - Interface system and interface control method for unmanned aerial vehicle - Google Patents

Interface system and interface control method for unmanned aerial vehicle Download PDF

Info

Publication number
WO2017177541A1
WO2017177541A1 PCT/CN2016/086309 CN2016086309W WO2017177541A1 WO 2017177541 A1 WO2017177541 A1 WO 2017177541A1 CN 2016086309 W CN2016086309 W CN 2016086309W WO 2017177541 A1 WO2017177541 A1 WO 2017177541A1
Authority
WO
WIPO (PCT)
Prior art keywords
pin
physical interface
general
target load
module
Prior art date
Application number
PCT/CN2016/086309
Other languages
French (fr)
Chinese (zh)
Inventor
高鹏
朱棣
Original Assignee
高鹏
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 高鹏 filed Critical 高鹏
Publication of WO2017177541A1 publication Critical patent/WO2017177541A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Definitions

  • the invention relates to the technical field of unmanned aerial vehicles, and in particular to an interface system and an interface control method for an unmanned aerial vehicle.
  • Unmanned aerial vehicles also known as unmanned aerial vehicles, drones, etc.
  • unmanned aerial vehicles are unmanned aircraft that are either radio-controlled or under autonomous, semi-autonomous procedures. Because of its low cost, no risk of casualties, and good mobility, it is widely used in various fields of aerial photography, geological survey, line inspection, and emergency rescue. Among them, due to the development of integrated circuits and micro-system technology, the miniaturization of the UAV has been realized, greatly expanding the types of tasks that the UAV can perform. Depending on the task being performed, a small unmanned aerial vehicle usually needs to carry different loads.
  • the technical problem to be solved by the present invention is how to provide a universal interface system for an unmanned aerial vehicle.
  • an interface system for an unmanned aerial vehicle including:
  • Physical interface including multiple pins
  • At least one protocol conversion module configured to perform a conversion of a communication protocol on the target payload according to a communication protocol type of a target payload that accesses the physical interface;
  • the I/O strong driving module is respectively connected to the protocol conversion module and the physical interface, and is configured to drive each pin of the physical interface according to the configuration data and the communication protocol type of the target load;
  • a main controller which is respectively connected to the physical interface, the protocol conversion module, and the I/O strong driving module, and configured to configure a function of each pin of the physical interface according to the configuration data of the target load; Determining, by the configuration data, a communication protocol type of the target payload, and configuring a function of the protocol conversion module according to a communication protocol type of the target payload; and transmitting, by the I/O strong driving module, the protocol conversion module and the The target load communicates and performs the function of the target load.
  • the method further includes:
  • Inserting a detection and identification module performing insertion detection and identification on whether the physical interface is inserted into a target load.
  • the insertion detection and identification module includes:
  • the insertion detecting unit is configured to determine, according to the insertion value of the physical interface, the voltage value of the identification pin, whether the physical interface is inserted into the target load;
  • a load identification unit connected to the insertion detecting unit, configured to read configuration data from the target load by the insertion detection and identification pin in a case where the insertion detecting unit determines to insert the target load And verifying the configuration data.
  • the insertion detecting unit is further configured to control the I/O strong driving module to be broken when detecting that the target load is pulled out from the physical interface. Turning on, the protocol conversion module is controlled to stop working, and the insertion detecting unit is instructed to continue the insertion detection.
  • the physical interface includes a general-purpose I/O pin, and the general-purpose I/O pin is connected to the I/O strong driving module.
  • the main controller is further configured to configure a function of each general-purpose I/O pin according to the configuration data;
  • the I/O strong driving module is further configured to control the first general-purpose I/O pin and the protocol conversion module if the main controller configures the first general-purpose I/O pin as an input Straight through; in the case where the main controller configures the second general purpose I/O pin as a digital output, controlling the second general purpose I/O pin to communicate with the protocol conversion module;
  • the third general purpose I/O pin is configured as a strong output, the signal received from the protocol conversion module is enhanced and sent to the third general purpose I/O pin; at the main controller
  • the fourth general purpose I/O pin is configured as a power supply output, the fourth general purpose I/O pin is controlled to be directly connected to the corresponding power rail.
  • the physical interface further includes an insertion detection and identification pin and a ground pin
  • the main controller is further configured to control the insertion detection and identification pin and insertion detection.
  • the ground pin is connected to the system ground.
  • the invention also provides an interface control method for an unmanned aerial vehicle, the physical interface of the unmanned aerial vehicle comprising a plurality of pins;
  • the method includes:
  • the method further includes:
  • Insert detection and identification is performed on whether the physical interface is inserted into a target load.
  • insertion detection and identification are performed on whether the physical interface is inserted into a target load, including:
  • configuration data is read from the target payload by the insertion detection and identification pin, and the configuration data is verified.
  • the method further includes:
  • the I/O strong driving module is controlled to be disconnected, the protocol conversion module is controlled to stop working, and the insertion detection is continued.
  • the physical interface includes a general-purpose I/O pin, and the general-purpose I/O pin is connected to the I/O strong driving module, and the method further includes:
  • each general-purpose I/O pin is configured according to the configuration data.
  • the configuring the functions of each general-purpose I/O pin according to the configuration data includes:
  • the I/O strong driving module controls the first general-purpose I/O pin to communicate with the protocol conversion module;
  • the I/O strong driving module controls the second general-purpose I/O pin to communicate with the protocol conversion module;
  • the I/O strong driving module performs enhancement processing on the signal received from the protocol conversion module, and then sends the signal to the third pass.
  • the I/O strong driving module controls the fourth general-purpose I/O pin to be directly connected to the corresponding power rail.
  • the physical interface further includes an insertion detection and identification pin and a ground pin
  • the method further includes:
  • the main controller controls the insertion detection and identification pin to be connected to the insertion detection and identification module, and controls the ground pin to be connected to the system ground.
  • the embodiment of the present invention can identify the configuration data of the inserted target payload, configure the function of each pin in the physical interface to meet the requirements of various target loads on the interface, and the protocol conversion module can convert any defined protocol on the target payload into A unified universal protocol to achieve communication between the target payload and the UAV master controller.
  • the load of the drone can achieve greater versatility with fewer pins and physical interface sizes, greatly enhancing the scalability of the drone.
  • the interface control method and the interface system according to the embodiments of the present invention can adaptively allocate all the connection pins as power supply or data interfaces, and can adapt to any number of power rails, ground rails, and signal lines, and the signal lines can be realized by the interface conversion device. Any defined interface protocol.
  • FIG. 1 is a schematic structural view of an interface system of an unmanned aerial vehicle according to an embodiment of the present invention
  • FIG. 2 shows a structural diagram of an interface system of an unmanned aerial vehicle according to another embodiment of the present invention. intention
  • FIG. 3 is a flow chart showing an interface control method of an unmanned aerial vehicle according to an embodiment of the present invention.
  • FIG. 4 is a schematic flow chart showing another interface control method of an unmanned aerial vehicle according to an embodiment of the present invention.
  • FIG. 5 is a flow chart showing an interface control method of an unmanned aerial vehicle according to another embodiment of the present invention.
  • Fig. 6 is a block diagram showing the structure of an interface control device for an unmanned aerial vehicle according to another embodiment of the present invention.
  • FIG. 1 is a block diagram showing the structure of an interface system of an unmanned aerial vehicle according to an embodiment of the present invention.
  • the interface system of the unmanned aerial vehicle may mainly include:
  • Physical interface 11 comprising a plurality of pins
  • At least one protocol conversion module 13 for receiving a target load 12 according to the physical interface 11 a communication protocol type for performing a conversion of a communication protocol to the target payload 12;
  • An I/O (input/output port) strong driving module 15 is respectively connected to the protocol conversion module 13 and the physical interface 11 for configuring data and a communication protocol type according to the target load 12. Driving each pin of the physical interface 11;
  • the main controller 17 is connected to the physical interface 11, the protocol conversion module 13, and the I/O strong driving module 15, respectively, for configuring the reference of the physical interface 11 according to the configuration data of the target load 12. a function of the foot; determining a communication protocol type of the target load 12 according to the configuration data, and configuring a function of the protocol conversion module 13 according to a communication protocol type of the target load 12; and driving through the I/O
  • the module 15 and the protocol conversion module 13 communicate with the target load 12 and perform the function of the target load 12.
  • the embodiment of the invention can realize a universal interface system applied to the load of a small unmanned aerial vehicle, and provides functions such as power supply and data transmission for any payload complying with the interface standard through the interface.
  • FIG. 2 is a block diagram showing the structure of an interface system of an unmanned aerial vehicle according to another embodiment of the present invention.
  • the same components in Fig. 2 as those in Fig. 1 have the same functions, and a detailed description of these components will be omitted for the sake of brevity.
  • the interface system of the unmanned aerial vehicle may further include:
  • the insertion detection and identification module 21 is configured to perform insertion detection and identification on whether the physical interface 11 is inserted into the target load 12.
  • the insertion detection and identification module 21 includes:
  • the insertion detecting unit is configured to determine whether the physical interface 11 is inserted into the target load 12 according to the voltage value of the insertion detection and identification pin of the physical interface 11;
  • a load identification unit coupled to the insertion detection unit for determining at the insertion detection unit
  • the configuration data is read from the target load 12 by the insertion detection and identification pin, and the configuration data is verified.
  • the insertion detecting unit is further configured to control the I/O strong driving module 15 to be disconnected if it is detected that the target load 12 is pulled out from the physical interface 11 And controlling the protocol conversion module 13 to stop working, and instructing the insertion detecting unit to continue the insertion detection.
  • the physical interface 11 includes a general purpose I/O pin that is connected to the I/O strong drive module 15.
  • the main controller 17 is further configured to configure a function of each general-purpose I/O pin according to the configuration data;
  • the I/O strong driving module 15 is further configured to control the first general-purpose I/O pin and the protocol if the main controller 17 configures the first general-purpose I/O pin as an input.
  • the conversion module 13 is directly connected; in the case where the main controller 17 configures the second general-purpose I/O pin as a digital output, the second general-purpose I/O pin is controlled to be directly connected to the protocol conversion module 13;
  • the main controller 17 configures the third general-purpose I/O pin as a strong output, the signal received from the protocol conversion module 13 is enhanced and sent to the third general-purpose I/O pin.
  • the driving capability of the signal processed by the I/O strong driving module 15 is enhanced, and the signal level output by the protocol conversion module 13 is the same as the signal level of the third general-purpose I/O pin;
  • the main controller 17 configures the fourth general-purpose I/O pin as a power supply output, the fourth general-purpose I/O pin is controlled to be directly connected to the corresponding power rail.
  • the physical interface 11 further includes an insertion detection and identification pin and a ground pin
  • the main controller 17 is further configured to use the insertion detection and identification pin and the insertion detection and identification module. 21 is connected, and the ground pin is connected to the system ground.
  • the target load 12 is connected to the insertion detection and recognition module 21 through the physical interface 11, the insertion and detection module determines the insertion action of the target load 12, and identifies features such as the specific model of the target load 12.
  • the target load 12 passes through the physical interface 11 and the I/O strong drive module 15 Connected, further connected to the protocol conversion module 13, wherein the I/O strong drive module 15 enhances the output signal driving capability of the protocol conversion module 13.
  • the drone main controller 17 is connected to the insertion detecting and identifying module 21 to complete the identification of the load.
  • the drone master controller 17 is connected to the protocol conversion module 13 via, for example, a USB (Universal Serial Bus) protocol to implement communication with a payload.
  • the UAV main controller 17 is connected to the I/O strong drive module 15, and the I/O strong drive module 15 is functionally configured.
  • each module is as follows:
  • UAV main controller 17 This part can be composed of an application processor and its peripheral circuits;
  • Target load 12 This part is connected to the physical interface of the micro-unmanned aerial vehicle to achieve a certain functional load.
  • the target load 12 includes, but is not limited to, a camera, a pan/tilt head, a robotic arm, a searchlight, a smoking device, and the like.
  • the target payload 12 should have at least one memory (such as a Flash chip), an insertion detection and identification pin, four ground pins, and one general-purpose I/O pin. Wherein the target load 12 and the physical interface 11 are inserted into the detection and identification pin, the output level is clamped to a system such as 3.3V by a clamp diode, and the general-purpose I/O pin of the target load 12 is numbered 0 is connected to the system of the load system. Power supply, the data port of the Flash chip is connected to the insertion detection and identification pin;
  • Physical interface 11 This part is the actual physical interface 11 of the micro-UAV connected to the target payload 12, including a number of connected pins.
  • the physical interface 11 can include one insertion detection and identification pin, four ground pins, a number of general purpose I/O pins, and the like.
  • the insertion detection and identification pin is connected to the insertion detection and identification module 21, the general-purpose I/O pin is connected to the I/O strong drive module 15, and the ground pin is connected to the system ground;
  • Insertion detection and identification module 21 The portion includes an insertion detection circuit and a load identification module.
  • the insertion detection circuit pulls the insertion detection and identification pin up to, for example, a 3.6V power supply through, for example, a 100K resistor, and the insertion detection and identification pin is high. Resistance input.
  • the load identification module acquires configuration data of the target load 12 by inserting the detection and identification pin and the inserted target payload 12 by, for example, a 1-Wire protocol.
  • the protocol conversion module 13 may be composed of, for example, a programmable logic device. The protocol conversion module 13 reprograms the target load 12 according to the recognition result of the insertion detection and identification module 21 by the unmanned host controller 17 to convert the load-supported communication protocol into a standard USB device and is connected to the master. Complete the bridging function of communication;
  • I/O strong drive module 15 This module is used to strongly drive the general-purpose I/O pin output. If the drone main controller 17 configures a general-purpose I/O pin of the physical interface as an input, then The I/O strong drive module 15 controls the pin to communicate with the protocol conversion module 13. If the drone main controller 17 configures a general-purpose I/O pin as a digital output, the I/O strong drive module 15 controls the pin to communicate with the protocol conversion module 13. If the drone main controller 17 configures a general-purpose I/O pin as a strong output, the I/O strong drive module 15 controls the pin to be connected to the I/O drive circuit protocol conversion module 13. If the drone master controller 17 configures a general purpose I/O pin as a power supply output, the I/O strong drive module 15 controls the pin to be connected to the corresponding power rail.
  • FIG. 3 is a flow chart showing an interface control method of an unmanned aerial vehicle according to an embodiment of the present invention.
  • the interface control method of the present embodiment can be applied to an interface system of an unmanned aerial vehicle as shown in any of the structures of FIGS. 1 and 2.
  • the interface control method of the unmanned aerial vehicle may mainly include: the method includes:
  • Step 401 Configure a function of each pin of the physical interface according to configuration data of a target load that accesses the physical interface.
  • Step 402 Determine a communication protocol type of the target payload according to the configuration data, and configure a function of the protocol conversion module according to the communication protocol type of the target payload.
  • Step 403 Communicate with the target load through the I/O strong driving module and the protocol conversion module, and execute the function of the target load.
  • the method further includes:
  • Step 400 Perform insertion detection and identification on whether the physical interface is inserted into the target load. If it is detected that the target load is inserted into the physical interface and the target load is successfully identified, step 401 is performed.
  • step 400 can include:
  • Step 4001 Determine, according to the insertion value of the physical interface, the voltage value of the identification pin, whether the physical interface is inserted into the target load;
  • Step 4002 In a case where it is determined that the physical interface is inserted into the target payload, configuration data is read from the target payload by the insertion detection and identification pin, and the configuration data is verified.
  • step 403 the method further includes:
  • Step 404 When detecting that the target load is pulled out from the physical interface, control the I/O strong driving module to be disconnected, control the protocol conversion module to stop working, and return to perform insertion detection.
  • the physical interface of the drone includes a plurality of pins, for example, the physical interface includes a general-purpose I/O pin, and the general-purpose I/O pin and the I/O strong driving module
  • the method further includes: Step 406: Configure a function of each general-purpose I/O pin according to the configuration data.
  • step 406 can include any one or more of the following:
  • the I/O strong driving module controls the first general-purpose I/O pin to communicate with the protocol conversion module;
  • the I/O strong driving module controls the second general-purpose I/O pin to communicate with the protocol conversion module;
  • the I/O strong driving module performs enhancement processing on the signal received from the protocol conversion module, and then sends the signal to the third universal I/O pin;
  • the I/O strong driving module controls the fourth general-purpose I/O pin to be directly connected to the corresponding power rail.
  • the physical interface further includes an insertion detection and identification pin and a ground pin
  • the method further includes:
  • Step 407 The main controller controls the insertion detection and identification pin to be connected to the insertion detection and identification module, and controls the ground pin to be connected to the system ground.
  • the timings of the steps 406 and 407 may be interchanged or may be performed at the same time, which is not specifically limited in this embodiment.
  • FIG. 5 is a flow chart showing an interface control method of an unmanned aerial vehicle according to another embodiment of the present invention.
  • an exemplary process for performing interface control on the interface systems of Embodiments 1 and 2 can be divided into the following steps: an insertion detection phase 501, an identification phase 502, a connection establishment phase 503, a communication phase 504, and an extraction process. Stage 505.
  • Insertion detection phase 501 At this stage, the UAV main controller 17 continuously reads the insertion detection and identification pin voltage value, and if it is 3.6 V, it judges that the load is not inserted, and continues to stay in the insertion detection phase. If the read voltage is 3.3V (affected by the clamp diode on the load), it is considered that the payload has been inserted and enters the identification phase.
  • the stage protocol conversion module 13 does not work, and the I/O strong drive module 15 is in an off state;
  • This stage first drives the general-purpose I/O numbered 0 to the system power supply by the I/O strong drive module 15, the load digital power supply is powered on and started, and the load identification module in the insertion detection and identification module 21 passes through 1-
  • the Wire protocol reads the configuration data in the Flash in the target payload 12 and performs verification. If the verification passes, the connection establishment phase is entered, and if the verification fails, the interpolation detection phase is returned;
  • Connection establishment phase 503 This phase first determines all of the physical interfaces 11 by the UAV main controller 17 based on the configuration data in the Flash in the target payload 12 read by the load identification module in the insertion detection and identification module 21 in the identification phase.
  • the functions of the general-purpose I/O pins are used to configure the I/O strong drive module 15.
  • the device 17 determines the communication protocol type of the payload according to the configuration data, and sequentially converts the module 13 according to the configuration protocol.
  • the UAV main controller 17 attempts to initiate a communication request to the target load 12 through the protocol conversion module 13 and the I/O strong drive module 15, and enters the communication phase if a correct response is obtained, otherwise returns to the identification phase;
  • Communication phase 504 This phase is communicated with the target load 12 by the UAV main controller 17 through the protocol conversion module 13 and the I/O strong drive module 15 and performs the load function, while the UAV main controller 17 continuously reads Insert the voltage value of the detection and identification pin. If the voltage value is 3.6V, it will enter the pull-out phase, otherwise it will remain in the communication phase;
  • Pull-out phase 505 This stage is controlled by the drone master controller 17 to return the I/O strong drive module 15 to the disconnected state, and the control protocol conversion module 13 stops working, and then enters the insertion detection phase.
  • Embodiments of the present invention provide a complete universal payload interface system and control method that can be applied to a micro UAV.
  • the interface system can provide a reconfigurable access method for a load, and the system can recognize the inserted
  • the target payload configuration data configures the general purpose I/O in the interface into multiple functions to accommodate the interface requirements of various target loads.
  • the protocol conversion module can convert any defined protocol on the target payload into a unified USB protocol to achieve communication between the target payload and the main controller of the drone.
  • the load of the micro drone can achieve greater versatility with fewer pins and physical interface sizes, greatly enhancing the scalability of the micro drone.
  • Fig. 6 is a block diagram showing the structure of an interface control device for an unmanned aerial vehicle according to another embodiment of the present invention.
  • the interface control device 1100 of the unmanned aerial vehicle may be a host server having a computing capability, a personal computer PC, or a portable computer or terminal that can be carried.
  • the specific embodiments of the present invention do not limit the specific implementation of the computing node.
  • the interface control device 1100 of the unmanned aerial vehicle includes a processor 1110, a communication interface 1120, a memory 1130, and a bus 1140.
  • the processor 1110, the communication interface 1120, and the memory 1130 complete each other through the bus 1140. Communication between.
  • Communication interface 1120 is for communicating with network devices, including, for example, a virtual machine management center, shared storage, and the like.
  • the processor 1110 is configured to execute a program.
  • the processor 1110 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.
  • ASIC Application Specific Integrated Circuit
  • the memory 1130 is used to store files.
  • the memory 1130 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • Memory 1130 can also be a memory array.
  • the memory 1130 may also be partitioned, and the blocks may be combined into a virtual volume according to certain rules.
  • the above program may be program code including computer operating instructions.
  • the program can be specifically used to: perform the operations of the steps in Embodiment 3 or 4.
  • the function is implemented in the form of computer software and sold or used as a stand-alone product, it is considered to some extent that all or part of the technical solution of the present invention (for example, a part contributing to the prior art) is It is embodied in the form of computer software products.
  • the computer software product is typically stored in a computer readable non-volatile storage medium, including instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform all of the methods of various embodiments of the present invention. Or part of the steps.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the embodiment of the present invention can identify the configuration data of the inserted target payload, configure the function of each pin in the physical interface to meet the requirements of various target loads on the interface, and the protocol conversion module can convert any defined protocol on the target payload into A unified universal protocol to achieve communication between the target payload and the UAV master controller.
  • the load of the drone can achieve greater versatility with fewer pins and physical interface sizes, greatly enhancing the scalability of the drone.
  • the interface control method and the interface system according to the embodiments of the present invention can adaptively allocate all the connection pins as power supply or data interfaces, and can adapt to any number of power rails, ground rails, and signal lines, and the signal lines can be realized by the interface conversion device. Any defined interface protocol.

Abstract

An interface system and an interface control method for an unmanned aerial vehicle. The system comprises: a physical interface (11) comprising multiple pins; at least one protocol conversion module (13) for performing communication protocol conversion on a target load (12) according to the communication protocol type of the target load (12) that accesses the physical interface (11); an I/O strong driver module (15) for driving the pins of the physical interface (11) according to configuration data and the communication protocol type of the target load (12); and a master controller (17) for configuring the functions of the pins of the physical interface (11) according to the configuration data of the target load (12), determining the communication protocol type of the target load (12) according to the configuration data, configuring the function of the protocol conversion module (13) according to the communication protocol type of the target load (12), communicating with the target load (12) by means of the I/O strong driver module (15) and the protocol conversion module (13), and implementing the function of the target load (12). Relatively high versatility of the load of the unmanned aerial vehicle can be achieved by means of a relatively small number of pins and a relatively small size of the physical interface (11), and the expandability of the unmanned aerial vehicle is enhanced.

Description

无人驾驶飞行器的接口系统和接口控制方法Interface system and interface control method for unmanned aerial vehicle
交叉引用cross reference
本申请主张2016年4月15日提交的中国专利申请号为201610236913.2的优先权,其全部内容通过引用包含于此。The present application claims priority to Chinese Patent Application No. 201610236913.2, filed on Apr.
技术领域Technical field
本发明涉及无人驾驶飞行器技术领域,尤其涉及一种无人驾驶飞行器的接口系统和接口控制方法。The invention relates to the technical field of unmanned aerial vehicles, and in particular to an interface system and an interface control method for an unmanned aerial vehicle.
背景技术Background technique
无人飞行器(也称为无人驾驶飞行器、无人机等)是一种以无线电遥控或者在自主、半自主程序控制下的不载人的飞行器。由于其成本较低,无人员伤亡风险,机动性好等优势,其在各类航空拍摄、地质测量、线路巡检、应急救援等领域应用广泛。其中,由于集成电路和微系统技术的发展,使得无人飞行器的微小化得以实现,极大扩展了无人飞行器可执行的任务类型。根据微小无人飞行器根据所执行任务不同,通常需要搭载不同的载荷。Unmanned aerial vehicles (also known as unmanned aerial vehicles, drones, etc.) are unmanned aircraft that are either radio-controlled or under autonomous, semi-autonomous procedures. Because of its low cost, no risk of casualties, and good mobility, it is widely used in various fields of aerial photography, geological survey, line inspection, and emergency rescue. Among them, due to the development of integrated circuits and micro-system technology, the miniaturization of the UAV has been realized, greatly expanding the types of tasks that the UAV can perform. Depending on the task being performed, a small unmanned aerial vehicle usually needs to carry different loads.
由于任务种类繁多,所以载荷类型极大丰富,各类载荷所需的电源轨数量、信号线数量、接口协议方式千差万别,现有通用接口技术很难在微小飞行器尺寸受限的情况下实现所有载荷的通用化。Due to the wide variety of tasks, the load types are extremely rich, and the number of power rails, number of signal lines, and interface protocols required for various types of loads vary widely. It is difficult for existing common interface technologies to achieve all loads with limited size of small aircraft. Generalization.
发明内容Summary of the invention
技术问题technical problem
有鉴于此,本发明要解决的技术问题是,如何提供一种无人驾驶飞行器的通用的接口系统。 In view of this, the technical problem to be solved by the present invention is how to provide a universal interface system for an unmanned aerial vehicle.
解决方案solution
为了解决上述技术问题,根据本发明的一实施例,提供了一种无人驾驶飞行器的接口系统,包括:In order to solve the above technical problem, according to an embodiment of the present invention, an interface system for an unmanned aerial vehicle is provided, including:
物理接口,包括多个引脚;Physical interface, including multiple pins;
至少一个协议转换模块,用于根据接入所述物理接口的目标载荷的通信协议类型,对所述目标载荷进行通信协议的转换;At least one protocol conversion module, configured to perform a conversion of a communication protocol on the target payload according to a communication protocol type of a target payload that accesses the physical interface;
I/O强驱动模块,与所述协议转换模块和所述物理接口分别连接,用于根据所述目标载荷的配置数据和通信协议类型,对所述物理接口的各引脚进行驱动;The I/O strong driving module is respectively connected to the protocol conversion module and the physical interface, and is configured to drive each pin of the physical interface according to the configuration data and the communication protocol type of the target load;
主控制器,与所述物理接口、协议转换模块和所述I/O强驱动模块分别连接,用于根据所述目标载荷的配置数据,配置所述物理接口的各引脚的功能;根据所述配置数据确定所述目标载荷的通信协议类型,并根据所述目标载荷的通信协议类型配置所述协议转换模块的功能;透过所述I/O强驱动模块和所述协议转换模块与所述目标载荷进行通信,并执行所述目标载荷的功能。a main controller, which is respectively connected to the physical interface, the protocol conversion module, and the I/O strong driving module, and configured to configure a function of each pin of the physical interface according to the configuration data of the target load; Determining, by the configuration data, a communication protocol type of the target payload, and configuring a function of the protocol conversion module according to a communication protocol type of the target payload; and transmitting, by the I/O strong driving module, the protocol conversion module and the The target load communicates and performs the function of the target load.
对于上述系统,在一种可能的实现方式中,还包括:For the above system, in a possible implementation manner, the method further includes:
插入检测与识别模块;用于对所述物理接口是否插入目标载荷进行插入检测与识别。Inserting a detection and identification module; performing insertion detection and identification on whether the physical interface is inserted into a target load.
对于上述系统,在一种可能的实现方式中,所述插入检测与识别模块包括:In a possible implementation manner, the insertion detection and identification module includes:
插入检测单元,用于根据所述物理接口的插入检测与识别引脚的电压值,判断所述物理接口是否插入所述目标载荷;The insertion detecting unit is configured to determine, according to the insertion value of the physical interface, the voltage value of the identification pin, whether the physical interface is inserted into the target load;
载荷识别单元,与所述插入检测单元连接,用于在所述插入检测单元判定为插入所述目标载荷的情况下,通过所述插入检测与识别引脚从所述目标载荷中读取配置数据,并对所述配置数据进行校验。 a load identification unit connected to the insertion detecting unit, configured to read configuration data from the target load by the insertion detection and identification pin in a case where the insertion detecting unit determines to insert the target load And verifying the configuration data.
对于上述系统,在一种可能的实现方式中,所述插入检测单元还用于在检测到将所述目标载荷从所述物理接口拔出的情况下,控制所述I/O强驱动模块断开,控制所述协议转换模块停止工作,并指示所述插入检测单元继续进行插入检测。In a possible implementation manner, the insertion detecting unit is further configured to control the I/O strong driving module to be broken when detecting that the target load is pulled out from the physical interface. Turning on, the protocol conversion module is controlled to stop working, and the insertion detecting unit is instructed to continue the insertion detection.
对于上述系统,在一种可能的实现方式中,所述物理接口包括通用I/O引脚,所述通用I/O引脚与所述I/O强驱动模块相连。For the above system, in a possible implementation, the physical interface includes a general-purpose I/O pin, and the general-purpose I/O pin is connected to the I/O strong driving module.
对于上述系统,在一种可能的实现方式中,For the above system, in a possible implementation manner,
所述主控制器还用于根据所述配置数据,配置各通用I/O引脚的功能;The main controller is further configured to configure a function of each general-purpose I/O pin according to the configuration data;
所述I/O强驱动模块还用于在所述主控制器将第一通用I/O引脚配置为输入的情况下,控制所述第一通用I/O引脚与所述协议转换模块直通;在所述主控制器将第二通用I/O引脚配置为数字输出的情况下,控制所述第二通用I/O引脚与所述协议转换模块直通;在所述主控制器将第三通用I/O引脚配置为强输出的情况下,对从所述协议转换模块接收的信号进行增强处理后发送至所述第三通用I/O引脚;在所述主控制器将第四通用I/O引脚配置为电源输出的情况下,控制所述第四通用I/O引脚与对应电源轨直通。The I/O strong driving module is further configured to control the first general-purpose I/O pin and the protocol conversion module if the main controller configures the first general-purpose I/O pin as an input Straight through; in the case where the main controller configures the second general purpose I/O pin as a digital output, controlling the second general purpose I/O pin to communicate with the protocol conversion module; When the third general purpose I/O pin is configured as a strong output, the signal received from the protocol conversion module is enhanced and sent to the third general purpose I/O pin; at the main controller When the fourth general purpose I/O pin is configured as a power supply output, the fourth general purpose I/O pin is controlled to be directly connected to the corresponding power rail.
对于上述系统,在一种可能的实现方式中,所述物理接口还包括插入检测与识别引脚和接地引脚,所述主控制器还用于控制所述插入检测与识别引脚与插入检测与识别模块相连,所述接地引脚与系统地相连。In a possible implementation manner, the physical interface further includes an insertion detection and identification pin and a ground pin, and the main controller is further configured to control the insertion detection and identification pin and insertion detection. Connected to the identification module, the ground pin is connected to the system ground.
本发明还提供一种无人驾驶飞行器的接口控制方法,所述无人驾驶飞行器的物理接口包括多个引脚;The invention also provides an interface control method for an unmanned aerial vehicle, the physical interface of the unmanned aerial vehicle comprising a plurality of pins;
所述方法包括:The method includes:
根据接入所述物理接口的目标载荷的配置数据,配置所述物理接口的各引脚的功能;Configuring a function of each pin of the physical interface according to configuration data of a target load accessing the physical interface;
根据所述配置数据确定所述目标载荷的通信协议类型,并根据所述目标载荷的通信协议类型配置协议转换模块的功能; Determining, according to the configuration data, a communication protocol type of the target payload, and configuring a function of the protocol conversion module according to the communication protocol type of the target payload;
透过I/O强驱动模块和所述协议转换模块与所述目标载荷进行通信,并执行所述目标载荷的功能。Communicating with the target load through the I/O strong drive module and the protocol conversion module, and performing the function of the target load.
对于上述方法,在一种可能的实现方式中,还包括:For the above method, in a possible implementation manner, the method further includes:
对所述物理接口是否插入目标载荷进行插入检测与识别。Insert detection and identification is performed on whether the physical interface is inserted into a target load.
对于上述方法,在一种可能的实现方式中,对所述物理接口是否插入目标载荷进行插入检测与识别,包括:For the above method, in a possible implementation manner, insertion detection and identification are performed on whether the physical interface is inserted into a target load, including:
根据所述物理接口的插入检测与识别引脚的电压值,判断所述物理接口是否插入所述目标载荷;Determining whether the physical interface is inserted into the target load according to a voltage value of the insertion detection and identification pin of the physical interface;
在判定所述物理接口插入所述目标载荷的情况下,通过所述插入检测与识别引脚从所述目标载荷中读取配置数据,并对所述配置数据进行校验。In a case where it is determined that the physical interface is inserted into the target load, configuration data is read from the target payload by the insertion detection and identification pin, and the configuration data is verified.
对于上述方法,在一种可能的实现方式中,还包括:For the above method, in a possible implementation manner, the method further includes:
在检测到将所述目标载荷从所述物理接口拔出的情况下,控制所述I/O强驱动模块断开,控制所述协议转换模块停止工作,并返回继续进行插入检测。In case detecting that the target load is pulled out from the physical interface, the I/O strong driving module is controlled to be disconnected, the protocol conversion module is controlled to stop working, and the insertion detection is continued.
对于上述方法,在一种可能的实现方式中,所述物理接口包括通用I/O引脚,所述通用I/O引脚与所述I/O强驱动模块相连,所述方法还包括:For the above method, in a possible implementation, the physical interface includes a general-purpose I/O pin, and the general-purpose I/O pin is connected to the I/O strong driving module, and the method further includes:
根据所述配置数据,配置各通用I/O引脚的功能。The function of each general-purpose I/O pin is configured according to the configuration data.
对于上述方法,在一种可能的实现方式中,所述根据所述配置数据,配置各通用I/O引脚的功能,包括:For the above method, in a possible implementation, the configuring the functions of each general-purpose I/O pin according to the configuration data includes:
在主控制器将第一通用I/O引脚配置为输入的情况下,所述I/O强驱动模块控制所述第一通用I/O引脚与所述协议转换模块直通;In a case where the main controller configures the first general-purpose I/O pin as an input, the I/O strong driving module controls the first general-purpose I/O pin to communicate with the protocol conversion module;
在主控制器将第二通用I/O引脚配置为数字输出的情况下,所述I/O强驱动模块控制所述第二通用I/O引脚与所述协议转换模块直通;In the case that the main controller configures the second general-purpose I/O pin as a digital output, the I/O strong driving module controls the second general-purpose I/O pin to communicate with the protocol conversion module;
在主控制器将第三通用I/O引脚配置为强输出的情况下,所述I/O强驱动模块对从所述协议转换模块接收的信号进行增强处理后发送至所述第三通 用I/O引脚;In a case where the main controller configures the third general-purpose I/O pin as a strong output, the I/O strong driving module performs enhancement processing on the signal received from the protocol conversion module, and then sends the signal to the third pass. Use I/O pins;
在所述主控制器将第四通用I/O引脚配置为电源输出的情况下,所述I/O强驱动模块控制所述第四通用I/O引脚与对应电源轨直通。In a case where the main controller configures the fourth general-purpose I/O pin as a power output, the I/O strong driving module controls the fourth general-purpose I/O pin to be directly connected to the corresponding power rail.
对于上述方法,在一种可能的实现方式中,所述物理接口还包括插入检测与识别引脚和接地引脚,所述方法还包括:For the above method, in a possible implementation, the physical interface further includes an insertion detection and identification pin and a ground pin, and the method further includes:
主控制器控制所述插入检测与识别引脚与插入检测与识别模块相连,并控制所述接地引脚与系统地相连。The main controller controls the insertion detection and identification pin to be connected to the insertion detection and identification module, and controls the ground pin to be connected to the system ground.
有益效果Beneficial effect
本发明实施例能够识别插入的目标载荷的配置数据,配置物理接口中各引脚的功能,以适应各种目标载荷对接口的要求,协议转换模块可以将目标载荷上任意已定义的协议转化为统一的通用协议来实现目标载荷与无人机主控制器的通信。通过本发明实施例,无人机的载荷可以用较少的引脚和物理接口尺寸实现较大的通用性,极大增强无人机的可扩展性。The embodiment of the present invention can identify the configuration data of the inserted target payload, configure the function of each pin in the physical interface to meet the requirements of various target loads on the interface, and the protocol conversion module can convert any defined protocol on the target payload into A unified universal protocol to achieve communication between the target payload and the UAV master controller. Through the embodiment of the invention, the load of the drone can achieve greater versatility with fewer pins and physical interface sizes, greatly enhancing the scalability of the drone.
本发明实施例所涉及的接口控制方法及接口系统能够自适应分配所有的连结引脚为供电或数据接口,可以适应任意的电源轨、地轨和信号线数量,信号线通过接口转换装置可以实现任意已定义的接口协议。The interface control method and the interface system according to the embodiments of the present invention can adaptively allocate all the connection pins as power supply or data interfaces, and can adapt to any number of power rails, ground rails, and signal lines, and the signal lines can be realized by the interface conversion device. Any defined interface protocol.
根据下面参考附图对示例性实施例的详细说明,本发明实施例的其它特征及方面将变得清楚。Further features and aspects of the embodiments of the present invention will become apparent from the Detailed Description of the Drawing.
附图说明DRAWINGS
包含在说明书中并且构成说明书的一部分的附图与说明书一起示出了本发明的示例性实施例、特征和方面,并且用于解释本发明的原理。The accompanying drawings, which are incorporated in FIG
图1示出根据本发明一实施例的无人驾驶飞行器的接口系统的结构示意图;1 is a schematic structural view of an interface system of an unmanned aerial vehicle according to an embodiment of the present invention;
图2示出根据本发明另一实施例的无人驾驶飞行器的接口系统的结构示 意图;2 shows a structural diagram of an interface system of an unmanned aerial vehicle according to another embodiment of the present invention. intention;
图3示出根据本发明一实施例的无人驾驶飞行器的接口控制方法的流程示意图;3 is a flow chart showing an interface control method of an unmanned aerial vehicle according to an embodiment of the present invention;
图4示出根据本发明一实施例的无人驾驶飞行器的接口控制方法另一的流程示意图;4 is a schematic flow chart showing another interface control method of an unmanned aerial vehicle according to an embodiment of the present invention;
图5示出根据本发明另一实施例的无人驾驶飞行器的接口控制方法的流程示意图;FIG. 5 is a flow chart showing an interface control method of an unmanned aerial vehicle according to another embodiment of the present invention; FIG.
图6示出了本发明的另一个实施例的一种无人驾驶飞行器的接口控制设备的结构框图。Fig. 6 is a block diagram showing the structure of an interface control device for an unmanned aerial vehicle according to another embodiment of the present invention.
具体实施方式detailed description
以下将参考附图详细说明本发明的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。Various exemplary embodiments, features, and aspects of the invention are described in detail below with reference to the drawings. The same reference numerals in the drawings denote the same or similar elements. Although the various aspects of the embodiments are illustrated in the drawings, the drawings are not necessarily drawn to scale unless otherwise indicated.
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustrative." Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or preferred.
另外,为了更好的说明本发明,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本发明同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本发明的主旨。In addition, numerous specific details are set forth in the Detailed Description of the invention in the Detailed Description. Those skilled in the art will appreciate that the invention may be practiced without some specific details. In some instances, methods, means, components, and circuits that are well known to those skilled in the art are not described in detail in order to facilitate the invention.
实施例1Example 1
图1示出根据本发明一实施例的无人驾驶飞行器的接口系统的结构示意图。如图1所示,该无人驾驶飞行器的接口系统主要可以包括:1 is a block diagram showing the structure of an interface system of an unmanned aerial vehicle according to an embodiment of the present invention. As shown in FIG. 1 , the interface system of the unmanned aerial vehicle may mainly include:
物理接口11,包括多个引脚; Physical interface 11, comprising a plurality of pins;
至少一个协议转换模块13,用于根据接入所述物理接口11的目标载荷12 的通信协议类型,对所述目标载荷12进行通信协议的转换;At least one protocol conversion module 13 for receiving a target load 12 according to the physical interface 11 a communication protocol type for performing a conversion of a communication protocol to the target payload 12;
I/O(input/output,即输入/输出端口)强驱动模块15,与所述协议转换模块13和所述物理接口11分别连接,用于根据所述目标载荷12的配置数据和通信协议类型,对所述物理接口11的各引脚进行驱动;An I/O (input/output port) strong driving module 15 is respectively connected to the protocol conversion module 13 and the physical interface 11 for configuring data and a communication protocol type according to the target load 12. Driving each pin of the physical interface 11;
主控制器17,与所述物理接口11、协议转换模块13和所述I/O强驱动模块15分别连接,用于根据所述目标载荷12的配置数据,配置所述物理接口11的各引脚的功能;根据所述配置数据确定所述目标载荷12的通信协议类型,并根据所述目标载荷12的通信协议类型配置所述协议转换模块13的功能;透过所述I/O强驱动模块15和所述协议转换模块13与所述目标载荷12进行通信,并执行所述目标载荷12的功能。The main controller 17 is connected to the physical interface 11, the protocol conversion module 13, and the I/O strong driving module 15, respectively, for configuring the reference of the physical interface 11 according to the configuration data of the target load 12. a function of the foot; determining a communication protocol type of the target load 12 according to the configuration data, and configuring a function of the protocol conversion module 13 according to a communication protocol type of the target load 12; and driving through the I/O The module 15 and the protocol conversion module 13 communicate with the target load 12 and perform the function of the target load 12.
本发明实施例能够实现一种应用于微小无人飞行器载荷的通用接口系统,通过接口为任意符合该接口标准的有效载荷提供电源供给和数据传输等功能。The embodiment of the invention can realize a universal interface system applied to the load of a small unmanned aerial vehicle, and provides functions such as power supply and data transmission for any payload complying with the interface standard through the interface.
实施例2Example 2
图2示出根据本发明另一实施例的无人驾驶飞行器的接口系统的结构示意图。图2中标号与图1相同的组件具有相同的功能,为简明起见,省略对这些组件的详细说明。2 is a block diagram showing the structure of an interface system of an unmanned aerial vehicle according to another embodiment of the present invention. The same components in Fig. 2 as those in Fig. 1 have the same functions, and a detailed description of these components will be omitted for the sake of brevity.
如图2所示,本实施例与上一实施例的主要区别在于,该无人驾驶飞行器的接口系统还可以包括:As shown in FIG. 2, the main difference between the embodiment and the previous embodiment is that the interface system of the unmanned aerial vehicle may further include:
插入检测与识别模块21;用于对所述物理接口11是否插入目标载荷12进行插入检测与识别。The insertion detection and identification module 21 is configured to perform insertion detection and identification on whether the physical interface 11 is inserted into the target load 12.
在一种可能的实现方式中,所述插入检测与识别模块21包括:In a possible implementation manner, the insertion detection and identification module 21 includes:
插入检测单元,用于根据所述物理接口11的插入检测与识别引脚的电压值,判断所述物理接口11是否插入所述目标载荷12;The insertion detecting unit is configured to determine whether the physical interface 11 is inserted into the target load 12 according to the voltage value of the insertion detection and identification pin of the physical interface 11;
载荷识别单元,与所述插入检测单元连接,用于在所述插入检测单元判 定为插入所述目标载荷12的情况下,通过所述插入检测与识别引脚从所述目标载荷12中读取配置数据,并对所述配置数据进行校验。a load identification unit coupled to the insertion detection unit for determining at the insertion detection unit In the case where the target load 12 is inserted, the configuration data is read from the target load 12 by the insertion detection and identification pin, and the configuration data is verified.
在一种可能的实现方式中,所述插入检测单元还用于在检测到将所述目标载荷12从所述物理接口11拔出的情况下,控制所述I/O强驱动模块15断开,控制所述协议转换模块13停止工作,并指示所述插入检测单元继续进行插入检测。In a possible implementation, the insertion detecting unit is further configured to control the I/O strong driving module 15 to be disconnected if it is detected that the target load 12 is pulled out from the physical interface 11 And controlling the protocol conversion module 13 to stop working, and instructing the insertion detecting unit to continue the insertion detection.
在一种可能的实现方式中,所述物理接口11包括通用I/O引脚,所述通用I/O引脚与所述I/O强驱动模块15相连。In a possible implementation, the physical interface 11 includes a general purpose I/O pin that is connected to the I/O strong drive module 15.
在一种可能的实现方式中,所述主控制器17还用于根据所述配置数据,配置各通用I/O引脚的功能;In a possible implementation manner, the main controller 17 is further configured to configure a function of each general-purpose I/O pin according to the configuration data;
所述I/O强驱动模块15还用于在所述主控制器17将第一通用I/O引脚配置为输入的情况下,控制所述第一通用I/O引脚与所述协议转换模块13直通;在所述主控制器17将第二通用I/O引脚配置为数字输出的情况下,控制所述第二通用I/O引脚与所述协议转换模块13直通;在所述主控制器17将第三通用I/O引脚配置为强输出的情况下,对从所述协议转换模块13接收的信号进行增强处理后发送至所述第三通用I/O引脚,这种情况下,经过I/O强驱动模块15处理后的信号的驱动能力增强,且协议转换模块13输出的信号电平与第三通用I/O引脚的信号电平相同;在所述主控制器17将第四通用I/O引脚配置为电源输出的情况下,控制所述第四通用I/O引脚与对应电源轨直通。The I/O strong driving module 15 is further configured to control the first general-purpose I/O pin and the protocol if the main controller 17 configures the first general-purpose I/O pin as an input. The conversion module 13 is directly connected; in the case where the main controller 17 configures the second general-purpose I/O pin as a digital output, the second general-purpose I/O pin is controlled to be directly connected to the protocol conversion module 13; When the main controller 17 configures the third general-purpose I/O pin as a strong output, the signal received from the protocol conversion module 13 is enhanced and sent to the third general-purpose I/O pin. In this case, the driving capability of the signal processed by the I/O strong driving module 15 is enhanced, and the signal level output by the protocol conversion module 13 is the same as the signal level of the third general-purpose I/O pin; In the case where the main controller 17 configures the fourth general-purpose I/O pin as a power supply output, the fourth general-purpose I/O pin is controlled to be directly connected to the corresponding power rail.
在一种可能的实现方式中,所述物理接口11还包括插入检测与识别引脚和接地引脚,所述主控制器17还用于所述插入检测与识别引脚与插入检测与识别模块21相连,所述接地引脚与系统地相连。In a possible implementation manner, the physical interface 11 further includes an insertion detection and identification pin and a ground pin, and the main controller 17 is further configured to use the insertion detection and identification pin and the insertion detection and identification module. 21 is connected, and the ground pin is connected to the system ground.
具体地,如图2所示,目标载荷12通过物理接口11与插入检测与识别模块21连接,插入与检测模块对目标载荷12的插入动作进行判断,并识别目标载荷12具体型号等特征。所述目标载荷12通过物理接口11与I/O强驱动模块15 相连,进一步与协议转换模块13进行连接,其中I/O强驱动模块15加强了协议转换模块13的输出信号驱动能力。无人机主控制器17和插入检测与识别模块21相连,完成载荷的识别。无人机主控制器17通过例如USB(Universal Serial Bus,通用串行总线)协议与协议转换模块13相连,实现与载荷的通信。无人机主控制器17通与I/O强驱动模块15相连,I/O强驱动模块15的功能配置。Specifically, as shown in FIG. 2, the target load 12 is connected to the insertion detection and recognition module 21 through the physical interface 11, the insertion and detection module determines the insertion action of the target load 12, and identifies features such as the specific model of the target load 12. The target load 12 passes through the physical interface 11 and the I/O strong drive module 15 Connected, further connected to the protocol conversion module 13, wherein the I/O strong drive module 15 enhances the output signal driving capability of the protocol conversion module 13. The drone main controller 17 is connected to the insertion detecting and identifying module 21 to complete the identification of the load. The drone master controller 17 is connected to the protocol conversion module 13 via, for example, a USB (Universal Serial Bus) protocol to implement communication with a payload. The UAV main controller 17 is connected to the I/O strong drive module 15, and the I/O strong drive module 15 is functionally configured.
其中,各模块功能介绍如下:Among them, the function of each module is as follows:
1)无人机主控制器17:该部分可以由应用处理器及其外围电路组成;1) UAV main controller 17: This part can be composed of an application processor and its peripheral circuits;
2)目标载荷12:该部分连接入微小无人飞行器的物理接口,用于实现一定功能的载荷。目标载荷12包括但不限于摄像机、云台、机械臂、探照灯、发烟装置等。目标载荷12应至少具备:存储器(例如Flash芯片)、插入检测与识别引脚、接地引脚4个、通用I/O引脚1个。其中目标载荷12与物理接口11中插入检测与识别引脚通过钳位二极管将输出电平钳位到例如3.3V,目标载荷12的编号为0的通用I/O引脚连接到载荷系统的系统电源,Flash芯片的数据口与插入检测与识别引脚相连;2) Target load 12: This part is connected to the physical interface of the micro-unmanned aerial vehicle to achieve a certain functional load. The target load 12 includes, but is not limited to, a camera, a pan/tilt head, a robotic arm, a searchlight, a smoking device, and the like. The target payload 12 should have at least one memory (such as a Flash chip), an insertion detection and identification pin, four ground pins, and one general-purpose I/O pin. Wherein the target load 12 and the physical interface 11 are inserted into the detection and identification pin, the output level is clamped to a system such as 3.3V by a clamp diode, and the general-purpose I/O pin of the target load 12 is numbered 0 is connected to the system of the load system. Power supply, the data port of the Flash chip is connected to the insertion detection and identification pin;
3)物理接口11:该部分为微小无人飞行器与目标载荷12相连的实际物理接口11,包括若干相连的引脚。例如,物理接口11可以包含1根插入检测与识别引脚、4根接地引脚、若干通用I/O引脚等。插入检测与识别引脚与插入检测与识别模块21相连,通用I/O引脚与I/O强驱动模块15相连,接地引脚与系统地相连;3) Physical interface 11: This part is the actual physical interface 11 of the micro-UAV connected to the target payload 12, including a number of connected pins. For example, the physical interface 11 can include one insertion detection and identification pin, four ground pins, a number of general purpose I/O pins, and the like. The insertion detection and identification pin is connected to the insertion detection and identification module 21, the general-purpose I/O pin is connected to the I/O strong drive module 15, and the ground pin is connected to the system ground;
4)插入检测与识别模块21:该部分包括插入检测电路和载荷识别模块,插入检测电路将插入检测与识别引脚通过例如100K电阻上拉至例如3.6V电源,插入检测与识别引脚为高阻输入。载荷识别模块,通过插入检测与识别引脚与插入的目标载荷12利用例如1-Wire协议进行通信,获取目标载荷12的配置数据。4) Insertion detection and identification module 21: The portion includes an insertion detection circuit and a load identification module. The insertion detection circuit pulls the insertion detection and identification pin up to, for example, a 3.6V power supply through, for example, a 100K resistor, and the insertion detection and identification pin is high. Resistance input. The load identification module acquires configuration data of the target load 12 by inserting the detection and identification pin and the inserted target payload 12 by, for example, a 1-Wire protocol.
5)协议转换模块13:协议转换模块13可以由例如可编程逻辑器件组成。 协议转换模块13根据插入检测与识别模块21对目标载荷12的识别结果,由无人机主控制器17对其进行重编程以实现将载荷支持的通信协议转换为标准USB设备与主控相连,完成通信的桥接功能;5) Protocol Conversion Module 13: The protocol conversion module 13 may be composed of, for example, a programmable logic device. The protocol conversion module 13 reprograms the target load 12 according to the recognition result of the insertion detection and identification module 21 by the unmanned host controller 17 to convert the load-supported communication protocol into a standard USB device and is connected to the master. Complete the bridging function of communication;
6)I/O强驱动模块15:该模块用于对通用I/O引脚输出进行强驱动,若无人机主控制器17将物理接口的某通用I/O引脚配置为输入,则I/O强驱动模块15控制该引脚与协议转换模块13直通。若无人机主控制器17将某通用I/O引脚配置为数字输出,则I/O强驱动模块15控制该引脚与协议转换模块13直通。若无人机主控制器17将某通用I/O引脚配置为强输出,则I/O强驱动模块15控制该引脚与通过I/O驱动电路协议转换模块13相连。若无人机主控制器17将某通用I/O引脚配置为电源输出,则I/O强驱动模块15控制该引脚与对应电源轨相连。6) I/O strong drive module 15: This module is used to strongly drive the general-purpose I/O pin output. If the drone main controller 17 configures a general-purpose I/O pin of the physical interface as an input, then The I/O strong drive module 15 controls the pin to communicate with the protocol conversion module 13. If the drone main controller 17 configures a general-purpose I/O pin as a digital output, the I/O strong drive module 15 controls the pin to communicate with the protocol conversion module 13. If the drone main controller 17 configures a general-purpose I/O pin as a strong output, the I/O strong drive module 15 controls the pin to be connected to the I/O drive circuit protocol conversion module 13. If the drone master controller 17 configures a general purpose I/O pin as a power supply output, the I/O strong drive module 15 controls the pin to be connected to the corresponding power rail.
实施例3Example 3
图3示出根据本发明一实施例的无人驾驶飞行器的接口控制方法的流程示意图。FIG. 3 is a flow chart showing an interface control method of an unmanned aerial vehicle according to an embodiment of the present invention.
本实施例的的接口控制方法可以应用于如图1、图2中任意一种结构所示的无人驾驶飞行器的接口系统中。The interface control method of the present embodiment can be applied to an interface system of an unmanned aerial vehicle as shown in any of the structures of FIGS. 1 and 2.
如图3所示,该无人驾驶飞行器的接口控制方法主要可以包括:所述方法包括:As shown in FIG. 3, the interface control method of the unmanned aerial vehicle may mainly include: the method includes:
步骤401、根据接入所述物理接口的目标载荷的配置数据,配置所述物理接口的各引脚的功能;Step 401: Configure a function of each pin of the physical interface according to configuration data of a target load that accesses the physical interface.
步骤402、根据所述配置数据确定所述目标载荷的通信协议类型,并根据所述目标载荷的通信协议类型配置协议转换模块的功能;Step 402: Determine a communication protocol type of the target payload according to the configuration data, and configure a function of the protocol conversion module according to the communication protocol type of the target payload.
步骤403、透过I/O强驱动模块和所述协议转换模块与所述目标载荷进行通信,并执行所述目标载荷的功能。Step 403: Communicate with the target load through the I/O strong driving module and the protocol conversion module, and execute the function of the target load.
在一种可能的实现方式中,如图4所示,在步骤401之前,该方法还包括: In a possible implementation, as shown in FIG. 4, before step 401, the method further includes:
步骤400、对物理接口是否插入目标载荷进行插入检测与识别。如果检测到有目标载荷插入物理接口,并成功识别该目标载荷,再执行步骤401。Step 400: Perform insertion detection and identification on whether the physical interface is inserted into the target load. If it is detected that the target load is inserted into the physical interface and the target load is successfully identified, step 401 is performed.
具体而言,步骤400可以包括:Specifically, step 400 can include:
步骤4001、根据所述物理接口的插入检测与识别引脚的电压值,判断所述物理接口是否插入所述目标载荷;Step 4001: Determine, according to the insertion value of the physical interface, the voltage value of the identification pin, whether the physical interface is inserted into the target load;
步骤4002、在判定所述物理接口插入所述目标载荷的情况下,通过所述插入检测与识别引脚从所述目标载荷中读取配置数据,并对所述配置数据进行校验。Step 4002: In a case where it is determined that the physical interface is inserted into the target payload, configuration data is read from the target payload by the insertion detection and identification pin, and the configuration data is verified.
在一种可能的实现方式中,在步骤403之后,该方法还包括:In a possible implementation, after step 403, the method further includes:
步骤404、在检测到将所述目标载荷从所述物理接口拔出的情况下,控制所述I/O强驱动模块断开,控制所述协议转换模块停止工作,并返回继续进行插入检测。Step 404: When detecting that the target load is pulled out from the physical interface, control the I/O strong driving module to be disconnected, control the protocol conversion module to stop working, and return to perform insertion detection.
在一种可能的实现方式中,无人机的物理接口包括多个引脚,例如,物理接口包括通用I/O引脚,所述通用I/O引脚与所述I/O强驱动模块相连,所述方法还包括:步骤406、根据所述配置数据,配置各通用I/O引脚的功能。In a possible implementation manner, the physical interface of the drone includes a plurality of pins, for example, the physical interface includes a general-purpose I/O pin, and the general-purpose I/O pin and the I/O strong driving module The method further includes: Step 406: Configure a function of each general-purpose I/O pin according to the configuration data.
具体而言,步骤406可以包括以下情况的任意一种或者多种:Specifically, step 406 can include any one or more of the following:
在主控制器将第一通用I/O引脚配置为输入的情况下,所述I/O强驱动模块控制所述第一通用I/O引脚与所述协议转换模块直通;In a case where the main controller configures the first general-purpose I/O pin as an input, the I/O strong driving module controls the first general-purpose I/O pin to communicate with the protocol conversion module;
在主控制器将第二通用I/O引脚配置为数字输出的情况下,所述I/O强驱动模块控制所述第二通用I/O引脚与所述协议转换模块直通;In the case that the main controller configures the second general-purpose I/O pin as a digital output, the I/O strong driving module controls the second general-purpose I/O pin to communicate with the protocol conversion module;
在主控制器将第三通用I/O引脚配置为强输出的情况下,所述I/O强驱动模块对从所述协议转换模块接收的信号进行增强处理后发送至所述第三通用I/O引脚;In a case where the main controller configures the third general-purpose I/O pin as a strong output, the I/O strong driving module performs enhancement processing on the signal received from the protocol conversion module, and then sends the signal to the third universal I/O pin;
在所述主控制器将第四通用I/O引脚配置为电源输出的情况下,所述I/O强驱动模块控制所述第四通用I/O引脚与对应电源轨直通。 In a case where the main controller configures the fourth general-purpose I/O pin as a power output, the I/O strong driving module controls the fourth general-purpose I/O pin to be directly connected to the corresponding power rail.
在一种可能的实现方式中,所述物理接口还包括插入检测与识别引脚和接地引脚,所述方法还包括:In a possible implementation, the physical interface further includes an insertion detection and identification pin and a ground pin, and the method further includes:
步骤407、主控制器控制所述插入检测与识别引脚与插入检测与识别模块相连,并控制所述接地引脚与系统地相连。Step 407: The main controller controls the insertion detection and identification pin to be connected to the insertion detection and identification module, and controls the ground pin to be connected to the system ground.
其中,步骤406和步骤407的时序可以互换,也可以同时执行,本实施例不进行具体限定。The timings of the steps 406 and 407 may be interchanged or may be performed at the same time, which is not specifically limited in this embodiment.
实施例4Example 4
图5示出根据本发明另一实施例的无人驾驶飞行器的接口控制方法的流程示意图。FIG. 5 is a flow chart showing an interface control method of an unmanned aerial vehicle according to another embodiment of the present invention.
如图5所示,对于实施例1、2的接口系统进行接口控制的一个示例性过程,可以分为如下步骤:插入检测阶段501、识别阶段502、连接建立阶段503、通信阶段504、拔出阶段505。As shown in FIG. 5, an exemplary process for performing interface control on the interface systems of Embodiments 1 and 2 can be divided into the following steps: an insertion detection phase 501, an identification phase 502, a connection establishment phase 503, a communication phase 504, and an extraction process. Stage 505.
插入检测阶段501:该阶段无人机主控制器17不断读取插入检测与识别引脚电压值,若为3.6V则判断为未插入载荷,继续停留在插入检测阶段。若读到电压为3.3V(受载荷上的钳位二极管影响),则认为已经插入有效载荷,进入识别阶段。该阶段协议转换模块13不工作,I/O强驱动模块15处于断开状态;Insertion detection phase 501: At this stage, the UAV main controller 17 continuously reads the insertion detection and identification pin voltage value, and if it is 3.6 V, it judges that the load is not inserted, and continues to stay in the insertion detection phase. If the read voltage is 3.3V (affected by the clamp diode on the load), it is considered that the payload has been inserted and enters the identification phase. The stage protocol conversion module 13 does not work, and the I/O strong drive module 15 is in an off state;
识别阶段502:该阶段首先由I/O强驱动模块15驱动编号为0的通用I/O到系统电源,载荷数字电源上电并启动,插入检测与识别模块21中的载荷识别模块通过1-Wire协议读取目标载荷12中的Flash中的配置数据并进行校验。若校验通过,则进入连接建立阶段,若校验不通过,回到插入检测阶段;Identification stage 502: This stage first drives the general-purpose I/O numbered 0 to the system power supply by the I/O strong drive module 15, the load digital power supply is powered on and started, and the load identification module in the insertion detection and identification module 21 passes through 1- The Wire protocol reads the configuration data in the Flash in the target payload 12 and performs verification. If the verification passes, the connection establishment phase is entered, and if the verification fails, the interpolation detection phase is returned;
连接建立阶段503:该阶段首先由无人机主控制器17根据识别阶段中插入检测与识别模块21中的载荷识别模块读取的目标载荷12中的Flash中的配置数据确定物理接口11中所有通用I/O引脚的功能(输入、数字输出、强输出或者电源输出),并以此为依据配置I/O强驱动模块15。之后由无人机主控制 器17根据配置数据确定载荷的通信协议类型,并依次为依据配置协议转换模块13。配置完成后由无人机主控制器17尝试透过协议转换模块13和I/O强驱动模块15向目标载荷12发起通信请求,若获得正确回应则进入通信阶段,否则回到识别阶段;Connection establishment phase 503: This phase first determines all of the physical interfaces 11 by the UAV main controller 17 based on the configuration data in the Flash in the target payload 12 read by the load identification module in the insertion detection and identification module 21 in the identification phase. The functions of the general-purpose I/O pins (input, digital output, strong output, or power output) are used to configure the I/O strong drive module 15. After being controlled by the drone master The device 17 determines the communication protocol type of the payload according to the configuration data, and sequentially converts the module 13 according to the configuration protocol. After the configuration is completed, the UAV main controller 17 attempts to initiate a communication request to the target load 12 through the protocol conversion module 13 and the I/O strong drive module 15, and enters the communication phase if a correct response is obtained, otherwise returns to the identification phase;
通信阶段504:该阶段由无人机主控制器17透过协议转换模块13和I/O强驱动模块15与目标载荷12进行通信并执行载荷功能,同时无人机主控制器17不断读取插入检测与识别引脚的电压值,若电压值为3.6V则进入拔出阶段,否则保持在通信阶段;Communication phase 504: This phase is communicated with the target load 12 by the UAV main controller 17 through the protocol conversion module 13 and the I/O strong drive module 15 and performs the load function, while the UAV main controller 17 continuously reads Insert the voltage value of the detection and identification pin. If the voltage value is 3.6V, it will enter the pull-out phase, otherwise it will remain in the communication phase;
拔出阶段505:该阶段由无人机主控制器17控制I/O强驱动模块15回到断开状态,控制协议转换模块13停止工作,之后进入插入检测阶段。Pull-out phase 505: This stage is controlled by the drone master controller 17 to return the I/O strong drive module 15 to the disconnected state, and the control protocol conversion module 13 stops working, and then enters the insertion detection phase.
本发明实施例提供了能够应用于微小无人飞行器的一套完整的通用载荷接口系统与控制方法,在具体实现中该接口系统可以为载荷提供可重配置的接入方法,系统能够识别插入的目标载荷配置数据将接口中的通用I/O配置为多种功能,以适应各种目标载荷对接口的要求。同时协议转换模块可以将目标载荷上任意已定义的协议转化为统一的USB协议实现目标载荷与无人机主控制器的通信。通过本发明实施例,微小无人机的载荷可以用较少的引脚和物理接口尺寸实现较大的通用性,极大增强微小无人机的可扩展性。Embodiments of the present invention provide a complete universal payload interface system and control method that can be applied to a micro UAV. In a specific implementation, the interface system can provide a reconfigurable access method for a load, and the system can recognize the inserted The target payload configuration data configures the general purpose I/O in the interface into multiple functions to accommodate the interface requirements of various target loads. At the same time, the protocol conversion module can convert any defined protocol on the target payload into a unified USB protocol to achieve communication between the target payload and the main controller of the drone. Through the embodiment of the invention, the load of the micro drone can achieve greater versatility with fewer pins and physical interface sizes, greatly enhancing the scalability of the micro drone.
实施例5Example 5
图6示出了本发明的另一个实施例的一种无人驾驶飞行器的接口控制设备的结构框图。所述无人驾驶飞行器的接口控制设备1100可以是具备计算能力的主机服务器、个人计算机PC、或者可携带的便携式计算机或终端等。本发明具体实施例并不对计算节点的具体实现做限定。Fig. 6 is a block diagram showing the structure of an interface control device for an unmanned aerial vehicle according to another embodiment of the present invention. The interface control device 1100 of the unmanned aerial vehicle may be a host server having a computing capability, a personal computer PC, or a portable computer or terminal that can be carried. The specific embodiments of the present invention do not limit the specific implementation of the computing node.
所述无人驾驶飞行器的接口控制设备1100包括处理器(processor)1110、通信接口(Communications Interface)1120、存储器(memory)1130和总线1140。其中,处理器1110、通信接口1120、以及存储器1130通过总线1140完成相互 间的通信。The interface control device 1100 of the unmanned aerial vehicle includes a processor 1110, a communication interface 1120, a memory 1130, and a bus 1140. The processor 1110, the communication interface 1120, and the memory 1130 complete each other through the bus 1140. Communication between.
通信接口1120用于与网络设备通信,其中网络设备包括例如虚拟机管理中心、共享存储等。Communication interface 1120 is for communicating with network devices, including, for example, a virtual machine management center, shared storage, and the like.
处理器1110用于执行程序。处理器1110可能是一个中央处理器CPU,或者是专用集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 1110 is configured to execute a program. The processor 1110 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.
存储器1130用于存放文件。存储器1130可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。存储器1130也可以是存储器阵列。存储器1130还可能被分块,并且所述块可按一定的规则组合成虚拟卷。The memory 1130 is used to store files. The memory 1130 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory. Memory 1130 can also be a memory array. The memory 1130 may also be partitioned, and the blocks may be combined into a virtual volume according to certain rules.
在一种可能的实施方式中,上述程序可为包括计算机操作指令的程序代码。该程序具体可用于:实现实施例3或4中各步骤的操作。In a possible implementation, the above program may be program code including computer operating instructions. The program can be specifically used to: perform the operations of the steps in Embodiment 3 or 4.
本领域普通技术人员可以意识到,本文所描述的实施例中的各示例性单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件形式来实现,取决于技术方案的特定应用和设计约束条件。专业技术人员可以针对特定的应用选择不同的方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art will appreciate that the various exemplary elements and algorithm steps in the embodiments described herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can select different methods for implementing the described functions for a particular application, but such implementation should not be considered to be beyond the scope of the present invention.
如果以计算机软件的形式来实现所述功能并作为独立的产品销售或使用时,则在一定程度上可认为本发明的技术方案的全部或部分(例如对现有技术做出贡献的部分)是以计算机软件产品的形式体现的。该计算机软件产品通常存储在计算机可读取的非易失性存储介质中,包括若干指令用以使得计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各实施例方法的全部或部分步骤。而前述的存储介质包括U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。 If the function is implemented in the form of computer software and sold or used as a stand-alone product, it is considered to some extent that all or part of the technical solution of the present invention (for example, a part contributing to the prior art) is It is embodied in the form of computer software products. The computer software product is typically stored in a computer readable non-volatile storage medium, including instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform all of the methods of various embodiments of the present invention. Or part of the steps. The foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.
实用性Practicality
本发明实施例能够识别插入的目标载荷的配置数据,配置物理接口中各引脚的功能,以适应各种目标载荷对接口的要求,协议转换模块可以将目标载荷上任意已定义的协议转化为统一的通用协议来实现目标载荷与无人机主控制器的通信。通过本发明实施例,无人机的载荷可以用较少的引脚和物理接口尺寸实现较大的通用性,极大增强无人机的可扩展性。The embodiment of the present invention can identify the configuration data of the inserted target payload, configure the function of each pin in the physical interface to meet the requirements of various target loads on the interface, and the protocol conversion module can convert any defined protocol on the target payload into A unified universal protocol to achieve communication between the target payload and the UAV master controller. Through the embodiment of the invention, the load of the drone can achieve greater versatility with fewer pins and physical interface sizes, greatly enhancing the scalability of the drone.
本发明实施例所涉及的接口控制方法及接口系统能够自适应分配所有的连结引脚为供电或数据接口,可以适应任意的电源轨、地轨和信号线数量,信号线通过接口转换装置可以实现任意已定义的接口协议。 The interface control method and the interface system according to the embodiments of the present invention can adaptively allocate all the connection pins as power supply or data interfaces, and can adapt to any number of power rails, ground rails, and signal lines, and the signal lines can be realized by the interface conversion device. Any defined interface protocol.

Claims (14)

  1. 一种无人驾驶飞行器的接口系统,其特征在于,包括:An interface system for an unmanned aerial vehicle, comprising:
    物理接口,包括多个引脚;Physical interface, including multiple pins;
    至少一个协议转换模块,用于根据接入所述物理接口的目标载荷的通信协议类型,对所述目标载荷进行通信协议的转换;At least one protocol conversion module, configured to perform a conversion of a communication protocol on the target payload according to a communication protocol type of a target payload that accesses the physical interface;
    I/O强驱动模块,与所述协议转换模块和所述物理接口分别连接,用于根据所述目标载荷的配置数据和通信协议类型,对所述物理接口的各引脚进行驱动;The I/O strong driving module is respectively connected to the protocol conversion module and the physical interface, and is configured to drive each pin of the physical interface according to the configuration data and the communication protocol type of the target load;
    主控制器,与所述物理接口、协议转换模块和所述I/O强驱动模块分别连接,用于根据所述目标载荷的配置数据,配置所述物理接口的各引脚的功能;根据所述配置数据确定所述目标载荷的通信协议类型,并根据所述目标载荷的通信协议类型配置所述协议转换模块的功能;透过所述I/O强驱动模块和所述协议转换模块与所述目标载荷进行通信,并执行所述目标载荷的功能。a main controller, which is respectively connected to the physical interface, the protocol conversion module, and the I/O strong driving module, and configured to configure a function of each pin of the physical interface according to the configuration data of the target load; Determining, by the configuration data, a communication protocol type of the target payload, and configuring a function of the protocol conversion module according to a communication protocol type of the target payload; and transmitting, by the I/O strong driving module, the protocol conversion module and the The target load communicates and performs the function of the target load.
  2. 根据权利要求1所述的系统,其特征在于,还包括:The system of claim 1 further comprising:
    插入检测与识别模块;用于对所述物理接口是否插入目标载荷进行插入检测与识别。Inserting a detection and identification module; performing insertion detection and identification on whether the physical interface is inserted into a target load.
  3. 根据权利要求2所述的系统,其特征在于,所述插入检测与识别模块包括:The system of claim 2 wherein said insertion detection and identification module comprises:
    插入检测单元,用于根据所述物理接口的插入检测与识别引脚的电压值,判断所述物理接口是否插入所述目标载荷;The insertion detecting unit is configured to determine, according to the insertion value of the physical interface, the voltage value of the identification pin, whether the physical interface is inserted into the target load;
    载荷识别单元,与所述插入检测单元连接,用于在所述插入检测单元判定为插入所述目标载荷的情况下,通过所述插入检测与识别引脚从所述目标载荷中读取配置数据,并对所述配置数据进行校验。a load identification unit connected to the insertion detecting unit, configured to read configuration data from the target load by the insertion detection and identification pin in a case where the insertion detecting unit determines to insert the target load And verifying the configuration data.
  4. 根据权利要求3所述的系统,其特征在于,所述插入检测单元还用于在检测到将所述目标载荷从所述物理接口拔出的情况下,控制所述I/O强驱 动模块断开,控制所述协议转换模块停止工作,并指示所述插入检测单元继续进行插入检测。The system according to claim 3, wherein said insertion detecting unit is further configured to control said I/O strong drive in case detecting that said target load is pulled out from said physical interface The moving module is disconnected, the protocol conversion module is controlled to stop working, and the insertion detecting unit is instructed to continue the insertion detection.
  5. 根据权利要求1至4中任一项所述的系统,其特征在于,所述物理接口包括通用I/O引脚,所述通用I/O引脚与所述I/O强驱动模块相连。The system of any of claims 1 to 4, wherein the physical interface comprises a general purpose I/O pin, the general purpose I/O pin being coupled to the I/O strong drive module.
  6. 根据权利要求5所述的系统,其特征在于,The system of claim 5 wherein:
    所述主控制器还用于根据所述配置数据,配置各通用I/O引脚的功能;The main controller is further configured to configure a function of each general-purpose I/O pin according to the configuration data;
    所述I/O强驱动模块还用于在所述主控制器将第一通用I/O引脚配置为输入的情况下,控制所述第一通用I/O引脚与所述协议转换模块直通;在所述主控制器将第二通用I/O引脚配置为数字输出的情况下,控制所述第二通用I/O引脚与所述协议转换模块直通;在所述主控制器将第三通用I/O引脚配置为强输出的情况下,对从所述协议转换模块接收的信号进行增强处理后发送至所述第三通用I/O引脚;在所述主控制器将第四通用I/O引脚配置为电源输出的情况下,控制所述第四通用I/O引脚与对应电源轨直通。The I/O strong driving module is further configured to control the first general-purpose I/O pin and the protocol conversion module if the main controller configures the first general-purpose I/O pin as an input Straight through; in the case where the main controller configures the second general purpose I/O pin as a digital output, controlling the second general purpose I/O pin to communicate with the protocol conversion module; When the third general purpose I/O pin is configured as a strong output, the signal received from the protocol conversion module is enhanced and sent to the third general purpose I/O pin; at the main controller When the fourth general purpose I/O pin is configured as a power supply output, the fourth general purpose I/O pin is controlled to be directly connected to the corresponding power rail.
  7. 根据权利要求5所述的系统,其特征在于,所述物理接口还包括插入检测与识别引脚和接地引脚,所述主控制器还用于控制所述插入检测与识别引脚与插入检测与识别模块相连,所述接地引脚与系统地相连。The system of claim 5 wherein said physical interface further comprises an insertion detection and identification pin and a ground pin, said main controller further for controlling said insertion detection and identification pin and insertion detection Connected to the identification module, the ground pin is connected to the system ground.
  8. 一种无人驾驶飞行器的接口控制方法,其特征在于,所述无人驾驶飞行器的物理接口包括多个引脚;An interface control method for an unmanned aerial vehicle, characterized in that the physical interface of the unmanned aerial vehicle includes a plurality of pins;
    所述方法包括:The method includes:
    根据接入所述物理接口的目标载荷的配置数据,配置所述物理接口的各引脚的功能;Configuring a function of each pin of the physical interface according to configuration data of a target load accessing the physical interface;
    根据所述配置数据确定所述目标载荷的通信协议类型,并根据所述目标载荷的通信协议类型配置协议转换模块的功能;Determining, according to the configuration data, a communication protocol type of the target payload, and configuring a function of the protocol conversion module according to the communication protocol type of the target payload;
    透过I/O强驱动模块和所述协议转换模块与所述目标载荷进行通信,并执行所述目标载荷的功能。 Communicating with the target load through the I/O strong drive module and the protocol conversion module, and performing the function of the target load.
  9. 根据权利要求8所述的方法,其特征在于,还包括:The method of claim 8 further comprising:
    对所述物理接口是否插入目标载荷进行插入检测与识别。Insert detection and identification is performed on whether the physical interface is inserted into a target load.
  10. 根据权利要求9所述的方法,其特征在于,对所述物理接口是否插入目标载荷进行插入检测与识别,包括:The method according to claim 9, wherein the insertion detection and identification of whether the physical interface is inserted into the target load comprises:
    根据所述物理接口的插入检测与识别引脚的电压值,判断所述物理接口是否插入所述目标载荷;Determining whether the physical interface is inserted into the target load according to a voltage value of the insertion detection and identification pin of the physical interface;
    在判定所述物理接口插入所述目标载荷的情况下,通过所述插入检测与识别引脚从所述目标载荷中读取配置数据,并对所述配置数据进行校验。In a case where it is determined that the physical interface is inserted into the target load, configuration data is read from the target payload by the insertion detection and identification pin, and the configuration data is verified.
  11. 根据权利要求10所述的方法,其特征在于,还包括:The method of claim 10, further comprising:
    在检测到将所述目标载荷从所述物理接口拔出的情况下,控制所述I/O强驱动模块断开,控制所述协议转换模块停止工作,并返回继续进行插入检测。In case detecting that the target load is pulled out from the physical interface, the I/O strong driving module is controlled to be disconnected, the protocol conversion module is controlled to stop working, and the insertion detection is continued.
  12. 根据权利要求8至11中任一项所述的方法,其特征在于,所述物理接口包括通用I/O引脚,所述通用I/O引脚与所述I/O强驱动模块相连,所述方法还包括:The method according to any one of claims 8 to 11, wherein the physical interface comprises a general purpose I/O pin, and the general purpose I/O pin is connected to the I/O strong drive module. The method further includes:
    根据所述配置数据,配置各通用I/O引脚的功能。The function of each general-purpose I/O pin is configured according to the configuration data.
  13. 根据权利要求12所述的方法,其特征在于,所述根据所述配置数据,配置各通用I/O引脚的功能,包括:The method according to claim 12, wherein the configuring the functions of each general-purpose I/O pin according to the configuration data comprises:
    在主控制器将第一通用I/O引脚配置为输入的情况下,所述I/O强驱动模块控制所述第一通用I/O引脚与所述协议转换模块直通;In a case where the main controller configures the first general-purpose I/O pin as an input, the I/O strong driving module controls the first general-purpose I/O pin to communicate with the protocol conversion module;
    在主控制器将第二通用I/O引脚配置为数字输出的情况下,所述I/O强驱动模块控制所述第二通用I/O引脚与所述协议转换模块直通;In the case that the main controller configures the second general-purpose I/O pin as a digital output, the I/O strong driving module controls the second general-purpose I/O pin to communicate with the protocol conversion module;
    在主控制器将第三通用I/O引脚配置为强输出的情况下,所述I/O强驱动模块对从所述协议转换模块接收的信号进行增强处理后发送至所述第三通用I/O引脚; In a case where the main controller configures the third general-purpose I/O pin as a strong output, the I/O strong driving module performs enhancement processing on the signal received from the protocol conversion module, and then sends the signal to the third universal I/O pin;
    在所述主控制器将第四通用I/O引脚配置为电源输出的情况下,所述I/O强驱动模块控制所述第四通用I/O引脚与对应电源轨直通。In a case where the main controller configures the fourth general-purpose I/O pin as a power output, the I/O strong driving module controls the fourth general-purpose I/O pin to be directly connected to the corresponding power rail.
  14. 根据权利要求12所述的方法,其特征在于,所述物理接口还包括插入检测与识别引脚和接地引脚,所述方法还包括:The method of claim 12, wherein the physical interface further comprises an insertion detection and identification pin and a ground pin, the method further comprising:
    主控制器控制所述插入检测与识别引脚与插入检测与识别模块相连,并控制所述接地引脚与系统地相连。 The main controller controls the insertion detection and identification pin to be connected to the insertion detection and identification module, and controls the ground pin to be connected to the system ground.
PCT/CN2016/086309 2016-04-15 2016-06-17 Interface system and interface control method for unmanned aerial vehicle WO2017177541A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610236913.2 2016-04-15
CN201610236913.2A CN105867190B (en) 2016-04-15 2016-04-15 The interface system and interface control method of unmanned vehicle

Publications (1)

Publication Number Publication Date
WO2017177541A1 true WO2017177541A1 (en) 2017-10-19

Family

ID=56633158

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/086309 WO2017177541A1 (en) 2016-04-15 2016-06-17 Interface system and interface control method for unmanned aerial vehicle

Country Status (2)

Country Link
CN (1) CN105867190B (en)
WO (1) WO2017177541A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110621577A (en) * 2018-03-23 2019-12-27 深圳市大疆创新科技有限公司 Load equipment control method, switching device, unmanned aerial vehicle and control terminal
CN112860606A (en) * 2019-11-28 2021-05-28 浙江宇视科技有限公司 Interface conversion device and equipment
CN113282529A (en) * 2021-04-08 2021-08-20 西北工业大学 Multi-load general access and heterogeneous processing computing device based on VPX architecture
CN113760804A (en) * 2021-01-25 2021-12-07 苏州臻迪智能科技有限公司 Module identification method and device, storage medium and electronic equipment

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867190B (en) * 2016-04-15 2018-11-27 北京博瑞云飞科技发展有限公司 The interface system and interface control method of unmanned vehicle
CN106094668B (en) * 2016-08-26 2019-07-09 广东中科瑞泰智能科技有限公司 A kind of unmanned aerial vehicle onboard equipment management system
CN108700855A (en) * 2017-03-09 2018-10-23 深圳市大疆创新科技有限公司 The channels F control method and device
CN110048893B (en) * 2019-04-22 2021-11-23 上海顺舟智能科技股份有限公司 ZigBee-based Internet of things equipment rapid docking method and system
CN113359841A (en) * 2021-06-29 2021-09-07 西北工业大学 Unified driving model for unmanned aerial vehicle heterogeneous load equipment
CN115310070B (en) * 2022-10-12 2023-01-31 北京瀚科智翔科技发展有限公司 Intelligent unmanned aerial vehicle load identification method and system and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040260842A1 (en) * 2003-04-18 2004-12-23 Nextio Inc. Switching apparatus and method for providing shared I/O within a load-store fabric
CN102004708A (en) * 2010-04-06 2011-04-06 威盛电子股份有限公司 Management device and its operation method
CN103149983A (en) * 2013-03-27 2013-06-12 苏州朗昇通信科技有限公司 Matching method of expanding peripheral device and expanding peripheral device
CN203946284U (en) * 2014-07-21 2014-11-19 深圳市大疆创新科技有限公司 A kind of flight system, aircraft and treater
CN204046708U (en) * 2014-09-05 2014-12-24 成都时代星光科技有限公司 The aerial aerial camera wireless remote of unmanned plane is taken photo by plane control system
CN105867190A (en) * 2016-04-15 2016-08-17 北京博瑞爱飞科技发展有限公司 Interface system and interface control method of unmanned aerial vehicle

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7107833B2 (en) * 2003-12-23 2006-09-19 Honeywell International Inc. Inertial reference unit with internal backup attitude heading reference system
CN101488796B (en) * 2009-02-24 2012-09-26 航天东方红卫星有限公司 Payload management system and method for satellite
CN102004474B (en) * 2010-09-16 2012-05-30 西北工业大学 Detection and controller for aircraft integration test general interface
CN102255975B (en) * 2011-06-16 2014-05-21 天津理工大学 Dual-port-random access memory (RAM)-based embedded common Ethernet/Internet protocol (IP) communication interface device
US8751069B2 (en) * 2011-06-16 2014-06-10 The Boeing Company Dynamically reconfigurable electrical interface
US9306625B2 (en) * 2013-07-09 2016-04-05 The Boeing Company Systems and methods for broadband over power line multiple interface devices and systems
CN104252435B (en) * 2014-08-29 2017-06-13 北京航天自动控制研究所 Varistructure intelligence interface and its collocation method based on dynamic reconfigurable FPGA
CN104656632B (en) * 2014-11-06 2017-05-31 中国运载火箭技术研究院 The integrated interface test system and detection method of aircraft semi-physical simulation
CN105490729B (en) * 2015-11-26 2018-10-09 中国航天空气动力技术研究院 A kind of one-to-many data transmission system and method based on satellite link

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040260842A1 (en) * 2003-04-18 2004-12-23 Nextio Inc. Switching apparatus and method for providing shared I/O within a load-store fabric
CN102004708A (en) * 2010-04-06 2011-04-06 威盛电子股份有限公司 Management device and its operation method
CN103149983A (en) * 2013-03-27 2013-06-12 苏州朗昇通信科技有限公司 Matching method of expanding peripheral device and expanding peripheral device
CN203946284U (en) * 2014-07-21 2014-11-19 深圳市大疆创新科技有限公司 A kind of flight system, aircraft and treater
CN204046708U (en) * 2014-09-05 2014-12-24 成都时代星光科技有限公司 The aerial aerial camera wireless remote of unmanned plane is taken photo by plane control system
CN105867190A (en) * 2016-04-15 2016-08-17 北京博瑞爱飞科技发展有限公司 Interface system and interface control method of unmanned aerial vehicle

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110621577A (en) * 2018-03-23 2019-12-27 深圳市大疆创新科技有限公司 Load equipment control method, switching device, unmanned aerial vehicle and control terminal
CN112860606A (en) * 2019-11-28 2021-05-28 浙江宇视科技有限公司 Interface conversion device and equipment
CN113760804A (en) * 2021-01-25 2021-12-07 苏州臻迪智能科技有限公司 Module identification method and device, storage medium and electronic equipment
CN113282529A (en) * 2021-04-08 2021-08-20 西北工业大学 Multi-load general access and heterogeneous processing computing device based on VPX architecture

Also Published As

Publication number Publication date
CN105867190B (en) 2018-11-27
CN105867190A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
WO2017177541A1 (en) Interface system and interface control method for unmanned aerial vehicle
US20210011908A1 (en) Model-based structured data filtering in an autonomous vehicle
CN104516851B (en) A kind of system and method for RS485 slave units address distribution
CN109478172A (en) The methods, devices and systems of conversion function for bus master
EP3343853B1 (en) Network device
CN104950902A (en) Multi-rotor aircraft and control method thereof
WO2020000700A1 (en) Module upgrading method in unmanned aerial vehicle system, and unmanned aerial vehicle system
JP2022502978A (en) Memory cards, memory card adapters, and terminal devices
US11020853B2 (en) Robot, method for controlling motion of a robot and non-transitory readable medium
TW201617862A (en) Control method applied to operating-mode finite-state-machine and computer readable media
JP2018531451A6 (en) Vehicle safety electronic control system
CN103412836B (en) Hot plug processing method, device and system
JP2018531451A (en) Vehicle safety electronic control system
CN108693885A (en) A kind of unmanned aerial vehicle control system and unmanned plane
JP2018536958A5 (en)
CN104270740B (en) A kind of detection method of neck T cards and SIM card altogether
US9965406B2 (en) Setting method, communication device, and master device
CN206877150U (en) A kind of unmanned aerial vehicle control system and unmanned plane
WO2015153915A1 (en) Detecting the orientation of a multimedia link connected to a device
WO2014012203A1 (en) Method, device and system for determining drive letter
EP3989533A1 (en) Imaging apparatus, information processing method, and recording medium
CN204719540U (en) Multi-rotor aerocraft
JP6391373B2 (en) Master / slave network device
CN104890861A (en) Control method of multi-rotor aircraft and multi-rotor aircraft
WO2018076778A1 (en) Robot, and data processing method and system applied thereto

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16898356

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16898356

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03/07/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16898356

Country of ref document: EP

Kind code of ref document: A1