Equipment control method and device, computer equipment, storage medium and computer program product

By using the target logic operation table in the SOFC power generation system to automatically control the working mode and status of the power generation equipment, the problem of inaccurate manual operation control is solved, and the control accuracy and system stability are improved.

CN119270618APending Publication Date: 2025-01-07CHINA NUCLEAR POWER TECH RES INST CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411315949.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

Equipment control in existing SOFC power generation systems relies on manual operation, resulting in inaccurate control, risk of operational errors, and affect system stability and reliability.

Method used

By introducing a target logic operation table into the SOFC power generation system, a control signal is generated according to user control instructions, and the working mode and state switching of the power generation equipment are automatically controlled, the operation steps are simplified, and the risk of human operation errors is reduced.

Benefits of technology

It improves the accuracy and efficiency of equipment control, reduces the probability of operators' misoperation, and enhances the stability and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119270618A_ABST
    Figure CN119270618A_ABST
Patent Text Reader

Abstract

The invention relates to an equipment control method and device, computer equipment, a storage medium and a computer program product, and the method comprises the steps: calling a target logic operation table corresponding to target power generation equipment through responding to a control instruction triggered by a user on the target power generation equipment, and then generating a control signal according to the target logic operation table, and controlling the target power generation equipment to execute corresponding operation according to the control signal. Wherein the target logic operation table comprises a corresponding relation between the power generation equipment and the control signal. According to the method, the logic operation table is generated according to the control logic of the power generation equipment, when the power generation equipment is controlled, only the corresponding logic operation table needs to be called, automatic one-step control can be achieved, an operator does not need to select multiple times of control, the equipment operation error-tolerant rate can be increased, the human misoperation risk is reduced, and the power generation efficiency is improved. And the control accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of renewable energy power generation technology, and in particular to a device control method, apparatus, computer equipment, storage medium and computer program product. Background Art

[0002] Solid Oxide Fuel Cell (SOFC) is a highly efficient new energy power generation device that can directly convert the chemical energy of methane into electrical energy and thermal energy. Its combined heat and power efficiency can reach more than 70%, and it is widely used in the field of distributed power generation. The SOFC power generation system includes multiple power generation equipment, and different equipment has different working modes and working states. When controlling the mode or state switching of these equipment, it is very necessary to ensure the stability and reliability of the system.

[0003] At present, the control of the operating state of each power generation device in the SOFC power generation system mainly relies on manual operation control. However, the above method has the problem of inaccurate control. Summary of the invention

[0004] Based on this, it is necessary to provide a device control method, apparatus, computer equipment, storage medium and computer program product that can improve control accuracy in response to the above technical problems.

[0005] In a first aspect, the present application provides a device control method, which is applied to a control device in a SOFC power generation system, and the method comprises:

[0006] In response to a control instruction triggered by a user on a target power generation device, a target logic operation table corresponding to the target power generation device is called; wherein the target logic operation table includes a corresponding relationship between the power generation device and the control signal;

[0007] A control signal is generated according to the target logic operation table, and the target power generation equipment is controlled to perform corresponding operations according to the control signal.

[0008] In one embodiment, calling the target logic operation table corresponding to the target power generation equipment includes:

[0009] Determine the equipment identification of the target power generation equipment;

[0010] A logic operation table corresponding to the device identification is searched from a preset logic operation table library, and the logic operation table corresponding to the device identification is determined as a target logic operation table.

[0011] In one embodiment, the method further comprises:

[0012] Determine the control logic of each power generation device in the SOFC power generation system;

[0013] Determine the logic operation table corresponding to each power generation device according to the control logic of each power generation device and the operating status of each power generation device;

[0014] A preset logic operation table library is constructed according to the logic operation tables corresponding to each power generation device in the SOFC power generation system.

[0015] In one embodiment, the logic operation table includes a register bit, a state bit, a mode bit and a target bit. According to the control logic of each power generation device and the operating state of each power generation device, the logic operation table corresponding to each power generation device is determined, including:

[0016] For each power generation device, determining a register bit, a state bit and a mode bit according to the control logic of the power generation device and the operating state of the power generation device;

[0017] Determine the target bit based on the register bit, status bit and mode bit;

[0018] A logic operation table corresponding to the power generation equipment is generated according to the register bit, status bit, mode bit and target bit.

[0019] In one embodiment, determining the register bit, the state bit and the mode bit according to the control logic of the power generation device and the operating state of the power generation device includes:

[0020] Determine an initial working state, an initial working mode, a target working state and a target working mode of the power generation equipment according to the control logic of the power generation equipment;

[0021] Determine register bits according to an initial operating state and an initial operating mode;

[0022] Determine the status bit according to the target working state;

[0023] Determine the mode bits based on the target operating mode.

[0024] In one embodiment, determining the target bit according to the register bit, the status bit and the mode bit includes:

[0025] Perform AND operation on the register bit and the status bit to obtain the operation result;

[0026] Perform an OR operation on the operation result and the mode bit to obtain the target bit.

