CN103676668A - Fuel cell semi-physical simulation testing system based on VC and building method - Google Patents
Fuel cell semi-physical simulation testing system based on VC and building method Download PDFInfo
- Publication number
- CN103676668A CN103676668A CN201310653437.0A CN201310653437A CN103676668A CN 103676668 A CN103676668 A CN 103676668A CN 201310653437 A CN201310653437 A CN 201310653437A CN 103676668 A CN103676668 A CN 103676668A
- Authority
- CN
- China
- Prior art keywords
- fuel cell
- digital
- board
- capture card
- model
- 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.)
- Pending
Links
Images
Abstract
The invention relates to a fuel cell semi-physical simulation testing system based on VC and a building method. The system comprises an industrial control computer, a 16-path analog-to-digital (A/D) collecting card, a 16-path digital-to-analogy (D/A) collecting card and a 32-path digital I/O board. A VC software development model is used for replacing dynamic operation conditions of a practical air supply system, a hydrogen supply system, a cooling water system and modules of a fuel cell stack. By means of the A/D collecting card, the D/A collecting card and the digital I/O board, relation between a fuel cell stack controller and a simulation model is built, and a whole fuel cell testing system is simulated. Model input and output parameters are transmitted to the fuel cell controller through the A/D collecting card, the D/A collecting card and digital I/O board, an actual controller, various signal conversion boards and the simulation model used for replacing a true fuel cell form a closed loop testing system.
Description
Technical field
The invention belongs to electric automobile test and test field, particularly a kind of based on VC(Visual C++) fuel cell semi-hardware type simulation test system and method for building up.
Background technology
The fuel cell superperformance such as especially Proton Exchange Membrane Fuel Cells has low noise, pollution-free, energy conversion efficiency is high and working temperature is low, is particularly suitable for doing the electric powered motor energy.National governments, enterprise and scientific research institution are all devoted to emphatically to study Proton Exchange Membrane Fuel Cells electric automobile, and fuel cell system as the heart of FC-EV at present in the new breakthrough phase, becoming new research and development focus.
In fuel cell controller development process, need a large amount of tests, especially need the test under dynamic environment.The software and hardware problem existing in the static test in laboratory is difficult to find dynamic environment at present, directly there is the problems such as cost is high, the cycle is long, process is complicated in test on fuel cell in addition, and operation improperly can reduce fuel battery service life.Therefore building fuel cell semi-hardware type simulation test system is the important step in fuel cell controller R&D process.
Summary of the invention
The operating characteristic that the object of this invention is to provide a kind of fuel cell system, adopt software engineering method to set up model, in conjunction with computing machine and interface board, form integrated fuel cell semi-hardware type simulation test system and method for building up based on VC, carry out real-time simulation and test.
To achieve these goals, the technical solution adopted in the present invention is:
A kind of fuel cell semi-hardware type simulation test system based on VC, comprise industrial computer, modulus A/D capture card, digital-to-analogue D/A capture card, digital I/O board and utilize VC exploitation to replace the unify fuel cell realistic model of each unit dynamic operation situation of fuel cell pack of actual air feed system, hydrogen feed system, cooling water system, fuel cell controller is connected with described realistic model by described A/D capture card, D/A capture card and digital I/O board, forms the fuel battery test system of closed loop; Described fuel cell controller comprises collecting unit and main control unit, and collecting unit is connected on the D/A capture card and digital I/O board of industrial computer, for receiving the output signal of industrial computer; Main control unit utilizes CAN communication to obtain data from collecting unit on the one hand, then by USB, communicate by letter with host computer, other operation information of the output voltage of fuel cell system, current value and fuel cell system is fed back to host computer, host computer save data, to analyze the power generation performance of judgement fuel cell system.On the other hand, main control unit is connected on described A/D capture card and digital I/O board, to industrial computer output control signal.
The concrete method for building up of described realistic model is as follows:
Open VC application program, enter Simulation Interface, emulation cycle t_max is set, state h update time and differential equation group initial value, use quadravalence-runge kutta method to solve differential equation group, utilize model calculation formula to obtain the changing value of each parameter, such as entering, go out to pile Hydrogen Vapor Pressure, pile voltage, stack temperature etc., by the duty of these parameter value judgement systems, such as air supply system, whether hydrogen feed system duty is abnormal etc., by C++ interface routine, these values are write respectively to the D/A capture card that is connected with collecting unit and the corresponding port of digital I/O board, t is upgraded to t+=h, by C++ interface routine, read respectively A/D capture card and digital I/O board corresponding simulation input quantity port and the digital quantity port being connected with main control unit, preparation enters next time and calculates, repeat above operation, until current time t is greater than t_max, finish this emulation, described air supply system and hydrogen feed system model are to come according to the data fitting of test gained, and the cooling water system fuel cell pack model of unifying is set up according to mechanism model.
The present invention utilizes VC modeling to realize whole test macro, fast operation, real-time is good, can be good at reflecting the dynamic change of each parameter in fuel cell operation process, utilizing quadravalence dragon lattice-storehouse tower algorithm solution differential equation to have higher degree of accuracy, is a kind of algorithm of preferentially choosing.
The present invention has following features:
1) l-G simulation test test macro can parameters on interface.
2) l-G simulation test test macro has analog input output quantity and digital quantity signal display interface.
The present invention is based on VC and set up fuel cell semi-hardware type simulation test system, in hardware-in-the-loop simulation, by the fuel cell controller being formed by master control borad and collection plate emulation loop, the further mathematical model of calibration system directly introduced in kind.The hardware-in-the-loop simulation forming, will be more direct and effective for the performance of each equipment of checking system.Controller can directly connect this emulation platform and debug, can improve system development quality, shorten the lead time and save development cost, be conducive to study better the factor that affects fuel cell and system performance thereof, for more favourable condition is created in the R&D work of fuel cell.
Accompanying drawing explanation
Fig. 1 is system chart of the present invention.
Fig. 2 is realistic model workflow diagram of the present invention.
Fig. 3 is D/A capture card annexation and pinout figure in the embodiment of the present invention.
Fig. 4 is A/D capture card annexation and pinout figure in the embodiment of the present invention.
Fig. 5 is digital I/O board annexation and pinout figure in the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.
A kind of fuel cell semi-hardware type simulation test system based on VC, comprise industrial computer, modulus A/D capture card, digital-to-analogue D/A capture card, digital I/O board and utilize VC exploitation to replace the unify fuel cell realistic model (industrial computer) of each unit dynamic operation situation of fuel cell pack of actual air feed system, hydrogen feed system, cooling water system, fuel cell controller is connected with described realistic model by described A/D capture card, D/A capture card and digital I/O board, forms the fuel battery test system of closed loop; Described fuel cell controller comprises collecting unit and main control unit, and collecting unit is connected on the D/A capture card and digital I/O board of industrial computer, for receiving the output signal of industrial computer; Main control unit utilizes CAN communication to obtain data from collecting unit on the one hand, then by USB, communicate by letter with host computer, other operation information of the output voltage of fuel cell system, current value and fuel cell system is fed back to host computer, host computer save data, to analyze the power generation performance of judgement fuel cell system.On the other hand, main control unit is connected on described A/D capture card and digital I/O board, to industrial computer output control signal.
Embodiment:
Using an industrial computer as hardware platform, and 16 road modulus A/D capture cards, 16 way mould D/A capture cards and 32 railway digital I/O boards are as hardware supported.Software Development Platform is Visual C++.
Fuel cell realistic model of the present invention mainly comprises air supply system, hydrogen feed system, the cooling water system fuel cell pack (Fig. 1) of unifying.Fuel cell produces direct current energy by the electro-chemical reaction of hydrogen and oxygen, pure fuel cell reaction heap can not directly be used as power supply, the subsystems and the outside safety of controller cooperating ability that need fuel cell pack, output power stably: hydrogen feed system is responsible for providing certain pressure to fuel cell pack continuously, the highly purified hydrogen of certain flow, with carrying out continuously of the electrochemical reaction in assurance fuel cell pack, the existence of nitrogen be for guarantee reaction safety carry out, before fuel cell pile power generating or while not working, for fear of remaining in the hydrogen of gas circuit and oxygen, react and cause danger, so be filled with inert gas, air supply system is responsible for continuously providing the air with hydrogen gas system uniform pressure, certain flow, good filtering to fuel cell pack, the air that passes into air humidifier can be selected to blow into fuel cell pack by the high-speed fan that rotating speed is fast, outlet air pressure is large, to meet the demand of fuel cell to a large amount of oxygen, cooling water system is responsible for controlling the temperature of fuel cell pack, with guarantee electrochemical reaction in fuel cell pack normally, efficiently carry out.
The present invention replaces the operation of natural fuel battery with the dynamic calculation model of air supply system, hydrogen feed system, cooling water system, fuel cell pack, the control signal of Fuel Cell Control System and control software are tested.Fuel cell controller is in kind be connected with l-G simulation test test macro after as shown in Figure 1.
1) the present invention represents to control parameter with following four tables
1. working state signal table (input)
2. working state signal table (output)
3. imitated output quantity signal list
4. analog input amount signal list
Form | Title | Port | Range of signal |
Air supply system | Rotation speed of fan | A/ |
0/5V |
By fuel cell dynamic model, calculate each parameter value of model and working state of system signal, these values are distinguished given to D/A capture card and digital I/O board corresponding port by programming, these ports are received collecting unit by line, main control unit obtains data from collecting unit on the one hand, and give respectively the given rotation speed of fan of A/D capture card and digital I/O board corresponding port and each switch controlling signal by line, fuel cell mode can read analog input signal and various switch controlling signal by programming, and does computing next time according to this input signal.Main control unit on the other hand by usb communication, to host computer feedback other operation informations of organizing output voltage, current value and the fuel cell system of fuel cell system more.The workflow diagram of realistic model of the present invention as shown in Figure 2; In emulation test system D/A capture card, A/D capture card and digital I/O board be connected with each unit and pinout as shown in Figure 3-Figure 5.
2) emulation testing process
1. parameter setting
User starts industrial computer, selects " parameter setting ", and the parameter of input comprises monocell parameter, fuel cell pack volume parameter, other parameter, auxiliary system equipment model and starting condition.After parameter setting completes, click " RUN ", start emulation test system.
2. controller work
Fuel cell pack is started working, enter to pile air pressure, enter to pile air mass flow, blower fan electric current, fan outlet pressure, hydrogen high-pressure, enter to pile Hydrogen Vapor Pressure, enter to pile hydrogen flowing quantity, go out to pile Hydrogen Vapor Pressure, enter to pile coolant-temperature gage, go out to pile coolant-temperature gage, input quantity that circulating water pressure, recirculated water electric current are pile, control module is according to the output voltage characteristic analysis judgement of pile, make control action, control cut-offfing of blower fan, humidifier, hydrogen solenoid valve, nitrogen solenoid valve, tail gas solenoid valve, fan, water circulating pump and load switch.Controller and host computer be by USB communication, can be on host computer the variation of each parameter of real-time monitored fuel cell, save data simultaneously, to analyze the power generation performance of judgement fuel cell system.
3) test effect
Through carrying out uniting and adjustment with fuel cell semi-matter simulating system, result shows, native system can be examined signaling interface and the control strategy of controller well, has greatly saved debug time and cost on actual tests platform and fuel cell system.
The content not being described in detail in this instructions belongs to the known prior art of professional and technical personnel in the field.
Claims (2)
1. the fuel cell semi-hardware type simulation test system based on VC, comprise industrial computer, modulus A/D capture card, digital-to-analogue D/A capture card, digital I/O board and utilize VC exploitation to replace the unify fuel cell realistic model of each unit dynamic operation situation of fuel cell pack of actual air feed system, hydrogen feed system, cooling water system, fuel cell controller is connected with described realistic model by described A/D capture card, D/A capture card and digital I/O board, forms the fuel battery test system of closed loop; Described fuel cell controller comprises collecting unit and main control unit, and collecting unit is connected on the D/A capture card and digital I/O board of industrial computer, for receiving the output signal of industrial computer; Main control unit utilizes CAN communication to obtain data from collecting unit on the one hand, then by USB, communicate by letter with host computer, other operation information of the output voltage of fuel cell system, current value and fuel cell system is fed back to host computer, host computer save data, to analyze the power generation performance of judgement fuel cell system; On the other hand, main control unit is connected on described A/D capture card and digital I/O board, to industrial computer output control signal.
2. the fuel cell semi-hardware type simulation test system based on VC as claimed in claim 1, is characterized in that: the concrete method for building up of described realistic model is as follows:
Open VC application program, enter Simulation Interface, emulation cycle t_max is set, state h update time and differential equation group initial value, use quadravalence-runge kutta method to solve differential equation group, utilize model calculation formula to be entered, go out to pile Hydrogen Vapor Pressure, the changing value of each parameters such as pile voltage and stack temperature, by air supply system in these parameter value judgement systems, hydrogen feed system, the duty of cooling water system and fuel cell pack, by C++ interface routine, these values are write respectively to the D/A capture card that is connected with collecting unit and the corresponding port of digital I/O board, t is upgraded to t+=h, by C++ interface routine, read respectively A/D capture card and digital I/O board corresponding simulation input quantity port and the digital quantity port being connected with main control unit, preparation enters next time and calculates, repeat above operation, until current time t is greater than t_max, finish this emulation, described air supply system and hydrogen feed system model are to come according to the data fitting of test gained, and the cooling water system fuel cell pack model of unifying is set up according to mechanism model.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310653437.0A CN103676668A (en) | 2013-12-06 | 2013-12-06 | Fuel cell semi-physical simulation testing system based on VC and building method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310653437.0A CN103676668A (en) | 2013-12-06 | 2013-12-06 | Fuel cell semi-physical simulation testing system based on VC and building method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103676668A true CN103676668A (en) | 2014-03-26 |
Family
ID=50314577
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310653437.0A Pending CN103676668A (en) | 2013-12-06 | 2013-12-06 | Fuel cell semi-physical simulation testing system based on VC and building method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103676668A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN105572602A (en) * | 2016-03-17 | 2016-05-11 | 上海新源动力有限公司 | Test platform for fuel cell cooling system |
CN106226700A (en) * | 2016-07-17 | 2016-12-14 | 安徽卓越电气有限公司 | Lithium battery detection platform system and method for testing |
CN106950502A (en) * | 2017-03-10 | 2017-07-14 | 同济大学 | One kind is used for fuel battery air supply system pile Cathode Numerical Simulation of A test device |
CN108169678A (en) * | 2016-12-07 | 2018-06-15 | 中国科学院大连化学物理研究所 | A kind of electronic development test system of analog fuel battery |
CN110887674A (en) * | 2019-12-03 | 2020-03-17 | 吉林大学 | Method for testing hydrogen consumption of fuel cell automobile |
CN112201822A (en) * | 2020-09-16 | 2021-01-08 | 武汉海亿新能源科技有限公司 | Temperature self-learning cooling method, device and system for hydrogen fuel cell |
CN113111445A (en) * | 2021-05-12 | 2021-07-13 | 西华大学 | Semi-physical simulation system of fuel cell automobile |
CN113255244A (en) * | 2021-05-13 | 2021-08-13 | 翁鹏程 | Fuel cell system simulation test platform, method and storage medium |
CN113282010A (en) * | 2021-05-21 | 2021-08-20 | 上海大学 | Design method of semi-physical simulation system of electricity-hydrogen-heat integration micro-grid |
CN114357806A (en) * | 2022-03-11 | 2022-04-15 | 中国汽车技术研究中心有限公司 | Dual-mode simulation method and device of fuel cell stack based on material flow interface |
-
2013
- 2013-12-06 CN CN201310653437.0A patent/CN103676668A/en active Pending
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104950870A (en) * | 2015-05-07 | 2015-09-30 | 昆山弗尔赛能源有限公司 | Fuel cell controller hardware-in-loop real-time testing platform |
CN104950870B (en) * | 2015-05-07 | 2018-05-15 | 苏州弗尔赛能源科技股份有限公司 | A kind of fuel cell controller hardware in loop real time test platform |
CN104834228A (en) * | 2015-05-07 | 2015-08-12 | 昆山弗尔赛能源有限公司 | Simulation model for fuel cell standby power supply |
CN105572602A (en) * | 2016-03-17 | 2016-05-11 | 上海新源动力有限公司 | Test platform for fuel cell cooling system |
CN106226700A (en) * | 2016-07-17 | 2016-12-14 | 安徽卓越电气有限公司 | Lithium battery detection platform system and method for testing |
CN108169678A (en) * | 2016-12-07 | 2018-06-15 | 中国科学院大连化学物理研究所 | A kind of electronic development test system of analog fuel battery |
CN106950502A (en) * | 2017-03-10 | 2017-07-14 | 同济大学 | One kind is used for fuel battery air supply system pile Cathode Numerical Simulation of A test device |
CN110887674B (en) * | 2019-12-03 | 2021-06-18 | 吉林大学 | Method for testing hydrogen consumption of fuel cell automobile |
CN110887674A (en) * | 2019-12-03 | 2020-03-17 | 吉林大学 | Method for testing hydrogen consumption of fuel cell automobile |
CN112201822A (en) * | 2020-09-16 | 2021-01-08 | 武汉海亿新能源科技有限公司 | Temperature self-learning cooling method, device and system for hydrogen fuel cell |
CN113111445A (en) * | 2021-05-12 | 2021-07-13 | 西华大学 | Semi-physical simulation system of fuel cell automobile |
CN113111445B (en) * | 2021-05-12 | 2022-05-10 | 西华大学 | Semi-physical simulation system of fuel cell automobile |
CN113255244A (en) * | 2021-05-13 | 2021-08-13 | 翁鹏程 | Fuel cell system simulation test platform, method and storage medium |
CN113282010A (en) * | 2021-05-21 | 2021-08-20 | 上海大学 | Design method of semi-physical simulation system of electricity-hydrogen-heat integration micro-grid |
CN114357806A (en) * | 2022-03-11 | 2022-04-15 | 中国汽车技术研究中心有限公司 | Dual-mode simulation method and device of fuel cell stack based on material flow interface |
CN114357806B (en) * | 2022-03-11 | 2022-06-17 | 中国汽车技术研究中心有限公司 | Dual-mode simulation method and device of fuel cell stack based on material flow interface |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103676668A (en) | Fuel cell semi-physical simulation testing system based on VC and building method | |
CN109524693A (en) | Fuel battery air feed system model predictive control method | |
CN110752391B (en) | Semi-physical simulation platform for fuel cell | |
CN101799688A (en) | Wind power generation semi-physical simulation test platform | |
CN109921070B (en) | Testing device and method for vehicle fuel cell system | |
CN113255244B (en) | Fuel cell system simulation test platform, method and storage medium | |
CN109103528A (en) | Power battery detection method and equipment based on mathematical model | |
CN103593508A (en) | Universal simulation platform for large-sized pumped storage power stations | |
CN107991902A (en) | A kind of modeling of electric power system of spacecraft and emulation mode | |
CN103887543B (en) | A kind of thermal management algorithm of solid oxide fuel cell device | |
CN107315866A (en) | Spacecraft energy resource system model building method based on Modelica models | |
CN104950870B (en) | A kind of fuel cell controller hardware in loop real time test platform | |
CN202350878U (en) | Automatic checking device for flow meter | |
CN103149539A (en) | Multifunctional power source test system | |
CN104156285A (en) | Partition fuel cell experimental data processing method and system based on VBA module | |
CN103207924A (en) | Mechanical transient and electrical transient mixed simulation system and method of wind turbine generator system | |
CN105701265A (en) | Double-fed wind generator modeling method and apparatus | |
CN114357806B (en) | Dual-mode simulation method and device of fuel cell stack based on material flow interface | |
CN110212216A (en) | Fuel cell peroxide with stochastic prediction function is than control method and system | |
CN116482975A (en) | Virtual-real fusion ship energy management strategy verification method and platform | |
CN202195949U (en) | Direct-current converter external characteristic hardware-in-the-loop simulation testing bench | |
CN113161583B (en) | Method and system for evaluating performance of fuel cell steam-water separator | |
CN114880866A (en) | Method and system for quickly matching and optimizing performance of fuel cell air system based on hydraulic simulation model and electronic equipment | |
CN201666848U (en) | Wind power generation semi-physical simulation testing device | |
CN205121211U (en) | Frame -type handstand robot development platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140326 |
|
RJ01 | Rejection of invention patent application after publication |