A method, system and medium for simulating vision and photoelectric load of unmanned aerial vehicle

By updating the UAV vision and mission vision in real time, combined with the UE engine for graphics rendering and physical simulation, it solves the problems of poor real-time and synchronization in the existing technology, realizes highly dynamic UAV simulation, and enhances user experience. experience and simulation accuracy.

CN118534793BActive Publication Date: 2024-10-22XIAN CHENHANG EXCELLENCE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411000556.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-10-22
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

The existing UAV flight view and photoelectric load simulation technology has poor real-time and synchronization, insufficient user experience and interactivity, cannot simulate and display the simulation in real time based on real-time flight status information and mission load, and cannot keep pace with the actual mission load equipment. consistent.

Method used

By receiving flight status information and optoelectronic mission load mode, it generates optoelectronic control instructions, uses the simulated ground station data link for signal attenuation, updates the drone vision and mission vision in real time, and combines the UE engine for graphics rendering and physical simulation to generate high-quality Dynamic real-time simulation data enables real-time generation and display of multiple modal sensing data.

Benefits of technology

It achieves highly dynamic real-time simulation, enhances user experience, has the ability to provide instant feedback on UAV load status and performance, provides an interactive interface, improves simulation efficiency and accuracy, and supports flexible expansion and customization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118534793B_ABST
    Figure CN118534793B_ABST
Patent Text Reader

Abstract

The present invention provides a method, system and medium for simulating the vision and optoelectronic load of an unmanned aerial vehicle, belonging to the technical field of unmanned aerial vehicle vision development, and comprising: receiving flight status information, flight vision and optoelectronic mission load mode, generating optoelectronic control instructions; simulating a ground station data link, sending instructions and information to configure a UE agent, and forming a flight and mission UE vision; interacting the agent with the vision in real time, updating the flight status information and the flight vision in real time to update the flight UE vision, and outputting a flight vision video stream and a mission vision video stream; converting the video stream, generating a flight vision image frame and a mission vision image frame, and performing optoelectronic load simulation processing, forming an optoelectronic load reconnaissance image and displaying it; determining target information, generating a corresponding optoelectronic control instruction, and re-configuring the optoelectronic control instruction for the UE agent to update the optoelectronic control instruction. The method can accurately simulate and display the flight and mission vision of the unmanned aerial vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of unmanned aerial vehicle vision development, and in particular to a method, system and medium for simulating unmanned aerial vehicle vision and optoelectronic load. Background Art

[0002] UAV flight vision and optoelectronic load simulation is a technology that combines computer simulation, image processing and optical systems to simulate the performance of UAV vision and optoelectronic equipment (such as cameras, infrared equipment, etc.) under different flight conditions. This simulation usually includes flight path simulation, terrain and environment simulation, optical system simulation, etc. Among them, flight path simulation simulates the flight path of the UAV according to the flight mission requirements and geographic data, including take-off, flight route, flight altitude, speed and landing steps. Terrain and environmental models are used to create real terrain and environmental models. Optical system simulation simulates the state of optoelectronic equipment under different environmental conditions according to the specifications of optoelectronic equipment on the UAV (such as focal length, field of view, sensor type, etc.), including simulation of different light conditions and image positioning of target objects. These simulation systems play an important role in UAV research and development, training, mission planning and performance evaluation. They can improve the effectiveness and safety of UAV missions.

[0003] The main technical problems with existing flight vision and optoelectronic payload simulation technologies are poor real-time and synchronization, poor user experience and interactivity, and poor task coverage in different environments. It is impossible to simulate and display the real-time flight status information and mission payload in real time, and it is impossible to ensure consistency with the actual mission payload equipment. Summary of the invention

[0004] To solve the above problems, the present invention provides a method, system and medium for simulating the vision and optoelectronic load of an unmanned aerial vehicle (UAV), which can accurately simulate and display the flight vision and mission vision of the UAV.

[0005] To achieve the above object, the present invention provides the following technical solutions.

[0006] A method for simulating the vision and photoelectric load of an unmanned aerial vehicle comprises the following steps:

[0007] Receive flight status information, flight vision and optoelectronic mission load mode information, and generate corresponding optoelectronic control instructions according to the flight status information, flight vision and optoelectronic mission load mode;

[0008] By simulating the ground station data link, according to the data link signal strength, the optoelectronic control command attenuation is simulated, and the simulated optoelectronic control command, flight vision and flight status information are sent to the UE configuration agent;

[0009] Generate UE control instructions through the UE configuration agent; the UE control instructions are used to control the flight UE view and the mission UE view, including control instructions for environmental and weather changes, changes in the flight attitude and turret angle of the drone, and changes in the camera focal length and zoom;

[0010] The UE configuration agent interacts with the flight UE vision and the mission UE vision in real time, updates the flight status information and the flight vision in real time to update the flight UE vision, updates the optoelectronic control instructions to control the UE payload turret in real time to update the mission UE vision, and generates and outputs the flight vision video stream and the mission vision video stream;

[0011] According to the flight status information and the optoelectronic mission load mode information, the flight vision video stream and the mission vision video stream are converted to generate the flight vision image frame and the mission vision image frame; the optoelectronic load simulation processing is performed according to the flight vision image frame and the mission vision image frame to form the optoelectronic load reconnaissance image and display it;

[0012] Perform target recognition on the electro-optical payload reconnaissance image to determine target information, including environment, location and status information;

[0013] According to the current electro-optical mission payload mode and the identified target information, the action information of the next frame of visual ranging, positioning, illumination and turret angle change is simulated and calculated, the corresponding electro-optical control instructions are regenerated, and the electro-optical control instructions are reconfigured into the UE proxy to update the electro-optical control instructions, regenerate the mission vision video stream, refresh the flight vision image frame and the mission vision image frame, and perform electro-optical payload simulation processing.

[0014] Preferably, the generation of the mission view video stream comprises the following steps:

[0015] Determine the optoelectronic mission load mode, target information and load control amount; the optoelectronic mission load mode includes inertial mode, search mode, lock mode, tracking mode and scanning mode; the target information includes target type, target coordinates, target attitude and target height; the load control amount includes the switch, azimuth and pitch of the UE load turret;

[0016] According to the optoelectronic mission payload mode, target information and payload control quantity, optoelectronic control instructions are generated. The attitude of the UE payload turret is controlled by the optoelectronic control instructions to generate video streams with different views.

[0017] Preferably, the optoelectronic task load mode corresponds to different turret movement modes; the onboard computer generates corresponding optoelectronic control instructions according to the current optoelectronic task load mode, and the camera of the UE load turret obtains different task visual images according to the moving angle;

[0018] The inertial mode is a manual control state, and the pitch angle and azimuth angle of the UE load turret are manually controlled by the joystick;

[0019] The scanning modes include automatic scanning and horizontal scanning; the automatic scanning is that the UE load turret moves at a fixed speed, and the left and right cyclic deflection amplitude is 1 degree to 20 degrees; the horizontal scanning is that the UE load turret moves at a fixed speed, and the left and right cyclic deflection amplitude is 10 degrees to 60 degrees;

[0020] The tracking mode controls the UE load turret angle and focal length to track the designated target through target recognition detection;

[0021] The locking mode is in a locked state, controlling the UE load turret angle to remain unchanged, and generating a specified image as the flight progresses;

[0022] The search mode is a manual control state, in which the crosshairs are manually placed on the moving scene through the joystick to search and aim at the corresponding target, and the search mode can be switched to the tracking state after the target is found.

[0023] Preferably, when the optoelectronic task load mode is a tracking mode, target tracking is performed, including the following steps:

[0024] According to the current flight status of the aircraft, the turret status is stabilized, and the mission vision video stream is generated. Through computer vision technology, the location and feature information of the target in the mission vision video stream are extracted;

[0025] According to the position and feature information of the target, the position change state of the target between the continuous frames of the mission scene video stream is determined, and the motion estimation algorithm is used for analysis to predict the future position of the target;

[0026] The optoelectronic control instructions are updated according to the future position of the target to control the UE payload turret to keep its gaze on the target. The PID control method is used to adjust the posture of the UE payload turret to ensure that the target is always in the center of the field of view.

[0027] Preferably, the adopting of the PID control method to adjust the posture of the UE load turret comprises the following steps:

[0028] Determine the three parts of PID control: proportional, integral, and differential. The proportional part is the part that generates the control output based on the current error size. The error refers to the difference between the expected value and the actual value. The integral part is used to deal with the long-term stability of the system, and the static error of the system is eliminated by integrating the error. The differential part adjusts the control output according to the speed of error change, which is used to suppress the oscillation of the system and improve the response speed of the system.

[0029] The output of the PID controller is expressed as:

[0030] u(t)=K p·e(t)+K i ·∫e(t)dt+K d ·dtde(t)

[0031] Among them, u(t) is the output of the controller, that is, the control amount that the drone needs to apply; e(t) is the error at the current moment, that is, the difference between the expected value and the actual value; K p , K i and K d They are the coefficients of the proportional, integral and differential parts respectively. The parameters of the PID controller are adjusted according to the characteristics of the load and the task requirements. They need to be adjusted according to the characteristics of the system.

[0032] Preferably, after the mission vision video stream is converted into the mission vision image frame, a freezing operation and a releasing operation are further performed; the freezing operation is to stop transmitting the image frame and display the static mission vision image frame; the releasing operation is to transmit the image frame and display the mission vision image frame in real time;

[0033] The freezing and releasing operation process is as follows:

[0034] The task monitor sends a freeze or release command to the UE configuration agent;

[0035] The UE configuration agent generates a stop or start UE video stream instruction and sends it to the flight UE view and the mission UE view;

[0036] The UE flight view and mission view stop or start video transmission.

[0037] Preferably, the generation of the flight view video stream comprises the following steps:

[0038] Determine aircraft position information and a model scene map; the aircraft position information includes aircraft coordinates, aircraft altitude and aircraft attitude;

[0039] The UE engine obtains the environment, scene, flight attitude and turret information from the UE configuration agent, performs screen rendering, generates mission images, and outputs flight and mission video streams:

[0040] Render the scene through the model scene map, including buildings, trees and terrain information;

[0041] Render the environment through geographic environment information, including weather, time, cloud cover and sun simulation;

[0042] Render the flight scene through the flight attitude information, including dynamic picture control of booster ignition, aileron movement and parachute opening and dropping;

[0043] Through the turret angle and height, the mission vision is rendered with changes in magnification, focal length, and field of view.

[0044] Preferably, the optoelectronic payload includes a sensor, an infrared camera or a telescope.

[0045] A UAV vision and optoelectronic load simulation system, the system comprising:

[0046] The mission monitoring subsystem is used to receive flight status information, flight vision and optoelectronic mission load mode information, and generate corresponding optoelectronic control instructions according to the flight status information, flight vision and optoelectronic mission load mode;

[0047] An onboard computer is used to simulate the ground station data link, simulate the attenuation of the electro-optical control command according to the data link signal strength, and send the simulated electro-optical control command, flight vision and flight status information;

[0048] The payload simulation subsystem is used to perform UE configuration proxy on the optoelectronic control instructions, flight vision and flight status information to form flight UE vision and mission UE vision; the UE configuration agent interacts with the flight UE vision and mission UE vision in real time, updates the flight status information and flight vision in real time to update the flight UE vision, updates the optoelectronic control instructions in real time to control the UE payload turret to update the mission UE vision, generates and outputs the flight vision video stream and the mission vision video stream; according to the flight status information and optoelectronic mission payload mode information, the flight vision video stream and the mission vision video stream are converted to generate the flight vision image frame and the mission vision image frame;

[0049] The information display subsystem is used to perform electro-optical load simulation processing based on the flight vision image frames and the mission vision image frames to form an electro-optical load reconnaissance image and display it.

[0050] A computer-readable storage medium stores a data processing program, and when the data processing program is executed by a processor, the steps of the unmanned aerial vehicle vision and optoelectronic load simulation method are implemented.

[0051] Beneficial effects of the present invention:

[0052] The present invention proposes a method, system and medium for simulating the vision and optoelectronic load of a drone. The method is developed based on the UE5 engine, generates a global simulation physical world model by reading the simulation environment configuration, generates highly dynamic real-time simulation data by reading the platform status information and the interactive target status information in real time, and realizes the real-time generation of multiple modal perception data based on the sensor simulation plug-in, comprehensively considers the performance of the drone load in different environments and work tasks, and realizes comprehensive simulation coverage. The method realizes realistic scene presentation and enhances user experience through UE graphics rendering technology and physical engine. The method has real-time simulation capability and can instantly feedback the state and performance of the drone load during the simulation process. The method provides an interactive interface so that users can interact with the simulation environment, adjust parameters, observe results, and better understand the behavior of the drone load. The method provides an onboard computer using optimized algorithms and high-performance computing technology to improve simulation efficiency and reduce computing costs. The method adopts advanced simulation technology to provide higher accuracy and accurately predict the behavior of the drone load by simulating the real environment and physical laws. The method supports flexible expansion and customization, and can add new load types or adjust the simulation environment according to user needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 is a flow chart of a method for simulating the vision and optoelectronic load of a UAV according to an embodiment of the present invention;

[0054] Figure 2 is an architecture diagram of a UAV vision and optoelectronic load simulation system according to an embodiment of the present invention;

[0055] Figure 3 It is a flowchart of executing the generation of task scene image frames according to an embodiment of the present invention. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0057] Example 1

[0058] This embodiment provides a method and system for simulating the vision and optoelectronic load of a UAV. Figure 1 is a flow chart of the method, Figure 2 The UAV vision and optoelectronic load simulation system of this embodiment includes a mission monitoring subsystem, an onboard computer and a load simulation subsystem.

[0059] The mission monitoring subsystem is used to receive flight status information, flight vision and optoelectronic mission load mode, and generate optoelectronic control instructions according to the optoelectronic mission load mode; the onboard computer is used to send optoelectronic control instructions, flight vision and flight status information through a simulated ground station data link according to the data link signal strength; the payload simulation subsystem is used to perform UE configuration proxy for optoelectronic control instructions, flight vision and flight status information to form flight UE vision and mission UE vision; the UE configuration agent is used to interact with the UE vision in real time, update the flight status information and flight vision in real time to update the flight UE vision, update the optoelectronic control instructions in real time to control the UE payload turret to update the mission UE vision, and output the flight vision video stream and the mission vision video stream; according to the flight status information and optoelectronic mission load mode information, the vision video stream is converted to generate flight vision image frames and mission vision image frames; the information display subsystem is used to perform optoelectronic payload simulation processing according to the flight vision image frames and mission vision image frames, form optoelectronic payload reconnaissance images and display them. Specifically, it includes the following steps:

[0060] like Figure 1 As shown, the simulation method of this embodiment includes the following steps:

[0061] S1: Receive flight status information, flight vision and optoelectronic mission load mode information, and generate corresponding optoelectronic control instructions according to the optoelectronic mission load mode.

[0062] S2: By simulating the ground station data link, the optoelectronic control command attenuation is simulated according to the data link signal strength, and the processed optoelectronic control command, flight view and flight status information are sent to the UE configuration agent; the UE control command is generated through the UE configuration agent to control the flight UE view and mission UE view, including environmental and weather changes, changes in the UAV's flight attitude and turret angle, and changes in the camera's focal length and zoom.

[0063] S3: The UE configuration agent interacts with the UE vision in real time, updates the flight status information and the flight vision in real time to update the flight UE vision (the UE5 engine is used in this embodiment), updates the optoelectronic control instructions in real time to control the UE payload turret to update the mission UE vision, and outputs the flight vision video stream and the mission vision video stream. After the mission vision video stream is converted into the mission vision image frame, it also includes executing a freeze operation and a release operation; the freeze operation is to stop transmitting the image frame and display the static mission vision image frame; the release operation is to transmit the image frame and display the mission vision image frame in real time. The freeze and release operation process is as follows: (1) The mission monitor sends a freeze / release instruction to the UE configuration agent; (2) The UE configuration agent generates a stop / start UE video stream instruction and sends it to the flight UE vision and the mission UE vision; (3) The flight UE vision and the mission UE vision stop / start video transmission.

[0064] S3.1: Execute the simulated mission visual video stream:

[0065] Determine the optoelectronic mission load mode, target information and load control amount; the optoelectronic mission load mode includes inertial mode, search mode, lock mode, tracking mode and scanning mode; the target information includes target type, target coordinates, target attitude and target height; the load control amount includes the switch, azimuth and pitch of the UE load turret.