[0027] In a second aspect, the present application further provides a device control apparatus, the device comprising:

[0028] A calling module, used to respond to a control instruction triggered by a user on a target power generation device and call a target logic operation table corresponding to the target power generation device; wherein the target logic operation table includes a corresponding relationship between the power generation device and the control signal;

[0029] The control module is used to generate a control signal according to the target logic operation table, and control the target power generation equipment to perform corresponding operations according to the control signal.

[0030] In a third aspect, the present application further provides a computer device, the computer device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program:

[0031] In response to a control instruction triggered by a user on a target power generation device, a target logic operation table corresponding to the target power generation device is called; wherein the target logic operation table includes a corresponding relationship between the power generation device and the control signal;

[0032] A control signal is generated according to the target logic operation table, and the target power generation equipment is controlled to perform corresponding operations according to the control signal.

[0033] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0034] In response to a control instruction triggered by a user on a target power generation device, a target logic operation table corresponding to the target power generation device is called; wherein the target logic operation table includes a corresponding relationship between the power generation device and the control signal;

[0035] A control signal is generated according to the target logic operation table, and the target power generation equipment is controlled to perform corresponding operations according to the control signal.

[0036] In a fifth aspect, the present application further provides a computer program product, the computer program product comprising a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0037] In response to a control instruction triggered by a user on a target power generation device, a target logic operation table corresponding to the target power generation device is called; wherein the target logic operation table includes a corresponding relationship between the power generation device and the control signal;

[0038] A control signal is generated according to the target logic operation table, and the target power generation equipment is controlled to perform corresponding operations according to the control signal.

[0039] The above-mentioned equipment control method, device, computer equipment, storage medium and computer program product, the method responds to the control instruction triggered by the user on the target power generation equipment, calls the target logic operation table corresponding to the target power generation equipment, and then generates a control signal according to the target logic operation table, and controls the target power generation equipment to perform corresponding operations according to the control signal. Among them, the target logic operation table includes the correspondence between the power generation equipment and the control signal. In the above-mentioned method, by generating a logic operation table according to the control logic of the power generation equipment, when controlling the power generation equipment, it is only necessary to call the corresponding logic operation table to realize automatic one-step control, without the operator having to select multiple controls multiple times, which can improve the equipment operation fault tolerance rate, reduce the risk of human operation errors, and thus improve the control accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A schematic diagram of the structure of a SOFC power generation system in one embodiment;

[0041] Figure 2 A schematic diagram of a flow chart of a device control method in one embodiment;

[0042] Figure 3 A schematic diagram of the connection of various power generation devices in one embodiment;

[0043] Figure 4 is a flow chart of a device control method in another embodiment;

[0044] Figure 5 is a flow chart of a device control method in another embodiment;

[0045] Figure 6 is a flow chart of a device control method in another embodiment;

[0046] Figure 7 is a flow chart of a device control method in another embodiment;

[0047] Figure 8 is a flow chart of a device control method in another embodiment;

[0048] Fig. 9 is a structural block diagram of a device control device in an embodiment;

[0049] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0051] Solid Oxide Fuel Cell (SOFC) is a highly efficient new energy power generation device that can directly convert the chemical energy of methane into electrical energy and thermal energy. Its combined heat and power efficiency can reach more than 70%, and it is widely used in the field of distributed power generation. The SOFC power generation system includes multiple power generation equipment, and different equipment has different working modes and working states. When these equipment are controlled to switch modes or states, it is very necessary to ensure the stability and reliability of the system. At present, the control of the operating state of each power generation equipment in the SOFC power generation system mainly relies on manual completion of complex operation control. However, the above method has the problem of inaccurate control. The present application provides a device control method, which aims to solve the above technical problems. The following embodiments will specifically illustrate the device control method described in the present application.

[0052] The device control method provided in the embodiment of the present application can be applied to Figure 1 In the SOFC power generation system shown, the SOFC power generation system includes a control device 101 and a plurality of power generation devices 102, wherein the plurality of power generation devices 102 include power generation device 1, power generation device 2 ... power generation device N, and the control device 101 is respectively connected to each power generation device 102, wherein the control device 101 is used to control the power generation device 102 to perform corresponding operations through a control signal. The control device 101 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices, and portable wearable devices.

[0053] Those skilled in the art will understand that Figure 1 The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the SOFC power generation system to which the scheme of the present application is applied. The specific SOFC power generation system may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0054] In one embodiment, Figure 2 As shown, a device control method is provided, which is applied to Figure 1 The control device in the example is used to illustrate, including the following steps:

[0055] S201, responding to a control instruction triggered by a user on a target power generation device, calling a target logic operation table corresponding to the target power generation device.

