Press test method, device and equipment and computer readable storage medium

Through the combination of fuzzy control and PID control, the problem of inconsistent intensity in the mobile phone back case pressing test is solved, adaptive control of the pressing depth is achieved, and the stability and reliability of the detection results are improved.

CN118746487APending Publication Date: 2024-10-08SUNWODA MOBILITY ENERGY TECHNOLOGY CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410768663.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

The existing pressing test method causes inconsistency in intensity due to differences in material and thickness when testing mobile phone back shells, and cannot guarantee the consistency of the pressing depth, affecting the stability and reliability of the test results.

Method used

The method of combining fuzzy control and PID control is used to generate PID control parameters through fuzzy processing of the actual compression depth and the target compression depth, adjust the pressure to achieve the target compression depth, and ensure the consistency of the compression depth.

Benefits of technology

It improves the stability and reliability of detection results, avoids intensity inconsistencies caused by material differences in different parts of electronic equipment, and ensures the stable generation of abnormal sounds.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118746487A_ABST
    Figure CN118746487A_ABST
Patent Text Reader

Abstract

The invention discloses a press test method, device and equipment and a computer readable storage medium, and belongs to the technical field of electronic equipment detection. The method comprises the following steps: controlling a pressing mechanism to apply target pressure on a test position; fuzzy processing is carried out based on the actual pressing depth and the target pressing depth of the pressing mechanism, and fuzzy control parameters are obtained; generating PID control parameters based on the fuzzy control parameters and the reference control parameters; and the target pressure is adjusted through the PID control parameters so as to control the pressing mechanism to reach the target pressing depth. According to the application, the test position of the electronic equipment can be adaptively pressed, and the problem that the force applied under the same pressing depth is different due to the abnormal part of the electronic equipment can be avoided through the combination of fuzzy control and PID control, so that the consistency of the pressing depth and the stable generation of abnormal sound can be ensured; and the stability and the reliability of a detection result are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic device detection, and in particular to a press test method, apparatus, device and computer-readable storage medium. Background Art

[0002] In the manufacturing process of mobile phones and other electronic devices, the pressure test of the back shell of the mobile phone is an important part of the mobile phone quality assessment. The commonly used pressure test is mainly carried out manually, that is, the operator applies a certain force to a specific part of the back shell of the mobile phone to detect whether the back shell of the mobile phone will produce abnormal sound after pressing to a certain depth.

[0003] However, due to the differences in materials and thickness of different parts of the back cover of the mobile phone, the force required to be applied at the same pressing depth is also different, and different operators have different pressing standards and strengths, which makes it impossible to ensure the consistency of pressing depth when pressing the same position, so abnormal sounds may not be generated stably. Therefore, the commonly used pressing test method is prone to unstable and unreliable test results, affecting the effective detection of abnormal products. Summary of the invention

[0004] Purpose of the invention: The present application provides a press test method for improving the stability and reliability of a press test on a mobile phone back cover; the present application also provides a press test device; the present application also provides a press test equipment; the present application also provides a computer-readable storage medium.

[0005] Technical solution, the present application provides a press test method for controlling a press mechanism to perform a press test on an electronic device, wherein the electronic device has a test position; the method comprises:

[0006] controlling the pressing mechanism to apply a target pressure on the test position;

[0007] Performing fuzzy processing based on the actual pressing depth and the target pressing depth of the pressing mechanism to obtain a fuzzy control parameter;

[0008] Generate PID control parameters based on the fuzzy control parameters and the reference control parameters;

[0009] The target pressure is adjusted by the PID control parameter to control the pressing mechanism to reach the target pressing depth.

[0010] In some embodiments, the fuzzy processing is performed based on the actual pressing depth and the target pressing depth of the pressing mechanism to obtain the fuzzy control parameter, including:

[0011] Based on the actual compression depth and the target compression depth, acquiring a depth deviation and a depth deviation change rate;

[0012] The fuzzy processing is performed on the depth deviation and the depth deviation change rate to obtain the fuzzy control parameter.

[0013] In some embodiments, performing the fuzzy processing on the depth deviation and the depth deviation change rate to obtain the fuzzy control parameter includes:

[0014] Acquire a pre-constructed fuzzy language set, a first physical domain of the depth deviation, a second physical domain of the depth deviation change rate, a third physical domain of the fuzzy control parameter, and fuzzy rules;

[0015] Based on the depth deviation and the first physical domain, determining a first fuzzy language corresponding to the depth deviation;

[0016] Based on the depth deviation change rate and the second physical domain, determining a second fuzzy language corresponding to the depth deviation change rate;

[0017] Based on the first fuzzy language, the second fuzzy language and the fuzzy rule, obtaining a target fuzzy language corresponding to the fuzzy control parameter;

[0018] Based on the target fuzzy language and the third physical domain, the fuzzy control parameters are obtained.

[0019] In some embodiments, the fuzzy control parameters include a proportional coefficient correction value, an integral coefficient correction value, and a differential coefficient correction value, and the reference control parameters include a proportional coefficient reference value, an integral coefficient reference value, and a differential coefficient reference value; and generating PID control parameters based on the fuzzy control parameters and the reference control parameters includes:

[0020] The PID control parameters are determined by the following formula:

[0021]

