Hardware-in-the-loop semi-physical simulation method for fuel cell of hydrogen energy unmanned aerial vehicle

By constructing a semi-physical simulation system to simulate the flight conditions of the drone and test the power output response characteristics of the hydrogen fuel cell, the problem of untimely power output of the hydrogen energy drone power system is solved and flight safety is improved.

CN118778472APending Publication Date: 2024-10-15XIAN AISHENG TECH GRP
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410740466.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-08
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The power output response of the power system of hydrogen energy drones during flight is not timely enough to meet flight needs, especially when switching flight modes and resisting external environmental disturbances, resulting in increased flight safety risks.

Method used

Construct a semi-physical simulation system, including a hydrogen fuel cell system, electronic load, simulation main control computer and real-time simulation target machine, simulate various dynamic and steady-state operating conditions through flight simulation, and test whether the power output response characteristics of the hydrogen fuel cell meet the needs of unmanned aerial vehicles. aircraft flight requirements.

Benefits of technology

By dynamically testing the power output characteristics of hydrogen fuel cells, we ensure that they can meet the flight needs of UAVs, improve flight safety, and avoid the risk of crashes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118778472A_ABST
    Figure CN118778472A_ABST
Patent Text Reader

Abstract

The invention discloses a hardware-in-the-loop semi-physical simulation method for a fuel cell of a hydrogen energy unmanned aerial vehicle, and the method comprises the steps: firstly constructing a semi-physical simulation system, and simulating various dynamic and steady flight conditions of the unmanned aerial vehicle in a full envelope range through a semi-physical simulation test; and testing and verifying whether the power output response characteristic of the hydrogen fuel cell meets the flight requirement of the unmanned aerial vehicle. According to the method, the power output dynamic characteristics of the hydrogen fuel cell can be dynamically tested in a flight simulation mode according to the dynamic demand of the flight of the unmanned aerial vehicle for the power, the performance of the hydrogen fuel cell is dynamically tested, and whether the performance of the hydrogen fuel cell meets the flight demand of the unmanned aerial vehicle or not is dynamically tested.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of unmanned aerial vehicles, and specifically relates to a semi-physical simulation method for a hydrogen energy unmanned aerial vehicle fuel cell hardware-in-the-loop Background Art

[0002] Semi-physical simulation is widely used in the development of UAVs. It can effectively verify the correctness and reliability of UAV flight control strategies, algorithms and controllers, shorten the development cycle of UAVs, and reduce development risks and costs. Semi-physical simulation of UAVs is generally based on closed-loop simulation testing based on the physical controller and the mathematical model of the UAV, also known as hardware-in-the-loop simulation.

[0003] In the new energy vehicle industry, hydrogen fuel cells are usually used in conjunction with a set of lithium battery packs with considerable capacity to achieve the function of rate output. Especially when the driving conditions change drastically, the dynamic response of the power output of the hydrogen fuel cell cannot meet the changes in the driving conditions. At this time, the lithium battery can be discharged quickly to make up for the power gap, or reversely charged to consume excess power. Unlike the automotive industry, considering that the weight and size of lithium battery packs with sufficient capacity are large, which is unacceptable for aerial flight, hydrogen-powered drones are usually not easy to configure lithium batteries with sufficient capacity, and even lithium battery packs that work with hydrogen fuel cells are not configured. This patent is aimed at the second type of hydrogen-powered drone that is not equipped with an auxiliary lithium battery pack. All energy sources of this type of hydrogen-powered drone come from hydrogen fuel cells. When flying in the air, the drone may perform large maneuvers as planned, or it may encounter strong interference from occasional changes in external meteorological conditions. In order to ensure flight safety, the above situations will require the power system of the drone to be able to adjust quickly and significantly, which places high demands on the dynamic response of the power output of the hydrogen fuel cell. If the power output response of the hydrogen fuel cell is not timely enough, it will seriously affect the flight safety of the drone, and even cause a crash.

[0004] However, the ground static test of hydrogen fuel cells themselves is not easy to cover the power requirements of various working conditions within the full envelope of UAV flight, especially the dynamic characteristics of power requirements of UAVs when switching flight modes, resisting external environmental disturbances or maneuvering. Therefore, it is urgent to invent a semi-physical simulation method of hydrogen energy UAV fuel cell hardware in the loop, through which the UAV can be "flying" in a laboratory environment, simulating various dynamic and steady-state flight conditions of UAVs within the full envelope, so as to dynamically test whether the power output response performance of hydrogen fuel cells during the flight of UAVs can meet the flight requirements of UAVs. Summary of the invention