[0056] The target logic operation table includes the corresponding relationship between the power generation equipment and the control signal, and whether the control signal is determined by multiple operation bits. The target power generation equipment is the power generation equipment to be controlled. The control instruction is used to control the power generation equipment to switch the working mode and / or working state. The power generation equipment is provided with a control button, and when the control button is triggered, a control instruction is generated. Figure 3 As shown, the power generation equipment 102 includes a water supply pump 6, a nitrogen stop valve 10, a gas stop valve 9, a blower 8, a steam generator 1, a mixer 2, a reformer 3, a stack 5, an inverter 11, a tail gas burner 4, an induced draft fan 7, etc. The operating principle of the SOFC power generation system is as follows: the water supply pump 6 provides pure water, and the steam generator 1 generates high-temperature steam from the pure water; the nitrogen stop valve 10 is purged before the SOFC power generation system is heated, and the gas stop valve 9 provides methane; the mixer 2 mixes methane with high-temperature steam and inputs it into the reformer 3, and a high-temperature reforming reaction of methane and water is carried out in the reformer 3, and the reformer 3 transmits the high-temperature reforming reactant to the stack 5, and the O2- at the cathode of the stack 5 is transferred to the anode through the solid oxide electrolyte in a molten state at high temperature and forms a current output to the inverter 11, and the inverter 11 realizes power generation. The blower 8 provides air for the stack 5, the tail gas burner 4 recovers energy, and the induced draft fan 7 controls the exhaust gas emission.

[0057] In the embodiment of the present application, the logic operation table of each power generation device can be generated in advance according to the control logic of different power generation devices, and each logic operation table can be stored in a preset path. Optionally, in order to improve the control efficiency and reduce the call time of calling each logic operation table from the database in the process of controlling the power generation device, each logic operation table can be copied from the database to the cache in advance before the SOFC power generation system is operated, and in the subsequent control process of the power generation device, the control device can directly call each logic operation table from the cache.

[0058] The control logic of different power generation equipment can be preset, and different control buttons can be set on different power generation equipment. The control device can control the power generation equipment to switch the working mode and / or working state through the control button. The working mode includes manual mode and automatic mode, and the working state includes open state and closed state. Specifically, the control button can include manual button, automatic button, manual open button, and manual close button; the control device can control the power generation equipment to switch the working mode through the manual button and the automatic button, and can control the power generation equipment to switch the working state through the manual open button and the manual close button or the built-in preset automatic open program and automatic close program. Specifically, a manual button can be set on the feed water pump 6, the induced draft fan 7 and the blower 8, an automatic button can be set on the gas stop valve 9 and the nitrogen stop valve 10, and a manual open button and a manual close button can be set on all power generation equipment 1~10. It should be noted that the control button can be a physical button, a virtual button on the display screen, or a button in other forms, as long as the touch function can be realized. The automatic opening or automatic closing of the equipment 1~10 in the automatic mode does not require human operation or control.

[0059] When the user needs to control the target power generation equipment, he can click or touch the control button on the target power generation equipment to generate a control instruction, and then the control device can receive the control instruction. After the control device receives the control instruction, it can call the target logic operation table corresponding to the target power generation equipment from the preset path.

[0060] S202, generating a control signal according to the target logic operation table, and controlling the target power generation equipment to perform corresponding operations according to the control signal.

[0061] The control signal is used to control the power generation equipment to switch the working mode and / or working state. The corresponding operation includes switching the working mode and switching the working state.

[0062] In the embodiment of the present application, after the control device obtains the target logic operation table based on the above steps, it can determine the control signal from the target logic operation table, and then send the control signal to the target device. After the target device receives the control signal, it can perform the corresponding operation according to the operation indicated by the control signal. Specifically, the working mode can be switched from manual mode to automatic mode, or from automatic mode to manual mode, and the working state can be switched from on state to off state, or from off state to on state.

[0063] In the existing control of power generation equipment, the control logic is relatively complex. If the operator operates improperly, it will cause the equipment to stop suddenly. For example, if the power generation equipment is in the automatic start state, if you plan to switch the automatic start state to the manual start state, you must first click the "Manual Mode Enable" button to save the current equipment operation state, then click the "Manual" button to switch to manual mode, and finally allow the "Manual Start" or "Manual Close" button to operate. If the operator directly clicks the "Manual" button, the "Manual Start" button or the "Manual Close" button, the induced draft fan will stop suddenly because the equipment state is not saved.

[0064] The device control method provided in the embodiment of the present application responds to the control instruction triggered by the user on the target power generation equipment, calls the target logic operation table corresponding to the target power generation equipment, then generates a control signal according to the target logic operation table, and controls the target power generation equipment to perform corresponding operations according to the control signal. Among them, the target logic operation table includes the correspondence between the power generation equipment and the control signal. In the above method, by generating a logic operation table according to the control logic of the power generation equipment, when controlling the power generation equipment, it is only necessary to call the corresponding logic operation table to realize automatic one-step control, without the operator having to select multiple controls multiple times, which can improve the equipment operation fault tolerance rate, reduce the risk of human operation errors, and thus improve the control accuracy.

[0065] In one embodiment, a specific implementation method for calling the target logic operation table corresponding to the target power generation equipment is also provided, such as Figure 4 As shown, the "calling the target logic operation table corresponding to the target power generation equipment" in the above step S201 includes:

[0066] S301, determining the equipment identification of the target power generation equipment.

[0067] The device identification may include at least one of a device name, a device number, a device factory number, and a device serial number.

[0068] In the embodiment of the present application, the control device can construct a correspondence between the device identification and the connection address according to the device identification of all the power generation devices in the SOFC power generation system and the connection address between all the power generation devices and the control device in advance, and store the correspondence in a preset path through a table or other means, for example, in a database or memory. When the correspondence needs to be modified or updated, the correspondence can be directly called from the database or memory for modification and update processing.

[0069] After receiving the control instruction triggered by the user on the target power generation device, the control device can further determine the correspondence between the device identification and the connection address called from the preset path, and then determine the device identification of the target power generation device according to the connection address. Optionally, in order to improve the control efficiency and reduce the call time from the database in the process of controlling the power generation device, the correspondence between the device identification and the connection address can be copied from the database to the cache in advance before the SOFC power generation system is operated. In the subsequent control of the power generation device, the control device can directly call the correspondence from the cache, and then determine the device identification of the target power generation device according to the connection address.

[0070] S302: searching a preset logic operation table library for a logic operation table corresponding to the device identifier, and determining the logic operation table corresponding to the device identifier as a target logic operation table.

[0071] The preset logic operation table library includes the corresponding relationship between the logic operation table and the power generation equipment.

[0072] In an embodiment of the present application, after the control device determines the equipment identification of the target power generation equipment based on the above steps, it can filter out the logic operation table corresponding to the equipment identification of the target power generation equipment from the preset logic operation table library according to the equipment identification of the target power generation equipment, and determine the logic operation table as the target logic operation table.

[0073] The method described in the embodiment of the present application converts the control logic into a logic operation table and stores it in advance in the control device. In the process of controlling the power generation equipment, the power generation equipment is automatically controlled directly according to the logic operation table. Compared with the existing method that requires multiple complex judgments and operations by manual labor, the above method can improve the equipment control efficiency.

[0074] In one embodiment, Figure 5 As shown, a method for constructing a preset logic operation table library is provided, and the method includes:

[0075] S401, determining the control logic of each power generation device in the SOFC power generation system.

[0076] Among them, the control logic represents the control method and control requirements of the power generation equipment.

[0077] In the embodiment of the present application, the control logic may be determined according to the equipment characteristics, control requirements or manual experience of each power generation equipment in the SOFC power generation system. Specifically, the control logic of the power generation equipment includes the following four types: the first type is that the manual mode and the automatic mode of the power generation equipment 1~10 are mutually exclusive, that is, control logic 1; the second type is that the water supply pump 6, the induced draft fan 7 and the blower 8 do not switch the working state when the working mode is switched from the automatic mode to the manual mode; for example, if the equipment is in the automatic opening state in the automatic mode, then after switching to the manual mode, the equipment is in the manual opening state, otherwise, if the equipment is in the automatic closing state in the automatic mode, then after switching to the manual mode, the equipment is in the manual closing state, that is, control logic 2; the third type is that the gas stop valve 9 and the nitrogen stop valve 10 do not switch the working state when the working mode is switched from the manual mode to the automatic mode; for example, if the equipment is in the manual opening state in the manual mode, then after switching to the automatic mode, the equipment is in the automatic opening state, otherwise, if the equipment is in the manual closing state in the manual mode, then after switching to the automatic mode, the equipment is in the automatic closing state, that is, control logic 3; the fourth type is that when the power generation equipment 1~10 switches from the automatic opening / closing state to the manual opening / closing state, the working mode needs to be switched from the automatic mode to the manual mode, that is, control logic 4.

[0078] S402, determining a logic operation table corresponding to each power generation device according to the control logic of each power generation device and the operation status of each power generation device.

[0079] The operating status of the power generation equipment includes the working mode and working status of the power generation equipment.

[0080] In the embodiment of the present application, after the control device obtains the control logic of each power generation device based on the above steps, it can determine the logic operation table corresponding to each power generation device according to the operating status of the power generation device.

[0081] Specifically, Figure 6 As shown, in the above step of "determining the logic operation table corresponding to each power generation device according to the control logic of each power generation device and the operating status of each power generation device", includes:

[0082] S4021, for each power generation device, determine the register bit, status bit and mode bit according to the control logic of the power generation device and the operating status of the power generation device.

[0083] Among them, the register bit is used to store the current operating status of the power generation equipment, the status bit is used to control the working status, and the mode bit is used to control the working mode.

[0084] In an embodiment of the present application, after the control device obtains the control logic of each power generation device based on the above steps, it can determine the register bit, status bit and mode bit according to the control logic of the power generation device and the operating status of the power generation device. Specifically, the status bit can be determined according to the working status of the power generation device, and the mode bit can be determined according to the working mode of the power generation device.

[0085] S4022, determine the target bit according to the register bit, the status bit and the mode bit.

[0086] In an embodiment of the present application, after the control device obtains the register bit, status bit and mode bit based on the above steps, it can perform a preset logical operation on the register bit, status bit and mode bit to obtain the target bit.

[0087] S4023, generating a logic operation table corresponding to the power generation equipment according to the register bit, the state bit, the mode bit and the target bit.

[0088] The logic operation table includes register bits, status bits, mode bits and target bits.

[0089] In an embodiment of the present application, after the control device obtains the register bit, status bit, mode bit and target bit based on the above steps, it can generate a logic operation table corresponding to the power generation equipment according to the register bit, status bit, mode bit and target bit.

[0090] S403, constructing a preset logic operation table library according to the logic operation table corresponding to each power generation device in the SOFC power generation system.

[0091] In the embodiment of the present application, after the control device determines the logic operation table corresponding to each power generation device in the SOFC power generation system based on the above steps, the logic operation table corresponding to each power generation device can be uniformly summarized into a preset logic operation table library and stored.

[0092] The method described in the embodiment of the present application, by constructing a preset logic operation table library, when the control device controls the power generation equipment, it only needs to call the corresponding preset logic operation table from the preset logic operation table library, which greatly simplifies the equipment operation steps and reduces the probability of operator error.

[0093] In one embodiment, a specific implementation method for determining register bits, status bits, and mode bits is also provided, such as Figure 7 As shown, the above step S4021 of “determining the register bit, the state bit and the mode bit according to the control logic of the power generation equipment and the operating state of the power generation equipment” includes:

[0094] S501, determining an initial working state, an initial working mode, a target working state and a target working mode of a power generation device according to a control logic of the power generation device.

[0095] In the embodiment of the present application, after obtaining the control logic of each power generation device, the control device can determine the initial working state, initial working mode, target working state and target working mode of the power generation device according to the control logic of the power generation device.

[0096] S502, determining a register bit according to an initial working state and an initial working mode.

[0097] In the embodiment of the present application, after the control device obtains the initial working state and the initial working mode based on the above steps, the register bit can be determined according to the initial working state and the initial working mode. Specifically, the initial working state and the initial working mode can be represented by x.

[0098] S503, determining a status bit according to the target working status.

[0099] In the embodiment of the present application, after the control device obtains the target working state based on the above steps, it can determine the state bit according to the target working state, and the state bit can be represented by 0 or 1.

[0100] S504, determining a mode bit according to the target working mode.

[0101] In an embodiment of the present application, after the control device obtains the target operating mode based on the above steps, it can determine the mode bit according to the target operating mode, and the mode bit can be represented by 0 or 1.

[0102] The method described in the embodiment of the present application can ensure that the control device can independently switch the working mode and working state by introducing the state and mode bit, and does not change the working state when switching the working mode, thereby reducing the operator's error rate.

[0103] In one embodiment, a specific implementation method for determining the target bit according to the register bit, the state bit and the mode bit is also provided, such as Figure 8 As shown, the “determining the target bit according to the register bit, the state bit and the mode bit” in the above step S4022 includes:

[0104] S601, perform an AND operation on the register bit and the status bit to obtain an operation result.

[0105] In the embodiment of the present application, after the control device obtains the register bit and the status bit, it can perform an AND operation on the register bit and the status bit to obtain an operation result.

[0106] S602, perform an OR operation on the operation result and the mode bit to obtain the target bit.

[0107] In the embodiment of the present application, after the control device obtains the mode bit and the operation result, it can perform an OR operation on the operation result and the mode bit to obtain the target bit.

[0108] The control signals of devices 1 to 10 are stored in the bits of 10 register addresses. The following table identifies the bit positions of manual, automatic, manual on, manual off, automatic on, and automatic off in the register addresses of devices 1 to 10. Manual and automatic represent the working mode, and manual on, manual off, automatic on, and automatic off represent the working status. Each register has 16 bits, and the bitwise AND or logic operation of "register bit & status bit | mode bit" is used to realize device control logic 1 to control logic 4.

[0109] As shown in Table 1, in the automatic mode of the device, the "manual" bit of the register is 0 and the "automatic" bit is 1, which can realize control logic 1; except for the "manual" bit and the "automatic" bit in the register, the rest of the bits are target working states, among which the "manual" bit in the mode bit is set to 1 and the "automatic" bit is set to 0, which is used to switch the working mode from automatic mode to manual mode; the state bit is set to 1, that is, 1 & x = x, which is used to determine that the working state does not switch when the device switches the working mode, that is, the initial working state and the target working state are the same, which can realize control logic 2.

[0110]

[0111] Table 1

[0112] As shown in Table 2, in the manual mode of the device, the "manual" bit is 1 and the "automatic" bit is 0. Except for the "manual" bit and the "automatic" bit in the register, the rest of the bits are the target working states. The "manual" bit in the mode bit is set to 0 and the "automatic" bit is set to 1, which is used to switch the working mode from manual mode to automatic mode; the state bit is set to 1, that is, 1 & x = x, which is used to determine that the working state does not switch when the device switches the working mode, that is, the initial working state and the target working state are the same, and control logic 3 can be implemented.

