A multi-device control method and system based on a single serial interface

By collecting equipment data and calculating reliability scores, the greedy algorithm is used to optimize the start-up and standby status of equipment, solving the problem of low efficiency of equipment linkage operation under manual control, achieving efficient matching and load balancing between equipment, and reducing operating costs and energy waste. , improving system performance and equipment reliability.

CN118365093BActive Publication Date: 2024-09-20SHANGDE LIANSHENG TECH (ZHUHAI) CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410786589.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-20
Estimated Expiration
2044-06-18

AI Technical Summary

Technical Problem

In the existing technology, equipment linkage operation control mainly relies on manual operation, resulting in low intelligence, excessive activation of equipment, resulting in waste of power resources and increased operating costs, and it is difficult to achieve collaborative operation of multiple equipment.

Method used

By collecting equipment operation data and inspection data, the device reliability score is calculated, and a greedy algorithm is used to calculate the priority value based on the equipment's standby time and running time, dynamically adjust task allocation, and optimize the startup and standby status of the equipment to achieve efficient matching between equipment. and load balancing.

Benefits of technology

It realizes the optimization of equipment task distribution, reduces operating costs, reduces energy waste caused by frequent starts and stops, improves the overall performance and economic benefits of the supply-side system, and ensures stable and reliable operation of equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118365093B
    Figure CN118365093B
Patent Text Reader

Abstract

The present invention discloses a multi-device control method based on a single serial interface, which belongs to the technical field of device control, and specifically comprises: collecting operation data and operation and inspection data of devices, and calculating the reliability score of any device; dividing the devices into operation devices and standby devices, and calculating the startup priority value and the standby priority value of any device, obtaining task instructions and inputting the task instructions, the device startup priority value and the device standby priority value into a preset allocation model, adopting a greedy algorithm to output the task allocation result, and controlling the devices according to the task allocation result; the present invention comprehensively considers the operation data, maintenance data and performance score of the equipment, realizes the optimization of the equipment task allocation, and improves the overall performance and economic benefits of the supply-side system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of device control, and in particular to a multi-device control method and system based on a single serial interface. Background Art

[0002] The implementation of device control first requires device identification, and then the device's actions are controlled by issuing instructions to complete the task assigned to the device. Since traditional device control is performed on a single device and a single scenario, device monitoring is based on a single device; there is a lack of task linkage and collaborative work arrangements between multiple devices; with the development of Internet of Things applications, especially the development of industrial Internet, higher requirements are placed on device control, requiring multiple devices to be able to collaborate in complex environments to accurately and quickly complete assigned tasks.

[0003] In the prior art, the linkage operation control of equipment is mostly manual control, which manually controls the start and stop of multiple devices at the same time to complete the demand-side tasks. However, manual control has low intelligence and usually uses redundant settings to ensure that the supply side can provide sufficient output load for the demand side. For example, the equipment is always configured and started based on the highest load demand on the demand side. Turning on too many devices not only wastes electricity resources, but also increases operating costs and equipment wear. Summary of the invention

[0004] The purpose of the present invention is to provide a multi-device control method and system based on a single serial interface to solve the following technical problems:

[0005] In the prior art, the linkage operation control of equipment is mostly manual control, which manually controls the start and stop of multiple devices at the same time to complete the demand-side tasks. However, manual control has low intelligence and usually uses redundant settings to ensure that the supply side can provide sufficient output load for the demand side. For example, the equipment is always configured and started based on the highest load demand on the demand side. Turning on too many devices not only wastes electricity resources, but also increases operating costs and equipment wear.

[0006] The purpose of the present invention can be achieved through the following technical solutions:

[0007] A multi-device control method based on a single serial interface comprises the following steps:

[0008] S1, collecting the operation data and operation inspection data of the equipment, wherein the operation data includes the equipment operation mode, the number of equipment operation times, the current equipment operation time, the equipment last operation end time and the equipment cumulative operation time; the operation inspection data includes the number of equipment failures and the cumulative repair time of the failures;