[0005] In order to overcome the deficiencies of the prior art, the present invention provides a semi-physical simulation method for hydrogen energy UAV fuel cell hardware-in-the-loop. First, a semi-physical simulation system is constructed. Through semi-physical simulation tests, various dynamic and steady-state flight conditions of the UAV within the full envelope are simulated to test and verify whether the power output response characteristics of the hydrogen fuel cell meet the flight requirements of the UAV. The method of the present invention can dynamically test the power output dynamic characteristics of the hydrogen fuel cell according to the dynamic power requirements of the UAV flight through flight simulation. It is not only a dynamic test of the performance of the hydrogen fuel cell itself, but also a dynamic test of whether the performance of the hydrogen fuel cell meets the flight requirements of the UAV.

[0006] The technical solution adopted by the present invention to solve the technical problem is as follows:

[0007] Step 1: Build a semi-physical simulation system, including a hydrogen fuel cell system, an electronic load, a simulation host computer, and a real-time simulation target machine;

[0008] The simulation master control computer runs the simulation master control software and the ground station software; the simulation master control software realizes the functions of editing, compiling and downloading the hydrogen energy UAV model to the real-time simulation target machine, starting and stopping the simulation, and receiving, displaying and storing the simulation data sent back by the real-time simulation target machine; the ground station software communicates with the real-time simulation target machine through the network to realize the functions of setting the initial parameters of the UAV, loading the route, sending the remote control command during the flight process, and displaying the telemetry data;

[0009] The real-time simulation target machine runs the flight controller model, motor speed / power model, motor power / thrust model, and six-degree-of-freedom motion model of the UAV; the real-time simulation target machine is configured with a CAN card and a network interface hardware module; the flight controller model is the flight control law algorithm of the UAV, and the model calculates and generates the motor speed command and the position command of each rudder of the UAV; the motor speed / power model calculates the power required for the motor to reach a given speed in the current flight state according to the received speed command; the motor power / thrust model calculates the thrust generated by the motor in the current state according to the actual power value generated by the fuel cell received; the six-degree-of-freedom motion model solves the six-degree-of-freedom motion equation of the UAV according to the thrust generated, the position of each rudder, and the aerodynamic characteristics and mass characteristics of the UAV itself;

[0010] The hydrogen fuel cell system receives the required power instruction sent by the real-time simulation target machine through the CAN interface, controls the hydrogen and air inside its own system to perform chemical reactions in the fuel cell stack and generate electrical energy according to the power instruction, and sends the actual power value generated to the real-time simulation target machine through the CAN interface;

[0011] The electronic load is used to consume the electrical energy generated by the hydrogen fuel cell system;

[0012] Step 2: Establish a hydrogen energy UAV model in the simulation host computer and compile the model; download the model to the real-time simulation target machine through the simulation host software;

[0013] Step 3: Perform initial settings in the ground control station software, load the flight route of the drone and send the route to the real-time simulation target machine, and set the drone to the control state of take-off;

[0014] Step 4: Start the hydrogen fuel cell system, perform a system self-check, and enter the operating state after the self-check is completed;

[0015] Step 5: Start the electronic load and put it in operation state;

[0016] Step 6: Start the simulation model in the simulation master control software on the simulation master control computer, the simulation starts, and the ground station software sends a take-off command;

[0017] Step 7: The flight controller model generates corresponding servo control instructions and motor speed instructions of the UAV through flight control law calculation according to the UAV's flight status and current flight parameters given by the ground station software;

[0018] Step 8: The speed command is sent to the motor speed / power model for solution to obtain the required power at this time; the required power is sent to the hydrogen fuel cell system through the corresponding CAN channel on the CAN card of the real-time simulation target machine; the calculation formula of the motor speed / power model is:

[0019]

[0020] Among them, P require is the required power; n cmd is the target speed command; D is the diameter of the propeller; ρ is the current air density; C P is the propeller thrust coefficient, C P is a nonlinear function of height H, rotation speed n, and aircraft speed V; η motor is the efficiency of the motor; η grid is the efficiency of the aircraft power grid; the parameters involved in this step are all obtained by wind tunnel tests or fluid simulation calculations;

[0021] Step 9: Hydrogen fuel receives power instruction P require Afterwards, it controls the chemical reaction between hydrogen and air to generate electrical energy according to power requirements;

