CN110459785A - The test macro and test method of fuel cell - Google Patents
The test macro and test method of fuel cell Download PDFInfo
- Publication number
- CN110459785A CN110459785A CN201910757439.1A CN201910757439A CN110459785A CN 110459785 A CN110459785 A CN 110459785A CN 201910757439 A CN201910757439 A CN 201910757439A CN 110459785 A CN110459785 A CN 110459785A
- Authority
- CN
- China
- Prior art keywords
- model
- fuel cell
- module
- control strategy
- control
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/367—Software therefor, e.g. for battery testing using modelling or look-up tables
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/378—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC] specially adapted for the type of battery or accumulator
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/389—Measuring internal impedance, internal conductance or related variables
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M8/00—Fuel cells; Manufacture thereof
- H01M8/04—Auxiliary arrangements, e.g. for control of pressure or for circulation of fluids
- H01M8/04298—Processes for controlling fuel cells or fuel cell systems
- H01M8/04305—Modeling, demonstration models of fuel cells, e.g. for training purposes
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/30—Hydrogen technology
- Y02E60/50—Fuel cells
Abstract
The invention discloses a kind of test macro of fuel cell and test methods.Test macro includes: the first model buildings module, for building fuel cell mode;Second model buildings module, for building Primary control strategies model;Control module obtains the first control strategy model for connecting the first, second model buildings module implementation model assemblage on-orbit after optimization;First simulation hardware module is used for fuel cell operation model;Second simulation hardware module, for running the first control strategy model;Control module is also used to connect the first, second simulation hardware module and realizes hardware-in-loop simulation, and the second control strategy model is obtained after optimization;Second simulation hardware module is also used to run the second control strategy model;Control module is also used to connect the second simulation hardware module and fuel cell realizes physical varification, and target control Policy model is obtained after optimization.Can either real-time simulation validation control strategy realize the quick exploitation of control strategy and without writing code manually.
Description
Technical field
The present invention relates to the test macros and test method of field of fuel cell technology more particularly to a kind of fuel cell.
Background technique
Fuel cell system is a kind of complexity for gathering air system, hydrogen gas system, heat management system and electrical system
System.The exploitation of fuel cell system includes the exploitation of the controller of fuel cell system, in the controller of fuel cell system
On can verify the control strategy of fuel cell system.But the controller development time of fuel cell system is long and develops
At high cost, which greatly enhances the development difficulties of fuel cell system.Current fuel cell system testboard is based on industrial personal computer
Cooperate CompactRIO to control fuel cell system, wherein control software is customized based on labview, is still difficult to quickly develop
Control strategy.
Summary of the invention
The technical problem to be solved by the present invention is in order to overcome the testboard of fuel cell to be in the prior art difficult to quickly open
The defect for sending out control strategy, provides the test macro and test method of a kind of fuel cell.
The present invention is to solve above-mentioned technical problem by following technical proposals:
A kind of test macro of fuel cell, it is characterized in that, the test macro includes:
First model buildings module, for building the fuel cell mode of the fuel cell;
Second model buildings module, for building the Primary control strategies model of the fuel cell;
Control module exists for connecting the first model buildings module and the second model buildings module implementation model
Ring emulation, for verifying the Primary control strategies model, the control module is also used to according to institute the model assemblage on-orbit
State model assemblage on-orbit result the Primary control strategies model is optimized and is demarcated after obtain the first control strategy mould
Type;
First simulation hardware module, for running the fuel cell mode;
Second simulation hardware module, for running the first control strategy model;
The control module is also used to connect the first simulation hardware module and the second simulation hardware module is realized
Hardware-in-loop simulation, for verifying the first control strategy model, the control module is also used to the hardware-in-loop simulation
The second control is obtained after the first control strategy model is optimized and demarcated according to the result of the hardware-in-loop simulation
Policy model;
The second simulation hardware module is also used to run the second control strategy model;
The control module is also used to connect the second simulation hardware module and the fuel cell realizes physical varification,
For verifying the second control strategy model, the control module is also used to according to the physical varification physical varification
As a result target control Policy model is obtained after the second control strategy model being optimized and demarcated.
Preferably, the fuel cell mode includes pile model, electrical system model, air system model, hydrogen system
At least one of system model, heat management system model, model of parts;
Wherein, the model of parts include temperature sensor model, pressure sensor model, current sensor model,
At least one of voltage sensor model, solenoid valve model, relay model, air compressor machine model, water pump model.
Preferably, the Primary control strategies model includes:
The parameter of electric circuit control strategy model, the electric circuit control strategy model includes the pile of the fuel cell
Run power;
The parameter of air road control strategy model, the air road control strategy model includes the air of the fuel cell
The pressure and/or flow on road;
The parameter of hydrogen road control strategy model, the hydrogen road control strategy model includes the hydrogen of the fuel cell
The pressure and/or flow on road;
The parameter of heat management control strategy model, the heat management control strategy model includes the operation of the fuel cell
Temperature.
Preferably, the first model buildings module is also used to build the kinetic model of vehicle, the energy of the vehicle
Source includes power battery and the fuel cell;
The first simulation hardware module is also used to run the kinetic model;
The control module is also used to be sequentially connected the second simulation hardware module, the fuel cell and described
One simulation hardware module realizes energy distribution verifying, and the energy distribution verifying is for verifying the fuel cell in the vehicle
In energy distribution, the control module be also used to according to the energy distribute verifying result advanced optimize and demarcate described in
Target control Policy model.
Preferably, the first model buildings module uses Cruise M (Vehicular system grade Simulation Platform Software) platform;
And/or the second model buildings module uses Matlab Simulink (Visual Simulation Tools) platform;
And/or the first simulation hardware module using NI PXI (NI company publication based on PC (Personnel
Computer, PC) measurement and automation platform) platform;
And/or the second simulation hardware module using dSPACE, ((opened by German dSPACE company by real-time emulation system
The software and hardware workbench of a set of control system's development and HWIL simulation based on MATLAB Simulink of hair))
MicroAutoBox (vehicle-mounted dedicated cabinet, a kind of tool that dSPACE is provided) platform.
A kind of test method of fuel cell, it is characterized in that, the test method utilizes the test of above-mentioned fuel cell
System realizes that the test method includes:
First model buildings module builds the fuel cell mode of the fuel cell;
Second model buildings module builds the Primary control strategies model of the fuel cell;
It is imitative in ring that control module connects the first model buildings module and the second model buildings module implementation model
Very, the model assemblage on-orbit is for verifying the Primary control strategies model;
The control module optimizes the Primary control strategies model according to the result of the model assemblage on-orbit
With the first control strategy model is obtained after calibration;
First simulation hardware module runs the fuel cell mode;
Second simulation hardware module runs the first control strategy model;
The control module connects the first simulation hardware module and the second simulation hardware module realizes that hardware exists
Ring emulation, the hardware-in-loop simulation is for verifying the first control strategy model;
The control module optimizes the first control strategy model according to the result of the hardware-in-loop simulation
With the second control strategy model is obtained after calibration;
The second simulation hardware module runs the second control strategy model;
The control module connects the second simulation hardware module and the fuel cell realizes physical varification, the reality
Object is verified for verifying the second control strategy model;
The control module is optimized and is marked to the second control strategy model according to the result of the physical varification
Target control Policy model is obtained after fixed.
Preferably, the fuel cell mode includes pile model, electrical system model, air system model, hydrogen system
At least one of system model, heat management system model, model of parts;
Wherein, the model of parts include temperature sensor model, pressure sensor model, current sensor model,
At least one of voltage sensor model, solenoid valve model, relay model, air compressor machine model, water pump model.
Preferably, the Primary control strategies model includes:
The parameter of electric circuit control strategy model, the electric circuit control strategy model includes the pile of the fuel cell
Run power;
The parameter of air road control strategy model, the air road control strategy model includes the air of the fuel cell
The pressure and/or flow on road;
The parameter of hydrogen road control strategy model, the hydrogen road control strategy model includes the hydrogen of the fuel cell
The pressure and/or flow on road;
The parameter of heat management control strategy model, the heat management control strategy model includes the operation of the fuel cell
Temperature.
Preferably, being carried out according to the result of the physical varification to the second control strategy model in the control module
After the step of obtaining target control Policy model after optimization and calibration, the test method further include:
The first model buildings module builds the kinetic model of vehicle, and the energy source of the vehicle includes power battery
With the fuel cell;
The first simulation hardware module runs the kinetic model;
The control module is sequentially connected the second simulation hardware module, the fuel cell and first hardware
Emulation module realizes energy distribution verifying, and the energy distribution verifying is for verifying energy of the fuel cell in the vehicle
Amount distribution;
The control module advanced optimizes and demarcates the target control plan according to the result of energy distribution verifying
Slightly model.
Preferably, the first model buildings module uses Cruise M platform;
And/or the second model buildings module uses Matlab Simulink platform;
And/or the first simulation hardware module uses NI PXI platform;
And/or the second simulation hardware module uses dSPACE MicroAutoBox platform.
The positive effect of the present invention is that: the application can realize the control strategy model to fuel cell respectively,
Namely the model of control strategy is verified in ring, hardware in loop verifying and physical varification, and above-mentioned verifying can either be realized pair
The real-time simulation validation of control strategy, and without writing or modifying manually code, realize the control plan of quickly exploitation fuel cell
Slightly.
Detailed description of the invention
Fig. 1 is the module diagram according to the test macro of the fuel cell of the embodiment of the present invention 1.
Fig. 2 is the module diagram of the fuel cell in the embodiment of the present invention 1.
Fig. 3 is the connection schematic diagram according to model assemblage on-orbit in the test macro of the fuel cell of the embodiment of the present invention 1.
Fig. 4 is the connection schematic diagram according to hardware-in-loop simulation in the test macro of the fuel cell of the embodiment of the present invention 1.
Fig. 5 is the connection schematic diagram according to physical varification in the test macro of the fuel cell of the embodiment of the present invention 1.
Fig. 6 is the connection schematic diagram according to energy distribution verifying in the test macro of the fuel cell of the embodiment of the present invention 2.
Fig. 7 is the flow chart according to the test method of the fuel cell of the embodiment of the present invention 3.
Fig. 8 is the partial process view according to the test method of the fuel cell of the embodiment of the present invention 4.
Specific embodiment
The present invention is further illustrated below by the mode of embodiment, but does not therefore limit the present invention to the reality
It applies among a range.
Embodiment 1
The present invention provides a kind of test macro of fuel cell, and Fig. 1 shows the module diagram of the present embodiment.Referring to figure
1, the test macro of the present embodiment includes: the first model buildings module 1, the second model buildings module 2, the first simulation hardware module
3, the second simulation hardware module 4 and control module 5.
Specifically, in the present embodiment, Fig. 2 shows the module diagrams of fuel cell, and referring to Fig. 2, fuel cell can
To include the subsystems such as pile, electrical system, air system, hydrogen gas system, heat management system and temperature sensor, pressure
The components such as sensor, current sensor, voltage sensor, solenoid valve, relay, pneumatics device, water pump, radiator fan.
First model buildings module 1 builds the fuel of the fuel cell for the concrete structure design of fuel cell
Battery model, wherein the first model buildings module 1 can use Cruise M platform.It specifically, in the present embodiment, can be with
Fuel cell mode is built in Cruise M platform, wherein fuel cell mode may include pile model, electrical system mould
The subsystem models such as type, air system model, hydrogen gas system model, heat management system model and temperature sensor model, pressure
Force snesor model, current sensor model, voltage sensor model, solenoid valve model, relay model, air compressor machine model,
The model of parts such as water pump model.
Second model buildings module 2 builds the initial of the fuel cell for the concrete structure design of fuel cell
Control strategy model, wherein the second model buildings module 2 can use Matlab Simulink platform.Specifically, in this reality
It applies in example, Primary control strategies model can be built in Matlab Simulink platform, to develop the initial control of fuel cell
System strategy.Wherein, Primary control strategies model may include electric circuit control strategy model, and parameter may include fuel cell
Pile run power;Air road control strategy model, parameter may include the pressure and/or stream on the air road of fuel cell
Amount;Hydrogen road control strategy model, parameter may include the pressure and/or flow on the hydrogen road of fuel cell;Heat management control
Policy model processed, parameter may include the running temperature of fuel cell.
Control module 5 is imitative in ring for connecting the first model buildings module 1 and 2 implementation model of the second model buildings module
Very, to verify Primary control strategies model, Fig. 3 shows the connection schematic diagram of model assemblage on-orbit.Control module 5 is also used to root
The first control strategy model is obtained after Primary control strategies model is optimized and demarcated according to the result of model assemblage on-orbit, is wrapped
Include optimization and calibrated electric circuit control strategy model, air road control strategy model, hydrogen road control strategy model, heat pipe
Manage control strategy model.
For example, hydrogen road control strategy model corresponds to PID (ratio (proportion), integral (integral), differential
(differential)) it controls, can be demarcated by model assemblage on-orbit to optimal in the case where changing different external conditions
Solution.For example, being the fluctuation minimum so that pressure value, P can be optimized under conditions of changing front end loine pressure
Three (proportion, ratio), I (integral, integral), D (differential, differential) constants;Changing solenoid valve
Under conditions of the response valve time, optimize tri- constants of P, I, D;Again under conditions of changing hydrogen gas consumption, optimize P, I, D tri-
Constant;Finally according to the mean square deviation of pressure oscillation and amplitude, tri- constants of optimal P, I, D are calculated.
After completing model assemblage on-orbit, the first simulation hardware module 3 is for running what the first model buildings module 1 was built
Fuel cell mode, wherein the first simulation hardware module 3 can use NI PXI platform.Specifically, Cruise M platform can be with
The fuel cell mode built is packaged into after executable code and is downloaded in NI PXI platform, to be run in NI PXI platform
Fuel cell mode simulates true fuel cell.
Second simulation hardware module 4 is for running the first control strategy model obtained after model assemblage on-orbit, wherein
Second simulation hardware module 4 can use dSPACE MicroAutoBox platform.Specifically, in the present embodiment, can pass through
DSPACE downloads to the first control strategy model compilation in MicroAutoBox, and by the I/O (Input/ of dSPACE
Output, input/output) to the first control strategy model, realization is transported in dSPACE MicroAutoBox platform for resource distribution
Row the first control strategy model.
Control module 5 is also used to connect the first simulation hardware module 3 and the second simulation hardware module 4 realizes that hardware in loop is imitative
Very, to verify the first control strategy model, Fig. 4 shows the connection schematic diagram of hardware-in-loop simulation.Control module 5 is also used to root
The second control strategy model is obtained after the first control strategy model is optimized and demarcated according to the result of hardware-in-loop simulation, is wrapped
Include optimization and calibrated electric circuit control strategy model, air road control strategy model, hydrogen road control strategy model, heat pipe
Manage control strategy model.In addition, the hardware output characteristics of fuel cell mode can also be verified based on hardware-in-loop simulation,
In, hardware output characteristics includes the hardware output characteristics of the subsystem model and model of parts in fuel cell mode, for example,
The opening time of hydrogen injection valve in the system model of hydrogen road and frequency, the electrical characteristic of sensor, the electrical spy of relay
Property and opening feature etc..
For example, dSPACE platform has sensor interface for hydrogen injection valve, the first control strategy model is run,
And the opening and closing of hydrogen injection valve is controlled according to the pressure on the hydrogen road of acquisition, specifically, when the pressure on hydrogen road is more than target
When value, hydrogen injection valve is closed, when the pressure on hydrogen road is lower than target value, opens hydrogen injection valve, hydrogen is verified with this
The hardware output characteristics of road system.
After completing hardware-in-loop simulation, the second simulation hardware module 4 also runs the second control strategy model, specifically,
The second control strategy model compilation can be downloaded in MicroAutoBox by dSPACE, and by the I/O interface of dSPACE
Resource distribution is to the second control strategy model.Control module 5 is also used to connect the second simulation hardware module and fuel cell is realized
Physical varification directly controls fuel cell with verifying the second control strategy model operated in dSPACE, and Fig. 5 is shown
The connection schematic diagram of physical varification.Specifically, by the temperature sensor of fuel cell, pressure sensor, current sensor, voltage
Sensor is connected to AI (Analog Input, simulation input) interface of MicroAutoBox, and solenoid valve, relay are connected to
DO (Digital Output, numeral output) interface of MicroAutoBox, air compressor machine, water pump etc. are configured to CAN
(Controller Area Network, controller local area network) communication interface.Control module 5 is also used to according to physical varification
As a result, namely fuel cell components characteristic (including response characteristic and electrical characteristic), to the second control strategy model into
Target control Policy model, including optimization and calibrated electric circuit control strategy model, air are obtained after row optimization and calibration
Road control strategy model, hydrogen road control strategy model, heat management control strategy model.
In the present embodiment, control module 5 can obtain the arbitrary parameter of each control strategy model, can also automatically generate
Based on the different test cases in the case where one target component of change, and compared under different target parameter by contrast test
Test result, to find the optimal solution of the target component, and then optimal solution calibration is carried out to corresponding control strategy model
Test is to verify the optimal solution.
So far, it realizes in the test macro of fuel cell and exists to the model of control strategy model namely control strategy
Ring verifying, hardware in loop verifying and physical varification, and above-mentioned verifying can either be realized and be tested the real-time simulation of control strategy
Card, and without writing or modifying manually code, realize the control strategy of quickly exploitation fuel cell.
Embodiment 2
The present embodiment provides a kind of test macro of fuel cell on the basis of embodiment 1, compared with embodiment 1, this reality
The test macro for applying example can also realize the simulating, verifying distributed vehicle energy, wherein the energy source of vehicle includes power electric
Fuel cell in pond and embodiment 1.
On the basis of embodiment 1 completes physical varification, the first model buildings module 1 can be also used for building the dynamic of vehicle
Mechanical model, the first simulation hardware module 3 can be used for running the kinetic model.Control module 5 can be also used for successively connecting
It connects the second simulation hardware module 4, fuel cell and the first simulation hardware module 3 and realizes fuel cell and vehicle dynamic model
Interaction, to realize the simulating, verifying of energy distribution, and then verify distribution of the output power in vehicle energy of fuel cell,
Fig. 6 shows the connection schematic diagram of energy distribution verifying.Control module 5 can be also used for according to energy distribute verifying result into
One-step optimization and spotting control strategy model, to obtain final control strategy, to improve the durability of fuel cell.Tool
Body, under the kinetic model of vehicle is built in Cruise M platform and the kinetic model is packaged into after executable code
It is downloaded in NI PXI platform, to realize the optimization and calibration of target control Policy model.
Control strategy model in the present embodiment can also include that energy distributes control strategy model, in the base of embodiment 1
On plinth, the test macro of the present embodiment can with the operation distribution condition of the output power of fuel cell in the car, into
The control strategy of one-step optimization fuel cell, to realize using power battery and fuel cell as reasonable energy in the vehicle of energy source
Amount distribution.
Embodiment 3
The present invention provides a kind of test method of fuel cell, wherein test method utilizes the fuel cell in embodiment 1
Test macro realize, fuel cell may include pile, electrical system, air system, hydrogen gas system, heat as also shown in Figure 2
The subsystems such as management system and temperature sensor, pressure sensor, current sensor, voltage sensor, solenoid valve, relay
The components such as device, pneumatics device, water pump, radiator fan.Fig. 7 shows the flow chart of the present embodiment, referring to Fig. 7, the present embodiment
Test method includes:
S1, the first model buildings module build the fuel cell mode of fuel cell.
The concrete structure design of first model buildings module fuel cell builds the fuel cell of the fuel cell
Model, wherein the first model buildings module can use Cruise M platform.Specifically, in the present embodiment, Ke Yi
Fuel cell mode is built in Cruise M platform, wherein fuel cell mode may include pile model, electrical system mould
The subsystem models such as type, air system model, hydrogen gas system model, heat management system model and temperature sensor model, pressure
Force snesor model, current sensor model, voltage sensor model, solenoid valve model, relay model, air compressor machine model,
The model of parts such as water pump model.
S2, the second model buildings module build the Primary control strategies model of fuel cell.
The concrete structure design of second model buildings module fuel cell builds the initial control of the fuel cell
Policy model, wherein the second model buildings module can use Matlab Simulink platform.Specifically, in the present embodiment
In, Primary control strategies model can be built in Matlab Simulink platform, to develop the initial control plan of fuel cell
Slightly.Wherein, Primary control strategies model may include electric circuit control strategy model, and parameter may include the electricity of fuel cell
Stack operation power;Air road control strategy model, parameter may include the pressure and/or flow on the air road of fuel cell;
Hydrogen road control strategy model, parameter may include the pressure and/or flow on the hydrogen road of fuel cell;Heat management controls plan
Slightly model, parameter may include the running temperature of fuel cell.
S3, control module connect the first model buildings module and the second model buildings module implementation model assemblage on-orbit.
S4, control module obtain after Primary control strategies model is optimized and demarcated according to the result of model assemblage on-orbit
To the first control strategy model.
Control module connects the first model buildings module and the second model buildings module implementation model assemblage on-orbit, with verifying
Primary control strategies model, the connection schematic diagram of model assemblage on-orbit is as also shown in Figure 3.First control strategy model may include
Optimization and calibrated electric circuit control strategy model, air road control strategy model, hydrogen road control strategy model, heat management
Control strategy model.
For example, hydrogen road control strategy model corresponds to PID control, can lead in the case where changing different external conditions
The calibration of model assemblage on-orbit is crossed to optimal solution.For example, being the fluctuation minimum so that pressure value, front end pipeline pressure can changed
Under conditions of power, optimize tri- constants of P, I, D;Under conditions of changing the solenoid valve response valve time, optimization P, I, D tri- is often
Amount;Again under conditions of changing hydrogen gas consumption, optimize tri- constants of P, I, D;Finally according to the mean square deviation of pressure oscillation and width
Value, calculates tri- constants of optimal P, I, D.
S5, the first simulation hardware module fuel cell operation model.
First simulation hardware module runs the fuel cell mode that the first model buildings module is built, wherein the first hardware
Emulation module can use NI PXI platform.Specifically, the fuel cell mode built can be packaged by Cruise M platform
Downloaded to after executable code in NI PXI platform, in the NI PXI platform fuel cell operation model simulate true combustion
Expect battery.
S6, the second simulation hardware module run the first control strategy model.
Second simulation hardware module runs the first control strategy model obtained after model assemblage on-orbit, wherein second
Simulation hardware module can use dSPACE MicroAutoBox platform.Specifically, in the present embodiment, can pass through
DSPACE downloads to the first control strategy model compilation in MicroAutoBox, and by the I/O (Input/ of dSPACE
Output, input/output) to the first control strategy model, realization is transported in dSPACE MicroAutoBox platform for resource distribution
Row the first control strategy model.
S7, control module connect the first simulation hardware module and the second simulation hardware module realizes hardware-in-loop simulation.
S8, control module obtain after the first control strategy model is optimized and demarcated according to the result of hardware-in-loop simulation
To the second control strategy model.
Control module connects the first simulation hardware module and the second simulation hardware module realizes hardware-in-loop simulation, with verifying
First control strategy model, the connection schematic diagram of hardware-in-loop simulation is as also shown in Figure 4.Second control strategy model may include
Optimization and calibrated electric circuit control strategy model, air road control strategy model, hydrogen road control strategy model, heat management
Control strategy model.In addition, the hardware output characteristics of fuel cell mode can also be verified based on hardware-in-loop simulation, wherein
Hardware output characteristics includes the hardware output characteristics of the subsystem model and model of parts in fuel cell mode, for example, hydrogen
The opening time of hydrogen injection valve in air-channel system model and frequency, the electrical characteristic of sensor, the electrical characteristic of relay
And opening feature etc..
For example, dSPACE platform has sensor interface for hydrogen injection valve, the first control strategy model is run,
And the opening and closing of hydrogen injection valve is controlled according to the pressure on the hydrogen road of acquisition, specifically, when the pressure on hydrogen road is more than target
When value, hydrogen injection valve is closed, when the pressure on hydrogen road is lower than target value, opens hydrogen injection valve, hydrogen is verified with this
The hardware output characteristics of road system.
S9, the second simulation hardware module run the second control strategy model.
Specifically, the second simulation hardware module can be downloaded to the second control strategy model compilation by dSPACE
In MicroAutoBox, and the I/O interface resource of dSPACE is configured to the second control strategy model.
S10, control module connect the second simulation hardware module and fuel cell realizes physical varification.
S11, control module obtain after the second control strategy model is optimized and demarcated according to the result of physical varification
Target control Policy model.
Control module connects the second simulation hardware module and fuel cell realizes physical varification, operates in dSPACE with verifying
In the second control strategy model fuel cell is directly controlled, the connection schematic diagram of physical varification is as also shown in Figure 5.Specifically
The temperature sensor of fuel cell, pressure sensor, current sensor, voltage sensor are connected to MicroAutoBox by ground
AI (Analog Input, simulation input) interface, solenoid valve, relay are connected to the DO (Digital of MicroAutoBox
Output, numeral output) interface, air compressor machine, water pump etc. are configured to CAN (Controller Area Network, control general ability
Domain network) communication interface.Control module can also according to physical varification as a result, namely fuel cell components characteristic (packet
Include response characteristic and electrical characteristic), target control Policy model is obtained after the second control strategy model is optimized and demarcated,
Including optimization and calibrated electric circuit control strategy model, air road control strategy model, hydrogen road control strategy model, heat
Management and controlling tactics model.
In the present embodiment, control module can obtain the arbitrary parameter of each control strategy model, can also automatically generate
Based on the different test cases in the case where one target component of change, and compared under different target parameter by contrast test
Test result, to find the optimal solution of the target component, and then optimal solution calibration is carried out to corresponding control strategy model
Test is to verify the optimal solution.
So far, it realizes in the test macro of fuel cell and exists to the model of control strategy model namely control strategy
Ring verifying, hardware in loop verifying and physical varification, and above-mentioned verifying can either be realized and be tested the real-time simulation of control strategy
Card, and without writing or modifying manually code, realize the control strategy of quickly exploitation fuel cell.
Embodiment 4
The present embodiment provides a kind of test method of fuel cell on the basis of embodiment 3, compared with embodiment 3, this reality
The test method for applying example can also realize the simulating, verifying distributed vehicle energy, wherein the energy source of vehicle includes power electric
Fuel cell in pond and embodiment 3.Fig. 8 shows the partial process view of the present embodiment, referring to Fig. 8, step S11 it
Afterwards, the test method of the present embodiment further include:
S12, the first model buildings module build the kinetic model of vehicle.
S13, the first simulation hardware module run kinetic model.
S14, control module are sequentially connected the second simulation hardware module, fuel cell and the first simulation hardware module and realize
Energy distribution verifying.
S15, control module advanced optimize and spotting control strategy model according to the result of energy distribution verifying.
Control module is sequentially connected the second simulation hardware module, fuel cell and the first simulation hardware module and realizes fuel
The interaction of battery and vehicle dynamic model to realize the simulating, verifying of energy distribution, and then verifies the output work of fuel cell
Distribution of the rate in vehicle energy, the connection schematic diagram of energy distribution verifying is also as schemed.Control module can be also used for according to energy
Amount distribution verifying result advanced optimize with spotting control strategy model, to obtain final control strategy, with improve
The durability of fuel cell.Specifically, the kinetic model of vehicle is built in Cruise M platform and by the kinetic model
It is downloaded in NI PXI platform after being packaged into executable code, to realize the optimization and calibration of target control Policy model.
Control strategy model in the present embodiment can also include that energy distributes control strategy model, in the base of embodiment 3
On plinth, the test method of the present embodiment can with the operation distribution condition of the output power of fuel cell in the car, into
The control strategy of one-step optimization fuel cell, to realize using power battery and fuel cell as reasonable energy in the vehicle of energy source
Amount distribution.
Although specific embodiments of the present invention have been described above, it will be appreciated by those of skill in the art that this is only
For example, protection scope of the present invention is to be defined by the appended claims.Those skilled in the art without departing substantially from
Under the premise of the principle and substance of the present invention, many changes and modifications may be made, but these change and
Modification each falls within protection scope of the present invention.
Claims (10)
1. a kind of test macro of fuel cell, which is characterized in that the test macro includes:
First model buildings module, for building the fuel cell mode of the fuel cell;
Second model buildings module, for building the Primary control strategies model of the fuel cell;
Control module, it is imitative in ring for connecting the first model buildings module and the second model buildings module implementation model
Very, for verifying the Primary control strategies model, the control module is also used to according to the mould model assemblage on-orbit
The result of type assemblage on-orbit obtains the first control strategy model after the Primary control strategies model is optimized and demarcated;
First simulation hardware module, for running the fuel cell mode;
Second simulation hardware module, for running the first control strategy model;
The control module is also used to connect the first simulation hardware module and the second simulation hardware module realizes hardware
Assemblage on-orbit, for the hardware-in-loop simulation for verifying the first control strategy model, the control module is also used to basis
The result of the hardware-in-loop simulation obtains the second control strategy after the first control strategy model is optimized and demarcated
Model;
The second simulation hardware module is also used to run the second control strategy model;
The control module is also used to connect the second simulation hardware module and the fuel cell realizes physical varification, described
For physical varification for verifying the second control strategy model, the control module is also used to the result according to the physical varification
Target control Policy model is obtained after the second control strategy model is optimized and demarcated.
2. the test macro of fuel cell as described in claim 1, which is characterized in that the fuel cell mode includes pile
Model, electrical system model, air system model, hydrogen gas system model, heat management system model, in model of parts at least
It is a kind of;
Wherein, the model of parts includes temperature sensor model, pressure sensor model, current sensor model, voltage
At least one of sensor model, solenoid valve model, relay model, air compressor machine model, water pump model.
3. the test macro of fuel cell as described in claim 1, which is characterized in that the Primary control strategies model packet
It includes:
Electric circuit control strategy model, the parameter of the electric circuit control strategy model include the pile operation of the fuel cell
Power;
The parameter of air road control strategy model, the air road control strategy model includes the air road of the fuel cell
Pressure and/or flow;
The parameter of hydrogen road control strategy model, the hydrogen road control strategy model includes the hydrogen road of the fuel cell
Pressure and/or flow;
The parameter of heat management control strategy model, the heat management control strategy model includes the operation temperature of the fuel cell
Degree.
4. the test macro of fuel cell as described in claim 1, which is characterized in that the first model buildings module is also used
In the kinetic model for building vehicle, the energy source of the vehicle includes power battery and the fuel cell;
The first simulation hardware module is also used to run the kinetic model;
The control module is also used to be sequentially connected the second simulation hardware module, the fuel cell and described first firmly
Part emulation module realizes energy distribution verifying, and the energy distribution verifying is for verifying the fuel cell in the vehicle
Energy distribution, the result that the control module is also used to distribute verifying according to the energy advanced optimize and demarcate the target
Control strategy model.
5. the test macro of fuel cell as described in claim 1, which is characterized in that the first model buildings module uses
Cruise M platform;
And/or the second model buildings module uses Matlab Simulink platform;
And/or the first simulation hardware module uses NI PXI platform;
And/or the second simulation hardware module uses dSPACE MicroAutoBox platform.
6. a kind of test method of fuel cell, which is characterized in that the test method utilizes fuel as described in claim 1
The test macro of battery realizes that the test method includes:
First model buildings module builds the fuel cell mode of the fuel cell;
Second model buildings module builds the Primary control strategies model of the fuel cell;
Control module connects the first model buildings module and the second model buildings module implementation model assemblage on-orbit, institute
Model assemblage on-orbit is stated for verifying the Primary control strategies model;
The control module is optimized and is marked to the Primary control strategies model according to the result of the model assemblage on-orbit
The first control strategy model is obtained after fixed;
First simulation hardware module runs the fuel cell mode;
Second simulation hardware module runs the first control strategy model;
The control module connects the first simulation hardware module and the second simulation hardware module realizes that hardware in loop is imitative
Very, the hardware-in-loop simulation is for verifying the first control strategy model;
The control module is optimized and is marked to the first control strategy model according to the result of the hardware-in-loop simulation
The second control strategy model is obtained after fixed;
The second simulation hardware module runs the second control strategy model;
The control module connects the second simulation hardware module and the fuel cell realizes that physical varification, the material object are tested
Card is for verifying the second control strategy model;
After the control module is optimized and is demarcated to the second control strategy model according to the result of the physical varification
Obtain target control Policy model.
7. the test method of fuel cell as claimed in claim 6, which is characterized in that the fuel cell mode includes pile
Model, electrical system model, air system model, hydrogen gas system model, heat management system model, in model of parts at least
It is a kind of;
Wherein, the model of parts includes temperature sensor model, pressure sensor model, current sensor model, voltage
At least one of sensor model, solenoid valve model, relay model, air compressor machine model, water pump model.
8. the test method of fuel cell as claimed in claim 6, which is characterized in that the Primary control strategies model packet
It includes:
Electric circuit control strategy model, the parameter of the electric circuit control strategy model include the pile operation of the fuel cell
Power;
The parameter of air road control strategy model, the air road control strategy model includes the air road of the fuel cell
Pressure and/or flow;
The parameter of hydrogen road control strategy model, the hydrogen road control strategy model includes the hydrogen road of the fuel cell
Pressure and/or flow;
The parameter of heat management control strategy model, the heat management control strategy model includes the operation temperature of the fuel cell
Degree.
9. the test method of fuel cell as claimed in claim 6, which is characterized in that in the control module according to the reality
The step of result of object verifying obtains target control Policy model after the second control strategy model is optimized and demarcated
Later, the test method further include:
The first model buildings module builds the kinetic model of vehicle, and the energy source of the vehicle includes power battery and institute
State fuel cell;
The first simulation hardware module runs the kinetic model;
The control module is sequentially connected the second simulation hardware module, the fuel cell and first simulation hardware
Module realizes energy distribution verifying, and the energy distribution verifying is for verifying energy of the fuel cell in the vehicle point
Match;
The control module advanced optimizes and demarcates the target control strategy mould according to the result of energy distribution verifying
Type.
10. the test method of fuel cell as claimed in claim 6, which is characterized in that the first model buildings module is adopted
With Cruise M platform;
And/or the second model buildings module uses Matlab Simulink platform;
And/or the first simulation hardware module uses NI-PXI platform;
And/or the second simulation hardware module uses dSPACE MicroAutoBox platform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910757439.1A CN110459785B (en) | 2019-08-16 | 2019-08-16 | Test system and test method of fuel cell |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910757439.1A CN110459785B (en) | 2019-08-16 | 2019-08-16 | Test system and test method of fuel cell |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110459785A true CN110459785A (en) | 2019-11-15 |
CN110459785B CN110459785B (en) | 2022-02-11 |
Family
ID=68487006
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910757439.1A Active CN110459785B (en) | 2019-08-16 | 2019-08-16 | Test system and test method of fuel cell |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110459785B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111708284A (en) * | 2020-06-30 | 2020-09-25 | 上海电气集团股份有限公司 | Simulation test method, device, equipment and storage medium for fuel cell system |
CN113433862A (en) * | 2021-06-30 | 2021-09-24 | 奇瑞汽车股份有限公司 | Simulation method and device of new energy automobile energy management system and storage medium |
CN114300718A (en) * | 2021-12-31 | 2022-04-08 | 浙江高成绿能科技有限公司 | Development method of miniature air-cooled fuel cell prototype |
CN114824373A (en) * | 2022-06-27 | 2022-07-29 | 中汽研新能源汽车检验中心(天津)有限公司 | Simulation test combined fuel cell performance optimization method, device and equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104677640A (en) * | 2013-11-29 | 2015-06-03 | 清华大学 | Testing method for economic efficiency of fuel cell hybrid electric vehicle |
CN104834228A (en) * | 2015-05-07 | 2015-08-12 | 昆山弗尔赛能源有限公司 | Simulation model for fuel cell standby power supply |
CN104950870A (en) * | 2015-05-07 | 2015-09-30 | 昆山弗尔赛能源有限公司 | Fuel cell controller hardware-in-loop real-time testing platform |
CN105807233A (en) * | 2016-03-17 | 2016-07-27 | 上海新源动力有限公司 | Testing platform of fuel cell hydrogen system |
WO2018014450A1 (en) * | 2016-07-20 | 2018-01-25 | 天津天大求实电力新技术股份有限公司 | Rt-lab-based real microgrid operation dynamic simulation testing platform |
CN108021033A (en) * | 2016-11-01 | 2018-05-11 | 黑龙江傲立辅龙科技开发有限公司 | A kind of ring emulation platform of battery power control system |
-
2019
- 2019-08-16 CN CN201910757439.1A patent/CN110459785B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104677640A (en) * | 2013-11-29 | 2015-06-03 | 清华大学 | Testing method for economic efficiency of fuel cell hybrid electric vehicle |
CN104834228A (en) * | 2015-05-07 | 2015-08-12 | 昆山弗尔赛能源有限公司 | Simulation model for fuel cell standby power supply |
CN104950870A (en) * | 2015-05-07 | 2015-09-30 | 昆山弗尔赛能源有限公司 | Fuel cell controller hardware-in-loop real-time testing platform |
CN105807233A (en) * | 2016-03-17 | 2016-07-27 | 上海新源动力有限公司 | Testing platform of fuel cell hydrogen system |
WO2018014450A1 (en) * | 2016-07-20 | 2018-01-25 | 天津天大求实电力新技术股份有限公司 | Rt-lab-based real microgrid operation dynamic simulation testing platform |
CN108021033A (en) * | 2016-11-01 | 2018-05-11 | 黑龙江傲立辅龙科技开发有限公司 | A kind of ring emulation platform of battery power control system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111708284A (en) * | 2020-06-30 | 2020-09-25 | 上海电气集团股份有限公司 | Simulation test method, device, equipment and storage medium for fuel cell system |
CN111708284B (en) * | 2020-06-30 | 2023-03-14 | 上海电气集团股份有限公司 | Simulation test method, device, equipment and storage medium for fuel cell system |
CN113433862A (en) * | 2021-06-30 | 2021-09-24 | 奇瑞汽车股份有限公司 | Simulation method and device of new energy automobile energy management system and storage medium |
CN114300718A (en) * | 2021-12-31 | 2022-04-08 | 浙江高成绿能科技有限公司 | Development method of miniature air-cooled fuel cell prototype |
CN114300718B (en) * | 2021-12-31 | 2024-02-09 | 浙江高成绿能科技有限公司 | Development method of small air-cooled fuel cell prototype |
CN114824373A (en) * | 2022-06-27 | 2022-07-29 | 中汽研新能源汽车检验中心(天津)有限公司 | Simulation test combined fuel cell performance optimization method, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110459785B (en) | 2022-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110459785A (en) | The test macro and test method of fuel cell | |
CN106371813B (en) | A kind of electric vehicle motor controller method for producing software based on Simulink | |
CN104408271B (en) | A kind of gasoline engine scaling method based on model | |
Raman et al. | Design and implementation of HIL simulators for powertrain control system software development | |
Montazeri-Gh et al. | Real-time multi-rate HIL simulation platform for evaluation of a jet engine fuel controller | |
CN109635520A (en) | A kind of car steering emulation mode and device | |
CN104677640B (en) | A kind of fuel cell hybrid car economic testing method | |
CN106959685B (en) | A kind of system and method for the steam turbine DEH control system loophole test based on RT-LAB technology | |
CN105404720A (en) | Hardware-in-loop simulation based wind power unit modeling method | |
CN103699743B (en) | CPS (cyber physical system) modeling and verifying method based on conversion from CPS-ADL (architecture description language) model into hybrid program | |
CN103345546B (en) | The governor parameter discrimination method that frequency locus combines with particle cluster algorithm | |
CN108828981A (en) | Rail traffic vehicles system Hardware In The Loop Simulation Method, apparatus and system | |
CN105425609B (en) | The automatically controlled hardware-in―the-loop test system of low-speed diesel engine | |
CN110847111B (en) | Method for acquiring hydropower station gate scheduling parameters based on semi-physical simulation | |
CN205003469U (en) | Combustion chamber back pressure analogue means and half physical test ware | |
CN113011039B (en) | Heavy gas turbine control system verification platform and verification method | |
CN103246207A (en) | On-line reactive power optimization control method based on real-time simulation system | |
CN110794813B (en) | In-loop real-time linkage testing method and system for electromechanical parts | |
CN109613840A (en) | A kind of semi-physical simulation method based on Matlab | |
KR20170038952A (en) | Dual-fuel engine simulation modeling apparatus, dual-fuel engine control apparatus, and simulation system for dual-fuel engine generator comprising the same | |
CN106202682B (en) | Electrical equipment simulation model fusion method and emerging system | |
CN107608235A (en) | A kind of adjustable two-step supercharging engine mockup building method and emulation platform | |
Randolf et al. | Test system design for Hardware-in-Loop evaluation of PEM fuel cells and auxiliaries | |
Koller et al. | Implementation of vehicle simulation model in a modern dynamometer test environment | |
CN104361818B (en) | Diesel engine electric control teaching experimental system and simulation method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |