Automatic performance detection method, detection device and system of membrane switch
By establishing the use database and clustering algorithm of thin film switches, randomly generate test parameters and simulate the pressing behavior of real operators, the problem of low authenticity of detection results in the prior art is solved, and more accurate automated performance detection is achieved.
Patent Information
- Application Number
- CN202510412776.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-03
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2045-04-03
AI Technical Summary
The detection results of the automation performance detection method of thin film switches in the prior art are relatively low, mainly due to the difference between the pressing angle and pressing mode of the automation equipment and the manual operation.
By establishing a usage database for membrane switches, multiple usage parameters are obtained, including pressing pressure degree, pressing angle, pressing duration, operator gender, age and working duration. The clustering algorithm and punishment coefficients are used to calculate the standard pressing pressure, and test parameters are randomly generated to simulate the pressing behavior of the real operator.
It improves the authenticity of the automation performance detection results, enhances the pertinence of the detection, and can more accurately reflect the actual use of the operator.
Smart Images

Figure CN119916195A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electrical appliance testing technology, and specifically to an automated performance testing method, testing device and system for a membrane switch. Background Art
[0002] Membrane switch is a human-machine interface element widely used in various electronic devices, usually used to control devices such as buttons, display screens and keyboards. It has the characteristics of simple structure, waterproof and dustproof, durable and thin. The main working principle of membrane switch is to trigger the key and transmit the signal through the interaction between the conductive layer and the insulating layer in its structure, that is, when the key is pressed, the circuit is closed; when the key is released, the circuit is disconnected. Since the membrane switch needs to achieve specific electrical performance, sensitivity and feedback capabilities to be used normally, it is particularly important to perform automated testing on the membrane switch to obtain service life and working stability. In the prior art, the performance test method of the membrane switch is to press the finished membrane switch through automated equipment, and use sensors to automatically record the electrical parameters, response time, etc. from the beginning to the end of pressing, so as to analyze the actual working performance of the membrane switch. However, the pressing angle and pressing mode of the automated equipment are different from the habits of real operators. For example, when the fingers or pressing device are covered on the switch surface, the pressing device can only exert force evenly in one direction, while the human hand can apply force differently in each pressing process due to the different pressing angles and pressing positions of the fingers, which leads to lower authenticity of the detection results of the automated equipment. Summary of the invention
[0003] The purpose of the present application is to provide an automated performance detection method, detection device and system for a membrane switch, so as to solve the technical problem that the authenticity of the detection results of the automated performance detection method for a membrane switch in the prior art is low.
[0004] To achieve the above objectives, this application provides the following technical solutions: In a first aspect, the present application provides an automated performance detection method for a membrane switch, the automated performance detection method for a membrane switch comprising: Based on multiple usage parameters of the membrane switch, a usage database is formed; each usage parameter is acquired in advance, and each usage parameter at least includes the pressing force, pressing angle, pressing time, operator's gender, age, and working time when the membrane switch is used; Based on the usage database, a first pressure parameter range is acquired; the first pressure parameter range includes a first minimum pressing force and a first maximum pressing force during the membrane switch test; the first minimum pressing force is a minimum triggering pressure of the membrane switch; Based on the first pressure parameter range, generating test parameters; the test parameters at least include the pressing force, pressing angle and pressing duration during the membrane switch test; Based on the test parameters, the membrane switch is tested to obtain a test result; Based on the test results, a performance index is generated; the performance index is at least used to characterize the quality of the test performance of the membrane switch.
[0005] As a specific solution in the technical solution of the present application, the obtaining of the first pressure parameter range based on the usage database includes: Based on the usage database, a clustering algorithm is used to obtain multiple clusters; the age span of each cluster is N years, and the gender of operators in each usage parameter in the same cluster is the same; wherein N is an integer greater than or equal to 2; Based on each cluster, a standard pressing force corresponding to each cluster is obtained; the standard pressing force is at least used to characterize an average pressing force of each operator in each cluster; Obtaining the male-female ratio of operators in the usage database; Obtaining a first maximum pressing force based on the male-female ratio and the standard pressing force corresponding to each cluster; A first pressure parameter range is acquired based on the first maximum pressing force.
[0006] As a specific solution in the technical solution of the present application, the method of obtaining the standard pressing force corresponding to each cluster based on each cluster includes: Based on each clustering cluster, a first clustering cluster is obtained; the first clustering cluster is any clustering cluster among each clustering cluster; Based on the first cluster, a first usage parameter is acquired; the first usage parameter is any usage parameter except the usage parameter with the largest pressing force and the usage parameter with the smallest pressing force in the first cluster; Based on the first usage parameter, a corresponding penalty coefficient is obtained; the penalty coefficient at least represents the size of the product of the age value and the working time value corresponding to the first usage parameter; Based on the first usage parameter and the corresponding penalty coefficient, a standard pressing force corresponding to the first cluster is obtained.
[0007] As a specific solution in the technical solution of the present application, the calculation formula for obtaining the standard pressing force corresponding to the first cluster based on the first usage parameter and the corresponding penalty coefficient is as follows: in, represents the standard pressing force corresponding to the i-th cluster; represents the number of parameters used in the i-th cluster, where is a positive integer greater than 2; Represents the penalty coefficient corresponding to the jth usage parameter in the i-th cluster; represents the pressing intensity in the jth usage parameter in the i-th cluster; represents the value of the working time in the jth usage parameter in the i-th cluster, where Greater than 0; represents the value of the operator's age in the jth usage parameter in the i-th cluster; It indicates that the normalization function is used to map the values in the brackets to the interval [-0.5, 0.5].
[0008] As a specific solution in the technical solution of the present application, the calculation formula for obtaining the first maximum pressing force based on the male-female ratio and the standard pressing force corresponding to each cluster is as follows: in, Indicates the first maximum pressing force; indicates the proportion of males using the operators in the database; Represents the average value of the standard pressing force corresponding to each male cluster; indicates the proportion of women using the operators in the database; Represents the average value of the standard pressing force corresponding to each female cluster.
[0009] As a specific solution in the technical solution of the present application, the test parameter includes a first test parameter, and the test parameter is generated based on the first pressure parameter range, including: Based on the usage database, a test angle and a test duration are randomly generated; the test angle is the pressing angle during the test; the test duration is the pressing duration during the test; the test angle is greater than or equal to the smallest pressing angle in the usage database, and less than or equal to the largest pressing angle in the usage database; the test duration is greater than or equal to the smallest pressing duration in the usage database, and less than or equal to the largest pressing duration in the usage database; Based on the test angle, obtaining the contact area during the test; Based on the contact area and the first pressure parameter range, a second pressure parameter range during the test is obtained; the second pressure parameter range includes a second minimum pressing force and a second maximum pressing force during the membrane switch test; the second minimum pressing force is greater than or equal to the first minimum pressing force; the second maximum pressing force is less than or equal to the first maximum pressing force; Based on the second pressure parameter range, a test pressure is randomly generated; the test pressure is the pressing force during the test; the test pressure is within the second pressure parameter range; A first test parameter is generated based on the test angle, the test pressure and the test duration.
[0010] As a specific solution in the technical solution of the present application, the test parameter also includes a second test parameter, and the second pressure parameter range during the test is obtained based on the contact area and the first pressure parameter range, including: Based on the first pressure parameter range, using the first maximum pressing force as the second maximum pressing force; Based on the contact area and the first minimum pressing force, acquiring the second minimum pressing force; Based on the second minimum pressing force and the second maximum pressing force, a second pressure parameter range during testing is acquired.
[0011] As a specific solution in the technical solution of the present application, after generating the first test parameter based on the test angle, the test pressure and the test duration, the method further includes: Adjusting the test angle to obtain an adjusted angle; Based on the adjustment angle, obtaining an adjusted contact area; A second test parameter is generated based on the adjustment angle and the adjusted contact area.
[0012] In a second aspect, the present application provides an automatic performance detection device for a membrane switch, the automatic performance detection device for a membrane switch comprising: A reading module, used to form a usage database based on multiple usage parameters of the membrane switch; each usage parameter is acquired in advance, and each usage parameter at least includes the pressing force, pressing angle, pressing time, operator's gender, age, and working time when the membrane switch is used; A processing module, configured to obtain a first pressure parameter range based on the usage database; the first pressure parameter range includes a first minimum pressing force and a first maximum pressing force during the membrane switch test; the first minimum pressing force is a minimum triggering pressure of the membrane switch; And, based on the first pressure parameter range, generating test parameters; the test parameters at least include the pressing force, pressing angle and pressing duration during the membrane switch test; and, based on the test parameters, testing the membrane switch to obtain a test result; And, based on the test results, a performance index is generated; the performance index is at least used to characterize the quality of the test performance of the membrane switch.
[0013] As a specific solution in the technical solution of the present application, the processing module is further used to obtain multiple clusters based on the usage database using a clustering algorithm; the age span of each cluster is 5 years old, and the gender of the operator in each usage parameter in the same cluster is the same; And, based on each cluster, obtaining a standard pressing force corresponding to each cluster; the standard pressing force is at least used to characterize an average pressing force of each operator in each cluster; and obtaining the male-female ratio of operators in the usage database; and, obtaining a first maximum pressing force based on the male-female ratio and the standard pressing force corresponding to each cluster; And, based on the first maximum pressing force, a first pressure parameter range is obtained.
[0014] As a specific solution in the technical solution of the present application, the reading module is further used to obtain a first cluster based on each cluster; the first cluster is any cluster among the clusters; The processing module is further configured to obtain a first usage parameter based on the first cluster; the first usage parameter is any usage parameter other than the usage parameter with the greatest pressing force and the usage parameter with the least pressing force in the first cluster; And, based on the first usage parameter, a corresponding penalty coefficient is obtained; the penalty coefficient at least represents the size of the product of the age value and the working hours value corresponding to the first usage parameter; And, based on the first usage parameter and the corresponding penalty coefficient, a standard pressing force corresponding to the first cluster is obtained.
[0015] As a specific solution in the technical solution of the present application, the processing module obtains the calculation formula of the standard pressing force corresponding to the first cluster based on the first usage parameter and the corresponding penalty coefficient as follows: in, represents the standard pressing force corresponding to the i-th cluster; represents the number of parameters used in the i-th cluster, where is a positive integer greater than 2; Represents the penalty coefficient corresponding to the jth usage parameter in the i-th cluster; represents the pressing intensity in the jth usage parameter in the i-th cluster; represents the value of the working time in the jth usage parameter in the i-th cluster, where Greater than 0; represents the value of the operator's age in the jth usage parameter in the i-th cluster; It indicates that the normalization function is used to map the values in the brackets to the interval [-0.5, 0.5].
[0016] As a specific solution in the technical solution of the present application, the processing module obtains the calculation formula of the first maximum pressing force based on the male-female ratio and the standard pressing force corresponding to each cluster as follows: in, Indicates the first maximum pressing force; indicates the proportion of males using the operators in the database; Represents the average value of the standard pressing force corresponding to each male cluster; indicates the proportion of women using the operators in the database; Represents the average value of the standard pressing force corresponding to each female cluster.
[0017] As a specific solution in the technical solution of the present application, the processing module is also used to randomly generate a test angle and a test duration based on the usage database; the test angle is the pressing angle during the test; the test duration is the pressing duration during the test; the test angle is greater than or equal to the smallest pressing angle in the usage database, and less than or equal to the largest pressing angle in the usage database; the test duration is greater than or equal to the smallest pressing duration in the usage database, and less than or equal to the largest pressing duration in the usage database; and, based on the test angle, obtaining a contact area during the test; and, based on the contact area and the first pressure parameter range, obtaining a second pressure parameter range during the test; the second pressure parameter range includes a second minimum pressing force and a second maximum pressing force during the membrane switch test; the second minimum pressing force is greater than or equal to the first minimum pressing force; the second maximum pressing force is less than or equal to the first maximum pressing force; And, based on the second pressure parameter range, randomly generate a test pressure; the test pressure is the pressing force during the test; the test pressure is within the second pressure parameter range; And, based on the test angle, the test pressure and the test duration, a first test parameter is generated.
[0018] As a specific solution in the technical solution of the present application, the processing module is further used to use the first maximum pressing force as the second maximum pressing force based on the first pressure parameter range; and, based on the contact area and the first minimum pressing force, obtaining the second minimum pressing force; And, based on the second minimum pressing force and the second maximum pressing force, a second pressure parameter range during the test is obtained.
[0019] As a specific solution in the technical solution of the present application, the processing module is further used to adjust the test angle and obtain the adjustment angle; and, based on the adjustment angle, obtaining an adjusted contact area; And, based on the adjustment angle and the adjusted contact area, a second test parameter is generated.
[0020] In a third aspect, the present application provides an automated performance detection system for a membrane switch, the automated performance detection system for a membrane switch comprising: A reader, used to form a usage database based on multiple usage parameters of the membrane switch; each usage parameter is acquired in advance, and each usage parameter at least includes the pressing force, pressing angle, pressing time, operator's gender, age, and working time when the membrane switch is used; A processor, configured to obtain a first pressure parameter range based on the usage database; the first pressure parameter range includes a first minimum pressing force and a first maximum pressing force during the membrane switch test; the first minimum pressing force is a minimum triggering pressure of the membrane switch; And, based on the first pressure parameter range, generating test parameters; the test parameters at least include the pressing force, pressing angle and pressing duration during the membrane switch test; and, based on the test parameters, testing the membrane switch to obtain a test result; And, based on the test results, a performance index is generated; the performance index is at least used to characterize the quality of the test performance of the membrane switch.
[0021] As a specific solution in the technical solution of the present application, the processor is further used to obtain multiple clusters based on the usage database using a clustering algorithm; the age span of each cluster is 5 years old, and the gender of the operator in each usage parameter in the same cluster is the same; And, based on each cluster, obtaining a standard pressing force corresponding to each cluster; the standard pressing force is at least used to characterize an average pressing force of each operator in each cluster; and obtaining the male-female ratio of operators in the usage database; and, obtaining a first maximum pressing force based on the male-female ratio and the standard pressing force corresponding to each cluster; And, based on the first maximum pressing force, a first pressure parameter range is obtained.
[0022] As a specific solution in the technical solution of the present application, the reader is further used to obtain a first cluster based on each cluster; the first cluster is any cluster among the clusters; The processor is further configured to obtain a first usage parameter based on the first cluster; the first usage parameter is any usage parameter other than a usage parameter with the greatest pressing force and a usage parameter with the least pressing force in the first cluster; And, based on the first usage parameter, a corresponding penalty coefficient is obtained; the penalty coefficient at least represents the size of the product of the age value and the working hours value corresponding to the first usage parameter; And, based on the first usage parameter and the corresponding penalty coefficient, a standard pressing force corresponding to the first cluster is obtained.
[0023] As a specific solution in the technical solution of the present application, the processor obtains the calculation formula of the standard pressing force corresponding to the first cluster based on the first usage parameter and the corresponding penalty coefficient as follows: in, represents the standard pressing force corresponding to the i-th cluster; represents the number of parameters used in the i-th cluster, where is a positive integer greater than 2; Represents the penalty coefficient corresponding to the jth usage parameter in the i-th cluster; represents the pressing intensity in the jth usage parameter in the i-th cluster; represents the value of the working time in the jth usage parameter in the i-th cluster, where Greater than 0; represents the value of the operator's age in the jth usage parameter in the i-th cluster; It indicates that the normalization function is used to map the values in the brackets to the interval [-0.5, 0.5].
[0024] As a specific solution in the technical solution of the present application, the processor obtains the calculation formula of the first maximum pressing force based on the male-female ratio and the standard pressing force corresponding to each cluster as follows: in, Indicates the first maximum pressing force; indicates the proportion of males using the operators in the database; Represents the average value of the standard pressing force corresponding to each male cluster; indicates the proportion of women using the operators in the database; Represents the average value of the standard pressing force corresponding to each female cluster.
[0025] As a specific solution in the technical solution of the present application, the processor is further used to randomly generate a test angle and a test duration based on the usage database; the test angle is the pressing angle during the test; the test duration is the pressing duration during the test; the test angle is greater than or equal to the smallest pressing angle in the usage database, and less than or equal to the largest pressing angle in the usage database; the test duration is greater than or equal to the smallest pressing duration in the usage database, and less than or equal to the largest pressing duration in the usage database; and, based on the test angle, obtaining a contact area during the test; and, based on the contact area and the first pressure parameter range, obtaining a second pressure parameter range during the test; the second pressure parameter range includes a second minimum pressing force and a second maximum pressing force during the membrane switch test; the second minimum pressing force is greater than or equal to the first minimum pressing force; the second maximum pressing force is less than or equal to the first maximum pressing force; And, based on the second pressure parameter range, randomly generate a test pressure; the test pressure is the pressing force during the test; the test pressure is within the second pressure parameter range; And, based on the test angle, the test pressure and the test duration, a first test parameter is generated.
[0026] As a specific solution in the technical solution of the present application, the processor is further used to use the first maximum pressing force as the second maximum pressing force based on the first pressure parameter range; and, based on the contact area and the first minimum pressing force, obtaining the second minimum pressing force; And, based on the second minimum pressing force and the second maximum pressing force, a second pressure parameter range during the test is obtained.
[0027] As a specific solution in the technical solution of the present application, the processor is further used to adjust the test angle and obtain the adjustment angle; and, based on the adjustment angle, obtaining an adjusted contact area; And, based on the adjustment angle and the adjusted contact area, a second test parameter is generated.
[0028] Compared with the prior art, the beneficial effects of this application are: This application randomly generates test parameters of different pressing parameter combinations, thereby simulating the situation of an operator pressing a membrane switch in real situations, thereby improving the authenticity of the automated performance test results. In addition, this application can analyze the operator's relevant data based on the specific usage scenario of the membrane switch, thereby generating a corresponding parameter range based on the operator's characteristics, thereby improving the pertinence of the automated performance test. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A schematic diagram of a flow chart of an automated performance detection method for a membrane switch proposed in an embodiment of the present application; Figure 2 A schematic diagram of the structure of an automatic performance detection device for a membrane switch proposed in an embodiment of the present application; Figure 3 This is a schematic diagram of the structure of an automatic performance detection system for a membrane switch proposed in an embodiment of the present application. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0031] The terms "first", "second", etc. in the description of the embodiments of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, such as the first maximum pressing force and the second maximum pressing force proposed below, which belong to different pressing forces. It should be understood that the names used in this way can be interchanged where appropriate, so that the embodiments described here can be implemented in an order other than the content illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or modules is not necessarily limited to those steps or modules clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or devices. The division of modules that appear in the embodiments of the present application is only a logical division. There may be other division methods when implemented in actual applications, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, and the indirect coupling or communication connection between modules can be electrical or other similar forms, which are not limited in the embodiments of the present application. Furthermore, the modules or sub-modules described as separate components may or may not be physically separated, may or may not be physical modules, or may be distributed in multiple circuit modules, and some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiment of the present application.
[0032] In order to solve the technical problem that the existing detection method proposed in the background technology makes the detection result of the membrane switch less authentic, the present application proposes an automatic performance detection method of the membrane switch, such as Figure 1 As shown, the automatic performance detection method of the membrane switch includes steps S100 to S500.
[0033] Step S100: forming a usage database based on multiple usage parameters of the membrane switch.
[0034] In this embodiment, various usage parameters are acquired in advance, and each usage parameter includes at least the pressing force, pressing angle, pressing time, gender, age, and working time of the operator when the membrane switch is used. It should be noted that before forming a usage database, the specific usage scenario of the membrane switch needs to be determined. Because the user groups and usage environments of the membrane switch are different in different usage scenarios, different usage scenarios will affect the parameter settings for the automatic detection of the membrane switch. In the embodiments below, the membrane switch test in the usage scenario of the factory assembly line is taken as an example to illustrate the automatic performance detection method of the membrane switch proposed in this application. It does not mean that the automatic performance detection method of the membrane switch proposed in this application is only applicable to the membrane switch test in the factory assembly line. It should be understood that the automatic performance detection method of the membrane switch proposed in this application is applicable to the membrane switch test in any usage scenario.
[0035] In this embodiment, the relevant information of the membrane switch operator can be obtained through questionnaires, public databases, etc., for example, the relevant information of the workers on a factory assembly line can be obtained. It should be noted that the relevant information of the operator includes physical information (age, gender, etc.), work environment information (temperature and humidity, etc.), and work information (work intensity, work hours, etc.). Furthermore, the pressing force and pressing time of the workers on the assembly line when pressing the membrane switch are collected through sensors (pressure sensors and timers, etc.), thereby forming a usage database.
[0036] Step S200: Based on the usage database, a first pressure parameter range is obtained.
[0037] It should be clear that the first pressure parameter range includes the first minimum pressing force and the first maximum pressing force when the membrane switch is tested. That is to say, in this embodiment, the range between the first minimum pressing force and the first maximum pressing force is the first pressure parameter range. Each membrane switch has a minimum trigger pressure, so the first minimum pressing force can be the minimum trigger pressure of the membrane switch. The first maximum pressing force can be the maximum pressing force in the database. If the first maximum pressing force is the maximum pressing force in the database, the authenticity of the test parameters randomly generated in step S300 is poor. If the authenticity of the test parameters is poor, the authenticity of the membrane switch detection results is still low. In order to obtain test parameters with higher authenticity, in one embodiment of the present application, step S200, based on the usage database, obtains the first pressure parameter range, including steps S210 to S250.
[0038] Step S210: Based on the usage database, a clustering algorithm is used to obtain a plurality of clusters.
[0039] It should be clear that in the factory assembly line, since the pressure applied by male and female operators to the membrane switch is different, the pressure applied by males is generally greater, while the pressure applied by females is smaller. Operators of different age groups also apply different pressures to the membrane switch. Generally, young and middle-aged people apply greater pressures, while middle-aged and elderly people apply less pressure. If the maximum pressure applied in the database is used as the upper limit of the first pressure parameter range, the authenticity of the test parameters subsequently obtained is poor. Based on this, in this embodiment, clustering is performed for each usage parameter in the usage database. In this embodiment, the age span of each clustering cluster is 5 years old, and the gender of the operator in each usage parameter in the same clustering cluster is the same. Of course, in other embodiments, the age span of each clustering cluster can be other age values, for example, 2 years old or 3 years old.
[0040] Step S220: Based on each cluster, obtain the standard pressing force corresponding to each cluster.
[0041] In the embodiment of the present application, the standard pressing force is at least used to characterize the average pressing force of each operator in each cluster. That is, in this embodiment, the average pressing force in each cluster can be used as the standard pressing force corresponding to each cluster.
[0042] It should be noted that the older the operator is, the smaller the pressure applied by the operator. For the same operator, as the working time increases, his fatigue increases, and the pressure applied to the membrane switch becomes smaller. In order to further improve the authenticity of the test parameters obtained subsequently, in one embodiment of the present application, step S220, based on each cluster, obtains the standard pressure corresponding to each cluster, including steps S221 to S224.
[0043] Step S221: Based on each cluster, obtain a first cluster.
[0044] In this embodiment, the first cluster is any cluster among the clusters. That is to say, in this application, the standard pressing force corresponding to each cluster can be obtained by referring to the method for obtaining the standard pressing force of the first cluster.
[0045] Step S222: Based on the first cluster, obtain a first usage parameter.
[0046] In this embodiment, the first usage parameter is any usage parameter except the usage parameters with the maximum and minimum pressing force in the first cluster. That is, in this embodiment, the usage parameters with the maximum and minimum pressing force in the first cluster are removed to reduce data collection errors.
[0047] Step S223: Based on the first usage parameter, obtain a corresponding penalty coefficient.
[0048] In this embodiment, the penalty coefficient at least represents the size of the product of the age value and the working time value corresponding to the first usage parameter. In this embodiment, the penalty coefficient can be directly the product of the age value and the working time value corresponding to the first usage parameter. In order to facilitate the adjustment of the standard pressing force by the penalty coefficient in the subsequent process, in one embodiment of the present application, step S223, based on the first usage parameter, the calculation formula for obtaining the corresponding penalty coefficient can be as follows: in, Represents the penalty coefficient corresponding to the jth usage parameter in the i-th cluster; represents the value of the working time in the jth usage parameter in the i-th cluster, where Greater than 0; represents the value of the operator's age in the jth usage parameter in the i-th cluster; It indicates that the normalization function is used to map the value in the brackets to the interval range of [-0.5, 0.5]. That is to say, in this embodiment, if an operator is older or has worked longer, the corresponding penalty coefficient will be larger.
[0049] Step S224: based on the first usage parameter and the corresponding penalty coefficient, obtaining the standard pressing force corresponding to the first cluster.
[0050] In this embodiment, any reasonable method may be used to obtain the standard pressing force corresponding to the first cluster based on the first usage parameter and the corresponding penalty coefficient. For example, in step S224, the calculation formula for obtaining the standard pressing force corresponding to the first cluster based on the first usage parameter and the corresponding penalty coefficient may be as follows: in, represents the standard pressing force corresponding to the i-th cluster; represents the number of parameters used in the i-th cluster, where is a positive integer greater than 2; Represents the penalty coefficient corresponding to the jth usage parameter in the i-th cluster; Represents the pressing force in the jth usage parameter in the ith cluster. In this embodiment, the standard pressing force is adjusted by the penalty coefficient so that the standard pressing force approaches the pressing force of a normal user at this age. It is easy to understand that in this embodiment, if the operator is older and has a longer working time, the pressing force applied to the membrane switch is increased accordingly by the penalty coefficient. If the operator is younger and has a shorter working time, the pressing force applied to the membrane switch is decreased accordingly by the penalty coefficient so that the obtained standard pressing force approaches the pressing force of a normal user at this age.
[0051] Step S230: Obtain the gender ratio of operators in the usage database.
[0052] As can be seen from the above, the pressing force of the membrane switch by male and female operators is also different. It is easy to understand that if the membrane switch operators are mostly female, the pressing force of the membrane switch is generally smaller when used, and if the membrane switch operators are mostly male, the pressing force of the membrane switch is generally larger when used. In other words, the maximum pressing force of the membrane switch when used is closely related to the gender ratio of the operators.
[0053] Step S240: obtaining a first maximum pressing force based on the male-female ratio and the standard pressing force corresponding to each cluster.
[0054] In this embodiment, the first maximum pressing force can be obtained based on the male-female ratio and the standard pressing force corresponding to each cluster in any reasonable manner. For example, in step S240, the calculation formula for obtaining the first maximum pressing force based on the male-female ratio and the standard pressing force corresponding to each cluster can be as follows: in, Indicates the first maximum pressing force; indicates the proportion of males using the operators in the database; Represents the average value of the standard pressing force corresponding to each male cluster; indicates the proportion of women using the operators in the database; Represents the average value of the standard pressing force corresponding to each female cluster.
[0055] Step S250: acquiring a first pressure parameter range based on the first maximum pressing force.
[0056] As can be seen from the foregoing, in this embodiment, the lower limit of the first pressure parameter range is the minimum triggering pressure of the membrane switch, and the upper limit of the first pressure parameter range is the first maximum pressing force.
[0057] Step S300: Generate test parameters based on the first pressure parameter range.
[0058] In an embodiment of the present application, the test parameters at least include the pressing force, pressing angle and pressing duration during the membrane switch test. It should be noted that the pressing force, pressing angle and pressing duration during the membrane switch test in the test parameters can be randomly generated. For example: the pressing force during the membrane switch test can be randomly generated within the first pressure parameter range, and the pressing angle and pressing duration during the membrane switch test can also be randomly generated. In this embodiment, the pressing angle during the test can be greater than or equal to the smallest pressing angle in the usage database, and less than or equal to the largest pressing angle in the usage database. The test pressing duration can be greater than or equal to the smallest pressing duration in the usage database, and less than or equal to the largest pressing duration in the usage database. It should be clear that randomly generating a certain value from a certain range of values is a mature technology and will not be elaborated here.
[0059] It should be noted that in the detection process, in order to improve the coverage of the test results, the detection is carried out by randomly generating test parameters, so as to simulate the randomness of the operator's pressing in the real use scenario and improve the authenticity of the detection results. The pressing angle has an impact on the pressing force. It should be clear that the minimum triggering pressure of the membrane switch refers to the minimum force that can successfully press the membrane switch in the direction perpendicular to the membrane switch. As can be seen from the foregoing, different users have different usage habits. If the applied force is not in the vertical direction and the magnitude of the applied force is equal to the minimum triggering pressure of the membrane switch, it is likely that the membrane switch will not be successfully pressed. In other words, if the randomly generated test parameter pressing angle is not perpendicular to the membrane switch, and the pressing force is close to the minimum triggering pressure of the membrane switch, the membrane switch may not be successfully pressed according to the test parameters. If the membrane switch cannot be successfully pressed, the test process is invalid, that is, the authenticity of the test results is poor.
[0060] In order to ensure that each test parameter can successfully press the membrane switch to improve the authenticity of the test result, in one embodiment of the present application, step S300 generates a test parameter based on the first pressure parameter range, including steps S310 to S350.
[0061] Step S310: Randomly generate a test angle and a test duration based on the usage database.
[0062] In this embodiment, the test angle is the pressing angle during the test, and the test duration is the pressing duration during the test. The test angle is greater than or equal to the smallest pressing angle in the usage database, and less than or equal to the largest pressing angle in the usage database. The test duration is greater than or equal to the smallest pressing duration in the usage database, and less than or equal to the largest pressing duration in the usage database.
[0063] Step S320: Based on the test angle, obtain the contact area during the test.
[0064] It is easy to understand that, in general, the more vertical the direction in which the finger presses the membrane switch, the larger the contact area between the finger and the membrane switch, and the smaller the pressing force required to successfully press the membrane switch. In other words, the larger the deviation between the pressing angle and the direction perpendicular to the membrane switch, the smaller the contact area between the finger and the membrane switch, that is, the greater the pressing force required to successfully press the membrane switch. Based on this, in step S320, based on the test angle, the calculation formula for obtaining the contact area during the test can be as follows: in, Indicates the contact area during the test corresponding to the xth test parameter; Indicates the maximum contact area of the membrane switch; It indicates the angle between the direction of the test angle in the xth test parameter and the direction of vertically pressing the membrane switch. It is easy to understand that in this embodiment, the larger the angle between the direction of the test angle and the direction of vertically pressing the membrane switch, that is, the greater the difference between the two pressing directions, the smaller the contact area during the test.
[0065] Step S330: Based on the contact area and the first pressure parameter range, a second pressure parameter range during testing is obtained.
[0066] In this embodiment, the second pressure parameter range during the test is obtained in order to subsequently randomly generate the test pressure in the test parameter from the second pressure parameter range. It is easy to understand that the more accurate the second pressure parameter range is, the more reasonable the test pressure obtained is. That is to say, in this embodiment, the second pressure parameter range includes the second minimum pressing force and the second maximum pressing force during the membrane switch test; the second minimum pressing force is greater than or equal to the first minimum pressing force; the second maximum pressing force is less than or equal to the first maximum pressing force.
[0067] As can be seen from the foregoing, the second minimum pressing force is positively correlated with the contact area during the test. If the contact area is smaller, the second minimum pressing force is larger; if the contact area is larger, the second minimum pressing force is smaller. In other words, in this embodiment, as long as the above rules are met, any reasonable method can be used to obtain the second pressure parameter range during the test based on the contact area and the first pressure parameter range. For example, in a specific embodiment of the present application, step S330, based on the contact area and the first pressure parameter range, obtains the second pressure parameter range during the test, including steps S331 to S333.
[0068] Step S331: Based on the first pressure parameter range, taking the first maximum pressing force as the second maximum pressing force.
[0069] In this embodiment, the upper limit of the second pressure parameter range is the second maximum pressing force.
[0070] Step S332: Based on the contact area and the first minimum pressing force, obtain the second minimum pressing force.
[0071] As can be seen from the foregoing, since the second minimum pressing force is related to the contact area during the test, the calculation formula for the second minimum pressing force can be as follows: in, Indicates the second minimum pressing force corresponding to the xth test parameter; Indicates the minimum triggering pressure of the membrane switch; Indicates the contact area during the test corresponding to the xth test parameter; Indicates the maximum contact area of the membrane switch.
[0072] Step S333: Based on the second minimum pressing force and the second maximum pressing force, obtain a second pressure parameter range during the test.
[0073] As can be seen from the foregoing, the upper limit of the second pressure parameter range is the second maximum pressing force, and the lower limit is the second minimum pressing force. If the second minimum pressing force and the second maximum pressing force are obtained, the second pressure parameter range is obtained.
[0074] Step S340: randomly generating a test pressure based on the second pressure parameter range.
[0075] In this embodiment, the test pressure is the pressing force during the test, and the test pressure is within the second pressure parameter range. In this embodiment, the pressing force generated based on the second pressure parameter range takes into account the pressing direction. Compared with the pressing force generated without considering the pressing direction, the pressing force randomly generated in this embodiment is more authentic. That is, the authenticity of the test results obtained subsequently is also higher.
[0076] Step S350: Generate a first test parameter based on the test angle, the test pressure and the test duration.
[0077] In this embodiment, the first test parameter is composed of a test angle, a test pressure and a test duration.
[0078] It should be clear that since the operator's pressing force when pressing the membrane switch cannot be as stable as a machine, that is, maintaining a stable pressing force, the pressing force fluctuates during the pressing process, so it is necessary to dynamically simulate the pressing force to further improve the authenticity of the detection result. Based on this, in one embodiment of the present application, in step S350, after generating the first test parameter based on the test angle, the test pressure and the test duration, the method also includes steps S360 to S380.
[0079] Step S360: Adjust the test angle and obtain the adjusted angle.
[0080] It should be clear that in the long-term working process, the pressure force of the operator on the membrane switch fluctuates greatly, while the fluctuation of the pressing angle is generally small. That is to say, in this embodiment, the test angle can be fine-tuned based on the test angle in the first test parameter. For example, the adjustment angle can be the test angle , or test angle wait.
[0081] Step S370: Based on the adjustment angle, obtain the adjusted contact area.
[0082] In this embodiment, based on the adjustment angle, the adjusted contact area is obtained, and the steps are the same as step S320, which will not be described in detail here.
[0083] Step S380: Generate a second test parameter based on the adjustment angle and the adjusted contact area.
[0084] In this embodiment, the step of generating the second test parameter based on the adjusted contact area refers to step S330 to step S350, which will not be described in detail here.
[0085] Step S400: Based on the test parameters, the membrane switch is tested to obtain a test result.
[0086] It should be noted that testing the membrane switch based on various test parameters (including the first test parameter and the second test parameter mentioned above) is a mature technology and will not be described in detail here. In this embodiment, the test results include electrical parameters (such as resistance and voltage, etc.), mechanical performance parameters (such as pressing stroke change and switch rebound speed, etc.) and working performance parameters (such as response delay and life, etc.) of the membrane switch.
[0087] Step S500: Generate a performance index based on the test results.
[0088] In this embodiment, the performance index is at least used to characterize the quality of the test performance of the membrane switch. In the embodiment of the present application, the performance index can be generated based on the test results in any reasonable manner. For example, by performing automated performance tests on a batch of membrane switches for their application scenarios, a large number of test result samples are obtained. Based on these test result samples, the step of generating the performance index includes steps S510 to S540.
[0089] Step S510: pre-process each test result sample (data cleaning, etc.).
[0090] It should be clear that data cleaning is a mature technology and will not be discussed in detail here.
[0091] Step S520: according to the requirements of the membrane switch usage scenario, corresponding weights are set for data of different dimensions.
[0092] It should be clear that, based on the requirements of the usage scenario, setting corresponding weights for data of different dimensions is a mature technology and will not be elaborated here.
[0093] Step S530: for the preprocessed test result samples, respectively calculate the data means of different data dimensions.
[0094] It should be clear that calculating the average of multiple data values is a mature technology and will not be described in detail here.
[0095] Step S540: Generate a performance index based on the data means of different data dimensions and the weights of the data of different dimensions. The calculation formula for generating the performance index is as follows: in, represents the performance index corresponding to the membrane switch; m represents the number of data of different dimensions; Represents the weight corresponding to the v-th dimension data; Represents the data mean corresponding to the v-th dimension data; Represents the normalization function, which is used to The value of is normalized to [0, 1] and the dimension is removed.
[0096] In this embodiment, the quality of the membrane switch is directly judged based on the performance index. For example, a threshold value can be set. If the performance index is less than a preset value, it can be considered that the current batch of membrane switches does not meet the usage requirements of the scene; if the performance index is greater than or equal to the preset value, it can be considered that the current batch of membrane switches meets the usage requirements of the scene.
[0097] It should be clear that the embodiment of the automatic performance detection method of the membrane switch proposed in this application randomly generates test parameters of different pressing parameter combinations, thereby simulating the situation of an operator pressing a membrane switch in real situations, thereby improving the authenticity of the automatic performance detection results. In addition, this application can analyze the operator's relevant data based on the specific usage scenario of the membrane switch, thereby generating a corresponding parameter range based on the operator's characteristics, thereby improving the pertinence of the automatic performance detection.
[0098] After introducing the automatic performance detection method of the membrane switch proposed in the embodiment of the present application, the following introduces an automatic performance detection device of the membrane switch proposed in the present application. Figure 2 As shown, the automatic performance detection device 10 of the membrane switch includes: The reading module 11 is used to form a usage database based on multiple usage parameters of the membrane switch; each usage parameter is acquired in advance, and each usage parameter at least includes the pressing force, pressing angle, pressing time, operator's gender, age, and working time when the membrane switch is used; The processing module 12 is used to obtain a first pressure parameter range based on the usage database; the first pressure parameter range includes a first minimum pressing force and a first maximum pressing force during the membrane switch test; the first minimum pressing force is a minimum triggering pressure of the membrane switch; And, based on the first pressure parameter range, generating test parameters; the test parameters at least include the pressing force, pressing angle and pressing duration during the membrane switch test; and, based on the test parameters, testing the membrane switch to obtain a test result; And, based on the test results, a performance index is generated; the performance index is at least used to characterize the quality of the test performance of the membrane switch.
[0099] As a specific embodiment of the present application, the processing module 12 is further used to obtain multiple clusters based on the usage database using a clustering algorithm; the age span of each cluster is 5 years old, and the gender of the operator in each usage parameter in the same cluster is the same; And, based on each cluster, obtaining a standard pressing force corresponding to each cluster; the standard pressing force is at least used to characterize an average pressing force of each operator in each cluster; and obtaining the male-female ratio of operators in the usage database; and, obtaining a first maximum pressing force based on the male-female ratio and the standard pressing force corresponding to each cluster; And, based on the first maximum pressing force, a first pressure parameter range is obtained.
[0100] As a specific embodiment of the present application, the reading module 11 is further used to obtain a first cluster based on each cluster; the first cluster is any cluster among the clusters; The processing module 12 is further configured to obtain a first usage parameter based on the first cluster; the first usage parameter is any usage parameter other than the usage parameter with the maximum pressing force and the usage parameter with the minimum pressing force in the first cluster; And, based on the first usage parameter, a corresponding penalty coefficient is obtained; the penalty coefficient at least represents the size of the product of the age value and the working hours value corresponding to the first usage parameter; And, based on the first usage parameter and the corresponding penalty coefficient, a standard pressing force corresponding to the first cluster is obtained.
[0101] As a specific embodiment of the present application, the processing module 12 obtains the calculation formula of the standard pressing force corresponding to the first cluster based on the first usage parameter and the corresponding penalty coefficient as follows: in, represents the standard pressing force corresponding to the i-th cluster; represents the number of parameters used in the i-th cluster, where is a positive integer greater than 2; Represents the penalty coefficient corresponding to the jth usage parameter in the i-th cluster; represents the pressing intensity in the jth usage parameter in the i-th cluster; represents the value of the working time in the jth usage parameter in the i-th cluster, where Greater than 0; represents the value of the operator's age in the jth usage parameter in the i-th cluster; It indicates that the normalization function is used to map the values in the brackets to the interval [-0.5, 0.5].
[0102] As a specific embodiment of the present application, the processing module 12 obtains the calculation formula of the first maximum pressing force based on the male-female ratio and the standard pressing force corresponding to each cluster as follows: in, Indicates the first maximum pressing force; indicates the proportion of males using the operators in the database; Represents the average value of the standard pressing force corresponding to each male cluster; indicates the proportion of women using the operators in the database; Represents the average value of the standard pressing force corresponding to each female cluster.
[0103] As a specific embodiment of the present application, the processing module 12 is further used to randomly generate a test angle and a test duration based on the usage database; the test angle is the pressing angle during the test; the test duration is the pressing duration during the test; the test angle is greater than or equal to the minimum pressing angle in the usage database, and less than or equal to the maximum pressing angle in the usage database; the test duration is greater than or equal to the minimum pressing duration in the usage database, and less than or equal to the maximum pressing duration in the usage database; and, based on the test angle, obtaining a contact area during the test; and, based on the contact area and the first pressure parameter range, obtaining a second pressure parameter range during the test; the second pressure parameter range includes a second minimum pressing force and a second maximum pressing force during the membrane switch test; the second minimum pressing force is greater than or equal to the first minimum pressing force; the second maximum pressing force is less than or equal to the first maximum pressing force; And, based on the second pressure parameter range, randomly generate a test pressure; the test pressure is the pressing force during the test; the test pressure is within the second pressure parameter range; And, based on the test angle, the test pressure and the test duration, a first test parameter is generated.
[0104] As a specific embodiment of the present application, the processing module 12 is further configured to use the first maximum pressing force as the second maximum pressing force based on the first pressure parameter range; and, based on the contact area and the first minimum pressing force, obtaining the second minimum pressing force; And, based on the second minimum pressing force and the second maximum pressing force, a second pressure parameter range during the test is obtained.
[0105] As a specific embodiment of the present application, the processing module 12 is further used to adjust the test angle to obtain an adjustment angle; and, based on the adjustment angle, obtaining an adjusted contact area; And, based on the adjustment angle and the adjusted contact area, a second test parameter is generated.
[0106] It should be clear that the embodiment of the automatic performance detection device for the membrane switch proposed in this application randomly generates test parameters of different pressing parameter combinations, thereby simulating the situation of an operator pressing a membrane switch in real situations, thereby improving the authenticity of the automatic performance detection results. In addition, this application can analyze the operator's relevant data based on the specific usage scenario of the membrane switch, thereby generating a corresponding parameter range based on the operator's characteristics, thereby improving the pertinence of the automatic performance detection.
[0107] After introducing the automatic performance detection device of the membrane switch proposed in the embodiment of the present application, the following introduces an automatic performance detection system of the membrane switch proposed in the present application. Figure 3 As shown, the membrane switch automatic performance detection system 20 includes: The reader 21 is used to form a usage database based on multiple usage parameters of the membrane switch; each usage parameter is acquired in advance, and each usage parameter at least includes the pressing force, pressing angle, pressing time, operator's gender, age, and working time when the membrane switch is used; The processor 22 is used to obtain a first pressure parameter range based on the usage database; the first pressure parameter range includes a first minimum pressing force and a first maximum pressing force during the membrane switch test; the first minimum pressing force is a minimum triggering pressure of the membrane switch; And, based on the first pressure parameter range, generating test parameters; the test parameters at least include the pressing force, pressing angle and pressing duration during the membrane switch test; and, based on the test parameters, testing the membrane switch to obtain a test result; And, based on the test results, a performance index is generated; the performance index is at least used to characterize the quality of the test performance of the membrane switch.
[0108] As a specific embodiment of the present application, the processor 22 is further used to obtain multiple clusters based on the usage database using a clustering algorithm; the age span of each cluster is 5 years old, and the gender of the operator in each usage parameter in the same cluster is the same; And, based on each cluster, obtaining a standard pressing force corresponding to each cluster; the standard pressing force is at least used to characterize an average pressing force of each operator in each cluster; and obtaining the male-female ratio of operators in the usage database; and, obtaining a first maximum pressing force based on the male-female ratio and the standard pressing force corresponding to each cluster; And, based on the first maximum pressing force, a first pressure parameter range is obtained.
[0109] As a specific embodiment of the present application, the reader 21 is further used to obtain a first cluster based on each cluster; the first cluster is any cluster among the clusters; The processor 22 is further configured to obtain a first usage parameter based on the first cluster; the first usage parameter is any usage parameter other than the usage parameter with the maximum pressing force and the usage parameter with the minimum pressing force in the first cluster; And, based on the first usage parameter, a corresponding penalty coefficient is obtained; the penalty coefficient at least represents the size of the product of the age value and the working hours value corresponding to the first usage parameter; And, based on the first usage parameter and the corresponding penalty coefficient, a standard pressing force corresponding to the first cluster is obtained.
[0110] As a specific embodiment of the present application, the processor 22 obtains the calculation formula of the standard pressing force corresponding to the first cluster based on the first usage parameter and the corresponding penalty coefficient as follows: in, represents the standard pressing force corresponding to the i-th cluster; represents the number of parameters used in the i-th cluster, where is a positive integer greater than 2; Represents the penalty coefficient corresponding to the jth usage parameter in the i-th cluster; represents the pressing intensity in the jth usage parameter in the i-th cluster; represents the value of the working time in the jth usage parameter in the i-th cluster, where Greater than 0; represents the value of the operator's age in the jth usage parameter in the i-th cluster; It indicates that the normalization function is used to map the values in the brackets to the interval [-0.5, 0.5].
[0111] As a specific embodiment of the present application, the processor 22 obtains the calculation formula of the first maximum pressing force based on the male-female ratio and the standard pressing force corresponding to each cluster as follows: in, Indicates the first maximum pressing force; indicates the proportion of males using the operators in the database; Represents the average value of the standard pressing force corresponding to each male cluster; indicates the proportion of women using the operators in the database; Represents the average value of the standard pressing force corresponding to each female cluster.
[0112] As a specific embodiment of the present application, the processor 22 is further used to randomly generate a test angle and a test duration based on the usage database; the test angle is the pressing angle during the test; the test duration is the pressing duration during the test; the test angle is greater than or equal to the minimum pressing angle in the usage database, and less than or equal to the maximum pressing angle in the usage database; the test duration is greater than or equal to the minimum pressing duration in the usage database, and less than or equal to the maximum pressing duration in the usage database; and, based on the test angle, obtaining a contact area during the test; and, based on the contact area and the first pressure parameter range, obtaining a second pressure parameter range during the test; the second pressure parameter range includes a second minimum pressing force and a second maximum pressing force during the membrane switch test; the second minimum pressing force is greater than or equal to the first minimum pressing force; the second maximum pressing force is less than or equal to the first maximum pressing force; And, based on the second pressure parameter range, randomly generate a test pressure; the test pressure is the pressing force during the test; the test pressure is within the second pressure parameter range; And, based on the test angle, the test pressure and the test duration, a first test parameter is generated.
[0113] As a specific embodiment of the present application, the processor 22 is further configured to use the first maximum pressing force as the second maximum pressing force based on the first pressure parameter range; and, based on the contact area and the first minimum pressing force, obtaining the second minimum pressing force; And, based on the second minimum pressing force and the second maximum pressing force, a second pressure parameter range during the test is obtained.
[0114] As a specific embodiment of the present application, the processor 22 is further used to adjust the test angle and obtain the adjustment angle; and, based on the adjustment angle, obtaining an adjusted contact area; And, based on the adjustment angle and the adjusted contact area, a second test parameter is generated.
[0115] It should be clear that the embodiment of the automated performance detection system for membrane switches proposed in this application randomly generates test parameters of different pressing parameter combinations, thereby simulating the situation of an operator pressing a membrane switch in real situations, thereby improving the authenticity of the automated performance detection results. In addition, this application can analyze the operator's relevant data based on the specific usage scenarios of the membrane switch, thereby generating a corresponding parameter range based on the operator's characteristics, thereby improving the pertinence of the automated performance detection.
[0116] It should be clear that the computer-readable storage media in this application include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs or other data. Examples of computer storage media include, but are not limited to, phase change memory, static random access memory, dynamic random access memory, other types of random access memory, read-only memory, electrically erasable programmable read-only memory, flash memory or other memory technology, read-only compact disc read-only memory, digital versatile disc or other optical storage, magnetic cassettes, disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media, such as modulated data signals and carrier waves.
[0117] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0118] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the methods, devices and equipment described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0119] In the several embodiments provided in the embodiments of the present application, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0120] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0121] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium.
[0122] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0123] The computer program product includes one or more computer instructions. When the computer program is loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disk), or a semiconductor medium (e.g., a solid-state drive (SSD)).
[0124] Although the embodiments of the present application have been shown and described, it will be appreciated by those skilled in the art that many changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles of the present application.
Claims
1. A method for automatically detecting the performance of a membrane switch, characterized in that: include: Based on multiple usage parameters of the membrane switch, a usage database is formed; each usage parameter is acquired in advance, and each usage parameter at least includes the pressing force, pressing angle, pressing time, operator's gender, age, and working time when the membrane switch is used; Based on the usage database, a first pressure parameter range is acquired; the first pressure parameter range includes a first minimum pressing force and a first maximum pressing force during the membrane switch test; the first minimum pressing force is a minimum triggering pressure of the membrane switch; Based on the first pressure parameter range, generating test parameters; the test parameters at least include the pressing force, pressing angle and pressing duration during the membrane switch test; Based on the test parameters, the membrane switch is tested to obtain a test result; generating a performance index based on the test results; The performance index is at least used to characterize the quality of the test performance of the membrane switch.
2. The automatic performance detection method of a membrane switch according to claim 1, characterized in that: The obtaining of a first pressure parameter range based on the usage database includes: Based on the usage database, a clustering algorithm is used to obtain multiple clusters; the age span of each cluster is N years, and the gender of operators in each usage parameter in the same cluster is the same; wherein N is an integer greater than or equal to 2; Based on each cluster, a standard pressing force corresponding to each cluster is obtained; the standard pressing force is at least used to characterize an average pressing force of each operator in each cluster; Obtaining the male-female ratio of operators in the usage database; Obtaining a first maximum pressing force based on the male-female ratio and the standard pressing force corresponding to each cluster; A first pressure parameter range is acquired based on the first maximum pressing force.
3. The automatic performance detection method of a membrane switch according to claim 2, characterized in that: The step of obtaining the standard pressing force corresponding to each cluster based on each cluster includes: Based on each clustering cluster, a first clustering cluster is obtained; the first clustering cluster is any clustering cluster among each clustering cluster; Based on the first cluster, a first usage parameter is acquired; the first usage parameter is any usage parameter except the usage parameter with the largest pressing force and the usage parameter with the smallest pressing force in the first cluster; Based on the first usage parameter, a corresponding penalty coefficient is obtained; the penalty coefficient at least represents the size of the product of the age value and the working time value corresponding to the first usage parameter; Based on the first usage parameter and the corresponding penalty coefficient, a standard pressing force corresponding to the first cluster is obtained.
4. The automatic performance detection method of a membrane switch according to claim 3, characterized in that: The calculation formula for obtaining the standard pressing force corresponding to the first cluster based on the first usage parameter and the corresponding penalty coefficient is as follows: in, represents the standard pressing force corresponding to the i-th cluster; represents the number of parameters used in the i-th cluster, where is a positive integer greater than 2; Represents the penalty coefficient corresponding to the jth usage parameter in the i-th cluster; represents the pressing intensity in the jth usage parameter in the i-th cluster; represents the value of the working time in the jth usage parameter in the i-th cluster, where Greater than 0; represents the value of the operator's age in the jth usage parameter in the i-th cluster; It indicates that the normalization function is used to map the values in the brackets to the interval [-0.5, 0.5].
5. The automated performance detection method for a membrane switch according to any one of claims 2 to 4, characterized in that: The calculation formula for obtaining the first maximum pressing force based on the male-female ratio and the standard pressing force corresponding to each cluster is as follows: in, Indicates the first maximum pressing force; indicates the proportion of males using the operators in the database; Represents the average value of the standard pressing force corresponding to each male cluster; indicates the proportion of women using the operators in the database; Represents the average value of the standard pressing force corresponding to each female cluster.
6. The method for automatic performance detection of a membrane switch according to claim 5, characterized in that: The test parameter includes a first test parameter, and the generating of the test parameter based on the first pressure parameter range includes: Based on the usage database, a test angle and a test duration are randomly generated; the test angle is the pressing angle during the test; the test duration is the pressing duration during the test; the test angle is greater than or equal to the smallest pressing angle in the usage database, and less than or equal to the largest pressing angle in the usage database; the test duration is greater than or equal to the smallest pressing duration in the usage database, and less than or equal to the largest pressing duration in the usage database; Based on the test angle, obtaining the contact area during the test; Based on the contact area and the first pressure parameter range, a second pressure parameter range during the test is obtained; the second pressure parameter range includes a second minimum pressing force and a second maximum pressing force during the membrane switch test; the second minimum pressing force is greater than or equal to the first minimum pressing force; the second maximum pressing force is less than or equal to the first maximum pressing force; Based on the second pressure parameter range, a test pressure is randomly generated; the test pressure is the pressing force during the test; the test pressure is within the second pressure parameter range; A first test parameter is generated based on the test angle, the test pressure and the test duration.
7. The method for automatic performance detection of a membrane switch according to claim 6, characterized in that: The test parameters further include a second test parameter, and obtaining the second pressure parameter range during the test based on the contact area and the first pressure parameter range includes: Based on the first pressure parameter range, using the first maximum pressing force as the second maximum pressing force; Based on the contact area and the first minimum pressing force, acquiring the second minimum pressing force; Based on the second minimum pressing force and the second maximum pressing force, a second pressure parameter range during testing is acquired.
8. The method for automatic performance detection of a membrane switch according to claim 6, characterized in that: After generating the first test parameter based on the test angle, the test pressure and the test duration, the method further includes: Adjusting the test angle to obtain an adjusted angle; Based on the adjustment angle, obtaining an adjusted contact area; A second test parameter is generated based on the adjustment angle and the adjusted contact area.
9. An automatic performance detection device for a membrane switch, characterized in that: include: A reading module, used to form a usage database based on multiple usage parameters of the membrane switch; each usage parameter is acquired in advance, and each usage parameter at least includes the pressing force, pressing angle, pressing time, operator's gender, age, and working time when the membrane switch is used; A processing module, configured to obtain a first pressure parameter range based on the usage database; the first pressure parameter range includes a first minimum pressing force and a first maximum pressing force during the membrane switch test; the first minimum pressing force is a minimum triggering pressure of the membrane switch; And, based on the first pressure parameter range, generating test parameters; the test parameters at least include the pressing force, pressing angle and pressing duration during the membrane switch test; and, based on the test parameters, testing the membrane switch to obtain a test result; and, based on the test results, generating a performance index; The performance index is at least used to characterize the quality of the test performance of the membrane switch.
10. An automated performance testing system for a membrane switch, characterized in that: include: A reader, used to form a usage database based on multiple usage parameters of the membrane switch; each usage parameter is acquired in advance, and each usage parameter at least includes the pressing force, pressing angle, pressing time, operator's gender, age, and working time when the membrane switch is used; A processor, configured to obtain a first pressure parameter range based on the usage database; the first pressure parameter range includes a first minimum pressing force and a first maximum pressing force during the membrane switch test; the first minimum pressing force is a minimum triggering pressure of the membrane switch; And, based on the first pressure parameter range, generating test parameters; the test parameters at least include the pressing force, pressing angle and pressing duration during the membrane switch test; and, based on the test parameters, testing the membrane switch to obtain a test result; and, based on the test results, generating a performance index; The performance index is at least used to characterize the quality of the test performance of the membrane switch.
Citation Information
Patent Citations
Pressure testing method and device and computing equipment
CN112445708A
Equipment data query method and device, server and computer readable storage medium
CN114356958A
Membrane switch key test equipment based on pressing overload
CN118858932A
Method and system for processing pressure sensing signal
US20170123580A1
Test method, system, readable storage medium and electronic device for process control
US20210149782A1