A control method for a combined heat and power heating device
Through the control method of the combined heat and power supply and heating device, the communication between the main controller and the power system is used to realize the combined heat and power supply control of heating and insulation power generation, which solves the problem of vehicle heating and power generation in complex weather and geographical environments, and improves the environmental adaptability of the vehicle and the reliability of the power system.
Patent Information
- Application Number
- CN202411955504.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-28
- Publication Date
- 2025-04-04
AI Technical Summary
The prior art is difficult to achieve reliable heating and power generation of vehicles in complex weather and geographical environments, especially in plateau and high-altitude environments, and power energy systems are difficult to meet the requirements of lower temperatures and higher altitudes.
A method for controlling a combined heat and power supply and heating device is proposed, and the combined heat and power supply control of heating and insulation power generation is realized through the main controller communication with the motor controller, fuel pump, water pump, and oil pump. The total controller is divided into seven functional modules, including heating device initialization, parameter update, status switching conditions, process status control, execution status output, working mode calculation and fault diagnosis modules.
It realizes automatic operation of the heating and insulation device according to the requirements of the vehicle's use, improves the heating capacity in an extremely low temperature and low air pressure environment, enhances the environmental adaptability of the vehicle, and supports the upgrading and transformation of the power energy system and the adaptive auxiliary system.
Smart Images

Figure CN119754981A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of engines, and in particular relates to a control method for a combined heat and power heating device. Background Art
[0002] In order to meet the demand for reliable operation of vehicles in complex weather and geographical environments, it is required to significantly increase the maneuverability range and meet the requirements of vehicle usability, effectiveness, durability and practicality. The power energy system is required to be reliable and practical in high-altitude and high-cold weather and geographical environments, optimize the current temperature range to meet lower temperature driving, adapt to higher altitude environments, and expand the adaptability range from my country's land to the world's land. Summary of the invention
[0003] In view of this, the present invention aims to propose a control method for a combined heat and power heating device, so as to provide a control system that can realize the automatic operation of starting the heating and insulation device according to the vehicle use requirements, and meet the control method of the combined heat and power heating device for heating power generation and insulation power generation.
[0004] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0005] A control method for a combined heat and power heating device includes a master controller, which communicates with a motor controller, a fuel pump, a water pump, and an oil pump via a CAN bus, receives vehicle electrical system control commands via the CAN bus, and reports working status and fault information; the master control area collects data from sensors and controls the operation of an oil heating relay, an igniter, an indicator light, and a switching valve.
[0006] Furthermore, the general controller is divided into seven functional modules according to functions: a heating device initialization module, a parameter updating module, a state switching condition module, a process state control module, an execution state output module, a working mode calculation module, and a fault diagnosis module.
[0007] Furthermore, the master controller includes two working modes: heating power generation and heat preservation power generation, and switching between the modes is achieved by receiving CAN commands sent by the vehicle electrical system.
[0008] Furthermore, the specific control method of the master controller is:
[0009] S1, initializing and controlling the heating device through the initialization module;
[0010] S2, update the parameters in S1 through the parameter update module;
[0011] S3, calculate and output the state jump condition enable through the state switching condition module;
[0012] S4, calculate and output the timer result through the process state control module;
[0013] S5, correcting the fuel pump speed by executing the status output module;
[0014] S6. Calculate the working mode of the heating and insulation system through the working mode calculation module;
[0015] S7. Diagnose the fault through the heating device fault diagnosis module.
[0016] Furthermore, the parameters in S1 are updated by the parameter updating module in S2, and the specific method is as follows:
[0017] S21. Add two states:
[0018] Detection state 1: Through the detection tool, the bus input data required for system operation is provided, and independent function debugging can be performed when other software configuration items of the system are incomplete;
[0019] Detection state 2: Through the detection tool, modify the state of each actuator so that the actuator can work without the system, which is used for actuator debugging and inspection; when the system is powered on, the default state switching mark = 0, entering the normal state; the state switching mark is changed through the calibration software;
[0020] S22. Calculate and update the exhaust temperature, water inlet temperature, water return temperature, water pump feedback speed, oil pump feedback speed, fuel pump feedback speed, motor feedback speed, motor feedback current, and operating condition / mode selection command signal according to the detection status signal.
[0021] Furthermore, in S3, the state switching condition module is used to calculate and output the state jump condition enable. The specific control method is: the key parameter matching requirements of the oil, gas, lubrication, cooling, motor and other systems in the starting and heating modes, heating and insulation, power generation and other modes are completed through the state switching condition module, and the triggering conditions for starting each mode are clarified; according to the state jump status word and the exhaust temperature, water inlet temperature, return water temperature, water pump feedback speed, oil pump feedback speed, fuel pump feedback speed, motor feedback speed, motor feedback current, working condition / mode selection command signal and fault information, the state jump condition enable is calculated and output as the input of the process state control module.
[0022] Furthermore, the timer result is calculated and outputted by the process state control module in S4, and the specific method is as follows: the corresponding control state jump is executed according to the calculation result of the state switching condition module in S3, and the control state jump state word and each state timer result are outputted, and the ignition state word and the cooling state word are determined according to the exhaust temperature, the fuel pump feedback speed and other information, and the timer results are outputted respectively.
[0023] Furthermore, in S5, the fuel pump speed is corrected by executing the status output module, and the specific method is as follows:
[0024] S51, the initialization state process is: input the collected values of water inlet temperature, water outlet temperature, exhaust temperature, operation switch collected value and CAN bus data, receive the working condition / mode selection command from the terminal or emergency control box, receive the heating power generation, and assign the initial value of 3 to the number of cycles; receive the insulation power generation, and assign the initial value of 1 to the number of cycles; after the self-check of all components is completed, the water pump, oil pump, fuel pump, motor, ignition, and oil heating relay are not working, the indicator light is off and the fault information is output at the same time, and the end state is jumped when a fault is detected;
[0025] S52, the starting state process is: input the collected values of water inlet temperature, water outlet temperature, exhaust temperature, running switch collected value and CAN bus data, and judge whether the oil electric heating relay is connected according to the comparison between the water inlet temperature value and the oil heating water temperature setting value. When the water inlet temperature is lower than the required water temperature, the oil electric heating relay is connected. After heating for 3-5 minutes, the oil electric heating relay is disconnected; the water pump works at the required speed, the oil pump works at the required speed, and after the feedback speed of the water pump and the oil pump reaches the required speed, the motor works at the required speed for starting, and the other execution components do not work; when a fault is detected, the jump to the end state;
[0026] S53, the ignition state process is: input the water inlet temperature, water outlet temperature, exhaust temperature collection value, operation switch collection value and CAN bus data; the water pump works at the required speed, the oil pump works at the required speed, the motor works at the required starting speed, and the fuel pump works at the required minimum speed; the igniter works and cuts off the power after 15s. After the igniter is powered off, when the current exhaust temperature is detected to be greater than 200℃, the ignition success state is output. When the exhaust temperature is less than 200℃, the ignition failure state is output, and the indicator light flashes quickly; when a fault is detected, the jump ends;
[0027] S54, the heating state process is: input the ambient temperature, atmospheric pressure, water inlet temperature, water outlet temperature, exhaust temperature collection values, operation switch collection values and CAN bus data; the water pump works at the required speed, the oil pump works at the required speed, the motor works at the required power generation speed, and the fuel pump is controlled to gradually increase the speed according to the speed increase slope corrected by the ambient temperature and atmospheric pressure until the fuel pump speed reaches the upper limit of the safe speed or the exhaust temperature reaches 800°C, the water pump, oil pump, fuel pump, and motor work, and the other execution components do not work, and the fault is detected and the jump ends;
[0028] S55, the power generation state process is: input the ambient temperature, atmospheric pressure, water inlet temperature, water outlet temperature, exhaust temperature collection values, operation switch collection values and CAN bus data; the water pump works at the required speed, the oil pump works at the required speed, the motor speed increases to the calibrable power generation speed according to the calibrable slope, the fuel pump works at the fuel pump speed corresponding to the motor speed and the power generation voltage difference after correction of the ambient temperature and atmospheric pressure, the fuel pump works at the maximum speed reached in the heating stage, stops sending the required speed command to the motor, controls the motor to enter the power generation mode through CAN communication, and in the power generation loading stage, the given target current increases according to the calibration curve until the current setting value is reached, stops loading, and maintains the output of the current given value; the water pump, oil pump, fuel pump, and motor work, and the other execution components do not work, and the fault jump end state is detected;
[0029] S56, the shutdown state process is: input the ambient temperature, atmospheric pressure, water inlet temperature, water outlet temperature, exhaust temperature collection values, operation switch collection values and CAN bus data, the water pump works at the required speed, the oil pump works at the required speed, and enters the shutdown state. First, the fuel pump is controlled to gradually reduce the speed according to the speed reduction slope corrected by the ambient temperature and atmospheric pressure, and the fuel pump is controlled to stop working. After stopping the fuel pump, the motor cooling target speed is set to work and stop working after cooling for 3 minutes; after stopping the fuel pump, the water pump and the oil pump are set to the original set speed for cooling for 3 minutes and then stop working; when the inlet water temperature is greater than 70℃, the indicator light flashes slowly, the inlet and outlet water temperature difference is greater than 30℃, the indicator light flashes quickly, and the exhaust temperature is less than 50℃, without cooling, each actuator is directly shut down; the number of cycles in the heating power generation mode is -1; the number of cycles in the insulation power generation mode remains unchanged, and the cyclic execution state machine jumps; the water pump, oil pump, fuel pump, and motor work first and then stop, and the indicator light flashes after meeting the control conditions.
[0030] Furthermore, in S6, the working mode of the heating and insulation system is calculated by the working mode calculation module. The specific method is: the working mode calculation module receives the working condition instruction sent by the whole vehicle, calculates the working mode of the heating and insulation system, calculates the current working state of the main controller according to the control state machine and the heating and insulation working mode, and reports it to the whole vehicle; in order to match various working condition requirements such as heating power generation and insulation power generation, the software runs in a normal state, and 3 working condition mode selection functions are designed: heating power generation condition, insulation power generation condition and standby condition; the 3 working conditions are selected through the "working condition / mode selection command" from the terminal or emergency control box.
[0031] Furthermore, in S7, the fault is diagnosed by the heating device fault diagnosis module, and the specific method is: the sensor, actuator, and CAN communication fault signals are detected by the heating device fault diagnosis module, and the total fault status word is calculated; the fault shielding function is set: by modifying the fault detection enable of each component of the calibration software, whether the fault detection function of each component is adopted is controlled separately; fault detection enable = 1, perform fault detection of the component; fault detection enable = 0, shield the fault detection of the component.
[0032] Compared with the prior art, the control method of the combined heat and power heating device of the present invention has the following advantages:
[0033] (1) The control method of the combined heat and power heating device described in the present invention can automatically determine whether preheating is required based on environmental conditions, calibrate the preheating time based on the preheating power matched by the device, and obtain a preheating control strategy; according to the ignition and combustion conditions of the device, calibrate the parameters such as the supercharger motor speed, ignition time, and fuel pump speed at the ignition time during the starting process to obtain a starting process control strategy.
[0034] (2) The control method of the combined heat and power heating device described in the present invention provides a control strategy for breaking through the heating device for extreme low temperature and low pressure environments, provides technical support for improving the environmental adaptability of vehicles, and lays the foundation for the upgrading and transformation of auxiliary systems and the development of adaptive auxiliary systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:
[0036] Figure 1 This is a schematic diagram of the master controller interface according to an embodiment of the present invention;
[0037] Figure 2 This is a functional schematic diagram of the master controller according to an embodiment of the present invention;
[0038] Figure 3 This is a schematic diagram of the state transition of the master controller according to an embodiment of the present invention;
[0039] Figure 4 This is a functional structure diagram of the master controller described in an embodiment of the present invention. DETAILED DESCRIPTION
[0040] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.
[0041] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and the like are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", and the like may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.
[0042] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood by specific circumstances.
[0043] The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0044] A method for controlling a combined heat and power heating device, such as Figures 1 to 4 As shown, it includes a main controller, which communicates with the motor controller, fuel pump, water pump, and oil pump through the CAN bus, receives the vehicle electrical system control command through the CAN bus and reports the working status and fault information; the main control area collects the data from the sensor and controls the operation of the oil heating relay, igniter, indicator light, and switching valve.
[0045] The main controller is a domestically produced 32-bit single-chip microcomputer. The main controller has two working modes: heating power generation and heat preservation power generation. The mode switching is achieved by receiving CAN commands sent by the vehicle electrical system.
[0046] The main controller is divided into application layer, service layer and driver layer. The application layer includes state machine management, bus communication and general function library; the service layer includes sensor and actuator fault diagnosis; the driver layer includes underlying resource management and hardware interface driver.
[0047] The main controller is divided into seven functional modules according to its functions: heating device initialization module, parameter update module, state switching condition module, process state control module, execution state output module, working mode calculation module, and fault diagnosis module. Among them, the process state control module includes six parts: initialization state method, starting state method, ignition state method, heating state method, power generation state method, and shutdown state method.
[0048] The specific control method of the master controller is:
[0049] S1. Initialize and control the heating device through the initialization module: initialize and self-check the system, complete system clock initialization, I / O port initialization, A / D conversion initialization, interrupt initialization, timer initialization, CAN communication initialization, key variable initialization, sensor and actuator self-check.
[0050] S2, update the parameters in S1 through the parameter update module, the specific method is as follows:
[0051] S21. Add two states:
[0052] Detection state 1: Through the detection tool, the bus input data required for system operation is provided, and independent function debugging can be performed when other software configuration items of the system are incomplete;
[0053] Detection state 2: Through the detection tool, modify the state of each actuator so that the actuator can work without the system, which is used for actuator debugging and inspection. When the system is powered on, the default state switching mark = 0, entering the normal state; the state switching mark is changed through the calibration software.
[0054] S22. Calculate and update the exhaust temperature, water inlet temperature, water return temperature, water pump feedback speed, oil pump feedback speed, fuel pump feedback speed, motor feedback speed, motor feedback current, and operating condition / mode selection command signal according to the detection status signal.
[0055] S3. Calculate and output the state jump condition enable through the state switching condition module. The specific control method is: complete the key parameter matching requirements of the oil, gas, lubrication, cooling, motor and other systems in the starting and heating, heating and insulation, power generation and other modes through the state switching condition module, and clarify the trigger conditions for starting each mode. Calculate and output the state jump condition enable according to the state jump status word and exhaust temperature, water inlet temperature, return water temperature, water pump feedback speed, oil pump feedback speed, fuel pump feedback speed, motor feedback speed, motor feedback current, working condition / mode selection command signal and fault information as the input of the process state control module. See state jump Figure 3 .
[0056] S4. Calculate and output the timer result through the process state control module. The specific method is as follows:
[0057] According to the calculation results of the state switching condition module in S3, the corresponding control state jump is executed, and the control state jump state word and the results of each state timer are output. The ignition state word and cooling state word are determined according to the exhaust temperature, fuel pump feedback speed and other information, and the timer results are output respectively.
[0058] S5. Correct the fuel pump speed by executing the status output module. The specific method is as follows:
[0059] According to the control state jump state word, different control strategies of initialization state, starting state, ignition state, heating state, power generation state and shutdown state are executed respectively, and control signals of different state execution components are output. According to the input ambient temperature and atmospheric pressure, before the heating device is started, the environmental correction coefficient is set, and the fuel pump speed is corrected according to the atmospheric pressure and ambient temperature calibration correction coefficient MAP diagram.
[0060] S51, the initialization state process is: input the collected values of water inlet temperature, water outlet temperature, exhaust temperature, operation switch collected values and CAN bus data, receive the working condition / mode selection command from the terminal or emergency control box, receive the heating power generation, and assign the initial value of 3 to the number of cycles; receive the insulation power generation, and assign the initial value of 1 to the number of cycles. After the self-check of all components is completed, the output water pump, oil pump, fuel pump, motor, ignition, and oil heating relay do not work, the indicator light is off and the fault information is output at the same time, and the fault jump end state is detected.
[0061] S52, the starting state process is: input the collected values of water inlet temperature, water outlet temperature, exhaust temperature, running switch collected value and CAN bus data, and judge whether the oil electric heating relay is connected according to the comparison between the water inlet temperature value and the oil heating water temperature setting value. When the water inlet temperature is lower than the required water temperature, the oil electric heating relay is connected. After heating for 3-5 minutes, the oil electric heating relay is disconnected. The water pump works at the required speed, the oil pump works at the required speed, and after the feedback speed of the water pump and the oil pump reaches the required speed, the motor works at the starting required speed, and the other execution components do not work. When a fault is detected, the end state is jumped.
[0062] S53, the ignition state process is: input the collected values of water inlet temperature, water outlet temperature, exhaust temperature, operation switch collected value and CAN bus data; the water pump works at the required speed, the oil pump works at the required speed, the motor works at the required starting speed, and the fuel pump works at the required minimum speed; the igniter works and cuts off the power after 15s. After the igniter is powered off, when the current exhaust temperature is detected to be greater than 200℃, the ignition success status is output. When the exhaust temperature is less than 200℃, the ignition failure status is output and the indicator light flashes quickly; when a fault is detected, the jump ends.
[0063] S54, the heating state process is: input the ambient temperature, atmospheric pressure, water inlet temperature, water outlet temperature, exhaust temperature collection values, operation switch collection values and CAN bus data; the water pump works at the required speed, the oil pump works at the required speed, the motor works at the required power generation speed, and the fuel pump is controlled to gradually increase the speed according to the speed increase slope corrected by the ambient temperature and atmospheric pressure until the fuel pump speed reaches the safety speed limit or the exhaust temperature reaches 800℃, the water pump, oil pump, fuel pump, and motor work, and the other execution components do not work, and the fault jump end state is detected.
[0064] S55, the power generation state process is: input the ambient temperature, atmospheric pressure, water inlet temperature, water outlet temperature, exhaust temperature collection values, operation switch collection values and CAN bus data; the water pump works at the required speed, the oil pump works at the required speed, the motor speed increases to the calibrable power generation speed according to the calibrable slope, the fuel pump works at the fuel pump speed corresponding to the motor speed and the power generation voltage difference after the ambient temperature and atmospheric pressure are corrected, the fuel pump works at the maximum speed reached in the heating stage, stops sending the required speed command to the motor, controls the motor to enter the power generation mode through CAN communication, and in the power generation loading stage, the given target current increases according to the calibration curve until the current setting value is reached, stops loading, and maintains the output of the current given value. The water pump, oil pump, fuel pump, and motor work, and the other execution components do not work. When a fault is detected, the jump ends.
[0065] S56, the shutdown state process is: input the ambient temperature, atmospheric pressure, water inlet temperature, water outlet temperature, exhaust temperature collection values, operation switch collection values and CAN bus data, the water pump works at the required speed, the oil pump works at the required speed, and enters the shutdown state. First, the fuel pump is controlled to gradually reduce the speed according to the speed reduction slope corrected by the ambient temperature and atmospheric pressure, and the fuel pump is controlled to stop working. After stopping the fuel pump, the motor cooling target speed is set to work and stop working after cooling for 3 minutes; after stopping the fuel pump, the water pump and the oil pump are set to the original set speed for cooling for 3 minutes and then stop working. When the inlet water temperature is greater than 70℃, the indicator light flashes slowly; when the inlet and outlet water temperature difference is greater than 30℃, the indicator light flashes quickly, and the exhaust temperature is less than 50℃, each actuator is directly shut down without cooling; the number of cycles in the heating power generation mode is -1; the number of cycles in the insulation power generation mode remains unchanged, and the cyclic execution state machine jumps; the water pump, oil pump, fuel pump, and motor work first and then stop, and the indicator light flashes after meeting the control conditions;
[0066] S6. Calculate the working mode of the heating and insulation system through the working mode calculation module. The specific method is: receive the working condition instruction sent by the whole vehicle through the working mode calculation module, calculate the working mode of the heating and insulation system, calculate the current working state of the main controller according to the control state machine and the heating and insulation working mode, and report it to the whole vehicle. In order to match the requirements of various working conditions such as heating power generation and insulation power generation, the software runs in a normal state and designs three working mode selection functions: heating power generation condition, insulation power generation condition and standby condition. The three working conditions are selected through the "working condition / mode selection command" from the terminal or emergency control box.
[0067] S7. Diagnose the fault through the heating device fault diagnosis module. The specific method is: detect the sensor, actuator, and CAN communication fault signals through the heating device fault diagnosis module, and calculate the total fault status word. Set the fault shielding function: modify the fault detection enable of each component of the calibration software, and individually control whether the fault detection function of each component is used. Fault detection enable = 1, perform fault detection of this component; fault detection enable = 0, shield the fault detection of this component.
[0068] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for controlling a combined heat and power heating device, characterized in that: It includes a main controller, which communicates with the motor controller, fuel pump, water pump, and oil pump through the CAN bus, receives vehicle electrical system control commands through the CAN bus and reports working status and fault information; the main control area collects data from the sensor and controls the operation of the oil heating relay, igniter, indicator light, and switching valve.
2. A method for controlling a combined heat and power heating device according to claim 1, characterized in that: The main controller is divided into seven functional modules according to its functions: heating device initialization module, parameter update module, state switching condition module, process state control module, execution state output module, working mode calculation module, and fault diagnosis module.
3. A method for controlling a combined heat and power heating device according to claim 1, characterized in that: The main controller includes two working modes: heating power generation and insulation power generation. The switching between modes is achieved by receiving CAN commands sent by the vehicle electrical system.
4. A method for controlling a combined heat and power heating device according to claim 1, characterized in that: The specific control method of the master controller is: S1, initializing and controlling the heating device through the initialization module; S2, update the parameters in S1 through the parameter update module; S3, calculate and output the state jump condition enable through the state switching condition module; S4, calculate and output the timer result through the process state control module; S5, correcting the fuel pump speed by executing the status output module; S6. Calculate the working mode of the heating and insulation system through the working mode calculation module; S7. Diagnose the fault through the heating device fault diagnosis module.
5. A method for controlling a combined heat and power heating device according to claim 4, characterized in that: S2 updates the parameters in S1 through the parameter update module. The specific method is as follows: S21. Add two states: Detection state 1: Through the detection tool, the bus input data required for system operation is provided, and independent function debugging can be performed when other software configuration items of the system are incomplete; Detection state 2: Through the detection tool, modify the state of each actuator so that the actuator can work without the system, which is used for actuator debugging and inspection; when the system is powered on, the default state switching mark = 0, entering the normal state; the state switching mark is changed through the calibration software; S22. Calculate and update the exhaust temperature, water inlet temperature, water return temperature, water pump feedback speed, oil pump feedback speed, fuel pump feedback speed, motor feedback speed, motor feedback current, and operating condition / mode selection command signal according to the detection status signal.
6. A method for controlling a combined heat and power heating device according to claim 4, characterized in that: In S3, the state switching condition module is used to calculate and output the state jump condition enable. The specific control method is: the key parameter matching requirements of the oil, gas, lubrication, cooling, motor and other systems in the starting and heating, heating and insulation, power generation and other modes are completed through the state switching condition module, and the trigger conditions for starting each mode are clarified; according to the state jump status word and the exhaust temperature, water inlet temperature, return water temperature, water pump feedback speed, oil pump feedback speed, fuel pump feedback speed, motor feedback speed, motor feedback current, working condition / mode selection command signal and fault information, the state jump condition enable is calculated and output as the input of the process state control module.
7. A method for controlling a combined heat and power heating device according to claim 4, characterized in that: In S4, the process state control module calculates and outputs the timer result. The specific method is: execute the corresponding control state jump according to the calculation result of the state switching condition module in S3, output the control state jump state word, and the timer result of each state, and determine the ignition state word and cooling state word according to the exhaust temperature, fuel pump feedback speed and other information, and output the timer results respectively.
8. A method for controlling a combined heat and power heating device according to claim 4, characterized in that: In S5, the fuel pump speed is corrected by executing the status output module. The specific method is as follows: S51, the initialization state process is: input the collected values of water inlet temperature, water outlet temperature, exhaust temperature, operation switch collected value and CAN bus data, receive the working condition / mode selection command from the terminal or emergency control box, receive the heating power generation, and assign the initial value of 3 to the number of cycles; receive the insulation power generation, and assign the initial value of 1 to the number of cycles; after the self-check of all components is completed, the water pump, oil pump, fuel pump, motor, ignition, and oil heating relay are not working, the indicator light is off and the fault information is output at the same time, and the end state is jumped when a fault is detected; S52, the starting state process is: input the collected values of water inlet temperature, water outlet temperature, exhaust temperature, running switch collected value and CAN bus data, and judge whether the oil electric heating relay is connected according to the comparison between the water inlet temperature value and the oil heating water temperature setting value. When the water inlet temperature is lower than the required water temperature, the oil electric heating relay is connected. After heating for 3-5 minutes, the oil electric heating relay is disconnected; the water pump works at the required speed, the oil pump works at the required speed, and after the feedback speed of the water pump and the oil pump reaches the required speed, the motor works at the required speed for starting, and the other execution components do not work; when a fault is detected, the jump to the end state; S53, the ignition state process is: input the water inlet temperature, water outlet temperature, exhaust temperature collection value, operation switch collection value and CAN bus data; the water pump works at the required speed, the oil pump works at the required speed, the motor works at the required starting speed, and the fuel pump works at the required minimum speed; the igniter works and cuts off the power after 15s. After the igniter is powered off, when the current exhaust temperature is detected to be greater than 200℃, the ignition success state is output. When the exhaust temperature is less than 200℃, the ignition failure state is output, and the indicator light flashes quickly; when a fault is detected, the jump ends; S54, the heating state process is: input the ambient temperature, atmospheric pressure, water inlet temperature, water outlet temperature, exhaust temperature collection values, operation switch collection values and CAN bus data; the water pump works at the required speed, the oil pump works at the required speed, the motor works at the required power generation speed, and the fuel pump is controlled to gradually increase the speed according to the speed increase slope corrected by the ambient temperature and atmospheric pressure until the fuel pump speed reaches the upper limit of the safe speed or the exhaust temperature reaches 800°C, the water pump, oil pump, fuel pump, and motor work, and the other execution components do not work, and the fault is detected and the jump ends; S55, the power generation state process is: input the ambient temperature, atmospheric pressure, water inlet temperature, water outlet temperature, exhaust temperature collection values, operation switch collection values and CAN bus data; the water pump works at the required speed, the oil pump works at the required speed, the motor speed increases to the calibrable power generation speed according to the calibrable slope, the fuel pump works at the fuel pump speed corresponding to the motor speed and the power generation voltage difference after correction of the ambient temperature and atmospheric pressure, the fuel pump works at the maximum speed reached in the heating stage, stops sending the required speed command to the motor, controls the motor to enter the power generation mode through CAN communication, and in the power generation loading stage, the given target current increases according to the calibration curve until the current setting value is reached, stops loading, and maintains the output of the current given value; the water pump, oil pump, fuel pump, and motor work, and the other execution components do not work, and the fault jump end state is detected; S56, the shutdown state process is: input the ambient temperature, atmospheric pressure, water inlet temperature, water outlet temperature, exhaust temperature collection values, operation switch collection values and CAN bus data, the water pump works at the required speed, the oil pump works at the required speed, and enters the shutdown state. First, the fuel pump is controlled to gradually reduce the speed according to the speed reduction slope corrected by the ambient temperature and atmospheric pressure, and the fuel pump is controlled to stop working. After stopping the fuel pump, the motor cooling target speed is set to work and stop working after cooling for 3 minutes; after stopping the fuel pump, the water pump and the oil pump are set to the original set speed for cooling for 3 minutes and then stop working; when the inlet water temperature is greater than 70℃, the indicator light flashes slowly, the inlet and outlet water temperature difference is greater than 30℃, the indicator light flashes quickly, and the exhaust temperature is less than 50℃, without cooling, each actuator is directly shut down; the number of cycles in the heating power generation mode is -1; the number of cycles in the insulation power generation mode remains unchanged, and the cyclic execution state machine jumps; the water pump, oil pump, fuel pump, and motor work first and then stop, and the indicator light flashes after meeting the control conditions.
9. A method for controlling a combined heat and power heating device according to claim 4, characterized in that: In S6, the working mode calculation module is used to calculate the working mode of the heating and insulation system. The specific method is as follows: the working mode calculation module receives the working condition instruction sent by the whole vehicle, calculates the working mode of the heating and insulation system, calculates the current working state of the main controller according to the control state machine and the heating and insulation working mode, and reports it to the whole vehicle; in order to match the requirements of various working conditions such as heating power generation and insulation power generation, the software runs in a normal state, and three working mode selection functions are designed: heating power generation condition, insulation power generation condition and standby condition; the three working conditions are selected through the "working condition / mode selection command" from the terminal or emergency control box.
10. A method for controlling a combined heat and power heating device according to claim 4, characterized in that: In S7, the fault is diagnosed through the heating device fault diagnosis module. The specific method is: the sensor, actuator, and CAN communication fault signals are detected through the heating device fault diagnosis module to calculate the total fault status word; the fault shielding function is set: by modifying the fault detection enable of each component of the calibration software, the fault detection function of each component is controlled separately; fault detection enable = 1, perform fault detection on the component; fault detection enable = 0, shield the fault detection of the component.