[0009] S2, calculating the reliability score A=MTBF / (MTBF+MTTR) of any equipment according to the operation data and the inspection data, and obtaining the reliability scores of all equipment; wherein MTBF is the mean trouble-free time of the equipment, and MTTR is the mean repair time of the equipment;

[0010] S3, dividing the devices into running devices and standby devices according to the device running mode, selecting any standby device and obtaining the standby time T1 of the device, calculating the startup priority value M of the standby device according to the device standby time and the reliability score, selecting any running device and obtaining the running time T2 of the device, calculating the standby priority value N of the running device according to the device running time and the reliability score;

[0011] S4, obtaining a task instruction and inputting the task instruction, the device startup priority value and the device standby priority value into a preset allocation model, adopting a greedy algorithm to output a task allocation result, and controlling the device according to the task allocation result.

[0012] As a further solution of the present invention: the calculation formula of the priority value is:

[0013] ;

[0014] Among them, f(T1) is the corresponding function of the standby time, f(T2) is the corresponding function of the running time, g(A) is the corresponding function of the reliability score, and a and b are preset coefficients.

[0015] As a further solution of the present invention: the step S3 further includes correcting the standby time value of any standby device to T1 if the standby time T1 of any standby device is greater than or equal to a preset threshold value. 标 , T 标 It is the preset time standard value.

[0016] As a further solution of the present invention: in S4, the process of generating the task allocation result is:

[0017] The task instruction is parsed to obtain the task type, task level and task time information. The quantity optimization space is set according to the number of equipment. The quantity of equipment is planned according to the task level and task time to obtain the task equipment quantity. The difference between the task equipment quantity and the current running equipment quantity is calculated. If the difference is less than 0, the standby equipment of all running equipment is obtained through the greedy algorithm; if the difference is greater than 0, the running equipment among all standby equipment is obtained through the greedy algorithm to obtain the task allocation result of all equipment.

[0018] As a further solution of the present invention: it also includes extracting the running time of the devices in the task allocation result. If the running time of any device is greater than or equal to a preset threshold, the device is removed from the task allocation result, the removed device is corrected to a standby device and the startup priority value M of the device is calculated, and the running device of the standby device is retrieved through a greedy algorithm to obtain an optimized task allocation result.

[0019] As a further solution of the present invention: if a device that was eliminated after applying the greedy algorithm becomes a running device again, the device is retained in the optimization task allocation result.

[0020] A multi-device control system based on a single serial interface, comprising:

[0021] A data acquisition module collects the operation data and operation and inspection data of the equipment. The operation data includes the equipment operation status, the number of equipment operations, the current equipment operation time, the time when the equipment last operated, and the cumulative equipment operation time; the operation and inspection data includes the number of equipment failures and the cumulative repair time of the failures;

[0022] The equipment evaluation module calculates the reliability score A=MTBF / (MTBF+MTTR) of any equipment according to the operation data and the inspection data, and obtains the reliability scores of all equipment; wherein MTBF is the mean trouble-free time of the equipment, and MTTR is the mean repair time of the equipment;

[0023] The device classification module divides the devices into running devices and standby devices according to the running status of the devices, selects any standby device and obtains the standby time T1 of the device, calculates the startup priority value M of the standby device according to the standby time and the reliability score of the device, selects any running device and obtains the running time T2 of the device, and calculates the standby priority value N of the running device according to the running time of the device and the reliability score;

[0024] The task allocation module obtains the task instruction and inputs the task instruction, the device startup priority value and the device standby priority value into a preset allocation model, adopts a greedy algorithm to output the task allocation result, and controls the device according to the task allocation result.

[0025] Beneficial effects of the present invention:

[0026] It is crucial to ensure the continuity and stability of the demand-side load supply in the supply-side system. To this end, the present invention obtains the operating data and maintenance data of the supply-side equipment, calculates the reliability score of each device, and calculates the control priority value of each device according to the equipment's operating time, standby time and reliability score. The task allocation is dynamically adjusted according to the equipment's current operating mode and control priority value to ensure the rational use of equipment in standby state and to ensure that the equipment in operation can be maintained in a timely manner to reduce operating costs. The greedy algorithm can be used to quickly derive a task allocation plan and achieve efficient matching between tasks and equipment. At the same time, it tends to select stable and reliable equipment to reduce energy waste caused by frequent start-stop. The present invention comprehensively considers the equipment's operating data, maintenance data and performance scores, optimizes equipment task allocation, and improves the overall performance and economic benefits of the supply-side system. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The present invention will be further described below in conjunction with the accompanying drawings.

[0028] Figure 1 It is a flow chart of a multi-device control method based on a single serial interface of the present invention. DETAILED DESCRIPTION

[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] See also Figure 1 As shown, the present invention is a multi-device control method based on a single serial interface, comprising the following steps:

[0031] S1, collect the operation data and inspection data of any equipment through sensors, the operation data includes the equipment operation mode, the number of equipment operations, the current equipment operation time, the end time of the last equipment operation and the cumulative equipment operation time; the inspection data includes the number of equipment failures and the cumulative repair time of the failures;

[0032] S2, calculating the reliability score A=MTBF / (MTBF+MTTR) of any equipment according to the operation data and the inspection data, and obtaining the reliability scores of all equipment; wherein MTBF is the mean trouble-free time of the equipment, and MTTR is the mean repair time of the equipment;

[0033] It is crucial to ensure the continuity and stability of output in the supply-side system. Therefore, the cumulative task completion analysis of the equipment is performed based on the cumulative operating time, that is, the task completion status of each equipment in the historical operation process is obtained, and the availability of each equipment is calculated based on the equipment's safe operating time and average repair time. The higher the availability, the more stable the equipment, and the lower the availability, the more unstable the equipment.

[0034] S3, dividing the devices into running devices and standby devices according to the device running mode, selecting any standby device and obtaining the standby time T1 of the device, calculating the startup priority value M of the standby device according to the device standby time and the reliability score, selecting any running device and obtaining the running time T2 of the device, calculating the standby priority value N of the running device according to the device running time and the reliability score;

[0035] According to the equipment operation mode, the equipment is divided into operating equipment and standby equipment, any standby equipment is selected and the standby time T1 of the equipment is obtained, and the startup priority value M of the standby equipment is calculated according to the equipment standby time and the reliability score. The standby time of any unstarted equipment can be obtained according to the equipment standby time T1. The longer the standby time reflects the lower the frequency of use of the equipment. When there is an emergency demand on the demand side and the output needs to be increased rapidly, the startup priority value M is used to consider those standby equipment with higher startup priority values ​​to achieve optimization of equipment task allocation; any operating equipment is selected and the operating time T2 of the equipment is obtained, and the standby priority value N of the operating equipment is calculated according to the equipment standby time and the reliability score; if the equipment works for a long time, it will inevitably cause mechanical fatigue and potential failures. The operating time and availability are used as references to determine the workload of each equipment. When there is a reduction in power load, the standby equipment is automatically determined by the standby priority value, thereby avoiding equipment failure due to long-term load work, ensuring that the equipment can operate in the best state, to achieve optimization of equipment task allocation, reduce the risk of unexpected downtime, and thus improve the stability and reliability of the entire supply-side system.

[0036] S4, obtaining a task instruction and inputting the task instruction, the device startup priority value and the device standby priority value into a preset allocation model, adopting a greedy algorithm to output a task allocation result, and controlling the device according to the task allocation result.

