Host computer and working condition control method and device thereof, test system and storage medium

By acquiring and recording the system's absolute time in the host computer, the process steps can jump on the same time axis, solving the time error problem in the existing technology and improving the control effect and accuracy of fuel cell durability testing.

CN122632101APending Publication Date: 2026-08-25FTXT ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510204140.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-24
Publication Date
2026-08-25

AI Technical Summary

Technical Problem

The existing host computer program has a time error in the step jump judgment when performing fuel cell durability testing, which causes the execution time to be inconsistent with the total operating time, affecting the control effect and the accuracy of the test.

Method used

By obtaining the system absolute time at the start of each work step, calculating and recording the system absolute time at the start of subsequent work steps, and using the system absolute time to jump between work steps, we can ensure that all work steps are executed on the same timeline.

Benefits of technology

This reduces the time error during step transitions, improves the control effect of the host computer, ensures that the execution time meets the operating requirements, and enhances the accuracy and reliability of fuel cell testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122632101A_ABST
    Figure CN122632101A_ABST
Patent Text Reader

Abstract

The present application relates to host computer control technical field, and specifically provides a kind of host computer and its working condition control method, device and test system and storage medium.The host computer working condition control method described in the present application includes: obtaining the total number of steps contained in working condition, the execution information and duration of each step, and the serial number of the current step to be executed;Obtain the system absolute time corresponding to the starting time of the current step to be executed, and calculate and record the system absolute time corresponding to the starting time of each subsequent step;And, when the current and each subsequent step is executed, the system absolute time corresponding to the starting time of each step is used to jump between adjacent steps.The present application is helpful to reduce the time error generated when the host computer step jumps, helps to reduce the time error generated during the execution of working condition, can make the host computer program execution time meet the required working condition time requirement, and can improve the working condition control effect of host computer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of host computer control technology, and in particular to a host computer and its operating condition control method, device, testing system and storage medium. Background Technology

[0002] In related technologies, taking the host computer used in a fuel cell durability testing system as an example, its internal control program is generally executed step by step according to preset steps. That is, the host computer sends relevant commands to the lower computer, such as the fuel cell system controller, according to the working condition steps, thereby realizing the entire durability testing process of the fuel cell system.

[0003] Currently, the host computer program uses the execution time of each work step, i.e., the work step time, as the judgment condition for the execution process. When executing a work step, the host computer program records a start time, then continuously accumulates the time, and compares the accumulated time with the work step time corresponding to that work step. If the accumulated time is not less than the work step time, it determines that the work step has been completed and jumps to the next work step. This process is repeated until all work steps have been completed.

[0004] In the existing operating mode, each step within the host computer program's loop typically introduces a time error during the jump judgment process. The more steps there are, the greater the accumulated overall time error becomes. This time error causes a discrepancy between the host computer program's execution time and the required total operating time, potentially affecting the host computer's control performance and being unacceptable under certain conditions. Therefore, minimizing the time error generated during the operating mode execution process is crucial. Summary of the Invention

[0005] In view of this, the present invention aims to propose a host computer operating condition control method, which helps to reduce the time error generated during step jumps and improve the operating condition control effect of the host computer.

[0006] To achieve the above objectives, the technical solution of the present invention is implemented as follows:

[0007] A host computer operating condition control method, the method comprising:

[0008] Get the total number of work steps included in the work condition, the execution information and duration of each work step, and the sequence number of the work step to be executed.

[0009] Obtain the system absolute time corresponding to the start time of the current work step to be executed, and calculate and record the system absolute time corresponding to the start time of each subsequent work step;

[0010] During the execution of the current and subsequent steps, the jump between adjacent steps is performed according to the system absolute time corresponding to the start time of each step;

[0011] Wherein, the absolute time of the system is the absolute time of the operating system of the host computer.

[0012] Furthermore, before obtaining the system absolute time corresponding to the start time of the currently pending step, the method further includes:

[0013] Check if the acquired data is empty;

[0014] If the acquired data is empty, the control condition will end.

[0015] The data includes the total number of work steps in the working condition, as well as the execution information and duration of each work step.

[0016] Furthermore, the calculation and recording of the system absolute time corresponding to the start time of each subsequent step includes:

[0017] Based on the system absolute time corresponding to the start time of the current step to be executed, and the duration of each step, calculate the system absolute time corresponding to the start time of each subsequent step.

[0018] After calculating the system absolute time corresponding to the start time of each subsequent step, record the system absolute time corresponding to the start time of each subsequent step.

[0019] Furthermore, the step of jumping between adjacent steps based on the system absolute time corresponding to the start time of each step during the current and subsequent steps includes:

[0020] During the execution of each of the aforementioned work steps, the current absolute system time of the current work step is continuously timed;

[0021] When the current system absolute time reaches the system absolute time corresponding to the start time of the next adjacent step, the current step ends and the next adjacent step begins.

[0022] Compared with the prior art, the present invention has the following advantages:

[0023] The host computer operating condition control method described in this invention obtains the system absolute time corresponding to the start time of the current step to be executed, and calculates and records the system absolute time corresponding to the start time of each subsequent step. Simultaneously, during the execution of the current and subsequent steps, jumps between adjacent steps are performed based on the system absolute time corresponding to the start time of each step. Thus, this invention places all steps to be executed on the same time axis using system absolute time, and uses the predetermined absolute time points on this time axis to determine which step should be executed. Compared to the existing method of comparing the accumulated time with the step time during each step execution, this method helps reduce time errors during step jumps and reduces time errors during the operating condition execution process, ensuring that the host computer program execution time meets the required operating condition time requirements, thereby improving the operating condition control effect of the host computer.

[0024] This invention also proposes a host computer operating condition control device, which includes:

[0025] The acquisition module is used to acquire the total number of work steps included in the working condition, the execution information and duration of each work step, and the sequence number of the work step to be executed.

[0026] The processing module is used to obtain the system absolute time corresponding to the start time of the current work step to be executed, and to calculate and record the system absolute time corresponding to the start time of each subsequent work step.

[0027] The control module is used to jump between adjacent steps according to the system absolute time corresponding to the start time of each step when the current and subsequent steps are executed.

[0028] Wherein, the absolute time of the system is the absolute time of the operating system of the host computer.

[0029] The host computer operating condition control device of the present invention, through the settings of the above modules, obtains the system absolute time corresponding to the start time of the current step to be executed, and calculates and records the system absolute time corresponding to the start time of each subsequent step. During the execution of the current and subsequent steps, it jumps between adjacent steps according to the system absolute time corresponding to the start time of each step. It can place all steps to be executed on the same time axis using system absolute time, and use the predetermined absolute time points on the time axis to determine which step should be executed. This helps to reduce the time error generated during step jumps and the time error generated during the operating condition execution process. It can ensure that the execution time of the host computer program meets the required operating condition time requirements, thereby improving the operating condition control effect of the host computer.

[0030] Furthermore, another object of the present invention is to provide a host computer, wherein the host computer is provided with a memory and a processor;

[0031] The memory stores computer-readable instructions, which, when executed by the processor, implement the host computer operating condition control method as described above.

[0032] The present invention also proposes a fuel cell testing system, which includes a host computer as described above.

[0033] In addition, the present invention also proposes a computer non-volatile readable storage medium, wherein a computer program is stored in the computer non-volatile readable storage medium, and when the computer program is executed, it implements the host computer operating condition control method as described above.

[0034] The host computer described in this invention includes a fuel cell testing system and a non-volatile readable storage medium. This helps to reduce time errors during step transitions when the host computer performs operating condition control, and also helps to reduce time errors during the operating condition execution process. This ensures that the host computer program execution time meets the required operating condition time requirements, thereby improving the operating condition control effect of the host computer. Attached Figure Description

