Search

CN-121632569-B - Key life test method, automatic test system and computer readable storage medium

CN121632569BCN 121632569 BCN121632569 BCN 121632569BCN-121632569-B

Abstract

The application discloses a key life test method, an automatic test system and a computer readable storage medium, which comprise the steps of obtaining a target key to be tested, automatically matching and calling a corresponding target test template based on a preset key type database, obtaining initial reference parameters of the target key, taking the initial reference parameters as a reference threshold value of failure judgment, responding to a test instruction, driving an executing mechanism to carry out cyclic pressing test on the target key by using recommended parameters, synchronously collecting multidimensional parameters of the target key when each pressing test is carried out, comparing the multidimensional parameters with the reference threshold value and the recommended parameters based on a failure judgment model to carry out failure judgment and/or trend pre-judgment of the key, and when a trigger condition of the failure judgment is met, confirming that the target key fails, and controlling the executing mechanism to stop the test. Therefore, different target test templates are called for testing according to different keys, so that the universality is high, the test precision is high, and the test efficiency is high.

Inventors

  • YANG TAO

Assignees

  • 赫比(上海)家用电器产品有限公司

Dates

Publication Date
20260512
Application Date
20260205

Claims (9)

  1. 1. The key life test method is characterized by comprising the following steps of: Acquiring a target key to be tested, automatically matching and calling a corresponding target test template based on a preset key type database, wherein the target test template comprises recommended parameters of the target key; the target key is quickly fixed and adapted based on an adjustable clamping and quick-change pressure head in the target test template control ‌ quick-fit clamping mechanism; Acquiring initial reference parameters of the target key, and taking the initial reference parameters as a reference threshold value of failure judgment; Responding to a test instruction, driving an executing mechanism to carry out cyclic pressing test on the target key by using the recommended parameter, and synchronously collecting multidimensional parameters of the target key when each pressing test is carried out; comparing the multidimensional parameter with the reference threshold and the recommended parameter based on a failure judgment model so as to perform failure judgment and/or trend pre-judgment of keys; And when the triggering condition of failure judgment is met, confirming that the target key fails, and controlling the executing mechanism to stop testing.
  2. 2. The key life test method of claim 1, wherein the recommended parameters include a number of presses, a frequency, a target travel window, a target force value, and a preset response time; the initial reference parameters comprise an initial pressing force value, an initial stroke, an initial contact resistance and an initial response time; the multidimensional parameters comprise an actual force value, an actual stroke, an actual contact resistance and an actual response time.
  3. 3. The key life testing method of claim 2, wherein the trigger condition includes at least one of: the actual force value is not lower than 1.1 times the target force value; The actual contact resistance is not lower than 1.5 times the initial contact resistance; the actual travel exceeds the target travel window; The actual response time exceeds the upper limit value of the preset response time.
  4. 4. The key life testing method of claim 1, wherein the obtaining the initial reference parameters of the target key, then comprises: Comparing the initial reference parameter with the recommended parameter; If the parameters are not matched, outputting confirmation reminding information to remind the user to confirm the initial reference parameters.
  5. 5. The key life testing method of claim 1, wherein the comparing the multidimensional parameter with the reference threshold and the recommended parameter based on the failure determination model to make failure determination and/or trend prediction comprises: comparing the multi-dimensional parameters acquired in a single mode with the reference threshold value and the recommended parameters based on the failure judgment model, and performing failure judgment; and carrying out trend prediction according to the change trend ‌ of the multidimensional parameter in a plurality of continuous monitoring periods based on the failure judgment model.
  6. 6. The key life testing method of claim 1, wherein the driving the actuator to perform the cyclic press test on the target key with the recommended parameter in response to the test command comprises: when the target key is confirmed to need to be subjected to waterproof test, enabling waterproof seal adaptation logic; performing air pressure attenuation detection, visual AI detection and charging interface probe detection on the target key; and when any detection failure exists, marking the target key, and skipping the waterproof test.
  7. 7. The key life test method of claim 1, wherein when the trigger condition of the failure determination is satisfied, confirming that the target key is failed, controlling the actuator to stop the test, and then comprising: and after the test for the target key is finished, generating a test report according to the initial reference parameter and the multidimensional parameter, wherein the test report comprises the initial reference parameter, the multidimensional parameter change curve, the failure point and a test result.
  8. 8. An automated test system for implementing the key life test method of any of claims 1 to 7, comprising: The control mechanism ‌ is used for acquiring a target key to be tested, automatically matching and calling a corresponding target test template based on a preset key type database, wherein the target test template comprises recommended parameters of the target key; the executing mechanism ‌ is used for controlling the adjustable clamping and quick-change pressure head in the ‌ quick-fit clamping mechanism based on the target test template to quickly fix and fit the target key, and responding to the test instruction to drive the executing mechanism to circularly press and test the target key by the recommended parameter; the sensing acquisition unit ‌ is used for synchronously acquiring the multidimensional parameters of the target key in a cyclic pressing test; The control mechanism ‌ is further configured to compare the multidimensional parameter with the reference threshold and the recommended parameter based on a failure determination model, so as to perform failure determination and/or trend pre-determination of the key, and confirm that the target key fails when a triggering condition of the failure determination is satisfied, control the execution mechanism to stop testing, and generate a test report.
  9. 9. A computer-readable storage medium, characterized in that a computer program is stored, which, when being executed by a processor, implements the steps of the key life test method of any one of claims 1 to 7.