[0022] Among them, the proportionality coefficient K P , integral coefficient K I and the differential coefficient K D is the PID control parameter, ΔK P is the proportional coefficient correction value, K P0 is the reference value of the proportionality coefficient, ΔK I is the integral coefficient correction value, K I0 is the reference value of the integral coefficient, ΔK D is the differential coefficient correction value, K D0 is the differential coefficient reference value.

[0023] In some embodiments, before the step of controlling the pressing mechanism to apply the target pressure on the test position, the method further includes:

[0024] Controlling the pressing mechanism to run to a starting position at a first speed, wherein the starting position and the test position are spaced apart from or in contact with each other;

[0025] The controlling the pressing mechanism to apply a target pressure on the test position comprises:

[0026] controlling the pressing mechanism to run at a second speed starting from the starting position to apply the target pressure on the test position;

[0027] Wherein, the first speed is greater than the second speed.

[0028] In some embodiments, after the step of controlling the pressing mechanism to reach the target pressing depth, the method further comprises:

[0029] The pressing mechanism is controlled to return to the starting position, and the pressing mechanism is controlled to start running again from the starting position to apply the target pressure on the test position until a preset number of pressing tests are completed on the test position.

[0030] In some embodiments, there are multiple test positions, there are multiple pressing mechanisms, and the multiple pressing mechanisms correspond to the multiple test positions one by one; and controlling the pressing mechanism to apply the target pressure on the test position includes:

[0031] Each of the pressing mechanisms is controlled in turn to apply the target pressure on the corresponding test position according to a preset sequence.

[0032] Accordingly, the present application also provides a press test device, which is used to control a press mechanism to perform a press test on an electronic device, wherein the electronic device has a test position; the device comprises:

[0033] a pressure control module, the pressure control module being configured to control the pressing mechanism to apply a target pressure on the test position;

[0034] a fuzzy processing module, wherein the fuzzy processing module is configured to perform fuzzy processing based on an actual pressing depth and a target pressing depth of the pressing mechanism to obtain a fuzzy control parameter;

[0035] A PID control module is configured to generate a PID control parameter based on the fuzzy control parameter and the reference control parameter; and to adjust the target pressure by the PID control parameter so that the pressure control module controls the pressing mechanism to reach the target pressing depth.

[0036] In some embodiments, the apparatus further comprises:

[0037] an operation control module, the operation control module being configured to control the pressing mechanism to operate at a first speed to a starting position, wherein the starting position and the test position are spaced apart from or in contact with each other;

[0038] The pressure control module is configured to control the pressing mechanism to apply a target pressure on the test position, including:

[0039] controlling the pressing mechanism to run at a second speed starting from the starting position to apply the target pressure on the test position;

[0040] Wherein, the first speed is greater than the second speed.

[0041] Correspondingly, the present application also provides a press test device, including a press mechanism, a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, it implements the steps of the press test method as described in any one of the above embodiments to control the press mechanism to perform a press test on the electronic device.

[0042] In some embodiments, there are multiple pressing mechanisms, and the distance between any two adjacent pressing mechanisms among the multiple pressing mechanisms is the same.

[0043] Accordingly, the present application also provides a computer-readable storage medium, which stores a computer program, and the computer program is used to enable a processor to implement the steps of the press test method as described in any one of the above embodiments when executed.

[0044] Beneficial effects: Compared with the prior art, a press test method provided in an embodiment of the present application is used to control a press mechanism to perform a press test on an electronic device, wherein the electronic device has a test position; the method comprises: controlling the press mechanism to apply a target pressure on the test position; performing fuzzy processing based on the actual pressing depth and the target pressing depth of the press mechanism to obtain fuzzy control parameters; generating PID control parameters based on the fuzzy control parameters and the reference control parameters; adjusting the target pressure through the PID control parameters to control the press mechanism to reach the target pressing depth. The press test method in an embodiment of the present application can adaptively press the test position of the electronic device, and the combination of fuzzy control and PID control can avoid the problem of different forces applied at the same pressing depth caused by abnormal parts of the electronic device, thereby ensuring the consistency of the pressing depth and the stable generation of abnormal sounds, thereby improving the stability and reliability of the detection results.

[0045] It can be understood that, compared with the prior art, the press test device provided in the embodiment of the present application includes all the technical features and technical effects of the above-mentioned press test method, which will not be repeated here.

[0046] It can be understood that, compared with the prior art, the press test device provided in the embodiment of the present application includes all the technical features and technical effects of the above-mentioned press test method, which will not be repeated here.

[0047] It can be understood that, compared with the prior art, the computer-readable storage medium provided in the embodiment of the present application includes all the technical features and technical effects of the above-mentioned press test method, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0049] Figure 1 This is a schematic diagram of the application of the compression test device according to an embodiment of the present application;

[0050] Figure 2 This is a schematic diagram of the overall process of the compression test method according to an embodiment of the present application;

[0051] Figure 3 A schematic diagram of the pressing process of the pressing mechanism of an embodiment of the present application;

[0052] Figure 4 This is a schematic diagram of the principle of combining fuzzy control and PID control in an embodiment of the present application;

[0053] Figure 5 A schematic diagram of a specific process of a press test according to an embodiment of the present application;

[0054] Figure 6 This is a schematic diagram of an example flow of a press test according to an embodiment of the present application;

[0055] Figure 7 A schematic diagram of the structure of a compression test device according to an embodiment of the present application;

[0056] Figure 8 for Figure 7 Schematic diagram of the structure of the fuzzy processing module.

[0057] Reference numerals:

[0058] 10. Press test equipment; 11. Press mechanism; 12. Memory; 13. Processor; 14. Press test device; 141. Pressure control module; 142. Fuzzy processing module; 143. PID control module; 20. Electronic equipment; 21. Test position. DETAILED DESCRIPTION

[0059] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0060] In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or can communicate with each other; it can be directly connected, or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to the specific circumstances. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined. In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more features.

[0061] The disclosure below provides many different embodiments or examples to realize the different structures of the present application. In order to simplify the disclosure of the present application, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application.

[0062] In the manufacturing process of electronic devices such as mobile phones, pressing the back shell of the mobile phone is an important part of the mobile phone quality assessment. Commonly used pressing tests are mainly carried out manually, that is, the operator applies a certain force to a specific part of the back shell of the mobile phone to detect whether the back shell of the mobile phone will produce abnormal sounds after pressing to a specific depth. However, due to the differences in the material and thickness of different parts of the back shell of the mobile phone, the force required to be applied at the same pressing depth is also different, and the pressing standards and strengths of different operators are different, which makes it impossible to ensure the consistency of the pressing depth when pressing the same position, so that abnormal sounds may not be produced stably. This abnormal situation will cause abnormal electronic products to flow out, which is easy to have adverse effects, and it also reflects the shortcomings of current detection methods. In short, the manual pressing method is time-consuming and laborious, and the pressing standards and strengths of different operators are different, which leads to the instability and unreliability of the test results.

[0063] In view of this, an embodiment of the present application provides a press test method, which combines fuzzy control with PID (proportional-integral-differential) control to adaptively adjust the pressure applied to the electronic device and achieve consistency in the press depth, so that abnormal sounds can be generated stably, thereby improving the stability and reliability of the detection results.

[0064] See also Figure 1 , Figure 1 The application diagram of the press test device of the embodiment of the present application is shown in FIG. The press test device 10 includes a press mechanism 11, a memory 12 and a processor 13. The memory 12 stores a computer program. When the processor 13 executes the computer program, the steps of the press test method provided in the embodiment of the present application are implemented to control the press mechanism 11 to perform a press test on the electronic device 20.

[0065] The electronic device 20 may be in the form of a mobile phone, a tablet computer, etc. The electronic device 20 may have a test position 21. The test position 21 is a position for pressing and testing whether an abnormal sound is generated. Exemplarily, the test position 21 may be located at the rear shell or side wall of the electronic device 20, or may be located at other positions of the electronic device 20, which is not specifically limited in the embodiments of the present application.

[0066] For example, the pressing mechanism 11 can be operated along the pressing direction X using the cylinder movement principle to apply pressure to the test position 21, for example, by controlling the air intake to achieve pressure control. The specific structure of the pressing mechanism 11 in the embodiment of the present application is not limited.

[0067] In some embodiments, there are multiple pressing mechanisms 11, and the distance between any two adjacent pressing mechanisms 11 among the multiple pressing mechanisms 11 is the same. The distance between any two adjacent pressing mechanisms 11 can be represented by the distance between the centers of the two adjacent pressing mechanisms 11. It is understandable that the distance between any two adjacent pressing mechanisms 11 can also be represented by other methods, which is not specifically limited in the embodiments of the present application.

[0068] In some examples, the number of pressing mechanisms 11 may be 2, 3, 4 or 5, which may be determined according to the specifications of the electronic device 20. For example, when the number of pressing mechanisms 11 is 3, the three pressing mechanisms 11 may be arranged in an equilateral triangle, and the projections along the pressing direction X on the electronic device 20 may be 1 cm away from the edge of the electronic device 20. In this way, not only can the production cycle be effectively improved, but also the size of most electronic devices 20 can be adapted, thereby having better versatility and adaptability.

[0069] In other examples, the number of the pressing mechanism 11 may be only one, and the pressing mechanism 11 may be configured to be movable in a plane perpendicular to the pressing direction X. In this way, the pressing mechanism 11 may be moved to different positions as required to adapt to multiple test positions 21, thereby having higher flexibility and being able to meet various test requirements.

[0070] It is understandable that the pressing control device of the embodiment of the present application can adaptively press the test position of the electronic device, and can avoid the problem of different forces applied at the same pressing depth caused by abnormal parts of the electronic device by combining fuzzy control with PID control, thereby ensuring the consistency of the pressing depth and the stable generation of abnormal sounds, thereby improving the stability and reliability of the test results. In addition, it can also adapt to different production rhythms without the need for frequent adjustments by operators, thereby improving the efficiency and intelligence level of electronic equipment production testing.

[0071] The following is an introduction to the press test method provided in the embodiment of the present application in conjunction with the accompanying drawings.

[0072] See also Figure 2 , Figure 2 This is a schematic diagram of the overall process of the press test method of an embodiment of the present application. The method is used to control a press mechanism to perform a press test on an electronic device, and the electronic device has a test position. Specifically, it includes the following steps:

[0073] Step 201: Control the pressing mechanism to apply a target pressure on the test position.

[0074] The target pressure can be set according to the experiment. For example, if the pressing depth to be achieved at the test position is m millimeters, then based on the material of the current electronic device, the required pressure may be nN (Newton), and the target pressure can be set to nN. The real-time pressure applied by the pressing mechanism at the test position can be monitored in real time by a pressure sensor.

[0075] In some embodiments, there are multiple test positions, multiple pressing mechanisms, and multiple pressing mechanisms correspond to multiple test positions one by one. Then step 201 can be specifically implemented in the following manner:

[0076] Each pressing mechanism is controlled in turn to apply a target pressure on the corresponding test position according to a preset sequence.

[0077] That is to say, when there are multiple pressing mechanisms, the control of the multiple pressing mechanisms can be relatively independent, and the corresponding test positions can be pressed and tested in a certain order. Each pressing mechanism can start the test after the previous pressing mechanism completes the pressing test.

[0078] Through the above scheme, multiple pressing mechanisms take turns pressing, which can effectively improve the production rhythm, and at the same time avoid mutual interference between pressing devices, so as to reduce the mutual influence between pressing mechanisms and improve the reliability and stability of pressing test.

[0079] See also Figure 3 , Figure 3 Schematic diagram of the pressing process of the pressing mechanism of the embodiment of the present application. In some embodiments, before executing step 201, the pressing test method of the embodiment of the present application may also include the following steps:

[0080] The pressing mechanism 11 is controlled to run to the starting position A at a first speed V1 , and the starting position A and the testing position 21 are spaced apart from or in contact with each other.

[0081] In some examples, after the relative positions of the electronic device and the pressing mechanism 11 are set, the pressing mechanism 11 can be controlled to run from a reference position B to a starting position A at a first speed V1.

[0082] Among them, the starting position A can represent the position where the pressing mechanism 11 starts to apply pressure to the electronic device, and the reference position B can represent the initial position of the pressing mechanism 11. Based on the thickness of the electronic device and to reserve a certain safety space, exemplarily, the distance between the reference position B and the starting position A along the pressing direction X can be 4 to 8 cm. That is to say, the distance between the reference position B and the starting position A along the pressing direction X can be any one of 4 cm, 4.5 cm, 5 cm, 5.5 cm, 6 cm, 6.5 cm, 7 cm, 7.5 cm, 8 cm or a range value composed of any two of them. It can be understood that the distance between the reference position B and the starting position A along the pressing direction X can also be set to other values, such as 1 cm, etc., and the embodiments of the present application do not make specific limitations in this regard. In this way, there is a certain distance between the reference position B and the starting position A, so that there can be a certain safety space between the pressing mechanism 11 and the electronic device, thereby preventing problems that may affect the pressing test, such as the presence of foreign objects on the electronic device, during abnormal conditions.

[0083] In some examples, the starting position A can be spaced apart from the test position 21, and there is a spacing distance d between the starting position A and the test position 21 along the pressing direction X, satisfying 0 mm < d ≤ 1 mm. For example, d can be 1 mm. In this way, the test has better safety and can avoid damaging the electronic device.

[0084] In some examples, the first speed V1 can be 200 to 500 mm / s. Exemplarily, the first speed V1 is any one of 200 mm / s, 220 mm / s, 240 mm / s, 260 mm / s, 280 mm / s, 300 mm / s, 320 mm / s, 340 mm / s, 360 mm / s, 380 mm / s, 400 mm / s, 420 mm / s, 440 mm / s, 460 mm / s, 480 mm / s, 500 mm / s or a range value composed of any two of them. In this way, the pressing mechanism 11 can quickly run to the starting position A, which is beneficial to improving the production rhythm and efficiency.

[0085] After controlling the pressing mechanism 11 to run to the starting position A at the first speed V1, step 201 can be specifically implemented in the following manner:

[0086] Control the pressing mechanism 11 to start running from the starting position A at the second speed V2 to apply a target pressure at the test position 21. Among them, the first speed V1 is greater than the second speed V2.

[0087] In some examples, the second speed V2 may be 1 to 100 mm / s. Exemplarily, the second speed V2 is a range of any one of 1 mm / s, 5 mm / s, 10 mm / s, 15 mm / s, 20 mm / s, 25 mm / s, 30 mm / s, 35 mm / s, 40 mm / s, 45 mm / s, 50 mm / s, 55 mm / s, 60 mm / s, 65 mm / s, 70 mm / s, 75 mm / s, 80 mm / s, 85 mm / s, 90 mm / s, 95 mm / s, and 100 mm / s, or any two of them. In this way, the pressing mechanism 11 can be pressed slowly to avoid damage to the electronic device.

[0088] It can be understood that the first speed V1 and the second speed V2 of the embodiment of the present application can be set based on the production cycle and actual needs, and the embodiment of the present application does not limit the specific values.

[0089] Step 202: Perform fuzzy processing based on the actual pressing depth and the target pressing depth of the pressing mechanism to obtain fuzzy control parameters.

[0090] Specifically, the actual pressing depth can be monitored in real time by a displacement sensor.

[0091] In some embodiments, step 202 may be implemented by:

[0092] Step 1: Based on the actual compression depth and the target compression depth, obtain the depth deviation and the depth deviation change rate.

[0093] In some examples, the depth deviation and the depth deviation change rate can be obtained by the following formula (1):

[0094]

[0095] In formula (1), E(t) is the depth deviation at time t, r(t) is the target compression depth at time t, y(t) is the actual compression depth at time t, and E c is the rate of change of depth deviation, and is the differential of depth deviation.

[0096] Step 2: fuzzy process the depth deviation and the depth deviation change rate to obtain the fuzzy control parameters.

[0097] In some examples, obfuscation can be done in the following ways:

[0098] In the first step, a pre-constructed fuzzy language set, a first physical domain of depth deviation, a second physical domain of depth deviation change rate, a third physical domain of fuzzy control parameters and fuzzy rules are obtained.

[0099] Exemplarily, the fuzzy language set of each input variable includes 7 fuzzy sets, namely NB, NM, NS, ZO, PS, PM, and PB, among which NB represents negative large, NM represents negative medium, NS represents negative small, ZO represents zero, PS represents positive small, PM represents positive medium, and PB represents positive large.

[0100] In the embodiment of the present application, the fuzzy rules are language variables that can be recognized by the mechanical equipment, and are mainly used to characterize the corresponding rules summarized by the technicians in the usual operation. According to the usual operation status of the pressing mechanism, the fuzzy rules of the embodiment of the present application mainly include:

[0101] When the pressing mechanism runs slower, if the depth deviation variable is small and the depth deviation change rate is positive (i.e., it belongs to the positive in the fuzzy language set), after adjustment by the algorithm, the speed regulating mechanism (for example, when the pressing mechanism is a pneumatic mechanism, it is mainly used to control the gas intake speed, i.e., the intake volume) runs stably; when the pressing mechanism runs slower, if the depth deviation variable is small and the depth deviation change rate is negative (i.e., it belongs to the negative in the fuzzy language set), it means that the speed regulating instruction of the speed regulating mechanism is completed slowly and the execution progress does not meet the target requirements. At this time, the speed regulating mechanism should be controlled to speed up the change speed of the pressing force; when the pressing mechanism runs faster, if the depth deviation variable is large and the depth deviation change rate is positive, it means that there is a problem in the working process of the speed regulating mechanism. At this time, the pressing mechanism should be stopped and the problem should be checked; when the pressing mechanism runs faster, if the depth deviation variable is large and the depth deviation change rate is negative, it means that the pressing mechanism is correctly executing the speed regulating instruction and should maintain a stable working state and continue to run.

[0102] The second step is to determine the first fuzzy language corresponding to the depth deviation based on the depth deviation and the first physical domain.

[0103] Among them, the first fuzzy language is one of the fuzzy sets in the fuzzy language set corresponding to the depth deviation, that is, the first fuzzy language is one of the seven fuzzy sets of NB, NM, NS, ZO, PS, PM, and PB.

[0104] Specifically, the first physical domain is divided into 7 fuzzy sets, each of which has a corresponding range of the physical domain. For example, the first physical domain is a negative large NB corresponding to a range of [-2, -1]. If the depth deviation falls into this range, then the first fuzzy language corresponding to the depth deviation is NB.

[0105] The third step is to determine the second fuzzy language corresponding to the depth deviation change rate based on the depth deviation change rate and the second physical domain.

[0106] Among them, the second fuzzy language is one of the fuzzy sets of the fuzzy language set corresponding to the depth deviation change rate, that is, the second fuzzy language is one of the seven fuzzy sets of NB, NM, NS, ZO, PS, PM, and PB. Specifically, the second physical domain is divided into seven fuzzy sets, and each fuzzy set has a corresponding range of the physical domain.

[0107] The fourth step is to obtain the target fuzzy language corresponding to the fuzzy control parameters based on the first fuzzy language, the second fuzzy language and the fuzzy rules.

[0108] In some examples, the fuzzy control parameters include a proportional coefficient correction value ΔK P , integral coefficient correction value ΔK I and differential coefficient correction value ΔK D In the fuzzy rule of the embodiment of the present application, the proportional coefficient correction value ΔK P Target fuzzy language table, integral coefficient correction value ΔK I The target fuzzy language table and differential coefficient correction value ΔK D The target fuzzy language tables are shown in Tables 1, 2, and 3 respectively.

[0109] Table 1: ΔK P Target fuzzy language table

[0110]

[0111] Table 2: ΔK I Target fuzzy language table

[0112]

[0113] Table 3: ΔK D Target fuzzy language table

[0114]

[0115] In Tables 1 to 3, e represents the depth deviation, and ec represents the depth deviation change rate.

[0116] The fifth step is to obtain the fuzzy control parameters based on the target fuzzy language and the third physical domain.

[0117] Specifically, based on the proportional coefficient correction value ΔK shown in Table 1 P The target fuzzy language and the third physical domain are defuzzified to obtain the proportional coefficient correction value ΔK P ; Based on the integral coefficient correction value ΔK shown in Table 2 I The target fuzzy language and the third physical domain are defuzzified to obtain the integral coefficient correction value ΔK I ; Based on the differential coefficient correction value ΔK shown in Table 3D The target fuzzy language and the third physical domain are defuzzified to obtain the differential coefficient correction value ΔK D .

[0118] Step 203: Generate PID control parameters based on the fuzzy control parameters and the reference control parameters.

[0119] In some examples, the reference control parameters include a reference value K of the proportional coefficient P0 , integral coefficient reference value K I0 and differential coefficient reference value K D0 Then, in step 203, the PID control parameters can be determined by the following formula (2):

[0120]

[0121] In formula (2), the proportionality coefficient K P , integral coefficient K I and the differential coefficient K D is the PID control parameter, ΔK P is the proportional coefficient correction value, K P0 is the reference value of the proportionality coefficient, ΔK I is the integral coefficient correction value, K I0 is the reference value of the integral coefficient, ΔK D is the correction value of the differential coefficient, K D0 is the differential coefficient reference value.