[0035] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an undue limitation of the invention. In the drawings:

[0036] Figure 1 This is a flowchart of the host computer operating condition control method described in an embodiment of the present invention;

[0037] Figure 2 This is a logic diagram of the host computer operating condition control method described in an embodiment of the present invention;

[0038] Figure 3 This is a schematic diagram of the upper computer operating condition control device according to an embodiment of the present invention;

[0039] Figure 4 This is a schematic diagram of the memory and processor in the host computer according to an embodiment of the present invention;

[0040] Explanation of reference numerals in the attached figures:

[0041] 10. Acquisition module; 20. Processing module; 30. Control module;

[0042] 100. Memory; 200. Processor. Detailed Implementation

[0043] It should be noted that, unless otherwise specified, the embodiments and features described in the present invention can be combined with each other.

[0044] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0045] In the description of this invention, it should be noted that the use of terms such as "upper," "lower," "inner," and "outer," indicating orientation or positional relationship, is based on the orientation or positional relationship shown in the accompanying drawings and is only for the convenience of describing the invention and simplifying the description. It does not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Furthermore, the use of terms such as "first" and "second" is also for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0046] Furthermore, in the description of this invention, unless otherwise explicitly defined, the terms "installation," "connection," "joining," and "connector" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention in light of the specific circumstances.

[0047] The present invention will now be described in detail with reference to the accompanying drawings and embodiments.

[0048] Example 1

[0049] This embodiment relates to a host computer operating condition control method, which is used to control the host computer operating condition execution process to reduce the time error caused by step jumps during the host computer operating condition execution process, thereby improving the operating condition control effect of the host computer.

[0050] In industrial control systems, the host computer (or supervisory computer) generally refers to the control and management devices such as workstations, servers, human-machine interfaces, and computers. The host computer is typically a higher-level computer used to issue control commands and monitor the operating status of lower-level computers (or slave computers). Lower-level computers, on the other hand, are typically lower-level computers used to directly control the equipment, such as embedded controllers, PLCs, and microcontrollers. The host computer and lower-level computers communicate via a communication interface for data transmission, command control, and information exchange. Commands sent from the host computer to the lower-level computers through the communication interface can include control commands, configuration parameters, and data requests. After receiving the commands from the host computer, the lower-level computers execute corresponding operations, such as controlling actuators or collecting sensor data. After completing the operation, the lower-level computers return the execution results or collected data to the host computer, which can then perform further analysis and processing based on the returned information.

[0051] Specifically, in this embodiment, the host computer can be, for example, a host computer used in the field of fuel cell testing, and for example, a host computer used in a fuel cell durability testing system. In this case, for the host computer in the fuel cell durability testing system, its internal control program is generally executed step by step according to preset steps. That is, during testing, the host computer sends relevant commands to the lower-level computer, such as the fuel cell system controller, according to the operating condition steps to realize the durability testing process of the fuel cell system.

[0052] In existing technologies, during fuel cell endurance testing, the host computer program typically uses the execution time (i.e., step time) of each step as a criterion for judging the progress of the test. Specifically, when executing a step, the host computer program records the start time of that step, continuously accumulates the time, and compares the accumulated time with the step time. When the accumulated time is not less than the step time, it indicates that the step has been completed and the program proceeds to the next step. The host computer repeats this process until all steps in the test have been completed.

[0053] However, the above-described step-judgment method inevitably introduces time errors during the jump judgment process for each step within the host computer program's loop cycle. The more steps involved, the greater the accumulated overall time error. This time error not only causes discrepancies between the host computer program's execution time and the required total operating time, potentially affecting the host computer's control performance, but it is also unacceptable under certain conditions. Furthermore, specifically regarding fuel cell durability testing systems, excessive time errors during host computer program execution lead to significant durability test errors, failing to accurately reflect the fuel cell system's fatigue life. This not only negatively impacts fuel cell development and design but may also reduce the fuel cell's operational life, affecting its overall performance.

[0054] In view of this, in order to overcome the shortcomings of the existing host computer-based operation condition execution control and to reduce the time error caused by the host computer during step jumps, the overall design combines... Figure 1 and Figure 2 As shown in the figure, the host computer operating condition control method of this embodiment includes the following steps.

[0055] Step s1: Obtain the total number of work steps included in the work condition, the execution information and duration of each work step, and the sequence number of the work step to be executed.

[0056] In step s1, specific working condition information can be input through the panel of the host computer or other input terminals. The overall working condition includes multiple single-step working conditions (referred to as working steps). The working condition information is composed of multiple single-step working condition control parameters, and the control parameters of each single-step working condition are also the execution information of the above-mentioned working steps.

[0057] Taking the host computer used in the fuel cell durability testing system as an example, the above-mentioned single-step operating condition control parameters may include a calibration parameter in the fuel cell system controller, the target value of the calibration parameter, and the duration of the operating step.

[0058] In specific implementation, taking the control parameters of each single-step working condition in the working condition as an example, including the calibration parameters in the fuel cell system controller, the target value of the calibration parameters, and the waiting time of the working step, an exemplary working condition information list can be shown in Table 1 below.

[0059] Table 1. Operating Condition Information

[0060] Work step number Calibration parameters Target value Duration 1 cOvrded_sPCU_statReq_u 0 60 2 cOvrded_sPCU_iReq_A 45 180 3 cOvrded_sPCU_iReq_A 360 35 4 cOvrded_sPCU_iReq_A 45 40 5 cOvrded_sPCU_iReq_A 360 35 6 cOvrded_sPCU_iReq_A 45 40 7 cOvrded_sPCU_iReq_A 360 35 8 cOvrded_sPCU_iReq_A 45 40 9 cOvrded_sPCU_iReq_A 360 35 … … … …

[0061] The operating condition information can be input into the host computer via the panel or other input terminals. During the operation of the host computer, the corresponding execution module in the host computer can obtain the information and use it to implement specific operating condition control processes.

[0062] It is worth noting that, for ease of understanding of the method in this embodiment, please refer to... Figure 2 As shown, the total number of steps in the working condition can be denoted as m, the sequence number of the step to be executed can be denoted as n, and the duration of each step can be denoted as ΔT. Furthermore, the duration of the step n to be executed can be further denoted as ΔT. n The duration of subsequent steps, such as steps n+1, n+2, etc., can be further denoted as ΔT. n+1 ΔT n+2 Of course, the duration of the last step m can be further denoted as ΔT. m .

[0063] Step s2: Obtain the system absolute time corresponding to the start time of the current work step to be executed, and calculate and record the system absolute time corresponding to the start time of each subsequent work step.

[0064] In step s2, it should be noted that the absolute time of the above system is specifically the absolute time of the host computer's operating system. In practice, it can be obtained directly from the timing module of the host computer's operating system.

[0065] And at the start time of obtaining the current step n to be executed (which can be denoted as T) n The corresponding absolute system time (which can be denoted as T) real n After that, the above calculation and recording of the system absolute time corresponding to the start time of each subsequent step can, for example, include the start time T of the current step n to be executed. n The corresponding system absolute time T real n Given the duration ΔT of each step, calculate the absolute system time corresponding to the start time of each subsequent step. Then, after calculating the absolute system time corresponding to the start time of each subsequent step, record the absolute system time corresponding to the start time of each subsequent step.

[0066] Specifically, the start time of each subsequent step can be denoted as T. n+1 T n+2 T n+3 ... T m Furthermore, the absolute system time corresponding to the start time of each subsequent step can be denoted as T, for example. real n+1 T real n+2 T real n+3 ... T real m .

[0067] Therefore, the starting time T of step n+1 is... n+1 The corresponding system absolute time T real n+1 =T real n +ΔT n+1 The starting time T of step n+2 n+2 The corresponding system absolute time T real n+2 =T real n +ΔT n+1 +ΔT n+2 This process continues until the start time T of step m is obtained. m The corresponding system absolute time Treal m That is, =T real m =T real n +ΔT n+1 +ΔT n+2 +……+ΔT m .

[0068] After calculating the absolute system time corresponding to the start time of each subsequent step using the above method, the calculated times can be stored in the corresponding storage module in the host computer to record each time point and be called up in the subsequent work process of the host computer.

[0069] In addition, as a preferred embodiment, before obtaining the system absolute time corresponding to the start time of the current step to be executed, the method of this embodiment may also include detecting whether the data obtained by the host computer is empty, and if the obtained data is empty, the control condition ends; otherwise, the host computer continues to perform the subsequent control process.

[0070] The data tested includes, for example, the total number of steps (m) in the operating condition, as well as the execution information and duration (ΔT) of each step. In practice, this data may be empty in the host computer because the tester forgets to input the operating condition information. When this data is empty, directly terminating the host computer's operating condition execution can prevent malfunctions in the lower-level computer, such as fuel cells, due to incorrect control commands. Furthermore, it is worth noting that when empty data is detected, in addition to terminating the operating condition execution process, the host computer usually also outputs a corresponding prompt message.

[0071] Step s3: During the execution of the current and subsequent steps, jump between adjacent steps according to the system absolute time corresponding to the start time of each step.

[0072] In step s3, when the host computer is executing the current step to be executed, and when executing subsequent steps, it sends a step instruction to the lower computer (such as the fuel cell system controller) to respond to the step. This step instruction is the execution information of the step mentioned above.

[0073] Furthermore, taking the execution information of the process step, that is, the control parameters including the calibration parameters in the fuel cell system controller and the target value of the calibration parameters, as an example, after the host computer sends the process step instruction to the fuel cell system controller, the fuel cell system controller modifies the corresponding calibration parameters to the target value and continues for the duration corresponding to the process step.

[0074] Furthermore, in this embodiment, during the execution of the current and subsequent steps, the aforementioned jump between adjacent steps based on the system absolute time corresponding to the start time of each step may include, for example, continuously timing the current system absolute time of the current step during the execution of each step, and then, when the current system absolute time reaches the system absolute time corresponding to the start time of the adjacent next step, ending the current step and starting the execution of the adjacent next step.

[0075] Specifically, as follows Figure 2 As shown, during the execution of each step, the host computer system continuously updates the current system absolute time T for the current step. real Start timing, if the current system absolute time T real The absolute system time T corresponding to the start time of the next adjacent step. n+1 This indicates that the next step should begin, and at the same time, it also indicates that the current step has been completed and should end.

[0076] At the current system absolute time T real The absolute system time T corresponding to the start time of the next adjacent step. n+1 In addition to ending the execution of the current step and preparing to start the next step, the host computer should also usually determine the number of steps that have been executed to identify whether all steps included in the working condition have been completed.

[0077] In other words, the host computer can determine the number of steps to be executed based on the sequence number n of the currently completed step. If n+1 is greater than the total number m of steps in the current process, it means that all steps have been executed and the entire process can be terminated. If n+1 is still not greater than m, it means that there are still steps to be executed, and the host computer can continue to execute other steps. At the same time, when executing the next adjacent step, the sequence number of the currently executed step should also be incremented by 1.

[0078] The host computer operation control method in this embodiment adopts the above design, which obtains the start time T of the current step n to be executed. n The corresponding system absolute time T real n It calculates and records the system absolute time corresponding to the start time of each subsequent step, and at the same time, it jumps between adjacent steps based on the system absolute time corresponding to the start time of each step during the current and subsequent steps.