[0113]

[0114] Table 2

[0115] As shown in Table 3, based on the same principle, when the device is in the automatic on state, the "automatic" bit is 1, the "automatic on" bit is 1, and the "manual" bit is 0. Except for the "manual" bit and the "automatic" bit, the rest of the register bits are the target working state; when the device is in the automatic off state, the "automatic" bit is 1, the "automatic off" bit is 1, the "automatic on" bit is 0, and the rest of the bits are status bits. Except for the "manual" bit and the "automatic" bit, the rest of the register bits are the target working state, and the control logic 4 can be realized.

[0116]

[0117] Table 3

[0118] The relationship between the four control logics, control buttons, and Tables 1 to 3 in the above embodiments is as follows: Control logic 1: a manual button is set on the water feed pump 6, induced draft fan 7, and blower 8. The operator can directly operate the "manual" button to switch these devices from automatic mode to manual mode without changing the working state. Specifically, the operator clicks the "manual" button to call Table 1 and executes according to the operation logic in Table 1. Control logic 2: an automatic button is set on the gas shut-off valve 9 and the nitrogen shut-off valve 10. The operator can directly operate the "automatic" button to switch these devices from manual mode to automatic mode without changing the running state of the devices. Specifically, the operator clicks the "automatic" button to call Table 1 and executes according to the operation logic in Table 1. Control logic 3: a "manual open" button is set on all power generation equipment 1 to 10. The operator can directly operate the "manual open" button to switch these devices from automatic open state or automatic close state to manual open state, and from automatic mode to manual mode. Specifically, the operator clicks the "manual open" button to call Table 2 and executes according to the operation logic in Table 2. Control logic 4, set a "manual off" button on all power generation equipment 1~10, the operator can directly operate the "manual off" button to switch these equipment from the automatic on state or the automatic off state to the manual on state, and switch from the automatic mode to the manual mode. Specifically, the operator clicks the "manual off" button, calls Table 3, and executes according to the operation logic in Table 3. The automatic opening or automatic closing of equipment 1~10 in the automatic mode does not require human operation or control.

[0119] The method described in the embodiment of the present application, by designing the above-mentioned logic operation table, develops "manual", "automatic", "manual on" or "manual off" buttons for the power generation equipment 1~10 respectively, thereby realizing arbitrary switching between manual, automatic, manual on, manual off, automatic on, automatic off and other modes and states of the equipment 1~10, greatly simplifying the equipment operation steps and reducing the probability of human error operation.

[0120] Based on all the above embodiments, a device control method is also provided, the method comprising:

[0121] S701, determining the control logic of each power generation device in the SOFC power generation system.

[0122] S702 , for each power generation device, determining an initial working state, an initial working mode, a target working state and a target working mode of the power generation device according to a control logic of the power generation device.

[0123] S703, determining a register bit according to the initial working state and the initial working mode.

[0124] S704, determining a status bit according to the target working status.

[0125] S705, determining a mode bit according to the target working mode.

[0126] S706, performing an AND operation on the register bit and the status bit to obtain an operation result.

[0127] S707, perform an OR operation on the operation result and the mode bit to obtain the target bit.

[0128] S708, generating a logic operation table corresponding to the power generation equipment according to the register bit, state bit, mode bit and target bit.

[0129] S709, constructing a preset logic operation table library according to the logic operation table corresponding to each power generation device in the SOFC power generation system.

[0130] S710 , responding to a control instruction triggered by a user on a target power generation device, determining a device identifier of the target power generation device.

[0131] S711, searching a preset logic operation table library for a logic operation table corresponding to the device identifier, and determining the logic operation table corresponding to the device identifier as a target logic operation table, wherein the target logic operation table includes a correspondence between the power generation equipment and the control signal.

[0132] S712, generating a control signal according to the target logic operation table, and controlling the target power generation equipment to perform corresponding operations according to the control signal.

[0133] The methods described in the above steps are all described in the above embodiments. Please refer to the above description for details and will not be repeated here.

[0134] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0135] Based on the same inventive concept, the embodiment of the present application also provides a device control device for implementing the device control method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more device control device embodiments provided below can refer to the limitations on the device control method above, and will not be repeated here.

[0136] In one embodiment, Fig. 9 As shown, a device control device is provided, comprising:

[0137] The calling module 11 is used to respond to the control instruction triggered by the user on the target power generation device and call the target logic operation table corresponding to the target power generation device; wherein the target logic operation table includes the corresponding relationship between the power generation device and the control signal.

[0138] The control module 12 is used to generate a control signal according to the target logic operation table, and control the target power generation equipment to perform corresponding operations according to the control signal.

[0139] In one embodiment, the calling module includes:

[0140] The first determining unit is used to determine the equipment identification of the target power generation equipment.

[0141] The second determining unit is used to search for a logic operation table corresponding to the device identifier from a preset logic operation table library, and determine the logic operation table corresponding to the device identifier as a target logic operation table.