[0037] After obtaining the control task, the control task is input into the preset task allocation model, and the task instruction is analyzed through the task analysis of the task allocation model to obtain the power generation and power generation stability of the control task, and determine the execution stability requirements and task level information of the task. The stability requirement is the floating range of the power generation. The task level corresponds to the demand-side load. Different demand-side loads correspond to different task levels. The amount of running equipment is determined according to different task levels. After the analysis is completed, it is input into the constraint unit and the associated constraint coefficient is obtained through the equipment startup priority value and the equipment standby priority value. The greedy algorithm can reasonably allocate tasks according to the equipment startup priority value and the standby priority value to ensure that the equipment's operating efficiency and life management are maximized while meeting the demand-side requirements. Through reasonable task allocation, unnecessary equipment switching and maintenance costs can be reduced, thereby reducing the overall operating cost. Therefore, the task allocation result is calculated and output by the greedy algorithm to achieve the optimal configuration of equipment resources and ensure the stability and efficiency of the supply side.

[0038] In a preferred embodiment of the present invention, the calculation formula of the priority value is:

[0039] ;

[0040] Among them, f(T1) is the corresponding function of the standby time, f(T2) is the corresponding function of the running time, g(A) is the corresponding function of the reliability score, and a and b are preset coefficients.

[0041] In a preferred embodiment of the present invention, the step S3 further includes correcting the standby time value of any standby device to T1 if the standby time T1 of the standby device is greater than or equal to a preset threshold. 标 , T 标 is the preset time standard value;

[0042] By limiting the maximum standby time of the equipment and establishing a standardized time value T, a reference standard is provided for equipment operation scheduling, which can more efficiently formulate and adjust the equipment operation plan, ensure that the equipment enters the standby state or is put back into operation on time, improve the allocation efficiency of power resources, and help ensure the stability and efficiency of supply on the supply side, reduce the risk of equipment failure, and optimize the equipment management process, achieving high efficiency and high reliability of supply-side system operation.

[0043] In a preferred embodiment of the present invention, in S4, the process of generating the task allocation result is:

[0044] The task instruction is parsed to obtain the task type, task level and task time information. The quantity optimization space is set according to the number of equipment. The quantity of equipment is planned according to the task level and task time to obtain the task equipment quantity. The difference between the task equipment quantity and the current running equipment quantity is calculated. If the difference is less than 0, the standby equipment of all running equipment is obtained through the greedy algorithm; if the difference is greater than 0, the running equipment among all standby equipment is obtained through the greedy algorithm to obtain the task allocation result of all equipment.

[0045] After obtaining the control task, the control task is input into the preset task allocation model, and the task analysis of the task instruction is performed through the task analysis of the task allocation model to obtain the demand and supply stability of the control task, and determine the execution stability requirement and task level information of the task. The stability requirement is the floating range of the supply load on the supply side. The task level corresponds to the demand side load. Different demand side loads correspond to different task levels. The amount of running equipment is determined according to different task levels. When the analysis is completed, it is input into the constraint unit and the associated constraint coefficient is obtained through the equipment startup priority value and the equipment standby priority value. The greedy algorithm can reasonably allocate tasks according to the startup priority value and the standby priority value of the equipment to ensure that the equipment's operating efficiency and life management are maximized while meeting the demand side. Through task allocation, unnecessary equipment switching and maintenance costs can be reduced, thereby reducing the overall operating cost, to achieve optimal allocation of resources, ensure the stability and efficiency of the supply side, dynamically adjust the equipment status according to the changes in tasks, and achieve more intelligent and automated equipment management to improve equipment utilization and reduce the workload of managers.

[0046] In a preferred embodiment of the present invention, it also includes extracting the running time of the equipment in the task allocation result. If there is any device whose running time is greater than or equal to a preset threshold, the device is removed from the task allocation result, and the removed device is corrected to a standby device and the startup priority value M of the device is calculated. The running device of the standby device is retrieved through a greedy algorithm to obtain an optimized task allocation result.

[0047] If the equipment works for a long time, it will inevitably cause mechanical fatigue and potential failure. The workload of each device is determined by reference to the operating time and availability. When the load on the demand side is reduced, the standby device is automatically determined by the standby priority value, thereby avoiding equipment failure caused by long-term load work, ensuring that any supply-side device can operate in the best condition, to achieve optimization of equipment task allocation, reduce the risk of unexpected downtime, and thus improve the stability and reliability of the entire supply-side system.