[0079] Therefore, the method of this embodiment can place all the work steps to be executed on the same time axis using the absolute time of the host computer system. The method can utilize the predetermined absolute time points on this time axis to determine which work step should be executed. Compared to the existing method of comparing the cumulative time with the actual work step time during execution, this method helps reduce time errors during work step transitions and also helps reduce time errors during the execution of the work conditions. This ensures that the execution time of the host computer program meets the required work condition time requirements, thereby improving the work condition control effect of the host computer.

[0080] Of course, specifically regarding fuel cell durability testing systems, it is understood that by using the method of this embodiment, reducing the time error during the execution of the host computer program in the testing system, it helps to reduce durability test errors and more realistically reflect the durability fatigue life of the fuel cell system. This not only facilitates the development and design of fuel cells but also helps to ensure the working life of fuel cells, thereby improving the quality of fuel cell use.

[0081] Example 2

[0082] This embodiment relates to a host computer operating condition control device, which is installed in a host computer and used to implement the host computer operating condition control method in Embodiment 1. In terms of structure, it combines... Figure 3 As shown, the device in this embodiment includes an acquisition module 10, a processing module 20, and a control module 30.

[0083] The acquisition module 10 is used to acquire the total number of work steps included in the working condition, the execution information and duration of each work step, and the sequence number of the currently pending work step. The processing module 20 is used to acquire the system absolute time corresponding to the start time of the currently pending work step, and to calculate and record the system absolute time corresponding to the start time of each subsequent work step. The control module 30 is used to jump between adjacent work steps based on the system absolute time corresponding to the start time of each work step during the execution of the current and subsequent work steps.

[0084] Specifically, referring to the description in Embodiment 1, the absolute time of the system in this embodiment is also the absolute time of the host computer's operating system. Furthermore, in the specific implementation of this device, the modules described above can be existing module products with data transmission, storage, or computation processing functions. Additionally, the modules in this embodiment can be set up individually, or preferably integrated into the same control device in the host computer.

[0085] In practical applications, when the host computer performs operating condition control, the control process of the operating condition executed by the host computer in this embodiment can still be referred to the relevant description in Embodiment 1, and will not be repeated here.

[0086] The host computer operating condition control device in this embodiment, by implementing the method of embodiment one, can place all the steps to be executed on the same time axis using the system's absolute time timing. By using the various absolute time points determined on this time axis, it can determine which step should be executed. This helps to reduce the time error caused when the step jumps, and helps to reduce the time error caused during the operating condition execution process. It can ensure that the host computer program execution time meets the required operating condition time requirements, thereby improving the operating condition control effect of the host computer.

[0087] Example 3

[0088] This embodiment relates to a host computer, combined with... Figure 4 As shown, the host computer includes a memory 100 and a processor 200.

[0089] The memory 100 stores computer-readable instructions, and when the computer-readable instructions stored in the memory 100 are executed by the processor 200, they can realize the host computer operating condition control method in Embodiment 1.

[0090] In addition, this embodiment also relates to a fuel cell testing system, which includes the aforementioned host computer.

[0091] Specifically, the fuel cell testing system in this embodiment can still be used as mentioned in Embodiment 1, which is a testing system for performing durability tests on fuel cells. Taking the fuel cell durability testing system as an example, during testing, generally, according to the test conditions, the host computer sends corresponding instructions (such as power load change commands) to the slave computer, i.e., the fuel cell system controller. Then, by observing the performance of the fuel cell system through measurement data, the durability testing objective can be achieved.

[0092] Finally, this embodiment also relates to a computer non-volatile readable storage medium that stores a computer program, and when the computer program is executed, it can also implement the host computer operating condition control method in Embodiment 1.

[0093] In this embodiment, the aforementioned non-volatile readable storage medium is generally exemplified by a storage module. Furthermore, this non-volatile readable storage medium includes both permanent and non-permanent, removable and non-removable media, which can be used to store information by any existing method or technology.