[0022] Step 10: The hydrogen fuel cell transmits the generated electrical energy to the electronic load for energy consumption, and sends the actual generated electrical power to the real-time simulation target machine through the CAN port;

[0023] Step 11: After the real-time simulation target machine collects the actual power generated by the hydrogen fuel cell, it sends the actual power value to the motor power / thrust model to calculate and obtain the thrust of the motor at this time; the calculation formula of the motor power / thrust model is:

[0024] T=C t ·n 2 ·D 4 ·ρ

[0025] Where, T is thrust; n is the current motor speed; D is the diameter of the propeller; ρ is the current air density; C t is the propeller thrust coefficient, C t is a nonlinear function of height H, rotation speed n, and aircraft speed V; the parameters involved in this step are all obtained by wind tunnel tests or fluid simulation calculations;

[0026] Step 12: According to the obtained motor thrust and the instructions of each servo, the UAV six-degree-of-freedom motion model solves the motion equation to obtain the motion state of the UAV at the next moment; if the simulation test is not completed, return to step 7 to form a closed loop; if the simulation test is completed, enter step 13;

[0027] Step 13: Turn off the fuel cell system and the electronic load, and stop the simulation operation on the simulation host computer;

[0028] Step 14: Analyze the UAV flight data and fuel cell related data during the flight simulation process by simulating the simulation data recorded on the simulation host computer.

[0029] Preferably, the hydrogen energy UAV model is established in Matlab software Simulink tool.

[0030] Preferably, the flight status of the drone includes manual flight and route automatic flight.

[0031] The beneficial effects of the present invention are as follows:

[0032] 1. The method of the present invention can integrate the physical closed loop of hydrogen fuel cell hardware into the semi-physical simulation test of UAV.

[0033] 2. The method of the present invention can dynamically test the power output dynamic characteristics of the hydrogen fuel cell according to the dynamic power demand of the UAV flight through flight simulation. It is not only a dynamic test of the performance of the hydrogen fuel cell itself, but also a dynamic test of whether the performance of the hydrogen fuel cell meets the flight requirements of the UAV. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1It is a structural diagram of the semi-physical simulation system of the present invention. DETAILED DESCRIPTION

[0035] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0036] The purpose of the present invention is to propose a semi-physical simulation method for the hardware-in-the-loop of a hydrogen energy UAV fuel cell. Through semi-physical simulation tests, various dynamic and steady-state flight conditions of the UAV within the full envelope are simulated, and the power output response characteristics of the hydrogen fuel cell are tested to verify whether they meet the flight requirements of the UAV.

[0037] like Figure 1 As shown in the figure, the physical hardware under test, the simulation system and the connection relationship between each part are described.

[0038] The semi-physical simulation system includes a hydrogen fuel cell system, an electronic load, a simulation host computer and a real-time simulation target machine.

[0039] The simulation master control computer runs the simulation master control software and ground station software. The simulation master control software realizes the functions of editing, compiling and downloading the hydrogen energy UAV model to the real-time simulation target machine, starting and stopping the simulation, and receiving, displaying and storing the simulation data sent back by the real-time simulation target machine. The ground station software communicates with the real-time simulation target machine through the network to realize the functions of setting the initial parameters of the UAV, loading the route, sending the remote control command during the flight process, and displaying the telemetry data.

[0040] The real-time simulation target machine runs the UAV's flight controller model, motor speed / power model, motor power / thrust model, and six-degree-of-freedom motion model. At the same time, the real-time simulation target machine is also equipped with hardware modules such as CAN card and network interface. The flight controller model is the flight control law algorithm of the UAV, and the model calculates and generates the motor speed command and the position command of each rudder of the UAV. The motor speed / power model calculates the power required for the motor to reach a given speed in the current flight state based on the received speed command. The motor power / thrust model calculates the thrust generated by the motor in the current state based on the actual power value generated by the fuel cell received. The six-degree-of-freedom motion model solves the six-degree-of-freedom motion equation of the UAV based on the thrust generated, the position of each rudder, and the aerodynamic characteristics and mass characteristics of the UAV itself.

[0041] The hydrogen fuel cell system receives the required power instruction sent by the real-time simulation target machine through the CAN interface, controls the hydrogen and air inside its own system to undergo chemical reaction in the fuel cell stack and generate electrical energy according to the power instruction, and sends the actual power value generated to the real-time simulation target machine through the CAN interface.