[0048] In a preferred embodiment of the present invention, if a device that was eliminated after applying the greedy algorithm becomes a running device again, the device is retained in the optimization task allocation result.

[0049] The demand load on the demand side in actual production activities is usually dynamically changing. For example, the power transmission system will be affected by the rapid growth of economic activities, abnormal weather conditions or the start-up of important facilities. In these special cases, the supply-side system needs to quickly adjust the operating status of its equipment to meet the increased demand-side demand. In order to cope with this demand, a key aspect of the present invention is that after the task is assigned by the greedy algorithm, if necessary, the previously eliminated equipment will become an operating equipment again. This decision is based on two main situations: one is that the equipment in the current pending equipment has the highest availability compared to the other pending equipment, and the other is that all the current pending equipment has been assigned tasks. In the supply-side system, it is crucial to maintain the continuity and stability of the supply output. Therefore, when optimizing the task allocation results, it becomes particularly important to retain equipment with high availability. The present invention ensures that the supply-side system can flexibly respond to sudden demand-side demands, ensure the reliability and stability of the supply output, and also take into account the efficiency of economic operation and the maintenance requirements of the equipment. It can ensure that a stable and economical output supply can be provided under various circumstances.

[0050] A multi-device control system based on a single serial interface, comprising:

[0051] A data acquisition module collects the operation data and operation and inspection data of the equipment. The operation data includes the equipment operation status, the number of equipment operations, the current equipment operation time, the time when the equipment last operated, and the cumulative equipment operation time; the operation and inspection data includes the number of equipment failures and the cumulative repair time of the failures;

[0052] The equipment evaluation module calculates the reliability score A=MTBF / (MTBF+MTTR) of any equipment according to the operation data and the inspection data, and obtains the reliability scores of all equipment; wherein MTBF is the mean trouble-free time of the equipment, and MTTR is the mean repair time of the equipment;

[0053] The device classification module divides the devices into running devices and standby devices according to the running status of the devices, selects any standby device and obtains the standby time T1 of the device, calculates the startup priority value M of the standby device according to the standby time and the reliability score of the device, selects any running device and obtains the running time T2 of the device, and calculates the standby priority value N of the running device according to the running time of the device and the reliability score;

[0054] The task allocation module obtains the task instruction and inputs the task instruction, the device startup priority value and the device standby priority value into a preset allocation model, adopts a greedy algorithm to output the task allocation result, and controls the device according to the task allocation result.

[0055] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. A multi-device control method based on a single serial interface, characterized in that: The following steps are involved: S1, collecting the operation data and operation inspection data of the equipment, wherein the operation data includes the equipment operation mode, the number of equipment operation times, the current equipment operation time, the equipment last operation end time and the equipment cumulative operation time; the operation inspection data includes the number of equipment failures and the cumulative repair time of the failures; S2, calculating the reliability score A=MTBF / (MTBF+MTTR) of any equipment according to the operation data and the inspection data, and obtaining the reliability scores of all equipment; wherein MTBF is the mean trouble-free time of the equipment, and MTTR is the mean repair time of the equipment; S3, dividing the devices into running devices and standby devices according to the device running mode, selecting any standby device and obtaining the standby time T1 of the device, calculating the startup priority value M of the standby device according to the device standby time and the reliability score, selecting any running device and obtaining the running time T2 of the device, calculating the standby priority value N of the running device according to the device running time and the reliability score; S4, obtaining a task instruction and inputting the task instruction, the device startup priority value and the device standby priority value into a preset allocation model, using a greedy algorithm to output a task allocation result, and controlling the device according to the task allocation result; The generation process of task allocation results is as follows: The task instruction is parsed to obtain the task type, task level and task time information, the quantity optimization space is set according to the number of equipment, the equipment quantity is planned according to the task level and task time to obtain the task equipment quantity, and the difference between the task equipment quantity and the current running equipment quantity is calculated. If the difference is less than 0, the standby equipment of all running equipment is obtained through the greedy algorithm; if the difference is greater than 0, the running equipment among all standby equipment is obtained through the greedy algorithm to obtain the task allocation result of all equipment; the running time of the equipment in the task allocation result is extracted, and if there is any equipment whose running time is greater than or equal to the preset threshold, the equipment is removed from the task allocation result, the removed equipment is corrected to the standby equipment and the startup priority value M of the equipment is calculated, and the running equipment of the standby equipment is obtained again through the greedy algorithm to obtain the optimized task allocation result; if there is a device that is removed after applying the greedy algorithm and becomes a running device again, the device is retained in the optimized task allocation result.