[0066] The load mode includes five modes: inertial, search, lock, track, and scan. Each mode corresponds to different optoelectronic control instructions. Different optoelectronic instructions are adjusted according to different modes to control the angle of the UE load turret. Different video streams will be generated. After the video stream is converted into an image frame, the corresponding optoelectronic control instructions are generated according to the current load mode and image recognition in the image frame, such as Figure 3 As shown, such a cyclic process realizes the image display in each mode.

[0067] Specific:

[0068] When the electro-optical mission payload mode is the tracking mode, target tracking is performed, including the following steps:

[0069] S3.1.1: Generate mission vision video stream based on the current aircraft flight status and stabilize the turret status. Use computer vision technology to extract the location and feature information of the target in the mission vision video stream.

[0070] S3.1.2: Based on the position and feature information of the target, determine the position change state of the target between consecutive frames of the mission scene video stream, use motion estimation algorithm to analyze, and predict the future position of the target;

[0071] S3.1.3: Update the optoelectronic control instructions according to the future position of the target, and control the UE payload turret to keep its gaze on the target; use the PID control method to adjust the posture of the UE payload turret to ensure that the target is always in the center of the field of view.

[0072] The PID load mission control method of UAV is a technology based on PID controller, which is used to achieve precise control of UAV carrying loads (such as cameras, sensors, etc.) to perform specific tasks. This control method allows the UAV to accurately adjust the position, attitude or other parameters of the load during flight to meet various mission requirements and is used to achieve stable flight and precise control of the UAV. PID refers to the three parts of proportional, integral and derivative, which correspond to the three basic components of the controller.

[0073] Proportional part:

[0074] The proportional part is the part of the control output that is generated according to the current error. Error is the difference between the desired value and the actual value.

[0075] The basic principle of proportional control is that the larger the error, the larger the output control amount. This means that the drone will approach the target value faster, but it may also cause overshoot and oscillation.

[0076] Integral part:

[0077] The integral part is used to deal with the long-term stability problem of the system and eliminate the static error of the system by integrating the error.

[0078] If proportional control cannot completely eliminate the steady-state error, integral control can gradually reduce the error over a long period of time, making the system stable near the desired value.

[0079] Derivative part:

[0080] The differential part adjusts the control output according to the speed of error change, which is mainly used to suppress system oscillation and improve the response speed of the system.

[0081] When the error changes quickly, differential control can reduce the output to prevent the system from over-responding.

[0082] The output of the PID controller is expressed as:

[0083] u(t)=K p ·e(t)+K i ·∫e(t)dt+K d ·dtde(t)

[0084] Among them, u(t) is the output of the controller, that is, the control amount that the drone needs to apply; e(t) is the error at the current moment, that is, the difference between the expected value and the actual value; K p , K i and K d They are the coefficients of the proportional, integral and differential parts respectively. The parameters of the PID controller are adjusted according to the characteristics of the load and the task requirements. They need to be adjusted according to the characteristics of the system.

[0085] The electro-optical mission load mode corresponds to different turret movement modes; the onboard computer generates the corresponding turret control electro-optical instructions according to the current mode, and the camera of the UE load turret obtains different mission visual images according to the moving angle; the load modes include:

[0086] Inertia mode: manual control state, manually control the pitch angle and azimuth angle of the UE load turret through the joystick;

[0087] Scanning mode: automatic scanning and horizontal scanning; the automatic scanning means that the UE load turret moves at a fixed moving rate with a left-right circular deflection range of 1 degree to 20 degrees; the horizontal scanning means that the UE load turret moves at a fixed moving rate with a left-right circular deflection range of 10 degrees to 60 degrees;

[0088] Tracking mode: through target recognition and detection, control the UE payload turret angle and focal length to track the designated target;

[0089] Lock mode: In the locked state, the UE payload turret angle is controlled to remain unchanged, and the specified image is generated during the flight;

[0090] Search mode: Manual control state, manually use the joystick to cross the crosshairs on the moving view to search and aim at the corresponding target. After finding the target, it can be switched to tracking state.