[0094] Specifically, the aforementioned information may be computer-readable instructions, data structures, program modules, or other data. Examples of computer-nonvolatile readable storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory, or other memory technologies, CD-ROM, digital versatile optical disc (DVD), or other optical storage, magnetic tape, magnetic tape, disk storage, or other magnetic storage devices, or any other non-transfer medium that can be used to store information that can be accessed by a computing device.

[0095] The host computer in this embodiment uses the fuel cell testing system of the host computer and the non-volatile readable storage medium of the computer. By implementing the method of embodiment one, it is beneficial to reduce the time error generated during the step jump and the time error generated during the execution of the working condition. This makes the execution time of the host computer program meet the required working condition time requirements, thereby improving the working condition control effect of the host computer.

[0096] Moreover, in particular, for fuel cell testing systems, such as the aforementioned fuel cell durability testing system, this embodiment, by implementing the method of Embodiment 1, can reduce the time error during the execution of the host computer program in the testing system, which helps to reduce durability test errors and can more realistically reflect the durability fatigue life of the fuel cell system. This not only facilitates the development and design of fuel cells but also helps to ensure the working life of fuel cells and improve the quality of fuel cell use.

[0097] 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 principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A host computer operating condition control method, characterized in that, The method includes: Obtain the total number of work steps included in the work condition, the execution information and duration of each work step, and the sequence number of the work step to be executed. Obtain the system absolute time corresponding to the start time of the current work step to be executed, and calculate and record the system absolute time corresponding to the start time of each subsequent work step; During the execution of the current and subsequent steps, the jump between adjacent steps is performed according to the system absolute time corresponding to the start time of each step; Wherein, the absolute time of the system is the absolute time of the operating system of the host computer.

2. The host computer operating condition control method according to claim 1, characterized in that, Before obtaining the system absolute time corresponding to the start time of the currently pending step, the method further includes: Check if the acquired data is empty; If the acquired data is empty, the control condition will end. The data includes the total number of work steps in the working condition, as well as the execution information and duration of each work step.

3. The host computer operating condition control method according to claim 1, characterized in that, The calculation and recording of the system absolute time corresponding to the start time of each subsequent step includes: Based on the system absolute time corresponding to the start time of the current step to be executed, and the duration of each step, calculate the system absolute time corresponding to the start time of each subsequent step. After calculating the system absolute time corresponding to the start time of each subsequent step, record the system absolute time corresponding to the start time of each subsequent step.

4. The host computer operating condition control method according to claim 3, characterized in that, The method of jumping between adjacent steps based on the system absolute time corresponding to the start time of each step during the current and subsequent steps includes: During the execution of each of the aforementioned work steps, the current absolute system time of the current work step is continuously timed; When the current system absolute time reaches the system absolute time corresponding to the start time of the next adjacent step, the current step ends and the next adjacent step begins.

5. A host computer operating condition control device, characterized in that, The device includes: The acquisition module (10) is used to acquire the total number of work steps included in the working condition, the execution information and duration of each work step, and the sequence number of the work step to be executed. The processing module (20) is used to obtain the system absolute time corresponding to the start time of the current work step to be executed, and to calculate and record the system absolute time corresponding to the start time of each subsequent work step. The control module (30) is used to jump between adjacent steps according to the system absolute time corresponding to the start time of each step when the current and subsequent steps are executed. Wherein, the absolute time of the system is the absolute time of the operating system of the host computer.

6. A host computer, characterized in that: The host computer is equipped with a memory (100) and a processor (200); The memory (100) stores computer-readable instructions, which, when executed by the processor (200), implement the host computer operating condition control method according to any one of claims 1 to 4.

7. A fuel cell testing system, characterized in that: The fuel cell testing system includes the host computer as described in claim 6.

8. A computer non-volatile readable storage medium, characterized in that, The computer non-volatile readable storage medium stores a computer program, which, when executed, implements the host computer operating condition control method according to any one of claims 1-4.