[0122] The PID control parameters obtained through the above scheme have good adaptability to external disturbances and other influences, and can form an intelligent control algorithm that keeps the pressing mechanism in the optimal state at all times.

[0123] Step 204: Adjust the target pressure through the PID control parameters to control the pressing mechanism to reach the target pressing depth.

[0124] Specifically, a PID controller may be used to generate a pressure adjustment value through a PID control parameter to adjust the target pressure, and the pressing mechanism may be controlled through the adjusted pressure to reach a target pressing depth.

[0125] See also Figure 4 , Figure 4 The schematic diagram of the principle of combining fuzzy control and PID control in the embodiment of the present application. The actual compression depth y(k) is collected in real time, and the depth deviation E(k) at the moment k is obtained based on the target compression depth r(k) at the moment k and the actual compression depth y(k) at the moment k. The difference between the depth deviation E(k) at the moment k and the depth deviation E(k-1) at the moment before the moment k is the depth deviation change rate E c (k), then the depth deviation E(k) and the depth deviation change rate Ec (k) Perform fuzzy processing and output fuzzy control parameter ΔK P , ΔK I and ΔK D , and then calculate the PID control parameter K P , K I and K D After the value is obtained, the control quantity U is output through PID control. In the embodiment of the present application, the control quantity U can be a pressure adjustment value.

[0126] See also Figure 5 , Figure 5 The following is a schematic diagram of the specific process of the press test of the embodiment of the present application. During the press test, the displacement sensor is used to monitor the actual press depth y(t) of the press mechanism, and the actual press depth y(t) is subtracted from the target press depth r(t) to obtain the depth deviation E. After differentiating the depth deviation E, the depth deviation change rate E is obtained. c =dE / dt, for depth deviation E and depth deviation change rate E c Perform fuzzy processing to obtain the fuzzy control parameters: proportional coefficient correction value ΔK P , integral coefficient correction value ΔK I and differential coefficient correction value ΔK D Then, based on the fuzzy control parameters and the reference control parameters, the PID control parameters are obtained, and the PID control is performed based on the PID control parameters and the depth deviation E, and the driving components of the pressing mechanism are adjusted to achieve the adjustment of the target pressure, so that the actual pressing depth y(t) of the pressing mechanism can reach the target pressing depth r(t), and the pressing test is ended.

[0127] In some embodiments, after executing step 204 of controlling the pressing mechanism to reach a target pressing depth, the method provided by the embodiment of the present application further includes:

[0128] The pressing mechanism is controlled to return to the starting position, and the pressing mechanism is controlled to start running again from the starting position to apply the target pressure on the test position until a preset number of pressing tests are completed on the test position.

[0129] Exemplarily, the preset number of times can be three times. That is to say, for the same test position, the pressing test shown in steps 201 to 204 can be repeated three times. In this way, the abnormal detection rate of the test position can be improved, and continuous pressing can also better adapt to the production rhythm, and the efficiency is more efficient. It is understandable that the preset number of times can also be set to other values, and the embodiments of the present application do not specifically limit this.

[0130] See also Figure 6 , Figure 6This is a schematic diagram of the example flow of the press test of the embodiment of the present application. First, the press mechanism is controlled to quickly press down to the starting position, and then the target pressure is applied from the starting position. If the actual press depth does not reach the target press depth, fuzzy control and PID control are combined. If the actual press depth reaches the target press depth, multiple presses are performed continuously to complete the test of the current test position. If all test positions are not pressed, the control moves to the next test position, and the corresponding press mechanism is re-controlled to perform the press test.

[0131] It should be noted that other steps can be inserted between the various steps of the embodiments of the present application, such as step one, step two, or step one, step two, step three, step four, step five, etc. In addition, unless otherwise specified, the embodiments of the present application do not limit the order of the steps.

[0132] It can be understood that the press test method of the embodiment of the present application combines displacement sensors, pressure sensors, fuzzy control and PID control methods to accurately control the position of the device being pressed, improve the accuracy of the normal sound emitted when the device is pressed, and can also solve the problem of different pressing depths under the same force caused by differences in materials, sizes, etc. in different parts of the electronic device, thereby achieving consistency in pressing depth. The fuzzy control method can also avoid the problem of manually adjusting the pressing speed under different production rhythms, thereby enabling the pressing device to always be in the optimal state of the intelligent control algorithm. Therefore, the method of the embodiment of the present application can achieve an efficient rhythm of electronic device production, and can adaptively press the electronic device at the same time to ensure that the abnormal position can be pressed to produce an abnormal sound each time, and the electronic device will not be damaged during the detection process. It can also avoid the outflow of abnormal products assembled from electronic devices, which can reduce customer complaints and improve the automation and intelligence of electronic device production.

[0133] Accordingly, the present application also provides a compression test device. Figure 7 , Figure 7 1 is a schematic diagram of the structure of the press test device of the embodiment of the present application. The press test device 14 can be arranged in the processor 13, and is used to control the press mechanism to perform a press test on the electronic device, and the electronic device has a test position. The press test device 14 includes:

[0134] A pressure control module 141, the pressure control module 141 is configured to control the pressing mechanism to apply a target pressure on the test position;

[0135] A fuzzy processing module 142, the fuzzy processing module 142 is configured to perform fuzzy processing based on the actual pressing depth and the target pressing depth of the pressing mechanism to obtain a fuzzy control parameter;