[0091] The turret adopts a two-axis two-frame stable turret structure, which includes a pitch frame and an azimuth frame. The visible light camera, forward-looking infrared device, laser illuminator and video recorder are loaded in the pitch frame. The pitch axis system and azimuth axis system are directly driven by torque motors, which have the characteristics of simple structure, good low-speed performance and high transmission accuracy. The stable turret can compensate for the deviation caused by the vibration and attitude movement of the carrier aircraft in real time, stabilize the aiming line, and complete accurate tracking of the target during automatic tracking.

[0092] The design of the stable turret adopts a spherical structure. On the one hand, the aerodynamic drag of the sphere is smaller than that of other (plate-shaped, square and diamond-shaped, etc.) structures under the same conditions (same speed and same frontal area); on the other hand, the product has good symmetry. During the flight, when the azimuth and pitch frames move, the change in their angular position causes a small change in the driving torque, and the system control is easy to achieve; thirdly, under the condition that the rotation space of the stable platform is certain, the internal space enclosed by the sphere is larger than other structures, and the carrying capacity is strong.

[0093] S3.2: Execute the simulated mission visual video stream:

[0094] Determine aircraft position information and a model scene map; the aircraft position information includes aircraft coordinates, aircraft altitude and aircraft attitude;

[0095] Perform UE configuration proxy for aircraft position information and model scene map, form flight UE view, and output flight view video stream.

[0096] The UE engine obtains the environment, scene, flight attitude and turret information from the UE configuration agent, performs screen rendering, generates mission images, and outputs flight and mission video streams:

[0097] Render the scene through the model scene map, including buildings, trees and terrain information;

[0098] Render the environment through geographic environment information, including weather (rain, snow and clear), time (night and day), cloud cover (full cloud, cloudless and cloudy, etc.), sun and other simulation renderings;

[0099] Render the flight scene through the flight attitude information, including booster ignition, aileron movement, parachute opening and parachute throwing and other dynamic picture control;

[0100] Through the turret angle and height, the mission vision is rendered with changes in magnification, focal length, and field of view;

[0101] UE (Unreal Engine) scene rendering refers to the process of scene rendering using Unreal Engine. Unreal Engine is a powerful game engine developed by Epic Games, which is widely used in game development, virtual reality (VR), augmented reality (AR), film production and other fields. Its scene rendering function includes a variety of advanced technologies for presenting realistic and immersive scenes.

[0102] S4: According to the flight status information and the optoelectronic mission load mode information, the visual video stream is converted to generate a flight visual image frame and a mission visual image frame; the optoelectronic load simulation processing is performed according to the flight visual image frame and the mission visual image frame to form an optoelectronic load reconnaissance image and display it.

[0103] S5: Perform image recognition on the optoelectronic payload reconnaissance image according to the current optoelectronic mission payload mode, determine the target information, generate corresponding optoelectronic control instructions, and reconfigure the optoelectronic control instructions for the UE proxy to update the optoelectronic control instructions and regenerate the mission scene video stream.

[0104] The method proposed in this embodiment is developed based on the UE5 engine, generates a global simulated physical world model by reading the simulation environment configuration, generates highly dynamic real-time simulation data by reading the platform status information and the interactive target status information in real time, and realizes the real-time generation of multiple modal perception data based on the sensor simulation plug-in.

