CN111628197B - CAN bus-based fuel cell power system platform upper computer monitoring method - Google Patents

CAN bus-based fuel cell power system platform upper computer monitoring method Download PDF

Info

Publication number
CN111628197B
CN111628197B CN202010478024.3A CN202010478024A CN111628197B CN 111628197 B CN111628197 B CN 111628197B CN 202010478024 A CN202010478024 A CN 202010478024A CN 111628197 B CN111628197 B CN 111628197B
Authority
CN
China
Prior art keywords
fuel cell
upper computer
adjustable load
converter
boost
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.)
Active
Application number
CN202010478024.3A
Other languages
Chinese (zh)
Other versions
CN111628197A (en
Inventor
全睿
吴帆
常雨芳
黄文聪
谭保华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hanrui Hydrogen Technology Group Co ltd
Original Assignee
Hubei University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hubei University of Technology filed Critical Hubei University of Technology
Priority to CN202010478024.3A priority Critical patent/CN111628197B/en
Publication of CN111628197A publication Critical patent/CN111628197A/en
Application granted granted Critical
Publication of CN111628197B publication Critical patent/CN111628197B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M8/00Fuel cells; Manufacture thereof
    • H01M8/04Auxiliary arrangements, e.g. for control of pressure or for circulation of fluids
    • H01M8/04298Processes for controlling fuel cells or fuel cell systems
    • H01M8/04992Processes for controlling fuel cells or fuel cell systems characterised by the implementation of mathematical or computational algorithms, e.g. feedback control loops, fuzzy logic, neural networks or artificial intelligence
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M8/00Fuel cells; Manufacture thereof
    • H01M8/04Auxiliary arrangements, e.g. for control of pressure or for circulation of fluids
    • H01M8/04298Processes for controlling fuel cells or fuel cell systems
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M8/00Fuel cells; Manufacture thereof
    • H01M8/04Auxiliary arrangements, e.g. for control of pressure or for circulation of fluids
    • H01M8/04298Processes for controlling fuel cells or fuel cell systems
    • H01M8/04313Processes for controlling fuel cells or fuel cell systems characterised by the detection or assessment of variables; characterised by the detection or assessment of failure or abnormal function
    • H01M8/04664Failure or abnormal function
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/30Hydrogen technology
    • Y02E60/50Fuel cells

Landscapes

  • Engineering & Computer Science (AREA)
  • General Chemical & Material Sciences (AREA)
  • Sustainable Development (AREA)
  • Sustainable Energy (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Fuel Cell (AREA)
  • Automation & Control Theory (AREA)
  • Artificial Intelligence (AREA)
  • Computing Systems (AREA)
  • Evolutionary Computation (AREA)
  • Fuzzy Systems (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)

Abstract

The invention relates to a monitoring technology of a fuel cell power system, in particular to a monitoring method of an upper computer of a fuel cell power system platform based on a CAN bus, wherein the upper computer is accessed into a CAN network of a fuel cell controller, a DC/DC and an adjustable load through the CAN bus, adopts a parallel processing multithreading structure, receives messages of the DC/DC, the adjustable load and the fuel cell controller, and carries out real-time data and curve display and data storage on parameters and states of the DC/DC, the adjustable load and a fuel cell engine. And sending messages to the fuel cell controller and the adjustable load by operating the function buttons on the upper computer interface and setting the control target values of the related components, thereby performing manual control, automatic control and forced manual control on the fuel cell power system platform. The method is convenient for monitoring the state of the fuel cell power system platform and debugging the energy control strategy, and has strong anti-interference capability and stable control performance.

Description

CAN bus-based fuel cell power system platform upper computer monitoring method
Technical Field
The invention belongs to the technical field of fuel cell power system monitoring, and particularly relates to a CAN bus-based fuel cell power system platform upper computer monitoring method.
Background
The fuel cell is taken as future clean energy without pollution and zero emission, and can be widely applied to fuel cell automobiles, at present, the debugging of a power system of the fuel cell automobile is mostly realized by firstly developing a fuel cell engine off-line, and then installing the fuel cell automobile in combination with components such as a power cell, a motor and the like to carry out integral debugging, replacing and debugging of relevant components of the power system and debugging of a control strategy are carried out in the process, and the great workload is brought to loading due to the limitation of space and power supply.
Disclosure of Invention
The invention aims to provide a method which can realize real-time monitoring of a fuel cell engine and DC/DC, display the running state of each part of the fuel cell engine and the DC/DC in real time on an upper computer, control the fuel cell engine, the DC/DC and an adjustable load, perform manual control, automatic control and forced manual control on the fuel cell engine and the DC/DC, provide self-protection and fault early warning, and monitor and debug a fuel cell power system.
In order to achieve the purpose, the invention adopts the technical scheme that: the upper computer is connected with a fuel cell controller, an adjustable load and a DC/DC through the CAN bus, and adopts a parallel processing multithreading structure to carry out CAN communication with the fuel cell controller, the adjustable load and the DC/DC; the upper computer receives and analyzes messages sent by the adjustable load, the DC/DC and the fuel cell controller in real time by using a receiving thread, sends the analyzed data to a main thread for real-time data and curve display, and stores the received data into a database by using a data storage thread; the main thread interface of the upper computer also comprises a function button and a set target value input frame, and the sending thread sends a control command and a set target value of the function button in the main thread to the fuel cell controller and the adjustable load through the CAN bus, so that manual control, automatic control and manual forced control under automatic control modes under different load power conditions of the fuel cell power system platform are realized, and energy distribution, fault alarm and self protection between the fuel cell engine and the bidirectional power supply are realized.
In the above monitoring method for the upper computer of the fuel cell power system platform based on the CAN bus, the thread working method includes: after the upper computer is successfully in communication connection with the fuel cell controller, the DC/DC and the adjustable load, starting all threads, receiving and analyzing CAN messages sent by the adjustable load, the DC/DC and the fuel cell controller in real time by the receiving thread, and sending analyzed data to the main thread and the data storage thread; the data storage thread binds the data analyzed by the receiving thread by using an SQL statement and stores the data into a corresponding storage space of the database; the interface control of the host thread of the upper computer displays the working state and parameter information of the adjustable load, the DC/DC and the fuel cell engine, and refreshes the display interface at the set timing time according to the analyzed data, the host thread receives the target control value input frame, the real-time curve display and the historical curve display command, the data storage thread extracts the stored data and sends the data to the host thread, and the real-time curve and the historical curve are drawn for the received voltage of the adjustable load, the current of the adjustable load and the power of the adjustable load, the input end voltage of the DC/DC, the input end current of the DC/DC, the output end voltage of the DC/DC, the output end current of the DC/DC, the hydrogen supply system, the air supply system, the cooling system and the parameters of the electrical system of the fuel cell engine according to the time sequence.
In the above monitoring method for the upper computer of the fuel cell power system platform based on the CAN bus, the manual control method includes: the main thread receives a CAN opening command, the upper computer is connected with a CAN bus to communicate with the adjustable load, the DC/DC and the fuel cell controller, the receiving thread receives CAN messages of the fuel cell controller, the adjustable load and the DC/DC and analyzes and displays all parameters and state information of a fuel cell power system platform, the upper computer receives a manual control mode command, receives on-off commands of a hydrogen solenoid valve, a hydrogen proportional valve, a hydrogen circulating pump, a hydrogen heating exhaust solenoid valve, an inlet water pump, an outlet water pump, a main heat exchanger, a DC water pump, an air compressor cold water pump, an air compressor inlet throttle valve, an air compressor and an air outlet throttle valve component, and setting values of a hydrogen proportional valve opening, an air compressor inlet throttle valve opening, an air outlet throttle valve opening, an air compressor rotating speed, a hydrogen circulating pump rotating speed, a heat exchanger and a water pump rotating speed data input frame, the upper computer sends messages of the control variables to the fuel cell controller according to the protocol; the upper computer receives DC/DC main contactor switch, effective DC/DC enable, DC/DC enable and DC/DC input target current commands and sends CAN message control commands to the fuel cell controller, so that the upper computer CAN manually control the DC/DC; and the upper computer receives the output gear command of the adjustable load and sends a CAN message control command to the adjustable load, so that the output power of the adjustable load is adjusted.
In the above monitoring method for the upper computer of the fuel cell power system platform based on the CAN bus, the automatic control method includes: the main thread receives a CAN opening command, the upper computer is connected with a CAN bus to communicate with the fuel cell controller, the adjustable load and the DC/DC, and the receiving thread receives CAN messages of the fuel cell controller, the adjustable load and the DC/DC to analyze and display all parameters and state information of a fuel cell power system platform; the upper computer receives an automatic control command, a fuel cell engine is started, the fuel cell engine is shut down, DC/DC operation and a fuel cell engine output current control command and sends the commands to the fuel cell controller through a CAN bus; and the upper computer simultaneously receives the adjustable load output gear command and sends a CAN control command to the adjustable load to carry out loading and unloading operations.
In the above monitoring method for the upper computer of the fuel cell power system platform based on the CAN bus, the method for manually and forcibly controlling in the automatic control mode includes: the main thread receives and opens the CAN command, the upper computer is connected with the CAN bus to communicate with the adjustable load, the DC/DC and the fuel cell controller, the receiving thread receives and analyzes the CAN messages of the fuel cell controller, the adjustable load and the DC/DC and displays all parameters and state information of a power system platform of the fuel cell, the upper computer receives a manual control command, receives on-off commands of a hydrogen solenoid valve, a hydrogen proportional valve, a hydrogen circulating pump, a hydrogen heating exhaust solenoid valve, an inlet water pump, an outlet water pump, a main heat exchanger, a DC water pump, an air compressor cold water pump, an air compressor inlet throttle valve, an air compressor and an air outlet throttle valve component, and setting values of a hydrogen proportional valve opening, an air compressor inlet throttle valve opening, an air outlet throttle valve opening, an air compressor rotating speed, a hydrogen circulating pump rotating speed, a heat exchanger and a water pump rotating speed data input frame, then the messages of the control variables are sent to the fuel cell controller according to the protocol; the upper computer receives DC/DC main contactor switch, effective DC/DC enable, DC/DC enable and DC/DC input target current commands and sends CAN message control commands to the fuel cell controller, so that the upper computer CAN manually control the DC/DC; and the upper computer receives the output gear command of the adjustable load and sends a CAN message control command to the adjustable load, so that the manual control of the output power of the adjustable load is realized.
In the above monitoring method for the upper computer of the fuel cell power system platform based on the CAN bus, the fault alarm method includes: the upper computer receives and analyzes the message on the CAN bus in real time through the receiving thread, carries out ID and fault value matching on the fault code sent by the fuel cell controller and the DC/DC and the fault library established in the main thread, simultaneously reads the current time of the upper computer, carries out frequency and interval time statistics on the occurred fault, and sends the matched fault meaning to the interface to display the fault meaning, the fault code, the fault time, the fault grade, the frequency of occurrence of the fault and the interval time of occurrence of the fault; and (3) carrying out overvoltage, undervoltage, overcurrent and overheating fault prompting on the adjustable load according to voltage, current, power and temperature parameters fed back by the CAN bus through the adjustable load by combining the working states of a fuel cell engine and the DC/DC, and displaying the occurrence frequency and the occurrence interval time of the faults.
In the above monitoring method for the upper computer of the fuel cell power system platform based on the CAN bus, the self-protection method includes: under the automatic control and manual forced control modes, the upper computer receives and analyzes messages sent by the fuel cell controller, the DC/DC and the adjustable load in real time through a receiving thread, when parameters of a hydrogen supply system, an air supply system, a cooling system and an electrical system of the fuel cell engine, the input end voltage of the DC/DC, the input end current of the DC/DC, the output end voltage of the DC/DC and the output end current of the DC/DC are detected to exceed a preset threshold value of the upper computer and last set time, the upper computer sends a command of shutting down the fuel cell engine, disconnecting the DC/DC from a main contactor and inputting the DC/DC to the fuel cell through a CAN bus, and when the upper computer judges that the adjustable load has a fault and the fault duration exceeds the set threshold value, the upper computer sends a command of clearing an output power gear to the adjustable load through the CAN bus, thereby realizing the self-protection of the fuel cell power system platform.
The invention has the beneficial effects that: the invention is convenient for monitoring the state of the fuel cell power system platform and debugging the energy control strategy, has strong anti-interference capability and stable control performance, and can be widely applied to simulation test and whole vehicle development before loading the fuel cell vehicle power system. And storing the operating state data in a database, and displaying data, curves and faults, so that the system performance and fault analysis in the test process are facilitated.
Drawings
FIG. 1 is a schematic diagram of the overall structure of one embodiment of the present invention;
FIG. 2 is a schematic diagram of a fuel cell engine according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a thread communication mode according to an embodiment of the present invention;
FIG. 4 is an overall flow chart of a manual control according to one embodiment of the present invention;
FIG. 5 is a flow chart of a manually controlled fuel cell engine embodying the present invention;
FIG. 6 is a flow chart of a manual control DC/DC according to one embodiment of the present invention;
FIG. 7 is a flow chart of a manual control of an adjustable load according to one embodiment of the present invention;
FIG. 8 is a flow chart of an automatic control according to an embodiment of the present invention;
FIG. 9 is a flow chart of a forced manual control in an automatic mode according to an embodiment of the present invention;
FIG. 10 is a flow chart of a fault display for one embodiment of the present invention;
FIG. 11 is a flow chart of an embodiment of the present invention for self-protection.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
The embodiment provides a CAN bus-based monitoring method for an upper computer of a fuel cell power system platform, which monitors the working states and parameter information of a fuel cell engine, a DC/DC and an adjustable load, CAN utilize the upper computer to perform manual control, automatic control and forced manual control on the fuel cell engine, the DC/DC and the adjustable load, and perform parameter matching and control strategy adjustment and optimization on the fuel cell power system platform, stores the running state data in a database, performs data, curve and fault display and self-protection, and is convenient for system performance and fault analysis in the test process.
The embodiment is realized by the following technical scheme, in the monitoring method of the upper computer of the fuel cell power system platform based on the CAN bus, the output end of a fuel cell engine of the fuel cell power system platform is connected with the input end of a boost DC/DC converter, the output end of the boost DC/DC converter is connected with the direct current end of a bidirectional power supply and the input end of an adjustable load, and the alternating current end of the bidirectional power supply is connected with a power grid to realize electric energy feedback and absorption. The upper computer is connected with the fuel cell controller, the adjustable load and the DC/DC through a CAN bus, and CAN communication is carried out with the fuel cell controller, the adjustable load and the DC/DC by adopting a parallel processing multithreading structure. The upper computer receives and analyzes messages sent by the adjustable load, the DC/DC and the fuel cell controller in real time by using the receiving thread, sends the analyzed data to the main thread for real-time data and curve display, and stores the received data in the database by using the data storage thread. The host thread interface of the upper computer also comprises a function button and a set target value input frame, the sending thread sends a control command and a set target value of the function button in the main thread to the fuel cell controller and the adjustable load through the CAN bus, the fuel cell controller controls the DC/DC and the fuel cell engine according to a received CAN message command, and the adjustable load adjusts a power consumption gear according to the received CAN message control command, so that manual control, automatic control and manual forced control under different load power conditions of the fuel cell power system platform, energy distribution between the fuel cell engine and the bidirectional power supply, fault alarm and self-protection are realized.
The thread working method comprises the following steps: clicking a CAN opening button on a main thread interface, after the CAN opening button is successfully in communication connection with a fuel cell controller, a DC/DC and an adjustable load, starting all threads by an upper computer, receiving and analyzing CAN messages sent by the adjustable load, the DC/DC and the fuel cell controller in real time by using a receiving thread, and sending analyzed data to a main thread and a data storage thread; the data storage thread binds the data analyzed by the receiving thread by using an SQL statement and stores the data into a corresponding storage space of the database; the interface control of the host thread of the upper computer displays the working state and parameter information of the adjustable load, the DC/DC and the fuel cell engine, and refreshes the display interface at the set timing time according to the analyzed data, the host thread main interface also comprises a target control value input frame, a real-time curve display selection button and a historical curve display selection button, the data storage thread extracts the stored data and sends the data to the host thread by clicking the corresponding real-time curve and historical curve display selection buttons, the voltage of the adjustable load, the current of the adjustable load and the power of the adjustable load are received according to the time sequence, the input end voltage of the DC/DC, the input end current of the DC/DC, the output end voltage of the DC/DC, the output end current of the DC/DC, the hydrogen supply system of the fuel cell engine, the air supply system, the fuel cell engine and the fuel cell engine, And drawing a real-time curve and a historical curve of the parameters of the cooling system and the electrical system.
The manual control method includes: after the upper computer is opened, clicking a CAN button on a main thread interface to open, connecting a CAN bus with an adjustable load, DC/DC and a fuel cell controller by the upper computer, displaying green by the communication connection button after CAN communication is successful, receiving a CAN message of the fuel cell controller, the adjustable load and the DC/DC by a receiving thread at the moment, analyzing and displaying all parameters and state information of a fuel cell power system platform, firstly clicking a manual control mode button of the main interface of the upper computer, and operating a switching command button of a hydrogen electromagnetic valve, a hydrogen proportional valve, a hydrogen circulating pump, a hydrogen heating exhaust electromagnetic valve, an inlet water pump, an outlet water pump, a main heat exchanger, a DC water pump, an air compressor cold water pump, an air compressor inlet throttle valve, an air compressor and an air outlet throttle valve part of the upper computer, and opening degree of the hydrogen proportional valve, The upper computer sends messages of the control variables to the fuel cell controller according to the protocol, the fuel cell controller analyzes the operation command of the upper computer according to the protocol, controls the opening and closing of a hydrogen electromagnetic valve, a proportion regulating valve, a hydrogen heating exhaust electromagnetic valve for exhaust, a hydrogen heating exhaust electromagnetic valve for heating, a hydrogen circulating pump, an air compressor inlet throttle valve, an air outlet throttle valve, an inlet water pump, an outlet water pump, a DC heat exchanger and a main heat exchanger component by outputting corresponding IO signals, controls the opening of a hydrogen proportional valve, the air compressor inlet throttle valve and the air outlet throttle valve by outputting PWM signals with certain frequency and duty ratio, and sends target rotating speed commands to the air compressor, the air pump and the heat exchanger through another CAN, The hydrogen circulating pump, the cooling fan and the circulating water pump are used for controlling the rotating speed; the method comprises the steps that a CAN message control command is sent to a fuel cell controller by operating a DC/DC main contactor switch on an upper computer interface, enabling DC/DC to be effective, enabling DC/DC and inputting a target current command by DC/DC, and the fuel cell controller outputs a corresponding CAN message command to DC/DC according to the received CAN message to realize the manual control of the upper computer on DC/DC; and transmitting a CAN message control command to the adjustable load by operating an output gear command of the adjustable load on the upper computer interface, so as to realize the adjustment of the output power of the adjustable load.
The automatic control method includes: and after the upper computer is opened, clicking a CAN button on the main thread interface to open, connecting the CAN bus with the upper computer to communicate with the fuel cell controller, the adjustable load and the DC/DC, displaying green by the communication connection button after CAN communication is successful, and receiving the CAN messages of the fuel cell controller, the adjustable load and the DC/DC by the receiving thread to analyze and display all parameters and state information of the fuel cell power system platform. Firstly clicking an automatic control mode button of a host interface of an upper computer, then operating a fuel cell engine starting, a fuel cell engine shutdown, a DC/DC operation and a fuel cell engine output current control command of the host computer automatic control mode interface and sending the control commands to a fuel cell controller through a CAN bus, and the fuel cell controller starts and stops a hydrogen supply system, an air supply system, a cooling system and an actuator of an electrical system of the fuel cell engine according to the received fuel cell engine control command from the host computer in combination with a preset control flow and a preset strategy to realize the starting, stopping and operation of the fuel cell engine; the fuel cell controller sends a DC/DC control command from an upper computer to the DC/DC through a CAN bus according to a DC/DC communication protocol to control the DC/DC main contactor switch, the DC/DC enabling effect and the DC/DC enabling of the fuel cell controller; the fuel cell controller automatically adjusts the running state of the fuel cell engine according to the received fuel cell engine output current control command from the upper computer, and sends the command to a DC/DC target input current through a CAN bus according to a DC/DC communication protocol to realize the controllable output of the fuel cell engine; and simultaneously, operating an adjustable load output gear command of an upper computer automatic control mode interface to send a CAN control command to the adjustable load to carry out loading and unloading operations.
The forced manual control method includes: after clicking an automatic control mode button of a main interface of the upper computer and operating a starting command button of the fuel cell engine, when it is detected that the respective parameters and states of the fuel cell engine and the DC/DC are out of the set ranges, clicking each execution part of a fuel cell engine hydrogen supply system, a fuel cell engine air supply system, a fuel cell engine cooling water system and a fuel cell engine electric system on an automatic control mode main interface of an upper computer, and a DC/DC main contactor switch, a forced manual control selection button for a DC/DC input current target value, and inputs a forced execution control target value, sent to the fuel cell controller through the CAN bus, the fuel cell controller updates the control state and the operation value of the corresponding component in the automatic control program in advance according to the received command, therefore, manual intervention control and running state optimization of the part execution component in the automatic control mode are realized.
The fault alarm method comprises the following steps: the upper computer receives and analyzes the message on the CAN bus in real time through the receiving thread, carries out ID and fault value matching on the fault code sent by the fuel cell controller and the DC/DC and the fault library established in the main thread, simultaneously reads the current time of the computer, carries out frequency and interval time statistics on the occurred fault, and sends the matched fault meaning to the interface to display the fault meaning, the fault code, the fault time, the fault grade, the frequency of occurrence of the fault and the interval time of occurrence of the fault. Meanwhile, overvoltage, undervoltage, overcurrent and overheat fault prompting is carried out on the adjustable load according to voltage, current, power and temperature parameters fed back by the CAN bus through the adjustable load by combining the working states of a fuel cell engine and the DC/DC, and the frequency of occurrence of the fault and the time interval of occurrence of the fault are also displayed.
The self-protection method includes: under the automatic control and manual forced control modes, the upper computer receives and analyzes messages sent by the fuel cell controller, the DC/DC and the adjustable load in real time through a receiving thread, when parameters of a hydrogen supply system, an air supply system, a cooling system and an electrical system of the fuel cell engine, the input end voltage of the DC/DC, the input end current of the DC/DC, the output end voltage of the DC/DC and the output end current of the DC/DC are detected to exceed a preset threshold value of the upper computer and last set time, the upper computer actively sends a command of shutting down the fuel cell engine, disconnecting the DC/DC main contactor and the DC/DC input current to the fuel cell through a CAN bus, when the upper computer judges that the adjustable load has a fault and the fault duration exceeds the set threshold value, the upper computer actively sends an output power gear order to the adjustable load through the CAN bus, therefore, the active protection of the fuel cell power system platform is realized.
In specific implementation, as shown in fig. 1 and 2, in the monitoring method for the upper computer of the fuel cell power system platform based on the CAN bus, the output end of a fuel cell engine of the fuel cell power system platform is connected with the input end of a boost DC/DC converter, the output end of the boost DC/DC converter is connected with the direct current end of a bidirectional power supply and the input end of an adjustable load, and the alternating current end of the bidirectional power supply is connected with a power grid to realize electric energy feedback and absorption. The upper computer is connected with the fuel cell controller, the adjustable load and the DC/DC through a CAN bus, and CAN communication is carried out with the fuel cell controller, the adjustable load and the DC/DC by adopting a parallel processing multithreading structure. The upper computer receives and analyzes messages sent by the adjustable load, the DC/DC and the fuel cell controller in real time by using the receiving thread, sends the analyzed data to the main thread for real-time data and curve display, and stores the received data in the database by using the data storage thread. The host thread interface of the upper computer also comprises a function button and a set target value input frame, the sending thread sends a control command and a set target value of the function button in the main thread to the fuel cell controller and the adjustable load through the CAN bus, the fuel cell controller controls the DC/DC and the fuel cell engine according to a received CAN message command, and the adjustable load adjusts a power consumption gear according to the received CAN message control command, so that manual control, automatic control and manual forced control under automatic control modes under different load power conditions of the fuel cell power system platform are realized, and energy distribution between the fuel cell engine and the bidirectional power supply is realized.
As shown in fig. 3, clicking a CAN button on a main thread interface, after successful communication connection with the fuel cell controller, the DC/DC and the adjustable load, the upper computer starts all threads, receiving and analyzing CAN messages sent by the adjustable load, the DC/DC and the fuel cell controller in real time by using a receiving thread, and sending analyzed data to the main thread and a data storage thread; the data storage thread binds the data analyzed by the receiving thread by using an SQL statement and stores the data into a corresponding storage space of the database; the interface control of the host thread of the upper computer displays the working state and parameter information of the adjustable load, the DC/DC and the fuel cell engine, and refreshes the display interface at the set timing time according to the analyzed data, the host thread main interface also comprises a target control value input frame, a real-time curve display selection button and a historical curve display selection button, the data storage thread extracts the stored data and sends the data to the host thread by clicking the corresponding real-time curve and historical curve display selection buttons, the voltage of the adjustable load, the current of the adjustable load and the power of the adjustable load are received according to the time sequence, the input end voltage of the DC/DC, the input end current of the DC/DC, the output end voltage of the DC/DC, the output end current of the DC/DC, the hydrogen supply system of the fuel cell engine, the air supply system, the fuel cell engine and the fuel cell engine, And drawing a real-time curve and a historical curve of the parameters of the cooling system and the electrical system.
As shown in fig. 4, 5, 6 and 7, after the upper computer is opened, clicking a CAN button on a main thread interface to open the CAN, at the moment, connecting a CAN bus with an adjustable load, a DC/DC and a fuel cell controller by the upper computer, when the CAN communication is successful, displaying green by the communication connection button, receiving the CAN messages of the fuel cell controller, the adjustable load and the DC/DC by a receiving thread at the moment, analyzing and displaying all parameters and state information of a fuel cell power system platform, firstly clicking a manual control mode button of the upper computer main interface, and operating a switch command button of a hydrogen solenoid valve, a hydrogen proportional valve, a hydrogen circulating pump, a hydrogen heating exhaust solenoid valve, an inlet water pump, an outlet water pump, a main heat exchanger, a DC water pump, an air compressor, a cold water pump, an air compressor inlet throttle, an air compressor and an air outlet throttle component of the upper computer, and the set values of the data input boxes of the hydrogen proportional valve opening, the air compressor inlet throttle valve opening, the air outlet throttle valve opening, the air compressor rotating speed, the hydrogen circulating pump rotating speed, the heat exchanger and the water pump rotating speed, the upper computer sends messages of the control variables to the fuel cell controller according to the protocol, the fuel cell controller analyzes the operation commands of the upper computer according to the protocol, controls the opening and closing of the hydrogen electromagnetic valve, the proportional control valve, the hydrogen heating exhaust electromagnetic valve for exhaust, the hydrogen heating exhaust electromagnetic valve for heating, the hydrogen circulating pump, the air compressor inlet throttle valve, the air outlet throttle valve, the inlet water pump, the outlet water pump, the DC heat exchanger and the main heat exchanger component by outputting corresponding IO signals, controls the opening of the hydrogen proportional valve, the air compressor inlet throttle valve and the air outlet throttle valve by outputting PWM signals with certain frequency and duty ratio, and sends target rotating speed commands to the air compressor through another CAN, The hydrogen circulating pump, the cooling fan and the circulating water pump are used for controlling the rotating speed; the method comprises the steps that a CAN message control command is sent to a fuel cell controller by operating a DC/DC main contactor switch on an upper computer interface, enabling DC/DC to be effective, enabling DC/DC and inputting a target current command to the DC/DC, and the fuel cell controller outputs a corresponding CAN message command to the DC/DC according to the received CAN message from the upper computer and the communication protocol of the DC/DC, so that the upper computer indirectly and manually controls the DC/DC; and a CAN message control command is sent to the adjustable load through an output gear command of the adjustable load on an upper computer interface, so that the output power of the adjustable load CAN be directly adjusted.
As shown in fig. 8, after the upper computer is turned on, the CAN-on button on the main thread interface is clicked, the upper computer is connected with the CAN bus to communicate with the fuel cell controller, the adjustable load and the DC/DC, after the CAN communication is successful, the communication connection button displays green, and the receiving thread receives the CAN messages of the fuel cell controller, the adjustable load and the DC/DC to analyze and display all parameters and state information of the fuel cell power system platform. Firstly clicking an automatic control mode button of a host interface of an upper computer, then operating a fuel cell engine starting, a fuel cell engine shutdown, a DC/DC operation and a fuel cell engine output current control command of the host computer automatic control mode interface and sending the control commands to a fuel cell controller through a CAN bus, and the fuel cell controller starts and stops a hydrogen supply system, an air supply system, a cooling system and an actuator of an electrical system of the fuel cell engine according to the received fuel cell engine control command from the host computer in combination with a preset control flow and a preset strategy to realize the starting, stopping and operation of the fuel cell engine; the fuel cell controller sends a DC/DC control command from an upper computer to the DC/DC through a CAN bus according to a DC/DC communication protocol to control the DC/DC main contactor switch, the DC/DC enable effect and the DC/DC enable; the fuel cell controller automatically adjusts the hydrogen supply system, the air supply system, the cooling system and the electric system according to the received output current control command of the fuel cell engine from the upper computer so as to control the running state of the fuel cell engine, and sends the output current control command to the DC/DC target input current command through the CAN bus according to the DC/DC communication protocol to realize the power controllable output of the fuel cell engine; and simultaneously, operating an adjustable load output gear command of an upper computer automatic control mode interface to send a CAN control command to the adjustable load to carry out loading and unloading operations.
As shown in fig. 9, after clicking an automatic control mode button of a host interface of a host computer and operating a start command button of a fuel cell engine, when detecting that parameters and states of the fuel cell engine and the DC/DC are not in a set range, clicking executing components of a hydrogen supply system of the fuel cell engine, an air supply system of the fuel cell engine, a cooling water system of the fuel cell engine and an electrical system of the fuel cell engine on the host computer automatic control mode host interface, a switch of a DC/DC main contactor, a forced manual control selection button of a DC/DC input current target value, inputting a forced execution control target value, sending the control target value to a fuel cell controller through a CAN bus, updating a control state and an operation value of a correspondingly selected forced manual control component in a pre-automatic control program by the fuel cell controller according to a received command, therefore, manual intervention control and running state optimization of the part execution component in the automatic control mode are realized.
As shown in fig. 10, the upper computer receives and analyzes the message on the CAN bus in real time through the receiving thread, matches the fault code sent by the fuel cell controller and the DC/DC with the fault library established in the main thread for ID and fault value matching, reads the current time of the computer at the same time, counts the number of times and interval time of the fault, and sends the matched fault meaning to the interface for displaying the fault meaning, the fault code, the fault time, the fault level, the number of times of the fault occurrence and the interval time of the fault occurrence. Meanwhile, overvoltage, undervoltage, overcurrent and overheat fault prompting is carried out on the adjustable load according to voltage, current, power and temperature parameters fed back by the CAN bus through the adjustable load by combining the working states of a fuel cell engine and the DC/DC, and the frequency of occurrence of the fault and the time interval of occurrence of the fault are also displayed.
As shown in fig. 11, in the automatic control and manual forced control mode, the upper computer receives and analyzes the messages sent by the fuel cell controller, the DC/DC and the adjustable load in real time through the receiving thread, when detecting that the parameters of the hydrogen supply system, the air supply system, the cooling system and the electrical system of the fuel cell engine and the parameters of the input terminal voltage of the DC/DC, the input terminal current of the DC/DC, the output terminal voltage of the DC/DC and the output terminal current of the DC/DC exceed the preset threshold value of the upper computer and last for a set time, the upper computer actively sends the command of shutting down the fuel cell engine, disconnecting the main contactor of the DC/DC and clearing the input current of the DC/DC to the fuel cell control through the CAN bus, when the upper computer judges that the adjustable load has a fault and the fault duration exceeds the set threshold value, the upper computer actively sends an output power gear zero clearing command to the adjustable load through the CAN bus, so that the active protection of the fuel cell power system platform is realized.
It should be understood that parts of the specification not set forth in detail are well within the prior art.
Although specific embodiments of the present invention have been described above with reference to the accompanying drawings, it will be appreciated by those skilled in the art that these are merely illustrative and that various changes or modifications may be made to these embodiments without departing from the principles and spirit of the invention. The scope of the invention is only limited by the appended claims.

Claims (6)

1. The upper computer monitoring method of the fuel cell power system platform based on CAN bus, the fuel cell engine output terminal of the power system platform of the fuel cell couples to input end of the DC/DC converter of boosting, the output terminal of the DC/DC converter of boosting couples to direct-flow end and input end of the adjustable load of the two-way power, the alternating-current end of the two-way power couples to electric wire netting and realizes electric energy feedback and absorbs; the system is characterized in that an upper computer is connected with a fuel cell controller, an adjustable load and a boost DC/DC converter through a CAN bus, and CAN communication is carried out between the upper computer and the fuel cell controller, the adjustable load and the boost DC/DC converter by adopting a parallel processing multithreading structure; the upper computer receives and analyzes messages sent by the adjustable load, the boost DC/DC converter and the fuel cell controller in real time by using the receiving thread, sends the analyzed data to the main thread for real-time data and curve display, and stores the received data into the database by using the database storing thread; the main thread interface of the upper computer also comprises a function button and a set target value input frame, the sending thread sends a control command and a set target value of the function button in the main thread to the fuel cell controller and the adjustable load through the CAN bus, the fuel cell controller controls the boosting DC/DC converter and the combustion cell engine according to a received CAN message command, and the adjustable load adjusts a power consumption gear according to the received CAN message command, so that manual control, automatic control, manual forced control in an automatic control mode, energy distribution between the fuel cell engine and a bidirectional power supply, fault alarm and self-protection under different load power conditions of the fuel cell power system platform are realized.
2. The CAN-bus-based fuel cell power system platform upper computer monitoring method as claimed in claim 1, wherein the thread working method comprises: after the upper computer is successfully in communication connection with the fuel cell controller, the boost DC/DC converter and the adjustable load, starting all threads, receiving CAN messages sent by the adjustable load, the boost DC/DC converter and the fuel cell controller in real time by the receiving thread, analyzing the CAN messages, and sending analyzed data to the main thread and the database storage thread; the database storage thread binds the data analyzed by the receiving thread by using an SQL statement and stores the data into a corresponding storage space of the database; the interface control of the host thread of the upper computer displays the working state and parameter information of the adjustable load, the boost DC/DC converter and the fuel cell engine, and refreshes the display interface at the set timing time according to the analyzed data, the host thread receives the commands of the target control value input frame, the real-time curve display and the historical curve display, the database storage thread extracts the stored data and sends the data to the host thread, and the voltage of the adjustable load, the current of the adjustable load, the power of the adjustable load, the input end voltage of the boost DC/DC converter, the input end current of the boost DC/DC converter, the output end voltage of the boost DC/DC converter, the output end current of the boost DC/DC converter, the parameters of the hydrogen supply system of the fuel cell engine, the parameters of the air supply system of the fuel cell engine, the data of the boost DC/DC converter and the data of the fuel cell engine are received in sequence, Parameters of a cooling system of the fuel cell engine and parameters of an electrical system of the fuel cell engine are plotted in real time and historical curves.
3. The CAN bus-based fuel cell power system platform upper computer monitoring method of claim 1, wherein the manual control method comprises: the main thread receives a CAN opening command, the upper computer is connected with a CAN bus to communicate with the adjustable load, the boost DC/DC converter and the fuel cell controller, the receiving thread receives CAN messages of the fuel cell controller, the adjustable load and the boost DC/DC converter and analyzes and displays all parameters and state information of a fuel cell power system platform, the upper computer receives a manual control mode command, receives on-off commands of a hydrogen electromagnetic valve, a hydrogen proportional valve, a hydrogen circulating pump, a hydrogen heating exhaust electromagnetic valve, an inlet water pump, an outlet water pump, a main heat exchanger, a DC water pump, an air compressor cold water pump, an air compressor inlet throttle valve, an air compressor and an air outlet throttle valve component, and receives opening and closing commands of the hydrogen proportional valve, opening of the air compressor inlet throttle valve, opening of the air outlet throttle valve, rotating speed of the air compressor, rotating speed of the hydrogen circulating pump, a power supply controller, a boost DC/DC converter and a fuel cell controller, The upper computer sends messages of the control variables to the fuel cell controller according to a protocol; the upper computer receives the commands of a main contactor switch, effective enabling, enabling and target current inputting of the boost DC/DC converter and sends a CAN message control command to the fuel cell controller, so that the upper computer CAN manually control the boost DC/DC converter; and the upper computer receives the output gear command of the adjustable load and sends a CAN message control command to the adjustable load, so that the output power of the adjustable load is adjusted.
4. The CAN bus-based fuel cell power system platform upper computer monitoring method of claim 1, wherein the automatic control method comprises: the main thread receives a CAN opening command, the upper computer is connected with a CAN bus and is communicated with the fuel cell controller, the adjustable load and the boost DC/DC converter, and the receiving thread receives CAN messages of the fuel cell controller, the adjustable load and the boost DC/DC converter to analyze and display all parameters and state information of the fuel cell power system platform; firstly, clicking an automatic control mode button of an upper computer main interface, and then operating control commands of starting a fuel cell engine, shutting down the fuel cell engine, operating a boosting DC/DC converter and outputting current of the fuel cell engine of the upper computer automatic control mode interface to send to a fuel cell controller through a CAN bus; and simultaneously, operating an adjustable load output gear command of an upper computer automatic control mode interface to send a CAN control command to the adjustable load to carry out loading and unloading operations.
5. The CAN bus-based fuel cell power system platform upper computer monitoring method of claim 1, wherein the fault alarm method comprises: the upper computer receives and analyzes the message on the CAN bus in real time through the receiving thread, carries out ID and fault value matching on the fault code sent by the fuel cell controller and the boost DC/DC converter and a fault library established in the main thread, simultaneously reads the current time of the upper computer, carries out frequency and interval time statistics on the occurred fault, and sends the matched fault meaning to the interface to display the fault meaning, the fault code, the fault time, the fault grade, the frequency of occurrence of the fault and the interval time of occurrence of the fault; and (3) carrying out overvoltage, undervoltage, overcurrent and overheating fault prompting on the adjustable load according to the voltage, current, power and temperature parameters fed back by the CAN bus through the adjustable load by combining the working states of the fuel cell engine and the boosting DC/DC converter, and displaying the occurrence frequency and the occurrence interval time of the faults.
6. The CAN-bus-based fuel cell power system platform upper computer monitoring method of claim 1, wherein the self-protection method comprises: under the automatic control and manual force control modes, the upper computer receives and analyzes messages sent by the fuel cell controller, the boost DC/DC converter and the adjustable load in real time through a receiving thread, and when parameters of a hydrogen supply system, an air supply system, a cooling system and an electrical system of the fuel cell engine, the input end voltage of the boost DC/DC converter, the input end current of the boost DC/DC converter, the output end voltage of the boost DC/DC converter and the output end current of the boost DC/DC converter are detected to exceed a preset threshold value of the upper computer and continue for a set time, the upper computer sends a command for shutting down the fuel cell engine, disconnecting a main contactor of the boost DC/DC converter and clearing the input current of the boost DC/DC converter to the fuel cell controller through a CAN bus, when the upper computer judges that the adjustable load has a fault and the fault duration time exceeds a set threshold value, the upper computer sends an output power gear reset command to the adjustable load through the CAN bus, so that self-protection of the fuel cell power system platform is realized.
CN202010478024.3A 2020-05-29 2020-05-29 CAN bus-based fuel cell power system platform upper computer monitoring method Active CN111628197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010478024.3A CN111628197B (en) 2020-05-29 2020-05-29 CAN bus-based fuel cell power system platform upper computer monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010478024.3A CN111628197B (en) 2020-05-29 2020-05-29 CAN bus-based fuel cell power system platform upper computer monitoring method

Publications (2)

Publication Number Publication Date
CN111628197A CN111628197A (en) 2020-09-04
CN111628197B true CN111628197B (en) 2021-08-17

Family

ID=72271149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010478024.3A Active CN111628197B (en) 2020-05-29 2020-05-29 CAN bus-based fuel cell power system platform upper computer monitoring method

Country Status (1)

Country Link
CN (1) CN111628197B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112701329B (en) * 2020-12-10 2023-07-18 武汉格罗夫氢能汽车有限公司 Control method for on-load starting of fuel cell system
CN113407214B (en) * 2021-06-24 2023-04-07 广东泰坦智能动力有限公司 Reconfigurable multithreading parallel upper computer system based on can communication
CN114002600B (en) * 2021-11-12 2024-03-29 北京亿华通科技股份有限公司 Error frame checking method of fuel cell engine test system
CN114089729B (en) * 2022-01-20 2022-04-22 武汉海亿新能源科技有限公司 Fuel cell power system test platform using upper computer to replace vehicle control unit

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101505092B (en) * 2009-03-09 2011-11-16 武汉理工大学 Standby electrical power system of fuel cell for communication
CN102320276A (en) * 2011-07-05 2012-01-18 张化锴 Pure electric automobile entire car controller calibration system and calibration method based on the CAN bus
JP2014199766A (en) * 2013-03-29 2014-10-23 ダイハツ工業株式会社 Fuel cell system
CN106441925A (en) * 2016-08-05 2017-02-22 山东沃森电源设备有限公司 Test device of power system of electric vehicle

Also Published As

Publication number Publication date
CN111628197A (en) 2020-09-04

Similar Documents

Publication Publication Date Title
CN111628197B (en) CAN bus-based fuel cell power system platform upper computer monitoring method
CN111640970B (en) CAN bus-based fuel cell engine upper computer monitoring method
CN110701482B (en) Fuel cell commercial vehicle hydrogen storage management method
CN109895660A (en) A kind of fuel cell car multi-source controller and control method
CN111102018B (en) Control method and control system for preventing over-rated power of low-pressure turbine
CN108638789A (en) A kind of Air conditioner on car voltage detecting control method and Air conditioner on car
CN110416974A (en) A kind of protective circuit of switch power source, Switching Power Supply and Switching Power Supply guard method
CN107315405B (en) Internet-based remote diagnosis system and method for unit self-starting control process
CN109950579A (en) A kind of fuel battery engines intelligent control platform and its control method
CN108839536A (en) A kind of Air conditioner on car control method and Air conditioner on car
US20240166017A1 (en) Testing device and method for service life of air-conditioning compressor of new energy vehicle running with pure gas
CN109672376B (en) Generator set and control unit and method
CN106671727A (en) Electric vehicle air conditioner controller and control method
CN113605997B (en) Control method for single-loop double-regulation object of turbine bypass system
CN209447936U (en) A kind of fuel battery engines intelligent control platform
CN112064455A (en) Paver, heating system of paver and control method of heating system
CN113156315A (en) Durability test bed system of hydrogen fuel cell system and control method
JP2013527569A (en) Energy management control method for fuel cell system
CN205540323U (en) High -pressure chamber temperature control system
CN216771047U (en) Testing arrangement of new energy automobile engine increases journey ware
CN103089461B (en) A kind of outside electronic EGR current overload protection protecting system and controlling method thereof
CN114087084B (en) APP-based fuel generator start-stop control method
CN117996111B (en) Cathode open type PEMFC hybrid energy system and control method
CN117353628B (en) Intelligent oil-electricity energy storage system and control method thereof
CN215867032U (en) Nuclear capacity control device based on storage battery polling instrument and active inverter design

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211102

Address after: 712000 room 1208, block B, galaxy, collaborative innovation port, Fengdong Avenue, Xixian new area, Xi'an City, Shaanxi Province

Patentee after: Shaanxi yuhydrogen Energy Technology Co.,Ltd.

Address before: 430068 No. 28 Nanli Road, Hongshan District, Wuhan City, Hubei Province

Patentee before: HUBEI University OF TECHNOLOGY

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220524

Address after: 710075 Room 501, block B, Xinke building, Yanta District, Xi'an City, Shaanxi Province

Patentee after: Shaanxi Hanrui Hydrogen Energy Technology Co.,Ltd.

Address before: 712000 room 1208, block B, galaxy, collaborative innovation port, Fengdong Avenue, Xixian new area, Xi'an City, Shaanxi Province

Patentee before: Shaanxi yuhydrogen Energy Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230628

Address after: Room 1041, 10th Floor, Weiya Building, No. 29 Suzhou Street, Haidian District, Beijing, 100080

Patentee after: Hanrui Hydrogen Technology Group Co.,Ltd.

Address before: 710075 Room 501, block B, Xinke building, Yanta District, Xi'an City, Shaanxi Province

Patentee before: Shaanxi Hanrui Hydrogen Energy Technology Co.,Ltd.