[0042] The electronic load is used to consume the electrical energy generated by the hydrogen fuel cell system.

[0043] Example:

[0044] The UAV model was established using the Matlab software Simulink tool. The relevant data required to establish the UAV's six-degree-of-freedom motion model, motor speed / power model, and motor power / thrust model were obtained through wind tunnel tests. The flight controller model was established based on the UAV's flight control system design report.

[0045] The simulation master control software is Matlab software Simulink Real-time Explorer tool. The ground station software is the actual ground station software that the UAV will use for flight test. The simulation master control computer is a ThinkPad laptop.

[0046] The real-time simulation target machine is a Speedgoat brand Performance series simulator, and the configured CAN card model is IO602.

[0047] The hydrogen fuel cell system and electronic load are customized products for this UAV project.

[0048] Before the simulation test begins, a flight test outline for the UAV is developed based on the performance index requirements of the UAV. The flight test outline specifies the flight subjects and flight profiles based on the flight envelope of the UAV.

[0049] The specific simulation test process is described below.

[0050] Step 1: Compile the UAV model in the simulation master control software in the simulation master control computer and download it to the real-time simulation target machine;

[0051] Step 2: Perform initial settings in the ground control station software, formulate the flight route of the UAV according to the flight test outline, load the flight route of the UAV and send the route to the real-time simulation target machine, and set the UAV to the control state of take-off;

[0052] Step 3: Start the hydrogen fuel cell system, perform a system self-check, and enter the operating state after the self-check is completed;

[0053] Step 4: Start the electronic load and put it in operation state;

[0054] Step 5: Start the simulation model in the simulation master control software on the simulation master control computer, the simulation starts, and the ground station software sends a take-off command;

[0055] Step 6: The flight controller model generates corresponding servo control instructions and motor speed instructions of the UAV through flight control law calculation according to the UAV flight route and current flight parameters given by the ground station software;

[0056] Step 7: The speed command is sent to the motor speed / power model for solution to obtain the required power at this time; the required power is sent to the hydrogen fuel cell system through the corresponding CAN channel on the CAN card of the real-time simulation target machine;

[0057] Step 8: After receiving the power command, the hydrogen fuel controls the chemical reaction between hydrogen and air to generate electrical energy according to the power demand;

[0058] Step 9: The hydrogen fuel cell transmits the generated electrical energy to the electronic load for energy consumption, and sends the actual generated electrical power to the real-time simulation target machine through the IO602 CAN card;

[0059] Step 10: After the real-time simulation target machine collects the actual power generated by the hydrogen fuel cell, the actual power value is sent to the motor power / thrust model for solution to obtain the thrust of the motor at this time.

[0060] Step 11: According to the motor thrust and the commands of each servo obtained above, the UAV six-degree-of-freedom motion model solves the motion equation to obtain the motion state of the UAV at the next moment. If the simulation test is not completed, return to step 6 to form a closed loop; if the simulation test is completed, go to step 12.

[0061] Step 12: Turn off the fuel cell system and electronic load, and stop the simulation on the simulation host computer.

[0062] Step 13: Analyze the UAV flight data and fuel cell related data during the flight simulation process by simulating the simulation data recorded on the simulation host computer.

Claims