[0136] The PID control module 143 is configured to generate a PID control parameter based on the fuzzy control parameter and the reference control parameter; and adjust the target pressure through the PID control parameter so that the pressure control module 141 controls the pressing mechanism to reach the target pressing depth.

[0137] See also Figure 8 , Figure 8 for Figure 7 In some examples, the fuzzy processing module 142 may include a fuzzifier, a fuzzy inference engine, and a defuzzifier. After the input variables are input into the fuzzifier for processing, the processing results are input into the fuzzy inference engine. The fuzzy inference engine combines the data in the database and the fuzzy rules in the rule base for reasoning to obtain the target fuzzy language corresponding to the fuzzy control parameters, and then inputs the defuzzifier for defuzzification processing to finally obtain the output, that is, the fuzzy control parameters of the embodiment of the present application.

[0138] In some embodiments, the obfuscation processing module 142 is specifically configured to:

[0139] Based on the actual compression depth and the target compression depth, a depth deviation and a depth deviation change rate are obtained;

[0140] The depth deviation and the depth deviation change rate are fuzzy processed to obtain the fuzzy control parameters.

[0141] In some embodiments, the obfuscation processing module 142 is specifically configured to:

[0142] Obtaining a pre-constructed fuzzy language set, a first physical domain of depth deviation, a second physical domain of depth deviation change rate, a third physical domain of fuzzy control parameters, and fuzzy rules;

[0143] Based on the depth deviation and the first physical domain, determining a first fuzzy language corresponding to the depth deviation;

[0144] Based on the depth deviation change rate and the second physical domain, determine a second fuzzy language corresponding to the depth deviation change rate;

[0145] Based on the first fuzzy language, the second fuzzy language and the fuzzy rules, a target fuzzy language corresponding to the fuzzy control parameter is obtained;

[0146] Based on the target fuzzy language and the third physical domain, the fuzzy control parameters are obtained.

[0147] In some embodiments, the fuzzy control parameters include a proportional coefficient correction value, an integral coefficient correction value, and a differential coefficient correction value, and the reference control parameters include a proportional coefficient reference value, an integral coefficient reference value, and a differential coefficient reference value; the PID control module 143 is specifically configured as follows:

[0148] The PID control parameters are determined by the following formula:

[0149]

[0150] Among them, the proportionality coefficient K P , integral coefficient K I and the differential coefficient K D is the PID control parameter, ΔK P is the proportional coefficient correction value, K P0 is the reference value of the proportionality coefficient, ΔK I is the integral coefficient correction value, K I0 is the reference value of the integral coefficient, ΔK D is the correction value of the differential coefficient, K D0 is the differential coefficient reference value.

[0151] In some embodiments, the compression testing device 14 further includes:

[0152] A position control module, the position control module is configured to control the pressing mechanism to run to a starting position at a first speed, wherein the starting position and the test position are spaced apart from or in contact with each other;

[0153] The pressure control module 141 is specifically configured as follows:

[0154] Controlling the pressing mechanism to run at a second speed from a starting position to apply a target pressure on a test position;

[0155] The first speed is greater than the second speed.

[0156] In some embodiments, the compression testing device 14 further includes:

[0157] The return control module is configured to control the pressing mechanism to return to the starting position, and control the pressing mechanism to start running again from the starting position to apply the target pressure on the test position until a preset number of pressing tests are completed on the test position.

[0158] In some embodiments, there are multiple test positions, multiple pressing mechanisms, and the multiple pressing mechanisms correspond to the multiple test positions one by one; the pressure control module 141 is specifically configured as follows:

[0159] Each pressing mechanism is controlled in turn to apply a target pressure on the corresponding test position according to a preset sequence.

[0160] It can be understood that the press test device of the embodiment of the present application can control the pressing mechanism to adaptively press the test position of the electronic device. By combining fuzzy control with PID control, it can avoid the problem of different forces applied at the same pressing depth caused by abnormal parts of the electronic device, thereby ensuring the consistency of the pressing depth and the stable generation of abnormal sounds, thereby improving the stability and reliability of the detection results.

[0161] Accordingly, an embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and the computer program is used to enable a processor to implement the steps of the press test method in the aforementioned embodiment when executed.

[0162] It can be understood that the readable storage medium of the embodiment of the present application enables the pressing mechanism to adaptively press the test position of the electronic device. By combining fuzzy control with PID control, the problem of different forces applied at the same pressing depth caused by abnormal parts of the electronic device can be avoided, thereby ensuring the consistency of the pressing depth and the stable generation of abnormal sounds, thereby improving the stability and reliability of the detection results.

[0163] The above is a detailed introduction to a press test method, device, equipment and computer-readable storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the technical solution and its core idea of ​​the present application; ordinary technicians in this field should understand that: they can still modify the technical solutions recorded in the aforementioned embodiments, or replace some of the technical features therein with equivalents; and these modifications or replacements do not make the essence of the corresponding technical solution deviate from the scope of the technical solution of the embodiments of the present application.

Claims

1. A compression test method, characterized in that: Used to control a pressing mechanism (11) to perform a pressing test on an electronic device (20), wherein the electronic device (20) has a testing position (21); the method comprises: controlling the pressing mechanism (11) to apply a target pressure on the test position (21); Performing fuzzy processing based on the actual pressing depth and target pressing depth of the pressing mechanism (11) to obtain fuzzy control parameters; Generate PID control parameters based on the fuzzy control parameters and the reference control parameters; The target pressure is adjusted by the PID control parameter to control the pressing mechanism (11) to reach the target pressing depth.

