A method, apparatus, terminal device, and storage medium for detecting cylinder condition.
By acquiring cylinder operating data to determine timeout and stability, and generating a cylinder condition diagnostic report, the problem of low accuracy in cylinder condition inspection in existing technologies is solved, thereby improving the accuracy of inspection and the stability of the production line.
Patent Information
- Application Number
- CN202311509022.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-13
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-11-13
AI Technical Summary
Existing cylinder condition checks suffer from low accuracy, require a large workload for regular inspections, and are prone to missing sub-optimal conditions, leading to production line shutdowns.
By acquiring the operating data of the cylinder under test on the production line within a preset time, calculating the average time data and time standard deviation data, judging the timeout and stability, and generating a cylinder condition diagnosis report.
This improves the accuracy of cylinder condition checks, avoids incomplete checks, and reduces the risk of production line downtime.
Smart Images

Figure CN117536949B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic digital data processing, and in particular to a method, apparatus, terminal device, and storage medium for detecting the state of a cylinder. Background Technology
[0002] Various types of cylinders are used in automated production lines, and these cylinders can be damaged for a variety of reasons during use. Current solutions to cylinder damage include periodically inspecting each cylinder to check its health status, or waiting until a cylinder failure causes a production line stoppage before repairing or replacing it.
[0003] However, regular inspections are labor-intensive and prone to blind spots. Incomplete checks may lead to the failure to detect cylinders in a sub-optimal state and thus miss timely maintenance. This frequently results in production line shutdowns due to cylinder damage, impacting production. Therefore, existing cylinder condition checks suffer from low accuracy.
[0004] Therefore, there is an urgent need for a cylinder condition detection strategy to solve the problem of low accuracy in cylinder condition inspection. Summary of the Invention
[0005] This invention provides a method, apparatus, terminal device, and storage medium for detecting cylinder condition, thereby improving the accuracy of cylinder condition inspection.
[0006] To address the above problems, one embodiment of the present invention provides a method for detecting the state of a cylinder, comprising:
[0007] Within a preset time period, acquire the operating data of several cylinders to be tested on a production line;
[0008] Based on the operating data, calculate the average time data and time standard deviation data for each of the cylinders under test;
[0009] For each cylinder under test, a timeout judgment is made based on the average time data to obtain a timeout diagnosis result; a stability judgment is made based on the average time data and the time standard deviation data to obtain a stability diagnosis result.
[0010] Based on the timeout diagnosis results and stability diagnosis results of each cylinder under test, a cylinder status diagnosis report for the production line is generated.
[0011] As an improvement to the above solution, the operating data includes: cylinder opening time and cylinder clamping time; the step of calculating the average time data and time standard deviation data for each cylinder under test based on the operating data includes:
[0012] Based on the cylinder opening time and cylinder clamping time of each cylinder under test within a preset time period, calculate the weighted average of the cylinder opening time and the weighted average of the cylinder clamping time for each cylinder under test; wherein, the average time data includes: the weighted average of the cylinder opening time and the weighted average of the cylinder clamping time.
[0013] Based on the cylinder opening time and cylinder clamping time of each cylinder under test within a preset time period, calculate the standard deviation of the cylinder opening time and the standard deviation of the cylinder clamping time for each cylinder under test; wherein, the time standard deviation data includes: the standard deviation of the cylinder opening time and the standard deviation of the cylinder clamping time.
[0014] As an improvement to the above scheme, the timeout diagnosis result includes: normal, abnormal, and damaged; the timeout judgment based on the average time data to obtain the timeout diagnosis result includes:
[0015] Based on the average time data, determine whether the cylinder under test corresponding to the average time data has timed out;
[0016] If the weighted average cylinder opening time is greater than the opening average warning threshold but less than the opening average alarm threshold, and the weighted average cylinder clamping time is less than the clamping average alarm threshold, then the timeout diagnosis result is judged as abnormal.
[0017] If the weighted average of the cylinder opening time is greater than the alarm threshold for the average opening time, the timeout diagnosis result is judged as damage;
[0018] If the weighted average of the cylinder clamping time is greater than the clamping average warning threshold but less than the clamping average alarm threshold, and the weighted average of the cylinder opening time is less than the opening average alarm threshold, then the timeout diagnosis result is judged as abnormal.
[0019] If the weighted average of the cylinder clamping time is greater than the clamping average alarm threshold, the timeout diagnosis result is judged as damage;
[0020] If the weighted average cylinder opening time is less than the opening average warning threshold and the weighted average cylinder clamping time is less than the clamping average warning threshold, the timeout diagnosis result is judged as normal.
[0021] As an improvement to the above scheme, the stability diagnostic results include: normal, abnormal, and damaged; the stability judgment based on the average time data and the time standard deviation data to obtain the stability diagnostic results includes:
[0022] The cylinder opening time fluctuation range is determined based on the weighted average value of the cylinder opening time and the standard deviation of the cylinder opening time.
[0023] The cylinder opening abnormality ratio is calculated based on the number of cylinder opening times that fall within the cylinder opening time fluctuation range and the total number of cylinder opening times.
[0024] Based on the cylinder opening abnormality ratio, determine whether the cylinder under test corresponding to the cylinder opening abnormality ratio is stable.
[0025] If the proportion of abnormal cylinder opening is greater than the warning threshold for abnormal opening percentage but less than the alarm threshold for abnormal opening percentage, and the proportion of abnormal cylinder clamping is less than the alarm threshold for abnormal clamping percentage, then the stable diagnosis result is abnormal.
[0026] If the percentage of cylinders with abnormal opening is greater than the alarm threshold for abnormal opening percentage, the stable diagnostic result is damage.
[0027] As an improvement to the above scheme, the step of performing stability assessment based on the average time data and the time standard deviation data to obtain a stability diagnosis result further includes:
[0028] The cylinder clamping time fluctuation range is determined based on the weighted average value of the cylinder clamping time and the standard deviation of the cylinder clamping time.
[0029] The cylinder clamping abnormality ratio is calculated based on the number of cylinder clamping times that fall within the cylinder clamping time fluctuation range and the total number of cylinder clamping times.
[0030] Based on the cylinder clamping abnormality ratio, determine whether the cylinder under test corresponding to the cylinder clamping abnormality ratio is stable.
[0031] If the proportion of abnormal cylinder clamping is greater than the warning threshold for the proportion of abnormal clamping but less than the alarm threshold for the proportion of abnormal clamping, and the proportion of abnormal cylinder opening is less than the alarm threshold for the proportion of abnormal opening, then the stable diagnosis result is abnormal.
[0032] If the proportion of clamping abnormalities is greater than the clamping abnormality alarm threshold, the stable diagnosis result is damage.
[0033] As an improvement to the above scheme, the step of performing stability assessment based on the average time data and the time standard deviation data to obtain a stability diagnosis result further includes:
[0034] If the percentage of abnormal cylinder opening is less than the warning threshold for abnormal opening percentage, and the percentage of abnormal cylinder clamping is less than the warning threshold for abnormal clamping percentage, then the stable diagnostic result is normal.
[0035] As an improvement to the above solution, the step of generating a cylinder status diagnosis report for the production line based on the timeout diagnosis result and stability diagnosis result of each cylinder under test includes:
[0036] The timeout diagnosis result and stability diagnosis result of each cylinder under test are judged;
[0037] If the timeout diagnosis result or stability diagnosis result of the cylinder under test is damaged, the cylinder under test is diagnosed as damaged, the first target cylinder is determined, and the position of the first target cylinder is obtained.
[0038] If the timeout diagnosis result and stability diagnosis result of the cylinder under test are both not damaged, and the timeout diagnosis result or stability diagnosis result is abnormal, then the cylinder under test is diagnosed as abnormal, the second target cylinder is determined, and the position of the second target cylinder is obtained.
[0039] If both the timeout diagnosis result and the stability diagnosis result of the cylinder under test are normal, then the cylinder under test is diagnosed as normal, and the third target cylinder is determined.
[0040] Summarize the diagnostic results of all cylinders under test to obtain the cylinder diagnostic data of the production line;
[0041] An alarm message is generated based on the position of the first target cylinder, and an alert message is generated based on the position of the second target cylinder;
[0042] The cylinder diagnostic data, alarm information, and reminder information are transmitted to the user interface so that the user interface can display the cylinder diagnostic data, alarm information, and reminder information to the user.
[0043] Accordingly, one embodiment of the present invention also provides a cylinder condition detection device, including: a data acquisition module, a data calculation module, a data diagnosis module and a result generation module;
[0044] The data acquisition module is used to acquire the operating data of several cylinders to be tested on a production line within a preset time period.
[0045] The data calculation module is used to calculate the average time data and time standard deviation data of each cylinder under test based on the operating data.
[0046] The data diagnosis module is used to perform timeout judgment based on the average time data for each cylinder under test, and obtain a timeout diagnosis result; and to perform stability judgment based on the average time data and the time standard deviation data, and obtain a stability diagnosis result.
[0047] The result generation module is used to generate a cylinder status diagnosis report for the production line based on the timeout diagnosis result and stability diagnosis result of each cylinder under test.
[0048] Accordingly, one embodiment of the present invention also provides a computer terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement a cylinder state detection method as described in the present invention.
[0049] Accordingly, one embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform a cylinder state detection method as described in the present invention.
[0050] As can be seen from the above, the present invention has the following beneficial effects:
[0051] This invention provides a method for detecting cylinder condition. It acquires operational data from multiple cylinders on a production line within a preset time period, calculates the average time and time standard deviation of the cylinders based on the operational data, and for each cylinder, performs a timeout assessment based on the average time data to obtain a timeout diagnosis result. Then, it performs a stability assessment based on both the average time data and the time standard deviation to obtain a stability diagnosis result. Finally, it generates a cylinder condition diagnosis report for the production line based on the timeout and stability diagnosis results for each cylinder. Compared to existing technologies that inspect all cylinders on the production line one by one, this invention provides real-time monitoring of the cylinders under test, performs time analysis on the operational data, and diagnoses the condition of multiple cylinders on the production line based on both timeout and stability dimensions. This avoids incomplete inspections and improves the accuracy of cylinder condition checks. Attached Figure Description
[0052] Figure 1 This is a schematic flowchart of a cylinder condition detection method provided in an embodiment of the present invention;
[0053] Figure 2 This is a schematic diagram of the structure of a cylinder state detection device provided in an embodiment of the present invention;
[0054] Figure 3 This is a schematic flowchart of the cylinder condition diagnosis process provided in an embodiment of the present invention;
[0055] Figure 4 This is a schematic flowchart of the cylinder diagnostic results summary provided in an embodiment of the present invention;
[0056] Figure 5 This is a schematic diagram of a diagnostic report interface provided in an embodiment of the present invention;
[0057] Figure 6 This is a timeout judgment interface provided in an embodiment of the present invention;
[0058] Figure 7 This is a stability judgment interface provided in an embodiment of the present invention.
[0059] Figure 8 This is a schematic diagram of a terminal device structure provided in an embodiment of the present invention. Detailed Implementation
[0060] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0061] Example 1
[0062] See Figure 1 , Figure 1 This is a schematic flowchart of a cylinder condition detection method according to an embodiment of the present invention, as shown below. Figure 1 As shown, this embodiment includes steps 101 to 104, and the specific steps are as follows:
[0063] Step 101: Within a preset time period, acquire the operating data of several cylinders to be tested on a production line.
[0064] In this embodiment, the controller receives operating data of several cylinders under test transmitted by the controller. The controller is connected to a sensor installed on the cylinder under test, and the sensor is used to collect the operating data of the cylinder under test.
[0065] Step 102: Based on the operating data, calculate the average time data and time standard deviation data for each cylinder under test.
[0066] In this embodiment, the operating data includes: cylinder opening time and cylinder clamping time; the step of calculating the average time data and time standard deviation data for each cylinder under test based on the operating data includes:
[0067] Based on the cylinder opening time and cylinder clamping time of each cylinder under test within a preset time period, calculate the weighted average of the cylinder opening time and the weighted average of the cylinder clamping time for each cylinder under test; wherein, the average time data includes: the weighted average of the cylinder opening time and the weighted average of the cylinder clamping time.
[0068] Based on the cylinder opening time and cylinder clamping time of each cylinder under test within a preset time period, calculate the standard deviation of the cylinder opening time and the standard deviation of the cylinder clamping time for each cylinder under test; wherein, the time standard deviation data includes: the standard deviation of the cylinder opening time and the standard deviation of the cylinder clamping time.
[0069] In one specific embodiment, the time for each opening and clamping of the cylinder is statistically analyzed at a certain time interval (i.e., the preset time described in this invention, which is adaptively adjusted by the user) or a certain number of actions, and the maximum, minimum and weighted average values of each are calculated.
[0070] In one specific embodiment, the standard deviation (σ1) of the cylinder opening time, the weighted average of the cylinder opening time (x1), and the proportion of times the cylinder opening time falls within the range of the weighted average ± standard deviation (x1 ± σ1) (i.e., the cylinder opening time fluctuation range described in this invention) are calculated out of the total number of calculations; the standard deviation (σ2) of the cylinder clamping time, the weighted average of the cylinder clamping time (x2), and the proportion of times the cylinder clamping time falls within the range of the weighted average ± standard deviation (x2 ± σ2) (i.e., the cylinder clamping time fluctuation range described in this invention) are calculated out of the total number of calculations.
[0071] Step 103: For each cylinder under test, timeout judgment is performed based on the average time data to obtain a timeout diagnosis result; stability judgment is performed based on the average time data and the time standard deviation data to obtain a stability diagnosis result.
[0072] In this embodiment, the timeout diagnosis result includes: normal, abnormal, and damaged; the step of determining the timeout based on the average time data to obtain the timeout diagnosis result includes:
[0073] Based on the average time data, determine whether the cylinder under test corresponding to the average time data has timed out;
[0074] If the weighted average cylinder opening time is greater than the opening average warning threshold but less than the opening average alarm threshold, and the weighted average cylinder clamping time is less than the clamping average alarm threshold, then the timeout diagnosis result is judged as abnormal.
[0075] If the weighted average of the cylinder opening time is greater than the alarm threshold for the average opening time, the timeout diagnosis result is judged as damage;
[0076] If the weighted average of the cylinder clamping time is greater than the clamping average warning threshold but less than the clamping average alarm threshold, and the weighted average of the cylinder opening time is less than the opening average alarm threshold, then the timeout diagnosis result is judged as abnormal.
[0077] If the weighted average of the cylinder clamping time is greater than the clamping average alarm threshold, the timeout diagnosis result is judged as damage;
[0078] If the weighted average cylinder opening time is less than the opening average warning threshold and the weighted average cylinder clamping time is less than the clamping average warning threshold, the timeout diagnosis result is judged as normal.
[0079] In one specific embodiment, the calculated weighted average of cylinder opening time and cylinder clamping time are compared with the cylinder's set opening average warning threshold and clamping average warning threshold (adjusted adaptively by the user according to requirements), as well as the opening average alarm threshold and clamping average alarm threshold (adjusted adaptively by the user according to requirements):
[0080] When both the weighted average cylinder opening time and the weighted average cylinder clamping time are less than the average clamping time warning threshold, the timeout diagnosis is normal.
[0081] If the average opening alarm threshold > the weighted average cylinder opening time > the average opening warning threshold, and the weighted average cylinder clamping time < the average clamping alarm threshold, then timeout is diagnosed as abnormal.
[0082] Clamping average alarm threshold > cylinder clamping time weighted average > clamping average warning threshold, and cylinder opening time weighted average < opening average alarm threshold: timeout diagnosis is abnormal;
[0083] If the weighted average of cylinder opening time > the alarm threshold for the average opening time, or the weighted average of cylinder clamping time > the alarm threshold for the average clamping time, the timeout is diagnosed as a damage.
[0084] In this embodiment, the stability diagnostic results include: normal, abnormal, and damaged; the stability judgment based on the average time data and the time standard deviation data to obtain the stability diagnostic results includes:
[0085] The cylinder opening time fluctuation range is determined based on the weighted average value of the cylinder opening time and the standard deviation of the cylinder opening time.
[0086] The cylinder opening abnormality ratio is calculated based on the number of cylinder opening times that fall within the cylinder opening time fluctuation range and the total number of cylinder opening times.
[0087] Based on the cylinder opening abnormality ratio, determine whether the cylinder under test corresponding to the cylinder opening abnormality ratio is stable.
[0088] If the proportion of abnormal cylinder opening is greater than the warning threshold for abnormal opening percentage but less than the alarm threshold for abnormal opening percentage, and the proportion of abnormal cylinder clamping is less than the alarm threshold for abnormal clamping percentage, then the stable diagnosis result is abnormal.
[0089] If the percentage of cylinders with abnormal opening is greater than the alarm threshold for abnormal opening percentage, the stable diagnostic result is damage.
[0090] In this embodiment, the method of performing stability assessment based on the average time data and the time standard deviation data to obtain a stability diagnosis result further includes:
[0091] The cylinder clamping time fluctuation range is determined based on the weighted average value of the cylinder clamping time and the standard deviation of the cylinder clamping time.
[0092] The cylinder clamping abnormality ratio is calculated based on the number of cylinder clamping times that fall within the cylinder clamping time fluctuation range and the total number of cylinder clamping times.
[0093] Based on the cylinder clamping abnormality ratio, determine whether the cylinder under test corresponding to the cylinder clamping abnormality ratio is stable.
[0094] If the proportion of abnormal cylinder clamping is greater than the warning threshold for the proportion of abnormal clamping but less than the alarm threshold for the proportion of abnormal clamping, and the proportion of abnormal cylinder opening is less than the alarm threshold for the proportion of abnormal opening, then the stable diagnosis result is abnormal.
[0095] If the proportion of clamping abnormalities is greater than the clamping abnormality alarm threshold, the stable diagnosis result is damage.
[0096] In this embodiment, the step of performing stability assessment based on the average time data and the time standard deviation data to obtain a stability diagnosis result further includes:
[0097] If the percentage of abnormal cylinder opening is less than the warning threshold for abnormal opening percentage, and the percentage of abnormal cylinder clamping is less than the warning threshold for abnormal clamping percentage, then the stable diagnostic result is normal.
[0098] In one specific embodiment, when both the cylinder opening abnormality ratio and the cylinder clamping abnormality ratio are less than the clamping abnormality ratio warning threshold, the timeout diagnosis is normal.
[0099] If the abnormal opening percentage alarm threshold > the abnormal opening percentage > the abnormal opening percentage warning threshold, and the abnormal clamping percentage < the abnormal clamping percentage alarm threshold, the timeout diagnosis is abnormal.
[0100] Clamping abnormality percentage alarm threshold > cylinder clamping abnormality percentage > clamping abnormality percentage warning threshold, and cylinder opening abnormality percentage alarm threshold: timeout diagnosis is abnormal;
[0101] If the percentage of cylinder opening abnormalities exceeds the alarm threshold for the percentage of opening abnormalities, or if the percentage of cylinder clamping abnormalities exceeds the alarm threshold for the percentage of clamping abnormalities, the timeout indicates damage.
[0102] In one specific embodiment, a diagnosis of "normal" indicates that the cylinder is in good condition and can operate; a diagnosis of "abnormal" indicates that the cylinder is in bad condition but can still continue to operate; and a diagnosis of "damaged" indicates that the cylinder cannot operate.
[0103] In one specific embodiment, for a better illustration of steps 102-103, please refer to [link to specific embodiment]. Figure 3 ,implement Figure 3 The diagram shown demonstrates how repeated monitoring of the cylinder can be performed.
[0104] Step 104: Generate a cylinder status diagnosis report for the production line based on the timeout diagnosis results and stability diagnosis results of each cylinder under test.
[0105] In this embodiment, generating a cylinder status diagnostic report for the production line based on the timeout diagnostic results and stability diagnostic results of each cylinder under test includes:
[0106] The timeout diagnosis result and stability diagnosis result of each cylinder under test are judged;
[0107] If the timeout diagnosis result or stability diagnosis result of the cylinder under test is damaged, the cylinder under test is diagnosed as damaged, the first target cylinder is determined, and the position of the first target cylinder is obtained.
[0108] If the timeout diagnosis result and stability diagnosis result of the cylinder under test are both not damaged, and the timeout diagnosis result or stability diagnosis result is abnormal, then the cylinder under test is diagnosed as abnormal, the second target cylinder is determined, and the position of the second target cylinder is obtained.
[0109] If both the timeout diagnosis result and the stability diagnosis result of the cylinder under test are normal, then the cylinder under test is diagnosed as normal, and the third target cylinder is determined.
[0110] Summarize the diagnostic results of all cylinders under test to obtain the cylinder diagnostic data of the production line;
[0111] An alarm message is generated based on the position of the first target cylinder, and an alert message is generated based on the position of the second target cylinder;
[0112] The cylinder diagnostic data, alarm information, and reminder information are transmitted to the user interface so that the user interface can display the cylinder diagnostic data, alarm information, and reminder information to the user.
[0113] In one specific embodiment, the timeout diagnosis results and stability diagnosis results of each cylinder to be tested are read within a certain period of time;
[0114] The diagnostic results for each cylinder are evaluated.
[0115] During this period, the cylinder diagnostic results showed an alarm: the cylinder status diagnostic report showed an alarm.
[0116] During this period, the cylinder diagnostic results showed a warning but not an alarm: the cylinder status diagnostic report showed a warning;
[0117] During this period, no warnings or alarms were detected in the cylinder diagnostic results: the cylinder status diagnostic report was normal.
[0118] For a better explanation, please see Figure 4 , Figure 4 This is a daily diagnostic step performed according to the present invention to determine the state of the cylinder.
[0119] In one specific embodiment, the present invention provides Figure 5 , Figure 6 , Figure 7 The interface diagrams involved are used to illustrate cylinder diagnostics: Among them, Figure 5 This is a schematic diagram of the diagnostic report, summarizing and plotting the diagnostic results for all cylinders; Figure 6 This is the data acquisition interface for timeout detection; Figure 7 This is the data acquisition interface for stability assessment.
[0120] See Figure 2 , Figure 2 This is a schematic diagram of the structure of a cylinder state detection device provided in an embodiment of the present invention, including: a data acquisition module 201, a data calculation module 202, a data diagnosis module 203, and a result generation module 204;
[0121] The data acquisition module is used to acquire the operating data of several cylinders to be tested on a production line within a preset time period.
[0122] The data calculation module is used to calculate the average time data and time standard deviation data of each cylinder under test based on the operating data.
[0123] The data diagnosis module is used to perform timeout judgment based on the average time data for each cylinder under test, and obtain a timeout diagnosis result; and to perform stability judgment based on the average time data and the time standard deviation data, and obtain a stability diagnosis result.
[0124] The result generation module is used to generate a cylinder status diagnosis report for the production line based on the timeout diagnosis result and stability diagnosis result of each cylinder under test.
[0125] It is understood that the above system embodiments correspond to the method embodiments of the present invention, and can implement the cylinder state detection method provided by any of the above method embodiments of the present invention.
[0126] This embodiment acquires the operating data of multiple cylinders under test on a production line within a preset time period, and calculates the average time data and time standard deviation data of the cylinders under test based on the operating data. For each cylinder under test, a timeout judgment is made based on the average time data to obtain a timeout diagnosis result. A stability judgment is made based on the average time data and time standard deviation data to obtain a stability diagnosis result. Finally, a cylinder status diagnosis report is generated for the machining production line based on the timeout diagnosis result and the stability diagnosis result of each cylinder under test. Compared with the existing technology that inspects all cylinders on the production line one by one, this invention monitors the cylinders under test in real time, performs time analysis on the operating data, and performs status diagnosis on multiple cylinders under test on the production line based on two dimensions: timeout and stability. This avoids incomplete inspection and improves the accuracy of cylinder status inspection.
[0127] Example 2
[0128] See Figure 8 , Figure 8 This is a schematic diagram of the terminal device structure provided in an embodiment of the present invention.
[0129] One terminal device in this embodiment includes: a processor 801, a memory 802, and a computer program stored in the memory 802 and executable on the processor 801. When the processor 801 executes the computer program, it implements the steps of the cylinder state detection method described above in this embodiment, for example... Figure 1 All steps of the cylinder condition detection method shown. Alternatively, when the processor executes the computer program, it implements the functions of each module in the above-described device embodiments, for example: Figure 2 All modules of the cylinder status detection device shown.
[0130] In addition, embodiments of the present invention also provide a computer-readable storage medium, the computer-readable storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the cylinder state detection method as described in any of the above embodiments.
[0131] Those skilled in the art will understand that the schematic diagram is merely an example of a terminal device and does not constitute a limitation on the terminal device. It may include more or fewer components than shown in the diagram, or combine certain components, or different components. For example, the terminal device may also include input / output devices, network access devices, buses, etc.
[0132] The processor 801 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor. The processor 801 is the control center of the terminal device, connecting all parts of the terminal device through various interfaces and lines.
[0133] The memory 802 can be used to store the computer programs and / or modules. The processor 801 implements various functions of the terminal device by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, phonebook, etc.). In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, memory, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0134] Wherein, if the modules / units integrated in the terminal device are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, it can implement the steps of the various method embodiments described above. Wherein, the computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc.
[0135] It should be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, in the accompanying drawings of the device embodiments provided by this invention, the connection relationships between modules indicate that they have communication connections, which can be specifically implemented as one or more communication buses or signal lines. Those skilled in the art can understand and implement this without any creative effort.
[0136] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for detecting the condition of a cylinder, characterized in that, include: Within a preset time period, the operating data of several cylinders to be tested on a production line are acquired; the operating data includes: cylinder opening time and cylinder clamping time. Based on the operating data, calculate the average time data and time standard deviation data for each of the cylinders under test; For each cylinder under test, a timeout judgment is made based on the average time data to obtain a timeout diagnosis result; the timeout diagnosis result includes: normal, abnormal, and damaged; a stability judgment is made based on the average time data and the time standard deviation data to obtain a stability diagnosis result; Based on the timeout diagnosis results and stability diagnosis results of each cylinder under test, a cylinder status diagnosis report for the production line is generated. The step of calculating the average time data and time standard deviation data for each cylinder under test based on the operating data includes: Based on the cylinder opening time and cylinder clamping time of each cylinder under test within a preset time period, calculate the weighted average of the cylinder opening time and the weighted average of the cylinder clamping time for each cylinder under test; wherein, the average time data includes: the weighted average of the cylinder opening time and the weighted average of the cylinder clamping time. Based on the cylinder opening time and cylinder clamping time of each cylinder under test within a preset time period, calculate the standard deviation of the cylinder opening time and the standard deviation of the cylinder clamping time for each cylinder under test; wherein, the time standard deviation data includes: the standard deviation of the cylinder opening time and the standard deviation of the cylinder clamping time. The step of determining timeout based on the average time data and obtaining a timeout diagnosis result includes: Based on the average time data, determine whether the cylinder under test corresponding to the average time data has timed out; If the weighted average cylinder opening time is greater than the opening average warning threshold but less than the opening average alarm threshold, and the weighted average cylinder clamping time is less than the clamping average alarm threshold, then the timeout diagnosis result is judged as abnormal. If the weighted average of the cylinder opening time is greater than the alarm threshold for the average opening time, the timeout diagnosis result is judged as damage; If the weighted average of the cylinder clamping time is greater than the clamping average warning threshold but less than the clamping average alarm threshold, and the weighted average of the cylinder opening time is less than the opening average alarm threshold, then the timeout diagnosis result is judged as abnormal. If the weighted average of the cylinder clamping time is greater than the clamping average alarm threshold, the timeout diagnosis result is judged as damage; If the weighted average cylinder opening time is less than the opening average warning threshold and the weighted average cylinder clamping time is less than the clamping average warning threshold, the timeout diagnosis result is judged as normal.
2. The method for detecting cylinder condition according to claim 1, characterized in that, The stability diagnostic results include: normal, abnormal, and damaged; the stability judgment based on the average time data and the time standard deviation data to obtain the stability diagnostic results includes: The cylinder opening time fluctuation range is determined based on the weighted average value of the cylinder opening time and the standard deviation of the cylinder opening time. The cylinder opening abnormality ratio is calculated based on the number of cylinder opening times that fall within the cylinder opening time fluctuation range and the total number of cylinder opening times. Based on the cylinder opening abnormality ratio, determine whether the cylinder under test corresponding to the cylinder opening abnormality ratio is stable. If the proportion of abnormal cylinder opening is greater than the warning threshold for abnormal opening percentage but less than the alarm threshold for abnormal opening percentage, and the proportion of abnormal cylinder clamping is less than the alarm threshold for abnormal clamping percentage, then the stable diagnosis result is abnormal. If the percentage of cylinders with abnormal opening is greater than the alarm threshold for abnormal opening percentage, the stable diagnostic result is damage.
3. The method for detecting cylinder condition according to claim 2, characterized in that, The step of performing stability assessment based on the average time data and the time standard deviation data to obtain a stability diagnosis result further includes: The cylinder clamping time fluctuation range is determined based on the weighted average value of the cylinder clamping time and the standard deviation of the cylinder clamping time. The cylinder clamping abnormality ratio is calculated based on the number of cylinder clamping times that fall within the cylinder clamping time fluctuation range and the total number of cylinder clamping times. Based on the cylinder clamping abnormality ratio, determine whether the cylinder under test corresponding to the cylinder clamping abnormality ratio is stable. If the proportion of abnormal cylinder clamping is greater than the warning threshold for the proportion of abnormal clamping but less than the alarm threshold for the proportion of abnormal clamping, and the proportion of abnormal cylinder opening is less than the alarm threshold for the proportion of abnormal opening, then the stable diagnosis result is abnormal. If the proportion of clamping abnormalities is greater than the clamping abnormality alarm threshold, the stable diagnosis result is damage.
4. The method for detecting the cylinder condition according to claim 3, characterized in that, The step of performing stability assessment based on the average time data and the time standard deviation data to obtain a stability diagnosis result further includes: If the percentage of abnormal cylinder opening is less than the warning threshold for abnormal opening percentage, and the percentage of abnormal cylinder clamping is less than the warning threshold for abnormal clamping percentage, then the stable diagnostic result is normal.
5. The method for detecting the cylinder condition according to claim 1, characterized in that, The step of generating a cylinder status diagnostic report for the production line based on the timeout and stability diagnostic results of each cylinder under test includes: The timeout diagnosis result and stability diagnosis result of each cylinder under test are judged; If the timeout diagnosis result or stability diagnosis result of the cylinder under test is damaged, the cylinder under test is diagnosed as damaged, the first target cylinder is determined, and the position of the first target cylinder is obtained. If the timeout diagnosis result and stability diagnosis result of the cylinder under test are both not damaged, and the timeout diagnosis result or stability diagnosis result is abnormal, then the cylinder under test is diagnosed as abnormal, the second target cylinder is determined, and the position of the second target cylinder is obtained. If both the timeout diagnosis result and the stability diagnosis result of the cylinder under test are normal, then the cylinder under test is diagnosed as normal, and the third target cylinder is determined. Summarize the diagnostic results of all cylinders under test to obtain the cylinder diagnostic data of the production line; An alarm message is generated based on the position of the first target cylinder, and a reminder message is generated based on the position of the second target cylinder; The cylinder diagnostic data, alarm information, and reminder information are transmitted to the user interface so that the user interface can display the cylinder diagnostic data, alarm information, and reminder information to the user.
6. A cylinder condition detection device, characterized in that, include: The system includes a data acquisition module, a data calculation module, a data diagnosis module, and a result generation module. The data acquisition module is used to acquire the operating data of several cylinders to be tested on a production line within a preset time period; the operating data includes: cylinder opening time and cylinder clamping time. The data calculation module is used to calculate the average time data and time standard deviation data for each cylinder under test based on the operating data. The calculation of the average time data and time standard deviation data for each cylinder under test based on the operating data includes: calculating the weighted average of the cylinder opening time and the weighted average of the cylinder clamping time for each cylinder under test based on the cylinder opening time and cylinder clamping time within a preset time period; wherein the average time data includes the weighted average of the cylinder opening time and the weighted average of the cylinder clamping time; and calculating the standard deviation of the cylinder opening time and the standard deviation of the cylinder clamping time for each cylinder under test based on the cylinder opening time and cylinder clamping time within a preset time period; wherein the time standard deviation data includes the standard deviation of the cylinder opening time and the standard deviation of the cylinder clamping time. The data diagnostic module is used to perform timeout judgment based on the average time data for each cylinder under test, and obtain a timeout diagnosis result; the timeout diagnosis result includes: normal, abnormal, and damaged; and to perform stability judgment based on the average time data and the time standard deviation data to obtain a stability diagnosis result; the timeout judgment based on the average time data to obtain a timeout diagnosis result includes: judging whether the cylinder under test corresponding to the average time data has timed out according to the average time data; if the weighted average cylinder opening time is greater than the opening average warning threshold and less than the opening average alarm threshold, and the weighted average cylinder clamping time is less than the clamping average... If the cylinder opening time exceeds the alarm threshold, the timeout diagnosis result is judged as abnormal; if the weighted average cylinder opening time is greater than the opening average alarm threshold, the timeout diagnosis result is judged as damaged; if the weighted average cylinder clamping time is greater than the clamping average warning threshold but less than the clamping average alarm threshold, and the weighted average cylinder opening time is less than the opening average alarm threshold, the timeout diagnosis result is judged as abnormal; if the weighted average cylinder clamping time is greater than the clamping average alarm threshold, the timeout diagnosis result is judged as damaged; if the weighted average cylinder opening time is less than the opening average warning threshold and the weighted average cylinder clamping time is less than the clamping average warning threshold, the timeout diagnosis result is judged as normal. The result generation module is used to generate a cylinder status diagnosis report for the production line based on the timeout diagnosis result and stability diagnosis result of each cylinder under test.
7. A computer terminal device, characterized in that, The device includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor, when executing the computer program, implements a cylinder condition detection method as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device on which the computer-readable storage medium is located to perform a cylinder state detection method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Action stability analysis method, system and equipment and storage medium
CN114637264A