Description

Key life test method, automatic test system and computer readable storage medium Technical Field The present invention relates to the field of key testing technologies, and in particular, to a key life testing method, an automatic testing system, and a computer readable storage medium. Background The service life of the key is a core index of the reliability of the whole machine of the electronic and daily product, and the testing result directly determines the delivery quality of the product. The existing key life test method has obvious defects, and is difficult to meet the industrial batch test requirement. For example, manual pressing test is to rely on manual repeated operation, so that the problems of unstable beat and inconsistent pressing force exist, and special equipment test is to design independent test equipment aiming at different types of keys such as a keyboard, a mobile phone, an electric toothbrush and the like, the clamp and the pressure head cannot be used universally, the whole equipment is required to be replaced in replacement test, the equipment investment cost is high, the occupied area is large, and the test preparation time is greatly prolonged. In addition, the failure judgment of the existing test method is single and lagged, key parameters such as force value, stroke, contact resistance and response time in the pressing test process cannot be monitored, the key failure critical point is easy to be missed, and the test mechanism cannot be automatically stopped when abnormality occurs, so that the test sample and the tool are easy to damage. Therefore, it is highly desirable to provide a key life testing method, an automated testing system and a computer readable storage medium, which solve the above-mentioned technical problems. Disclosure of Invention The application aims to provide a key life test method, an automatic test system and a computer readable storage medium, which can call different target test templates for different keys to test, record multidimensional parameters of the keys in real time in the test process, and immediately control an executing mechanism to stop when judging that the keys fail through data such as the multidimensional parameters and the like, so as to avoid damage of test keys/test equipment. To achieve the above object: The embodiment of the application provides a key life testing method, which comprises the steps of obtaining a target key to be tested, automatically matching and calling a corresponding target testing template based on a preset key type database, obtaining initial reference parameters of the target key, taking the initial reference parameters as reference thresholds of failure judgment, responding to a testing instruction, driving an executing mechanism to carry out cyclic pressing test on the target key by the recommended parameters, synchronously collecting multidimensional parameters of the target key when each pressing test is carried out, comparing the multidimensional parameters with the reference thresholds and the recommended parameters based on a failure judgment model to carry out failure judgment and/or trend pre-judgment of the key, and when the triggering condition of the failure judgment is met, confirming that the target key fails, and controlling the executing mechanism to stop the test. In one embodiment, the recommended parameters include a number of presses, a frequency, a target stroke window, a target force value, and a preset response time, the initial reference parameters include an initial pressing force value, an initial stroke, an initial contact resistance, and an initial response time, and the multidimensional parameters include an actual force value, an actual stroke, an actual contact resistance, and an actual response time. In one embodiment, the triggering condition comprises at least one of the actual force value not being lower than 1.1 times the target force value, the actual contact resistance not being lower than 1.5 times the initial contact resistance, the actual stroke exceeding the target stroke window, and the actual response time exceeding an upper limit value of the preset response time. In one embodiment, the method comprises the steps of obtaining a target key to be tested, automatically matching and calling a corresponding target test template based on a preset key type database, and then controlling ‌ to quickly adapt an adjustable clamping and quick-change pressure head in a clamping mechanism based on the target test template to quickly fix and adapt the target key. In one embodiment, the method comprises the steps of obtaining initial reference parameters of the target key, comparing the initial reference parameters with the recommended parameters, and outputting confirmation reminding information to remind a user to confirm the initial reference parameters if the parameters are not matched. In one embodiment, the comparison of the multi-dimensional parameter with the reference