2. The compression test method according to claim 1, characterized in that: The fuzzy processing is performed based on the actual pressing depth and the target pressing depth of the pressing mechanism (11) to obtain the fuzzy control parameters, including: Based on the actual compression depth and the target compression depth, acquiring a depth deviation and a depth deviation change rate; The fuzzy processing is performed on the depth deviation and the depth deviation change rate to obtain the fuzzy control parameter.

3. The compression test method according to claim 2, characterized in that: Performing the fuzzy processing on the depth deviation and the depth deviation change rate to obtain the fuzzy control parameter includes: Acquire a pre-constructed fuzzy language set, a first physical domain of the depth deviation, a second physical domain of the depth deviation change rate, a third physical domain of the fuzzy control parameter, and fuzzy rules; Based on the depth deviation and the first physical domain, determining a first fuzzy language corresponding to the depth deviation; Based on the depth deviation change rate and the second physical domain, determining a second fuzzy language corresponding to the depth deviation change rate; Based on the first fuzzy language, the second fuzzy language and the fuzzy rule, obtaining a target fuzzy language corresponding to the fuzzy control parameter; Based on the target fuzzy language and the third physical domain, the fuzzy control parameters are obtained.

4. The compression test method according to claim 1, characterized in that: The fuzzy control parameters include a proportional coefficient correction value, an integral coefficient correction value, and a differential coefficient correction value, and the reference control parameters include a proportional coefficient reference value, an integral coefficient reference value, and a differential coefficient reference value; the PID control parameters are generated based on the fuzzy control parameters and the reference control parameters, including: The PID control parameters are determined by the following formula: Among them, the proportionality coefficient K P , integral coefficient K I and the differential coefficient K D is the PID control parameter, ΔK P is the proportional coefficient correction value, K P0 is the reference value of the proportionality coefficient, ΔK I is the integral coefficient correction value, K I0 is the integral coefficient reference value, ΔK D is the differential coefficient correction value, K D0 is the differential coefficient reference value.

5. The compression test method according to claim 1, characterized in that: Before the step of controlling the pressing mechanism (11) to apply a target pressure on the test position (21), the method further comprises: Controlling the pressing mechanism (11) to run at a first speed to a starting position, wherein the starting position and the test position (21) are spaced apart from each other or in contact with each other; The controlling the pressing mechanism (11) to apply a target pressure on the test position (21) comprises: Controlling the pressing mechanism (11) to run at a second speed starting from the starting position to apply the target pressure on the test position (21); Wherein, the first speed is greater than the second speed.

6. The compression test method according to claim 5, characterized in that: After the step of controlling the pressing mechanism (11) to reach the target pressing depth, the method further comprises: The pressing mechanism (11) is controlled to return to the starting position, and the pressing mechanism (11) is controlled to start running again from the starting position to apply the target pressure on the test position (21) until a preset number of pressing tests are completed on the test position (21).

7. The compression test method according to claim 1, characterized in that: The number of the test positions (21) is multiple, the number of the pressing mechanisms (11) is multiple, and the multiple pressing mechanisms (11) correspond one-to-one to the multiple test positions (21); controlling the pressing mechanism (11) to apply a target pressure on the test positions (21) comprises: Each of the pressing mechanisms (11) is controlled in turn in a preset sequence to apply the target pressure on the corresponding test position (21).

8. A compression test device, characterized in that: Used to control a pressing mechanism (11) to perform a pressing test on an electronic device (20), wherein the electronic device (20) has a testing position (21); the device comprises: a pressure control module, the pressure control module being configured to control the pressing mechanism (11) to apply a target pressure on the test position (21); A fuzzy processing module, the fuzzy processing module being configured to perform fuzzy processing based on an actual pressing depth and a target pressing depth of the pressing mechanism (11) to obtain a fuzzy control parameter; A PID control module is configured to generate a PID control parameter based on the fuzzy control parameter and the reference control parameter; and to adjust the target pressure by means of the PID control parameter so that the pressure control module controls the pressing mechanism (11) to reach the target pressing depth.

9. The compression test device according to claim 8, characterized in that: The device also includes: an operation control module, the operation control module being configured to control the pressing mechanism (11) to run at a first speed to a starting position, the starting position being spaced apart from or in contact with the test position (21); The pressure control module is configured to control the pressing mechanism (11) to apply a target pressure on the test position (21), comprising: Controlling the pressing mechanism (11) to run at a second speed starting from the starting position to apply the target pressure on the test position (21); Wherein, the first speed is greater than the second speed.

10. A compression test device, characterized in that: The invention comprises a pressing mechanism (11), a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the pressing test method according to any one of claims 1 to 7 are implemented to control the pressing mechanism (11) to perform a pressing test on an electronic device (20).

11. The compression test device according to claim 10, characterized in that: The number of the pressing mechanisms (11) is multiple, and the distance between any two adjacent pressing mechanisms (11) among the multiple pressing mechanisms (11) is the same.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is used to enable a processor to implement the steps of the press test method according to any one of claims 1 to 7 when executed.

Citation Information

Cited By

  • Pressing performance detection method and pressing performance detection device

    CN119965114A

  • A method for detecting lamination performance and a lamination performance detection device

    CN119965114B