1. A semi-physical simulation method for hydrogen energy UAV fuel cell hardware-in-the-loop, characterized in that: The steps include: Step 1: Build a semi-physical simulation system, including a hydrogen fuel cell system, an electronic load, a simulation host computer, and a real-time simulation target machine; The simulation master control computer runs the simulation master control software and the ground station software; The simulation master control software realizes the functions of editing, compiling and downloading the hydrogen energy UAV model to the real-time simulation target machine, starting and stopping the simulation, and receiving, displaying and storing the simulation data sent back by the real-time simulation target machine; the ground station software communicates with the real-time simulation target machine through the network to realize the functions of setting the initial parameters of the UAV, loading the route, sending the remote control command during the flight process, and displaying the telemetry data; The real-time simulation target machine runs the flight controller model, motor speed / power model, motor power / thrust model, and six-degree-of-freedom motion model of the UAV; the real-time simulation target machine is configured with a CAN card and a network interface hardware module; the flight controller model is the flight control law algorithm of the UAV, and the model calculates and generates the motor speed command and the position command of each rudder of the UAV; the motor speed / power model calculates the power required for the motor to reach a given speed in the current flight state according to the received speed command; the motor power / thrust model calculates the thrust generated by the motor in the current state according to the actual power value generated by the fuel cell received; the six-degree-of-freedom motion model solves the six-degree-of-freedom motion equation of the UAV according to the thrust generated, the position of each rudder, and the aerodynamic characteristics and mass characteristics of the UAV itself; The hydrogen fuel cell system receives the required power instruction sent by the real-time simulation target machine through the CAN interface, controls the hydrogen and air inside its own system to perform chemical reactions in the fuel cell stack and generate electrical energy according to the power instruction, and sends the actual power value generated to the real-time simulation target machine through the CAN interface; The electronic load is used to consume the electrical energy generated by the hydrogen fuel cell system; Step 2: Establish a hydrogen energy UAV model in the simulation host computer and compile the model; download the model to the real-time simulation target machine through the simulation host software; Step 3: Perform initial settings in the ground control station software, load the flight route of the drone and send the route to the real-time simulation target machine, and set the drone to the control state of take-off; Step 4: Start the hydrogen fuel cell system, perform a system self-check, and enter the operating state after the self-check is completed; Step 5: Start the electronic load and put it in operation state; Step 6: Start the simulation model in the simulation master control software on the simulation master control computer, the simulation starts, and the ground station software sends a take-off command; Step 7: The flight controller model generates corresponding servo control instructions and motor speed instructions of the UAV through flight control law calculation according to the UAV's flight status and current flight parameters given by the ground station software; Step 8: The speed command is sent to the motor speed / power model for solution to obtain the required power at this time; the required power is sent to the hydrogen fuel cell system through the corresponding CAN channel on the CAN card of the real-time simulation target machine; the calculation formula of the motor speed / power model is: Among them, P require is the required power; n cmd is the target speed command; D is the diameter of the propeller; ρ is the current air density; C P is the propeller thrust coefficient, C P is a nonlinear function of height H, rotation speed n, and aircraft speed V; η motor is the efficiency of the motor; η grid is the efficiency of the aircraft power grid; the parameters involved in this step are all obtained by wind tunnel tests or fluid simulation calculations; Step 9: Hydrogen fuel receives power instruction P require Afterwards, it controls the chemical reaction between hydrogen and air to generate electrical energy according to power requirements; Step 10: The hydrogen fuel cell transmits the generated electrical energy to the electronic load for energy consumption, and sends the actual generated electrical power to the real-time simulation target machine through the CAN port; Step 11: After the real-time simulation target machine collects the actual power generated by the hydrogen fuel cell, the actual power value is sent to the motor power / thrust model for solution to obtain the thrust of the motor at this time; the calculation formula of the motor power / thrust model is: T=C t ·n 2 ·D 4 ·ρ Where, T is thrust; n is the current motor speed; D is the diameter of the propeller; ρ is the current air density; C t is the propeller thrust coefficient, C t is a nonlinear function of height H, rotation speed n, and aircraft speed V; the parameters involved in this step are all obtained by wind tunnel tests or fluid simulation calculations; Step 12: According to the obtained motor thrust and the instructions of each servo, the UAV six-degree-of-freedom motion model solves the motion equation to obtain the motion state of the UAV at the next moment; if the simulation test is not completed, return to step 7 to form a closed loop; if the simulation test is completed, enter step 13; Step 13: Turn off the fuel cell system and the electronic load, and stop the simulation on the simulation host computer; Step 14: Analyze the UAV flight data and fuel cell related data during the flight simulation process by simulating the simulation data recorded on the simulation host computer.

2. According to claim 1, a semi-physical simulation method of a hydrogen energy UAV fuel cell hardware-in-the-loop is characterized in that: The hydrogen energy UAV model is established in the Matlab software Simulink tool.

3. According to claim 1, a semi-physical simulation method of a hydrogen energy UAV fuel cell hardware-in-the-loop is characterized in that: The flight status of the UAV includes manual flight and route automatic flight.

Citation Information

Cited By

  • Hardware-in-the-loop simulation system-oriented air path fault injection simulation method for proton exchange membrane fuel cell

    CN119416461A

  • Fuel cell and lithium battery hybrid unmanned aerial vehicle semi-physical test system and method

    CN119568432A

  • Fuel cell and lithium battery hybrid unmanned aerial vehicle semi-physical test system and method

    CN119568432B

  • Distributed electric aircraft risk source determination method and system based on flight profile

    CN122133313A