[0105] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for simulating the vision and photoelectric load of an unmanned aerial vehicle, characterized in that: The following steps are involved: Receive flight status information, flight vision and optoelectronic mission load mode information, and generate corresponding optoelectronic control instructions according to the flight status information, flight vision and optoelectronic mission load mode; By simulating the ground station data link, according to the data link signal strength, the optoelectronic control command attenuation is simulated, and the simulated optoelectronic control command, flight vision and flight status information are sent to the UE configuration agent; Generate UE control instructions through the UE configuration agent; the UE control instructions are used to control the flight UE view and the mission UE view, including control instructions for environmental and weather changes, changes in the flight attitude and turret angle of the drone, and changes in the camera focal length and zoom; The UE configuration agent interacts with the flight UE vision and the mission UE vision in real time, updates the flight status information and the flight vision in real time to update the flight UE vision, updates the optoelectronic control instructions to control the UE payload turret in real time to update the mission UE vision, and generates and outputs the flight vision video stream and the mission vision video stream; According to the flight status information and the optoelectronic mission load mode information, the flight vision video stream and the mission vision video stream are converted to generate the flight vision image frame and the mission vision image frame; the optoelectronic load simulation processing is performed according to the flight vision image frame and the mission vision image frame to form the optoelectronic load reconnaissance image and display it; Perform target recognition on the electro-optical payload reconnaissance image to determine target information, including environment, location and status information; According to the current electro-optical mission load mode and the identified target information, simulate and calculate the action information of the next frame of visual ranging, positioning, illumination and turret angle change, regenerate the corresponding electro-optical control instructions, and re-configure the electro-optical control instructions for the UE to update the electro-optical control instructions, regenerate the mission visual video stream, refresh the flight visual image frame and the mission visual image frame, and perform electro-optical load simulation processing; The generation of the task scene video stream includes the following steps: Determine the optoelectronic mission load mode, target information and load control amount; the optoelectronic mission load mode includes inertial mode, search mode, lock mode, tracking mode and scanning mode; the target information includes target type, target coordinates, target attitude and target height; the load control amount includes the switch, azimuth and pitch of the UE load turret; Generate optoelectronic control instructions based on optoelectronic mission payload mode, target information and payload control quantity, control the posture of the UE payload turret through optoelectronic control instructions, and generate video streams with different views; The generation of the flight view video stream comprises the following steps: Determine aircraft position information and a model scene map; the aircraft position information includes aircraft coordinates, aircraft altitude and aircraft attitude; The UE engine obtains the environment, scene, flight attitude and turret information from the UE configuration agent, performs screen rendering, generates mission images, and outputs flight and mission video streams: Render the scene through the model scene map, including buildings, trees and terrain information; Render the environment through geographic environment information, including weather, time, cloud cover and sun simulation; Render the flight scene through the flight attitude information, including dynamic picture control of booster ignition, aileron movement and parachute opening and dropping; Through the turret angle and height, the mission vision is rendered with changes in magnification, focal length, and field of view.

2. The method for simulating the vision and photoelectric load of an unmanned aerial vehicle according to claim 1, characterized in that: The optoelectronic task load mode corresponds to different turret movement modes; the onboard computer generates corresponding optoelectronic control instructions according to the current optoelectronic task load mode, and the camera of the UE load turret obtains different task visual images according to the moving angle; The inertial mode is a manual control state, and the pitch angle and azimuth angle of the UE load turret are manually controlled by the joystick; The scanning modes include automatic scanning and horizontal scanning; the automatic scanning is that the UE load turret moves at a fixed speed, and the left and right cyclic deflection amplitude is 1 degree to 20 degrees; the horizontal scanning is that the UE load turret moves at a fixed speed, and the left and right cyclic deflection amplitude is 10 degrees to 60 degrees; The tracking mode controls the UE load turret angle and focal length to track the designated target through target recognition detection; The locking mode is in a locked state, controlling the UE load turret angle to remain unchanged, and generating a specified image as the flight progresses; The search mode is a manual control state, in which the crosshairs are manually placed on the moving scene through the joystick to search and aim at the corresponding target, and the search mode can be switched to the tracking state after the target is found.

3. The method for simulating the vision and photoelectric load of an unmanned aerial vehicle according to claim 2, characterized in that: When the optoelectronic task load mode is the tracking mode, target tracking is performed, including the following steps: According to the current flight status of the aircraft, the turret status is stabilized, and the mission vision video stream is generated. Through computer vision technology, the location and feature information of the target in the mission vision video stream are extracted; According to the position and feature information of the target, the position change state of the target between the continuous frames of the mission scene video stream is determined, and the motion estimation algorithm is used for analysis to predict the future position of the target; The optoelectronic control instructions are updated according to the future position of the target to control the UE payload turret to keep its gaze on the target. The PID control method is used to adjust the posture of the UE payload turret to ensure that the target is always in the center of the field of view.