2. A method for controlling multiple devices based on a single serial interface according to claim 1, characterized in that: The calculation formula of the priority value is: ; Among them, f(T1) is the corresponding function of the standby time, f(T2) is the corresponding function of the running time, g(A) is the corresponding function of the reliability score, and a and b are preset coefficients.

3. The method for controlling multiple devices based on a single serial interface according to claim 1, characterized in that: In the step S3, if the standby time T1 of any standby device is greater than or equal to a preset threshold, the standby time value of the standby device is corrected to T 标 , T 标 It is the preset time standard value.

4. A multi-device control system based on a single serial interface, characterized in that: include: A data acquisition module collects the operation data and operation and inspection data of the equipment. The operation data includes the equipment operation status, the number of equipment operations, the current equipment operation time, the time when the equipment last operated, and the cumulative equipment operation time; the operation and inspection data includes the number of equipment failures and the cumulative repair time of the failures; The equipment evaluation module calculates the reliability score A=MTBF / (MTBF+MTTR) of any equipment according to the operation data and the inspection data, and obtains the reliability scores of all equipment; wherein MTBF is the mean trouble-free time of the equipment, and MTTR is the mean repair time of the equipment; The device classification module divides the devices into running devices and standby devices according to the running status of the devices, selects any standby device and obtains the standby time T1 of the device, calculates the startup priority value M of the standby device according to the standby time and the reliability score of the device, selects any running device and obtains the running time T2 of the device, and calculates the standby priority value N of the running device according to the running time of the device and the reliability score; The task allocation module obtains the task instruction and inputs the task instruction, the device startup priority value and the device standby priority value into a preset allocation model, adopts a greedy algorithm to output the task allocation result, and controls the device according to the task allocation result; The generation process of task allocation results is as follows: The task instruction is parsed to obtain the task type, task level and task time information, the quantity optimization space is set according to the number of equipment, the equipment quantity is planned according to the task level and task time to obtain the task equipment quantity, and the difference between the task equipment quantity and the current running equipment quantity is calculated. If the difference is less than 0, the standby equipment of all running equipment is obtained through the greedy algorithm; if the difference is greater than 0, the running equipment among all standby equipment is obtained through the greedy algorithm to obtain the task allocation result of all equipment; the running time of the equipment in the task allocation result is extracted, and if there is any equipment whose running time is greater than or equal to the preset threshold, the equipment is removed from the task allocation result, the removed equipment is corrected to the standby equipment and the startup priority value M of the equipment is calculated, and the running equipment of the standby equipment is obtained again through the greedy algorithm to obtain the optimized task allocation result; if there is a device that is removed after applying the greedy algorithm and becomes a running device again, the device is retained in the optimized task allocation result.

Citation Information

Patent Citations

  • Real-time control method, system and device based on multiple devices and storage medium

    CN112348375A

  • Task scheduling method and device, server and storage medium

    CN114237852A

  • Multi-equipment combined operation control method and system for power equipment

    CN116436098A

  • Multi-device task distribution system and method

    CN117789948A

  • Bending equipment operation state monitoring system

    CN117850317A