[0142] In one embodiment, the device control apparatus further includes:

[0143] The first determination module is used to determine the control logic of each power generation device in the SOFC power generation system.

[0144] The second determination module is used to determine the logic operation table corresponding to each power generation device according to the control logic of each power generation device and the operation status of each power generation device.

[0145] The construction module is used to construct a preset logic operation table library according to the logic operation table corresponding to each power generation device in the SOFC power generation system.

[0146] In one embodiment, the second determining module includes:

[0147] The third determining unit is used to determine the register bit, the state bit and the mode bit for each power generation device according to the control logic of the power generation device and the operating state of the power generation device.

[0148] The fourth determining unit is used to determine the target bit according to the register bit, the state bit and the mode bit.

[0149] The generating unit is used to generate a logic operation table corresponding to the power generation equipment according to the register bit, state bit, mode bit and target bit.

[0150] In one embodiment, the first determining unit includes:

[0151] The first determination subunit is used to determine the initial working state, initial working mode, target working state and target working mode of the power generation equipment according to the control logic of the power generation equipment.

[0152] The second determining subunit is used to determine the register bit according to the initial working state and the initial working mode.

[0153] The third determining subunit is used to determine the state bit according to the target working state.

[0154] The fourth determining subunit is used to determine the mode bit according to the target working mode.

[0155] In one embodiment, the second determining unit includes:

[0156] The first operation unit is used to perform an AND operation on the register bit and the status bit to obtain an operation result.

[0157] The second operation unit is used to perform an OR operation on the operation result and the mode bit to obtain the target bit.

[0158] Each module in the above-mentioned device control device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.

[0159] In one embodiment, a computer device is provided. The computer device may be a terminal or a server. The internal structure diagram thereof may be as follows: Fig.10 As shown, the computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a device control method is realized. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0160] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0161] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0162] In response to a control instruction triggered by a user on a target power generation device, a target logic operation table corresponding to the target power generation device is called; wherein the target logic operation table includes a corresponding relationship between the power generation device and the control signal;

[0163] A control signal is generated according to the target logic operation table, and the target power generation equipment is controlled to perform corresponding operations according to the control signal.

[0164] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0165] Determine the equipment identification of the target power generation equipment;

[0166] A logic operation table corresponding to the device identification is searched from a preset logic operation table library, and the logic operation table corresponding to the device identification is determined as a target logic operation table.

[0167] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0168] Determine the control logic of each power generation device in the SOFC power generation system;

[0169] Determine the logic operation table corresponding to each power generation device according to the control logic of each power generation device and the operating status of each power generation device;

[0170] A preset logic operation table library is constructed according to the logic operation tables corresponding to each power generation device in the SOFC power generation system.

[0171] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0172] For each power generation device, determining a register bit, a state bit and a mode bit according to the control logic of the power generation device and the operating state of the power generation device;

[0173] Determine the target bit based on the register bit, status bit and mode bit;

[0174] A logic operation table corresponding to the power generation equipment is generated according to the register bit, status bit, mode bit and target bit.

[0175] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0176] Determine an initial working state, an initial working mode, a target working state and a target working mode of the power generation equipment according to the control logic of the power generation equipment;

[0177] Determine register bits according to an initial operating state and an initial operating mode;

[0178] Determine the status bit according to the target working status;

[0179] Determine the mode bits based on the target operating mode.

[0180] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0181] Perform AND operation on the register bit and the status bit to obtain the operation result;

[0182] Perform an OR operation on the operation result and the mode bit to obtain the target bit.

[0183] The above embodiment provides a computer device, whose implementation principle and technical effect are similar to those of the above method embodiment, and will not be repeated here.

[0184] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0185] In response to a control instruction triggered by a user on a target power generation device, a target logic operation table corresponding to the target power generation device is called; wherein the target logic operation table includes a corresponding relationship between the power generation device and the control signal;

[0186] A control signal is generated according to the target logic operation table, and the target power generation equipment is controlled to perform corresponding operations according to the control signal.

[0187] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0188] Determine the equipment identification of the target power generation equipment;

[0189] A logic operation table corresponding to the device identification is searched from a preset logic operation table library, and the logic operation table corresponding to the device identification is determined as a target logic operation table.

[0190] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0191] Determine the control logic of each power generation device in the SOFC power generation system;

[0192] Determine the logic operation table corresponding to each power generation device according to the control logic of each power generation device and the operating status of each power generation device;

[0193] A preset logic operation table library is constructed according to the logic operation tables corresponding to each power generation device in the SOFC power generation system.

[0194] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0195] For each power generation device, determining a register bit, a state bit and a mode bit according to the control logic of the power generation device and the operating state of the power generation device;

[0196] Determine the target bit based on the register bit, status bit and mode bit;

[0197] A logic operation table corresponding to the power generation equipment is generated according to the register bit, status bit, mode bit and target bit.

[0198] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0199] Determine an initial working state, an initial working mode, a target working state and a target working mode of the power generation equipment according to the control logic of the power generation equipment;