4. The method for simulating the vision and photoelectric load of an unmanned aerial vehicle according to claim 3, characterized in that: The method of using the PID control method to adjust the posture of the UE load turret includes the following steps: Determine the three parts of PID control: proportional, integral, and differential. The proportional part is the part that generates the control output based on the current error size. The error refers to the difference between the expected value and the actual value. The integral part is used to deal with the long-term stability of the system, and the static error of the system is eliminated by integrating the error. The differential part adjusts the control output according to the speed of error change, which is used to suppress the oscillation of the system and improve the response speed of the system. The output of the PID controller is expressed as: u(t)=K p ·e(t)+K i ·∫e(t)dt+K d ·dtde(t) Among them, u(t) is the output of the controller, that is, the control amount that the drone needs to apply; e(t) is the error at the current moment, that is, the difference between the expected value and the actual value; K p , K i and K d They are the coefficients of the proportional, integral and differential parts respectively. The parameters of the PID controller are adjusted according to the characteristics of the load and the task requirements. They need to be adjusted according to the characteristics of the system.

5. The method for simulating the vision and photoelectric load of an unmanned aerial vehicle according to claim 1, characterized in that: After the task view video stream is converted into the task view image frame, a freezing operation and a releasing operation are also performed; the freezing operation is to stop transmitting the image frame and display the static task view image frame; the releasing operation is to transmit the image frame and display the task view image frame in real time; The freezing and releasing operation process is as follows: The task monitor sends a freeze or release command to the UE configuration agent; The UE configuration agent generates a stop or start UE video stream instruction and sends it to the flight UE view and the mission UE view; The UE flight view and mission view stop or start video transmission.

6. The method for simulating the vision and photoelectric load of an unmanned aerial vehicle according to claim 1, characterized in that: The optoelectronic payload includes a sensor, an infrared camera or a telescope.

7. A UAV vision and optoelectronic load simulation system, characterized in that: The system comprises: The mission monitoring subsystem is used to receive flight status information, flight vision and optoelectronic mission load mode information, and generate corresponding optoelectronic control instructions according to the flight status information, flight vision and optoelectronic mission load mode; An onboard computer is used to simulate the ground station data link, simulate the attenuation of the electro-optical control command according to the data link signal strength, and send the simulated electro-optical control command, flight vision and flight status information; The payload simulation subsystem is used to perform UE configuration proxy on the optoelectronic control instructions, flight vision and flight status information to form flight UE vision and mission UE vision; the UE configuration agent interacts with the flight UE vision and mission UE vision in real time, updates the flight status information and flight vision in real time to update the flight UE vision, updates the optoelectronic control instructions in real time to control the UE payload turret to update the mission UE vision, generates and outputs the flight vision video stream and the mission vision video stream; according to the flight status information and optoelectronic mission payload mode information, the flight vision video stream and the mission vision video stream are converted to generate the flight vision image frame and the mission vision image frame; The generation of the mission scene video stream includes the following steps: determining the optoelectronic mission load mode, target information and load control amount; the optoelectronic mission load mode includes inertial mode, search mode, lock mode, tracking mode and scanning mode; the target information includes target type, target coordinates, target attitude and target height; the load control amount includes the switch, azimuth and pitch of the UE load turret; according to the optoelectronic mission load mode, target information and load control amount, generating optoelectronic control instructions, controlling the attitude of the UE load turret through the optoelectronic control instructions, and generating different scene video streams; The generation of the flight visual video stream includes the following steps: determining the aircraft position information and the model scene map; the aircraft position information includes the aircraft coordinates, the aircraft altitude and the aircraft attitude; obtaining the environment, scene, flight attitude and turret information from the UE configuration agent through the UE engine, rendering the picture, generating the mission image, and outputting the flight and mission video streams: rendering the scene through the model scene map, including the information of buildings, trees and terrain; rendering the environment through the geographical environment information, including the simulation rendering of the weather, time, cloud cover and sun; rendering the flight scene through the flight attitude information, including the dynamic picture control of the booster ignition, aileron movement and parachute opening and parachute throwing; rendering the mission scene through the change of magnification, focal length and field of view through the turret angle and height; The information display subsystem is used to perform electro-optical load simulation processing based on the flight vision image frames and the mission vision image frames to form an electro-optical load reconnaissance image and display it.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a data processing program, and when the data processing program is executed by the processor, the steps of the UAV vision and optoelectronic load simulation method according to any one of claims 1 to 6 are implemented.