A daily inspection system and method for enterprise equipment based on automation
Through the automated equipment inspection method, the robot arm and image recognition technology are used to perform multiple press inspections, which solves the problems of low efficiency and missed inspections in the existing technology, achieves efficient and accurate equipment inspection, and reduces labor costs.
Patent Information
- Application Number
- CN202410806022.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-21
Smart Images

Figure CN118376916B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automated equipment inspection, and in particular to an automated daily equipment inspection system and method for an enterprise. Background Art
[0002] With the continuous development of industrial production, the automatic inspection system of equipment has become an important part of modern industrial production. The automatic inspection system of equipment is an intelligent inspection system based on computer technology and sensor technology. It can automatically collect, process and analyze equipment operation data, and timely discover and diagnose equipment failures to ensure the normal operation of equipment and the safe production of enterprises.
[0003] The equipment automatic inspection system mainly consists of data collection, data processing, fault diagnosis and other components. Among them, data collection is one of the core functions of the equipment automatic inspection system. The equipment automatic inspection system collects equipment operation data through sensors and other devices, and transmits the data to the data processing system for processing and analysis. The data processing system can perform fault diagnosis based on the equipment operation data and issue alarms in time so that maintenance personnel can handle it in time.
[0004] Existing inspection methods are mostly manual, which are inefficient, prone to missed inspections, unable to perform multiple inspections on enterprise equipment buttons, and the manual pressure force cannot be kept consistent. These problems will not only lead to low production efficiency of the enterprise, but also increase the enterprise's maintenance costs and safety risks. Summary of the invention
[0005] The present invention provides an automated daily inspection method for enterprise equipment, which has the beneficial effect of actively testing all functions of enterprise equipment and performing multiple press detections on keys with test abnormalities by setting different test focus points and pressure forces. This solves the problems mentioned in the above background technology, such as low efficiency, easy missed detection, inability to perform multiple detections on enterprise equipment keys, and inability to maintain consistent manual pressure forces.
[0006] The present invention provides the following technical solution: a method for daily inspection of enterprise equipment based on automation, comprising:
[0007] S1 sets and monitors the rated voltage of the robot arm in real time to determine whether the robot arm can operate normally. The robot arm includes a camera and a push rod, and the push rod includes a first push rod and a second push rod;
[0008] S2 marks and records the operation area and information area of the enterprise equipment, where the operation area includes function buttons and operation buttons, and the information area includes the enterprise equipment model, IP address and rated voltage;
[0009] S3 identifies the enterprise equipment operation interface, retrieves the image collection, and determines the next key operation of the robot arm;
[0010] S4 obtains the key type and the force point, and sets the initial pressure strength according to the key type;
[0011] S5 monitors the feedback from the operation interface, takes a photo and transmits it back to the terminal to determine whether the key is responsive. If the key is not responsive, the key adjustment strategy is executed;
[0012] S6 key adjustment strategy, identify key type, set multiple test points and initial pressure, test in turn and observe whether the operation interface has normal feedback. When multiple test points are tested and there is no feedback on the operation interface, adjust the robot arm key pressure and test again until all test points are tested under different key pressures, and record the test status of the key.
[0013] Optionally, the setting and real-time monitoring of the rated voltage of the robotic arm to determine whether the robotic arm can operate normally includes:
[0014] Setting a safety voltage threshold D, wherein the safety voltage threshold is between 380V and 480V;
[0015] Start the robot arm, set the rated voltage to J, connect the voltage detector, and observe the rated voltage J of the robot arm in real time.
[0016] When J is greater than D, the rated voltage of the control robot arm is reduced to within the safety voltage threshold;
[0017] When J is less than D, the rated voltage of the robot arm is controlled to increase to within the safety voltage threshold, and the current rated voltage J of the robot arm and the voltage detection time are recorded.
[0018] Optionally, the identifying the enterprise equipment operation interface, retrieving the image set, and determining the next key operation of the robot arm includes:
[0019] The enterprise equipment is manually tested in advance, and each operation step and interface feedback are recorded. The interface feedback is generated by taking pictures and saving them to the image set Tj. The key execution sequence and key number corresponding to each interface image are recorded.
[0020] The robot arm identifies the interface feedback and compares it with the interface images in the image set Tj to determine the target image in the image set Tj that meets the current interface feedback.
[0021] Proceed to the next step according to the key execution sequence and key number corresponding to the target image.
[0022] Optionally, the robot arm identifies the interface feedback and compares it with the interface images in the image set Tj to determine the target image in the image set Tj that meets the current interface feedback, including:
[0023] Set the similarity deviation threshold Q,
[0024] Encode the interface feedback image and convert it into an m-dimensional space vector set Ct;
[0025] Traverse the image set Tj, encode the interface images in Tj in turn, convert them into m-dimensional space vector Dc, calculate the distance between Dc and Ct by the formula, store the calculated value each time in the array Sn, and traverse the maximum value of the array Sn, which is recorded as ,
[0026] when When it is less than Q, the traversal Tj encoding operation ends. The current Tj encoded image is the target image in the image set Tj that meets the current interface feedback. The distance calculation formula is as follows:
[0027]
[0028] In the formula, d represents the distance value calculated between Dc and Ct, m represents the total number of dimensions of the space, and k represents the number of dimensions of the current vector.
[0029] Optionally, obtaining the key type and the force point, and setting the initial pressure force according to the key type, includes:
[0030] Identify the key type,
[0031] The outline of the operation button is an equilateral triangle, denoted by , ABC are the three endpoints of the triangle, and the three angle bisectors are made from the endpoints. The three angle bisectors intersect at point O, and point O is taken as the focus;
[0032] The outline of the function key is a rectangle, which is denoted as rectangle DEFG. DEFG is the four endpoints of the rectangle. The diagonal lines are connected, and the intersection point is S. Point S is used as the focus point.
[0033] The initial pressure force is set according to the key type. The initial pressure force of the function key is α, and the initial pressure force of the operation key is β.
[0034] Optionally, the monitoring operation interface feedback, taking a photo and transmitting it back to the terminal, determining whether the key is responsive, and if the key is not responsive, executing the key adjustment strategy, including:
[0035] Get the cross-sectional diameter R of the first push rod and the cross-sectional diameter r of the second push rod, where r= ,
[0036] If the key type is an operation key, use the initial pressure β to press point O. If there is no target image in the recognition result, connect the point O with points ABC respectively to divide the operation key into the operation test area. , ,
[0037] The three endpoints of each operation test area are used as angle bisectors, and the intersection of the three angle bisectors is used as the test focus point, which is recorded as O1, O2 and O3.
[0038] Get the shortest line segment from any test focus point to each adjacent operation key, and form a shortest line segment set corresponding to this test focus point, and get the shortest element in the shortest line segment set as the target shortest line segment.
[0039] Each test focus point corresponds to a target shortest line segment.
[0040] The shortest line segments of the targets corresponding to the multiple test focus points form a target comparison set;
[0041] Compare the elements in the target comparison set with R,
[0042] The elements whose target shortest line segment is greater than R form the first execution set,
[0043] The elements whose target shortest line segment is smaller than R form the second execution set,
[0044] First, the first push rod is used to perform a pressing test on the test force point corresponding to the element in the first execution set, specifically,
[0045] Select the test point corresponding to the element in the first execution set, perform a press test with the initial pressure of β, and identify the interface feedback.
[0046] If there is no target image in the recognition result, the current test force point is used to select other test force points corresponding to the elements in the first execution set in a clockwise direction to perform a press test. If the recognition result finds the target image, the test is stopped, the current test force point, push rod type and pressure are recorded, and the key status is set to qualified.
[0047] When all the test points in the first execution set are traversed and pressed, and there is no target image in the recognition result, the pressure is increased to 2β, and the test points corresponding to the elements in the first execution set are selected for pressing test.
[0048] If the target image is found in the recognition result, the current test point, push rod type and pressure strength will be recorded.
[0049] If there is no target image in the recognition result, a second push rod is used to perform a press test on the elements in the second execution set;
[0050] Select the test point corresponding to the element in the second execution set, perform a press test with the initial pressure of β, and identify the interface feedback.
[0051] If there is no target image in the recognition result, the current test force point is used to select other test force points corresponding to the elements in the second execution set in a clockwise direction to perform a press test. If the recognition result finds the target image, the test is stopped, the current test force point, push rod type and pressure are recorded, and the key status is set to qualified.
[0052] When all the test points in the second execution set are traversed and pressed, and there is no target image in the recognition result, the pressure is increased to 2β, and the test points corresponding to the elements in the second execution set are selected for pressing test.
[0053] If the target image is found in the recognition result, the current test force point, putter type and pressure strength are recorded;
[0054] If there is no target image in the recognition result, record the operation key and report it for repair.
[0055] Optionally, if the key type is a function key, use the initial pressure α to perform a press test on point S. If there is no target image in the recognition result, connect the diagonal lines to divide the rectangle DEFG into the function test area. , , ,
[0056] The three endpoints of each operation test area are used as angle bisectors, and the intersection of the three angle bisectors is used as the test focus point, which is recorded as S1, S2, S3 and S4.
[0057] Get the shortest line segment from any test focus point to each adjacent operation key, and form a shortest line segment set corresponding to this test focus point, and get the shortest element in the shortest line segment set as the target shortest line segment.
[0058] Each test focus point corresponds to a target shortest line segment.
[0059] The shortest line segments of the targets corresponding to the multiple test focus points form a target comparison set;
[0060] Compare the elements in the target comparison set with R,
[0061] The elements whose target shortest line segment is greater than R form the first execution set,
[0062] The elements whose target shortest line segment is smaller than R form the second execution set,
[0063] First, the first push rod is used to perform a pressing test on the test force point corresponding to the element in the first execution set, specifically,
[0064] Select any test point, use the initial pressure as α to perform the press test, and identify the interface feedback.
[0065] If the recognition result does not contain the target image, the current force point is used to select other test force points corresponding to the elements in the first execution set in a clockwise direction to perform a press test. If the recognition result finds the target image, the test is stopped, the current test force point, push rod type and pressure are recorded, and the key status is set to qualified.
[0066] When all the test points in the first execution set are traversed and pressed, and there is no target image in the recognition result, the pressure is increased to 2α, and the test points corresponding to the elements in the first execution set are selected for pressing test.
[0067] If the target image is found in the recognition result, the current test point, push rod type and pressure strength will be recorded.
[0068] If there is no target image in the recognition result, a second push rod is used to perform a press test on the elements in the second execution set;
[0069] Select the test point corresponding to the element in the second execution set, perform a press test with the initial pressure of α, and identify the interface feedback.
[0070] If there is no target image in the recognition result, the current test force point is used to select other test force points corresponding to the elements in the second execution set in a clockwise direction to perform a press test. If the recognition result finds the target image, the test is stopped, the current test force point, push rod type and pressure are recorded, and the key status is set to qualified.
[0071] When all the test points in the second execution set are traversed and pressed, and there is no target image in the recognition result, the pressure is increased to 2α, and the test points corresponding to the elements in the second execution set are selected for pressing test.
[0072] If the target image is found in the recognition result, the current test force point, putter type and pressure strength are recorded;
[0073] If there is no target image in the recognition result, record the function keys and report a repair.
[0074] Optionally, the terminal generates a detection report including:
[0075] Organize and record relevant information to generate a test report, including test time, device model, IP address, rated voltage, button type, pressure and button status.
[0076] The present invention has the following beneficial effects:
[0077] 1. This is an automation-based daily inspection method for enterprise equipment. It uses a voltage detector to detect in real time whether the rated voltage of the robot arm is normal. It can ensure that the robot arm can operate normally, eliminate the impact of voltage on the robot arm, and improve the operation time of the robot arm.
[0078] 2. This is an automated daily inspection method for enterprise equipment. It uses image recognition technology to traverse and compare a set of manually operated images to determine the target image. The key sequence and key number corresponding to the target image are obtained through target image mapping, so that the robotic arm can automatically judge and execute the next operation, reducing the time and cost of manual inspections and improving the reliability and stability of the equipment.
[0079] 3. This is an automated daily inspection method for enterprise equipment. It can obtain the force point according to the different types of buttons. When the force point is pressed and the interface feedback is abnormal, the button is divided into a test area. The buttons are evenly divided, and the effective area and invalid area of the test force point can be accurately located. The test force point of the test area is obtained, and the distance between the test force point and the adjacent button is judged. The first push rod is used to protect the button as much as possible. When the first push rod does not meet the current judgment result, the second push rod is used. Since the cross-sectional diameter of the second push rod is smaller than that of the first push rod, the second push rod can be used to avoid the push rod from pressing the button by mistake. After traversing the test force points and there is no normal interface feedback, the pressure is changed according to the button type. This can improve the accuracy of the robot arm test, and can timely discover and diagnose equipment failures, thereby reducing the missed detection rate. Moreover, the automatic inspection system can automatically collect and process button data, further improve the operation speed of the robot arm, and also improve the inspection efficiency.
[0080] 4. This is an automated daily inspection method for enterprise equipment, which records and stores the pressing points, push rod types and pressure. When the enterprise equipment is inspected later, it can be inspected directly according to the stored and recorded data, which can reduce the inspection time of the enterprise equipment in the future.
[0081] 5. This is an automation-based daily inspection method for enterprise equipment. The automatic equipment inspection system can replace manual inspection, reducing the manpower cost of the enterprise and also reducing the impact of human factors on the inspection results. BRIEF DESCRIPTION OF THE DRAWINGS
[0082] Figure 1 It is a schematic diagram of the process of the present invention.
[0083] Figure 2 This is a distribution diagram of the force points of the operation button test of the present invention.
[0084] Figure 3 This is a distribution diagram of the focus points of the function key test of the present invention.
[0085] Figure 4 This is a diagram of the distance between the test point of the present invention and the adjacent keys. DETAILED DESCRIPTION
[0086] 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.
[0087] Example 1, see Figure 1-Figure 4 This embodiment provides an automated daily inspection method for enterprise equipment, including:
[0088] S1 sets and monitors the rated voltage of the robot arm in real time to determine whether the robot arm can operate normally. The robot arm includes a camera and a push rod. The push rod includes a first push rod and a second push rod. The robot arm belongs to the prior art and will not be described in detail here.
[0089] S2 marks and records the operation area and information area of the enterprise equipment, where the operation area includes function buttons and operation buttons, and the information area includes the enterprise equipment model, IP address and rated voltage;
[0090] S3 identifies the enterprise equipment operation interface, retrieves the image collection, and determines the next key operation of the robot arm;
[0091] S4 obtains the key type and the force point, and sets the initial pressure strength according to the key type;
[0092] S5 monitors the feedback from the operation interface, takes a photo and transmits it back to the terminal to determine whether the key is responsive. If the key is not responsive, the key adjustment strategy is executed;
[0093] S6 key adjustment strategy, identify key type, set multiple test points and initial pressure, test in turn and observe whether the operation interface has normal feedback. When multiple test points are tested and there is no feedback on the operation interface, adjust the robot arm key pressure and test again until all test points are tested under different key pressures, and record the test status of the key.
[0094] The setting and real-time monitoring of the rated voltage of the robot arm to determine whether the robot arm can operate normally includes:
[0095] Setting a safety voltage threshold D, wherein the safety voltage threshold is between 380V and 480V;
[0096] Start the robot arm, set the rated voltage to J, connect the voltage detector, and observe the rated voltage J of the robot arm in real time.
[0097] When J is greater than D, the rated voltage of the control robot arm is reduced to within the safety voltage threshold;
[0098] When J is less than D, the rated voltage of the robot arm is controlled to increase to within the safety voltage threshold, and the current rated voltage J of the robot arm and the voltage detection time are recorded.
[0099] By using a voltage detector to detect in real time whether the rated voltage of the robot arm is normal, it can be ensured that the robot arm can operate normally, eliminate the impact of voltage on the robot arm, and improve the operating time of the robot arm.
[0100] The identifying the enterprise equipment operation interface, retrieving the image set, and determining the next key operation of the robot arm include:
[0101] The enterprise equipment is manually tested in advance, and each operation step and interface feedback are recorded. The interface feedback is generated by taking pictures and saving them to the image set Tj. The key execution sequence and key number corresponding to each interface image are recorded.
[0102] The robot arm identifies the interface feedback and compares it with the interface images in the image set Tj to determine the target image in the image set Tj that meets the current interface feedback.
[0103] Proceed to the next step according to the key execution sequence and key number corresponding to the target image.
[0104] The system retrieves and compares image sets to intelligently determine the next operation of the robotic arm, reducing errors in human operations and improving decision-making accuracy.
[0105] The robot arm identifies the interface feedback and compares it with the interface pictures in the image set Tj to determine the target image in the image set Tj that meets the current interface feedback, including:
[0106] Set the similarity deviation threshold Q,
[0107] Encode the interface feedback image and convert it into an m-dimensional space vector set Ct;
[0108] Traverse the image set Tj, encode the interface images in Tj in turn, convert them into m-dimensional space vector Dc, calculate the distance between Dc and Ct by the formula, store the calculated value each time in the array Sn, and traverse the maximum value of the array Sn, which is recorded as ,
[0109] when When it is less than Q, the traversal Tj encoding operation ends. The current Tj encoded image is the target image in the image set Tj that meets the current interface feedback. The distance calculation formula is as follows:
[0110]
[0111] In the formula, d represents the distance value calculated between Dc and Ct, m represents the total number of dimensions of the space, and k represents the number of dimensions of the current vector.
[0112] Image recognition technology is used to traverse and compare the manual operation image set to determine the target image. The key sequence and key number corresponding to the target image are obtained through target image mapping, so that the robot arm can automatically judge and execute the next operation, reducing the time and cost of manual inspection and improving the reliability and stability of the equipment.
[0113] Image recognition uses a convolutional neural network (CNN), which is a deep learning model that has been widely used in image recognition, video analysis, natural language processing, and other fields. The core idea of CNN is to extract the spatial features of input data through convolution operations, and it can automatically extract features. Traditional machine learning methods require manual design of feature extractors, while CNN can automatically learn features in data. The above image recognition belongs to the existing technology.
[0114] In this embodiment, the image encoding is converted into 128 dimensions, that is, it has 128 vector data. The maximum value is obtained by comparing the 128 vector data. The success of the recognition result is determined based on the result of comparing the maximum value with the similarity deviation threshold.
[0115] By using image recognition technology to determine the current operation of enterprise equipment and determine the next operation, the manual missed detection rate can be reduced and the detection accuracy can be improved.
[0116] The step of obtaining the key type and the force point, and setting the initial force according to the key type, includes:
[0117] Identify the key type,
[0118] The outline of the operation button is an equilateral triangle, denoted by , ABC are the three endpoints of the triangle, and the three angle bisectors are made from the endpoints. The three angle bisectors intersect at point O, and point O is taken as the focus;
[0119] The outline of the function key is a rectangle, which is denoted as rectangle DEFG. DEFG is the four endpoints of the rectangle. The diagonal lines are connected, and the intersection point is S. Point S is used as the focus point.
[0120] The initial pressure force is set according to the key type. The initial pressure force of the function key is α, and the initial pressure force of the operation key is β.
[0121] The monitoring operation interface feedback, taking photos and transmitting them back to the terminal, judging whether the key is responsive, and if the key is not responsive, executing the key adjustment strategy, including:
[0122] Get the cross-sectional diameter R of the first push rod and the cross-sectional diameter r of the second push rod, where r= ,
[0123] See also Figure 2 If the key type is an operation key, the initial pressure is β to test the point O. If there is no target image in the recognition result, the point O is connected to the points ABC respectively to divide the operation key into the operation test area. , and ,
[0124] The three endpoints of each operation test area are used as angle bisectors, and the intersection of the three angle bisectors is used as the test focus point, which is recorded as O1, O2 and O3.
[0125] See also Figure 4 , obtain the shortest line segment from any test focus point to each adjacent operation key, and form a set of shortest line segments corresponding to this test focus point, obtain the shortest element in the shortest line segment set as the target shortest line segment,
[0126] Each test focus point corresponds to a target shortest line segment.
[0127] The shortest line segments of the targets corresponding to the multiple test focus points form a target comparison set;
[0128] Compare the elements in the target comparison set with R,
[0129] The elements whose target shortest line segment is greater than R form the first execution set,
[0130] The elements whose target shortest line segment is smaller than R form the second execution set,
[0131] First, the first push rod is used to perform a pressing test on the test force point corresponding to the element in the first execution set, specifically,
[0132] Select the test point corresponding to the element in the first execution set, perform a press test with the initial pressure of β, and identify the interface feedback.
[0133] If there is no target image in the recognition result, the current test force point is used to select other test force points corresponding to the elements in the first execution set in a clockwise direction to perform a press test. If the recognition result finds the target image, the test is stopped, the current test force point, push rod type and pressure are recorded, and the key status is set to qualified.
[0134] When all the test points in the first execution set are traversed and pressed, and there is no target image in the recognition result, the pressure is increased to 2β, and the test points corresponding to the elements in the first execution set are selected for pressing test.
[0135] If the target image is found in the recognition result, the current test point, push rod type and pressure strength will be recorded.
[0136] If there is no target image in the recognition result, a second push rod is used to perform a press test on the elements in the second execution set;
[0137] Select the test point corresponding to the element in the second execution set, perform a press test with the initial pressure of β, and identify the interface feedback.
[0138] If there is no target image in the recognition result, the current test force point is used to select other test force points corresponding to the elements in the second execution set in a clockwise direction to perform a press test. If the recognition result finds the target image, the test is stopped, the current test force point, push rod type and pressure are recorded, and the key status is set to qualified.
[0139] When all the test points in the second execution set are traversed and pressed, and there is no target image in the recognition result, the pressure is increased to 2β, and the test points corresponding to the elements in the second execution set are selected for pressing test.
[0140] If the target image is found in the recognition result, the current test force point, putter type and pressure strength are recorded;
[0141] If the recognition result does not contain the target image, the operation key is recorded and repaired.
[0142] Record and store the pressing points, push rod types and pressure. When you conduct subsequent inspections on the company's equipment, you can directly conduct inspections based on the stored and recorded data, which can reduce the time for future inspections of the company's equipment.
[0143] If the key type is a function key, refer to Figure 3 , use the initial pressure α to press the S point. If there is no target image in the recognition result, connect the diagonal lines and divide the rectangle DEFG into functional test areas. , , ,
[0144] The three endpoints of each operation test area are used as angle bisectors, and the intersection of the three angle bisectors is used as the test focus point, which is recorded as S1, S2, S3 and S4.
[0145] See also Figure 4, obtain the shortest line segment from any test focus point to each adjacent operation key, and form a set of shortest line segments corresponding to this test focus point, obtain the shortest element in the shortest line segment set as the target shortest line segment,
[0146] Each test focus point corresponds to a target shortest line segment.
[0147] The shortest line segments of the targets corresponding to the multiple test focus points form a target comparison set;
[0148] Compare the elements in the target comparison set with R,
[0149] The elements whose target shortest line segment is greater than R form the first execution set,
[0150] The elements whose target shortest line segment is smaller than R form the second execution set,
[0151] First, the first push rod is used to perform a pressing test on the test force point corresponding to the element in the first execution set, specifically,
[0152] Select any test point, use the initial pressure as α to perform the press test, and identify the interface feedback.
[0153] If the recognition result does not contain the target image, the current force point is used to select other test force points corresponding to the elements in the first execution set in a clockwise direction to perform a press test. If the recognition result finds the target image, the test is stopped, the current test force point, push rod type and pressure are recorded, and the key status is set to qualified.
[0154] When all the test points in the first execution set are traversed and pressed, and there is no target image in the recognition result, the pressure is increased to 2α, and the test points corresponding to the elements in the first execution set are selected for pressing test.
[0155] If the target image is found in the recognition result, the current test point, push rod type and pressure strength will be recorded.
[0156] If there is no target image in the recognition result, a second push rod is used to perform a press test on the elements in the second execution set;
[0157] Select the test point corresponding to the element in the second execution set, perform a press test with the initial pressure of α, and identify the interface feedback.
[0158] If there is no target image in the recognition result, the current test force point is used to select other test force points corresponding to the elements in the second execution set in a clockwise direction to perform a press test. If the recognition result finds the target image, the test is stopped, the current test force point, push rod type and pressure are recorded, and the key status is set to qualified.
[0159] When all the test points in the second execution set are traversed and pressed, and there is no target image in the recognition result, the pressure is increased to 2α, and the test points corresponding to the elements in the second execution set are selected for pressing test.
[0160] If the target image is found in the recognition result, the current test force point, putter type and pressure strength are recorded;
[0161] If there is no target image in the recognition result, record the function keys and report a repair.
[0162] The force point can be obtained according to the different types of keys. When the force point is pressed and the interface feedback is abnormal, the key is divided into a test area. By evenly dividing the keys, the effective area and invalid area of the test force point can be accurately located, the test force point of the test area can be obtained, and the distance between the test force point and the adjacent keys can be judged. The first push rod is used to protect the key as much as possible. When the first push rod does not meet the current judgment result, the second push rod is used. Since the cross-sectional diameter of the second push rod is smaller than that of the first push rod, the second push rod can be used to avoid the push rod from pressing the key by mistake. After traversing the test force points and there is no normal interface feedback, the pressure is changed according to the key type. This can improve the accuracy of the robot arm test, and can timely discover and diagnose equipment failures, thereby reducing the missed detection rate. Moreover, the automatic inspection system can automatically collect and process key data, further improve the operation speed of the robot arm, and also improve the inspection efficiency.
[0163] Embodiment 2, a system based on an automated daily inspection method for enterprise equipment, this system is a prior art, specifically including:
[0164] Voltage detector, real-time monitoring of the rated voltage of the robotic arm;
[0165] A robotic arm, used to control the camera and push rod loaded on the robotic arm to move to a specified position;
[0166] A push rod, which is assembled on the mechanical arm, comprises a first push rod and a second push rod, and both the first push rod and the second push rod are electric push rods;
[0167] A camera mounted on a robotic arm is used to take and transmit photos.
[0168] The terminal, including a laptop or mobile phone, is used to organize and record relevant information to generate a test report, including test time, device model, IP address, rated voltage, button type, pressure applied, and button status.
[0169] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0170] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A daily inspection method for enterprise equipment based on automation. It is characterized in that include: S1 sets and monitors the rated voltage of the robot arm in real time to determine whether the robot arm can operate normally. The robot arm includes a camera and a push rod, and the push rod includes a first push rod and a second push rod; S2 marks and records the operation area and information area of the enterprise equipment. The operation area includes function keys and operation keys, and the information area includes the enterprise equipment model, IP address and rated voltage; S3 identifies the enterprise equipment operation interface, retrieves the image collection, and determines the next key operation of the robot arm; S4 obtains the key type and the force point, and sets the initial pressure strength according to the key type; S5 monitors the feedback from the operation interface, takes a photo and transmits it back to the terminal to determine whether the key is responsive. If the key is not responsive, the key adjustment strategy is executed; S6 key adjustment strategy, identify key type, set multiple test points and initial pressure, test in turn and observe whether the operation interface has normal feedback. When multiple test points are tested and there is no feedback on the operation interface, adjust the robot arm key pressure and test again until all test points are tested under different key pressures, and record the test status of the key.
2. The automated daily inspection method for enterprise equipment according to claim 1, It is characterized in that Set and monitor the rated voltage of the robot arm in real time to determine whether the robot arm can operate normally, including: Setting a safety voltage threshold D, wherein the safety voltage threshold is between 380V and 480V; Start the robot arm, set the rated voltage to J, connect the voltage detector, and observe the rated voltage J of the robot arm in real time. When J is greater than D, the rated voltage of the control robot arm is reduced to within the safety voltage threshold; When J is less than D, the rated voltage of the robot arm is controlled to increase to within the safety voltage threshold, and the current rated voltage J of the robot arm and the voltage detection time are recorded.
3. The automated daily inspection method for enterprise equipment according to claim 1, It is characterized in that Identify the enterprise equipment operation interface, retrieve the image collection, and determine the next key operation of the robot arm, including: Pre-test the enterprise equipment manually and record each operation step and interface feedback. The interface feedback generates interface images by taking photos and saves them to the image set Tj, and records the key execution sequence and key number corresponding to each interface image. The robot arm identifies the interface feedback and compares it with the interface images in the image set Tj to determine the target image in the image set Tj that meets the current interface feedback. Proceed to the next step according to the key execution sequence and key number corresponding to the target image.
4. The automated daily inspection method for enterprise equipment according to claim 3, It is characterized in that The robot arm identifies the interface feedback and compares it with the interface images in the image set Tj to determine the target image in the image set Tj that meets the current interface feedback, including: Set the similarity deviation threshold Q, Encode the interface feedback image and convert it into an m-dimensional space vector set Ct; Traverse the image set Tj, encode the interface images in Tj in turn, convert them into m-dimensional space vector Dc, calculate the distance between Dc and Ct by the formula, store the calculated value each time in the array Sn, and traverse the maximum value of the array Sn, which is recorded as , when When it is less than Q, the traversal Tj encoding operation ends. The current Tj encoded image is the target image in the image set Tj that meets the current interface feedback. The distance calculation formula is as follows: In the formula, d represents the distance value calculated between Dc and Ct, m represents the total number of dimensions of the space, and k represents the number of dimensions of the current vector.
5. The automated daily inspection method for enterprise equipment according to claim 1, It is characterized in that The step of obtaining the key type and the force point, and setting the initial force according to the key type, includes: Identify the key type, The outline of the operation button is an equilateral triangle, denoted by , ABC are the three endpoints of the triangle, and the three angle bisectors are made from the endpoints. The three angle bisectors intersect at point O, and point O is taken as the focus; The outline of the function key is a rectangle, which is denoted as rectangle DEFG. DEFG is the four endpoints of the rectangle. The diagonal lines are connected, and the intersection point is S. Point S is used as the focus point. The initial pressure force is set according to the key type. The initial pressure force of the function key is α, and the initial pressure force of the operation key is β.
6. The automated daily inspection method for enterprise equipment according to claim 5, It is characterized in that The monitoring operation interface feedback, taking photos and transmitting them back to the terminal, judging whether the key is responsive, and if the key is not responsive, executing the key adjustment strategy, including: Get the cross-sectional diameter R of the first push rod and the cross-sectional diameter r of the second push rod, where r= , If the key type is an operation key, use the initial pressure β to press point O. If there is no target image in the recognition result, connect the point O with points ABC respectively to divide the operation key into the operation test area. , and , The three endpoints of each operation test area are used as angle bisectors, and the intersection of the three angle bisectors is used as the test focus point, which is recorded as O1, O2 and O3. Get the shortest line segment from any test focus point to each adjacent operation key, and form a shortest line segment set corresponding to this test focus point, and get the shortest element in the shortest line segment set as the target shortest line segment. Each test focus point corresponds to a target shortest line segment. The shortest line segments of the targets corresponding to the multiple test focus points form a target comparison set; Compare the elements in the target comparison set with R, The elements whose target shortest line segment is greater than R form the first execution set, The elements whose target shortest line segment is smaller than R form the second execution set, First, the first push rod is used to perform a pressing test on the test force point corresponding to the element in the first execution set, specifically, Select the test point corresponding to the element in the first execution set, perform a press test with the initial pressure of β, and identify the interface feedback. If there is no target image in the recognition result, the current test force point is used to select other test force points corresponding to the elements in the first execution set in a clockwise direction to perform a press test. If the recognition result finds the target image, the test is stopped, the current test force point, push rod type and pressure are recorded, and the key status is set to qualified. When all the test points in the first execution set are traversed and pressed, and there is no target image in the recognition result, the pressure is increased to 2β, and the test points corresponding to the elements in the first execution set are selected for pressing test. If the target image is found in the recognition result, the current test point, push rod type and pressure strength will be recorded. If there is no target image in the recognition result, a second push rod is used to perform a press test on the elements in the second execution set; Select the test point corresponding to the element in the second execution set, perform a press test with the initial pressure of β, and identify the interface feedback. If there is no target image in the recognition result, the current test force point is used to select other test force points corresponding to the elements in the second execution set in a clockwise direction to perform a press test. If the recognition result finds the target image, the test is stopped, the current test force point, push rod type and pressure are recorded, and the key status is set to qualified. When all the test points in the second execution set are traversed and pressed, and there is no target image in the recognition result, the pressure is increased to 2β, and the test points corresponding to the elements in the second execution set are selected for pressing test. If the target image is found in the recognition result, the current test force point, putter type and pressure strength are recorded; If there is no target image in the recognition result, record the operation key and report it for repair.
7. The automated daily inspection method for enterprise equipment according to claim 5, It is characterized in that include: If the key type is a function key, use the initial pressure α to perform a press test on point S. If there is no target image in the recognition result, connect the diagonal lines to divide the rectangle DEFG into the function test area. , , , The three endpoints of each operation test area are used as angle bisectors, and the intersection of the three angle bisectors is used as the test focus point, which is recorded as S1, S2, S3 and S4. Get the shortest line segment from any test focus point to each adjacent operation key, and form a shortest line segment set corresponding to this test focus point, and get the shortest element in the shortest line segment set as the target shortest line segment. Each test focus point corresponds to a target shortest line segment. The shortest line segments of the targets corresponding to the multiple test focus points form a target comparison set; Compare the elements in the target comparison set with R, The elements whose target shortest line segment is greater than R form the first execution set, The elements whose target shortest line segment is smaller than R form the second execution set, First, the first push rod is used to perform a pressing test on the test force point corresponding to the element in the first execution set, specifically, Select any test point, use the initial pressure as α to perform the press test, and identify the interface feedback. If the recognition result does not contain the target image, the current force point is used to select other test force points corresponding to the elements in the first execution set in a clockwise direction to perform a press test. If the recognition result finds the target image, the test is stopped, the current test force point, push rod type and pressure are recorded, and the key status is set to qualified. When all the test points in the first execution set are traversed and pressed, and there is no target image in the recognition result, the pressure is increased to 2α, and the test points corresponding to the elements in the first execution set are selected for pressing test. If the target image is found in the recognition result, the current test point, push rod type and pressure strength will be recorded. If there is no target image in the recognition result, a second push rod is used to perform a press test on the elements in the second execution set; Select the test point corresponding to the element in the second execution set, perform a press test with the initial pressure of α, and identify the interface feedback. If there is no target image in the recognition result, the current test force point is used to select other test force points corresponding to the elements in the second execution set in a clockwise direction to perform a press test. If the recognition result finds the target image, the test is stopped, the current test force point, push rod type and pressure are recorded, and the key status is set to qualified. When all the test points in the second execution set are traversed and pressed, and there is no target image in the recognition result, the pressure is increased to 2α, and the test points corresponding to the elements in the second execution set are selected for pressing test. If the target image is found in the recognition result, the current test force point, putter type and pressure strength are recorded; If there is no target image in the recognition result, record the operation key and report it for repair.
8. A system for implementing the automated daily inspection method for enterprise equipment according to claim 1, It is characterized in that include, Voltage detector, real-time monitoring of the rated voltage of the robotic arm; A robotic arm, used to control the camera and push rod loaded on the robotic arm to move to a specified position; A push rod, which is assembled on the mechanical arm, comprises a first push rod and a second push rod, and both the first push rod and the second push rod are electric push rods; A camera mounted on a robotic arm is used to take and transmit photos. The terminal, including a laptop or mobile phone, is used to organize and record relevant information to generate a test report, including test time, device model, IP address, rated voltage, button type, pressure applied, and button status.