[0200] Determine register bits according to an initial operating state and an initial operating mode;

[0201] Determine the status bit according to the target working state;

[0202] Determine the mode bits based on the target operating mode.

[0203] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0204] Perform AND operation on the register bit and the status bit to obtain the operation result;

[0205] Perform an OR operation on the operation result and the mode bit to obtain the target bit.

[0206] The above embodiment provides a computer-readable storage medium, whose implementation principle and technical effect are similar to those of the above method embodiment, and will not be repeated here.

[0207] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0208] In response to a control instruction triggered by a user on a target power generation device, a target logic operation table corresponding to the target power generation device is called; wherein the target logic operation table includes a corresponding relationship between the power generation device and the control signal;

[0209] A control signal is generated according to the target logic operation table, and the target power generation equipment is controlled to perform corresponding operations according to the control signal.

[0210] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0211] Determine the equipment identification of the target power generation equipment;

[0212] A logic operation table corresponding to the device identification is searched from a preset logic operation table library, and the logic operation table corresponding to the device identification is determined as a target logic operation table.

[0213] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0214] Determine the control logic of each power generation device in the SOFC power generation system;

[0215] Determine the logic operation table corresponding to each power generation device according to the control logic of each power generation device and the operating status of each power generation device;

[0216] A preset logic operation table library is constructed according to the logic operation tables corresponding to each power generation device in the SOFC power generation system.

[0217] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0218] For each power generation device, determining a register bit, a state bit and a mode bit according to the control logic of the power generation device and the operating state of the power generation device;

[0219] Determine the target bit based on the register bit, status bit and mode bit;

[0220] A logic operation table corresponding to the power generation equipment is generated according to the register bit, status bit, mode bit and target bit.

[0221] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0222] Determine an initial working state, an initial working mode, a target working state and a target working mode of the power generation equipment according to the control logic of the power generation equipment;

[0223] Determine register bits according to an initial operating state and an initial operating mode;

[0224] Determine the status bit according to the target working status;

[0225] Determine the mode bits based on the target operating mode.

[0226] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0227] Perform AND operation on the register bit and the status bit to obtain the operation result;

[0228] Perform an OR operation on the operation result and the mode bit to obtain the target bit.

[0229] The above embodiment provides a computer program product, whose implementation principle and technical effect are similar to those of the above method embodiment, and will not be repeated here.

[0230] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0231] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0232] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A device control method, characterized in that: A control device applied to a SOFC power generation system, the method comprising: In response to a control instruction triggered by a user on a target power generation device, a target logic operation table corresponding to the target power generation device is called; wherein the target logic operation table includes a corresponding relationship between the power generation device and the control signal; A control signal is generated according to the target logic operation table, and the target power generation device is controlled to perform corresponding operations according to the control signal.

2. The method according to claim 1, characterized in that The calling of the target logic operation table corresponding to the target power generation equipment includes: Determine the equipment identification of the target power generation equipment; A logic operation table corresponding to the device identifier is searched from a preset logic operation table library, and the logic operation table corresponding to the device identifier is determined as the target logic operation table.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: Determining the control logic of each power generation device in the SOFC power generation system; Determine a logic operation table corresponding to each of the power generation devices according to the control logic of each of the power generation devices and the operating status of each of the power generation devices; A preset logic operation table library is constructed according to the logic operation tables corresponding to the power generation devices in the SOFC power generation system.

4. The method according to claim 3, characterized in that The logic operation table includes a register bit, a status bit, a mode bit and a target bit. The logic operation table corresponding to each power generation device is determined according to the control logic of each power generation device and the operating status of each power generation device, including: For each of the power generation devices, determining the register bit, the state bit and the mode bit according to the control logic of the power generation device and the operating state of the power generation device; determining the target bit according to the register bit, the status bit and the mode bit; A logic operation table corresponding to the power generation equipment is generated according to the register bit, the status bit, the mode bit and the target bit.

5. The method according to claim 4, characterized in that The determining the register bit, the state bit and the mode bit according to the control logic of the power generation device and the operating state of the power generation device comprises: Determining an initial working state, an initial working mode, a target working state and a target working mode of the power generation device according to a control logic of the power generation device; determining the register bit according to the initial operating state and the initial operating mode; Determining the state bit according to the target working state; The mode bit is determined according to the target operating mode.

6. The method according to claim 4, characterized in that The determining the target bit according to the register bit, the status bit and the mode bit comprises: Performing an AND operation on the register bit and the status bit to obtain an operation result; An OR operation is performed on the operation result and the mode bit to obtain the target bit.

7. A device control device, characterized in that: The device comprises: A calling module, used to respond to a control instruction triggered by a user on a target power generation device and call a target logic operation table corresponding to the target power generation device; wherein the target logic operation table includes a corresponding relationship between the power generation device and the control signal; A control module is used to generate a control signal according to the target logic operation table, and control the target power generation equipment to perform corresponding operations according to the control signal.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.