Key pressure testing methods, apparatus, equipment and media
By using button pressure testing equipment and methods, and utilizing pressing components and sensors to acquire pressing force and stroke data, and combining this with a mapping function to determine button qualification, the problem of button performance testing in electronic products has been solved, achieving efficient and accurate button quality assessment.
Patent Information
- Application Number
- CN202310007590.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-04
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2043-01-04
AI Technical Summary
Existing technology lacks effective methods and equipment to test the performance of buttons on electronic products and ensure that they meet user requirements.
A button pressure testing device is used to obtain the pressing force value and stroke through the cooperation of the pressing component and the pressing sensor. The quality of the button is judged by the mapping function, including the pressing stages of gradually increasing and decreasing pressure. The test accuracy is improved by combining the calibration sensor.
It provides a simple and intuitive method to accurately determine the pressure resistance and rebound ability of buttons, ensuring button quality. It is easy to operate and has a low cost.
Smart Images

Figure CN116222993B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic product testing technology, and more specifically, to a method, apparatus, equipment, and medium for testing button pressure. Background Technology
[0002] In recent years, with the rapid development of science and technology, various electronic products have gradually entered thousands of households and become necessities of life. Many electronic products are equipped with buttons to facilitate users in controlling various functions. Before leaving the factory, the buttons on the electronic products need to be tested to ensure that their performance meets the user's requirements.
[0003] Therefore, it is necessary to provide a testing method and equipment for buttons on electronic products. Summary of the Invention
[0004] One objective of this application is to provide a new technical solution for a button pressure testing method, apparatus, device, and medium.
[0005] According to a first aspect of this application, a key pressure testing method is provided, applied to a key pressure testing device, the key pressure testing device comprising:
[0006] A pressing component and a pressing sensor, wherein the pressing sensor is connected to the pressing component;
[0007] The testing method includes:
[0008] Control the movement of the pressing element to press the button on the product under test;
[0009] During the pressing phase where the pressing force applied by the pressing component to the button of the product under test gradually changes, the pressing force value collected by the pressing sensor and the travel distance of the pressing component are acquired.
[0010] A mapping function is obtained based on the pressing force value and the stroke.
[0011] The mapping function is used to determine whether the buttons on the product under test are qualified.
[0012] Optionally, during the pressing phase in which the pressing force applied by the pressing member to the button of the product under test gradually changes, the pressing force value collected by the pressing sensor and the travel distance of the pressing member are acquired.
[0013] A mapping function is obtained based on the pressing force value and the stroke.
[0014] Determining whether the buttons on the product under test are qualified based on the mapping function includes:
[0015] In the first pressing stage where the pressing force applied by the pressing component to the button of the product under test gradually increases, the first pressing force value collected by the pressing sensor and the first stroke of the pressing component are acquired.
[0016] A first mapping function is obtained based on the first pressing force value and the first stroke.
[0017] The first mapping function is used to determine whether the buttons on the product under test are qualified; and...
[0018] In the second pressing stage, when the pressing force applied by the pressing component to the button of the product under test gradually decreases, the second pressing force value collected by the pressing sensor and the second stroke of the pressing component are acquired.
[0019] A second mapping function is obtained based on the second pressing force value and the second stroke.
[0020] The second mapping function is used to determine whether the buttons on the product under test are qualified.
[0021] Optionally, before controlling the movement of the pressing element to press the button on the product under test, the testing method further includes:
[0022] The pressure sensor is calibrated.
[0023] Optionally, the button pressure testing device further includes a calibration sensor;
[0024] The calibration of the pressure sensor includes:
[0025] The pressure sensor is calibrated according to the calibration sensor so that the pressure value represented by the pressure sensor is the same as the pressure value represented by the calibration sensor.
[0026] Optionally, the button pressure testing device further includes a first driving component and a pressing module. Before controlling the pressing component to move and press the button of the product under test, the testing method further includes:
[0027] The first driving component is controlled to apply a driving force to the product under test and drive the product under test to move to the test station;
[0028] The pressing module is controlled to apply pressure to the product under test to fix the product under test.
[0029] Optionally, the button pressure testing device includes:
[0030] A base, wherein the pressing member is disposed on the base, and the pressing member is connected to the pressing sensor;
[0031] A first driving member is connected to the pressing member and is used to drive the pressing member to move in order to press the button of the product under test;
[0032] The base is also provided with a pressing module, a clamping fixture and a second driving component; the clamping fixture is used to install the product to be tested, and the second driving component can drive the clamping fixture and the product to be tested to move together, so that the product to be tested moves closer to or further away from the pressing module.
[0033] Optionally, the button pressure testing device further includes a calibration sensor, which is detachably connected to the base; and when the calibration sensor is connected to the base, the calibration sensor is located near the button pressure sensor.
[0034] According to a second aspect of this application, a button pressure testing device is provided, the testing device comprising:
[0035] A first control module is used to control the movement of the pressing element to press the button on the product under test;
[0036] The first acquisition module is used to acquire the pressing force value collected by the pressing sensor and the travel distance of the pressing component during the pressing phase when the pressing force applied by the pressing component to the button of the product under test gradually changes.
[0037] The second acquisition module is used to obtain a mapping function based on the pressing force value and the stroke.
[0038] The judgment module is used to determine whether the buttons of the product under test are qualified based on the mapping function.
[0039] Optionally, the first acquisition module includes a first sub-acquisition module and a second sub-acquisition module. The first sub-acquisition module is used to acquire the first pressing force value collected by the pressing sensor and the first stroke of the pressing component during the first pressing stage when the pressing force applied by the pressing component to the button of the product under test gradually increases.
[0040] The second sub-acquisition module is used to acquire the second pressing force value collected by the pressing sensor and the second stroke of the pressing component during the second pressing stage when the pressing force applied by the pressing component to the button of the product under test gradually decreases.
[0041] The second acquisition module includes a third sub-acquisition module and a fourth sub-acquisition module. The third sub-acquisition module is used to obtain a first mapping function based on the first pressing force value and the first stroke.
[0042] The fourth sub-acquisition module is used to obtain a second mapping function based on the second pressing force value and the second stroke.
[0043] The judgment module includes a first sub-judgment module and a second sub-judgment module. The first sub-judgment module is used to determine whether the buttons of the product under test are qualified according to the first mapping function.
[0044] The second sub-judgment module is used to determine whether the buttons of the product under test are qualified based on the second mapping function.
[0045] According to a third aspect of this application, a key pressure testing device is also provided, the key pressure testing device comprising:
[0046] Memory is used to store executable computer instructions;
[0047] A processor, configured to execute the key pressure test method according to the first aspect under the control of the executable computer instructions.
[0048] According to a fourth aspect of this application, a computer-readable storage medium is also provided, on which computer instructions are stored, which, when executed by a processor, perform the key pressure testing method described in the first aspect.
[0049] The button pressure testing method, apparatus, equipment, and medium provided in this application embodiment allow for precise feedback of button pressure testing. During the process of a pressing component moving to press a button on a product under test, the stroke of the pressing component changes, and the pressing force applied by the pressing component to the button on the product under test gradually changes. This change in pressing force can be accurately fed back by the pressing force value collected by the pressing sensor. The mapping function between the stroke of the pressing component and the pressing force value determines whether the button on the product under test is qualified. The determination method is simple and intuitive, and can effectively test the button pressure.
[0050] Other features and advantages of this application will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description
[0051] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments of the present application and, together with their description, serve to explain the principles of the present application.
[0052] Figures 1a-1c The diagram shown is a schematic representation of the key pressure testing device according to an embodiment of this application.
[0053] Figure 2 The diagram shown is a flowchart illustrating the steps of a button pressure testing method according to an embodiment of this application.
[0054] Figure 3The diagram shown is a schematic block diagram of the button pressure testing device according to an embodiment of this application;
[0055] Figure 4 The diagram shown is a schematic block diagram of the button pressure testing device according to an embodiment of this application.
[0056] Explanation of reference numerals in the attached figures:
[0057] 1. Testing equipment; 10. Base; 11. Pressing component; 12. Pressing sensor; 13. Calibration sensor; 14. First driving component; 15. Pressing module; 151. Pressure cap; 152. Cylinder; 16. Clamping fixture; 17. Second driving component; 18. Third driving component; 19. Connecting bracket. Detailed Implementation
[0058] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the present application.
[0059] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the scope of this application and its application or use.
[0060] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.
[0061] In all the examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.
[0062] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.
[0063] <Hardware Configuration>
[0064] Figures 1a-1cThis is a schematic diagram of a button pressure testing device according to an embodiment of the present disclosure. The button pressure testing device 1 includes a base 10, a pressing member 11, and a first driving member 14. The pressing member 11 is disposed on the base 10, and a pressing sensor 12 is connected to the pressing member 11. The first driving member 14 is connected to the pressing member 11 and is used to drive the pressing member 11 to move and press the button of the product under test. The base 10 is also provided with a second driving member 17, a pressing module 15, and a clamping fixture 16. The clamping fixture 16 is used to mount the product under test. The second driving member 17 can drive the clamping fixture 16 and the product under test to move together, so that the product under test moves closer to or away from the pressing module 15. The button pressure testing device also includes a calibration sensor 13, which is detachably connected to the base 10. When the calibration sensor 13 is connected to the base 10, the calibration sensor 13 is disposed near the pressing sensor 12. Optionally, the calibration sensor 13 is detachably connected to the base 10 via the connecting bracket 19.
[0065] Optionally, the pressing element 11 can be a pressing rod, one end of which is a pressing probe for pressing the button of the product under test, and the pressing sensor 12 is connected to the other end of the pressing element 11. The first driving element 14 is an electric cylinder, which can drive the pressing element 11 to move to press the button of the product under test.
[0066] Optionally, the second driving component 17 is an electric cylinder, which can drive the clamping fixture 16 to reciprocate in a first direction. The pressing module 15 includes a pressure cover 151 and a cylinder 152. The pressure cover 151 is used to press and fix the product to be tested, and the cylinder 152 is used to drive the pressure cover 151 to move so that the pressure cover 151 presses the product to be tested.
[0067] Optionally, the button pressure testing device also includes a third driving component 18, which is an electric cylinder that can drive the pressing component 11 to reciprocate in a second direction. When the product under test has multiple buttons, after the test of one button is completed, the position of the pressing component 11 is moved by the third driving component 18 to test other buttons.
[0068] In addition, the button pressure testing device may include multiple clamping fixtures 16, such as Figure 1a The four clamping fixtures 16 shown are also equipped with four pressing parts 11, each of which is connected to a first driving part 14. This allows four products to be tested on a single testing device, thereby improving testing efficiency.
[0069] Reference Figure 1a As shown, the first direction is direction a in the figure, and the second direction is direction b in the figure.
[0070] <Method Implementation>
[0071] Reference Figure 2 As shown, according to one embodiment of this application, a key pressure testing method is provided, which is applied to the aforementioned key pressure testing device 1. The testing method includes:
[0072] S101, Control the pressing member 11 to move to press the button of the product to be tested;
[0073] S102, during the pressing phase in which the pressing force applied by the pressing member 11 to the button of the product under test gradually changes, the pressing force value collected by the pressing sensor 12 and the travel distance of the pressing member 11 are obtained.
[0074] S103. Obtain a mapping function based on the pressing force value and the stroke;
[0075] S104. Determine whether the buttons of the product under test are qualified based on the mapping function.
[0076] The button pressure testing method provided in this application embodiment involves a change in the travel distance of the pressing member 11 during the pressing process of the pressing member 11 to press the button of the product under test. The pressing force applied by the pressing member 11 to the button of the product under test also gradually changes. This change in pressing force can be accurately fed back by the pressing force value collected by the pressing sensor 12. The method determines whether the button of the product under test is qualified based on the mapping function of the correspondence between the travel distance of the pressing member 11 and the pressing force value. The determination method is simple and intuitive, and can effectively test the button pressure.
[0077] Specifically, during the first pressing stage in which the pressing force applied by the pressing member 11 to the button of the product under test gradually increases, the first pressing force value collected by the pressing sensor 12 and the first stroke of the pressing member 11 are obtained.
[0078] A first mapping function is obtained based on the first pressing force value and the first stroke.
[0079] The first mapping function is used to determine whether the buttons on the product under test are qualified; and...
[0080] In the second pressing stage where the pressing force applied by the pressing member 11 to the button of the product under test gradually decreases, the second pressing force value collected by the pressing sensor 12 and the second stroke of the pressing member 11 are obtained.
[0081] A second mapping function is obtained based on the second pressing force value and the second stroke.
[0082] The second mapping function is used to determine whether the buttons on the product under test are qualified.
[0083] In the first pressing stage of pressing the button on the product under test by the pressing member 11, in step S101, the first driving member 14 is activated to drive the pressing member 11 to move, so that the pressing probe at one end of the pressing member 11 abuts against and presses the button on the product under test. Before controlling the pressing member 11 to move and press the button on the product under test, the second driving member 17 is activated. The second driving member 17 drives the clamping fixture 16, together with the pressing member 11, to move toward the testing station. The testing station corresponds to the position of the pressure cap 151. After the pressing member 11 moves to the testing station, the pressure cap 151, driven by the cylinder 152, moves toward the pressing member 11 and presses against the product under test to fix the product under test and prevent it from shifting during subsequent testing.
[0084] In step S102, during the first pressing stage of the pressing member 11 pressing the button of the product under test, as the travel distance of the pressing member 11 gradually increases, the pressing force applied by the pressing member 11 to the button of the product under test also gradually increases. The pressing force value applied by the pressing member 11 to the button of the product under test can be collected by the pressing sensor 12; the travel distance of the pressing member 11 pressing the product under test can be obtained by the travel distance of the first driving member 14.
[0085] In step S103, the first pressing force value collected by the pressure sensor 12 and the first stroke of the pressing member 11 are linearly regressed and fitted into a first straight line. In the first pressing stage, for a stroke value of the pressing member 11 and the corresponding pressing force value, a point is taken, for example, about 45 points in total. These 45 points are linearly regressed and fitted into a first straight line, which is the first mapping function that reflects the correspondence between the first pressing force value and the first stroke.
[0086] In step S104, the slope value b1 is calculated according to the first mapping function described above. The b1 value can measure the pressure resistance of the buttons on the product under test. For example, a first threshold value for b1 can be preset. When the obtained b1 value is less than or equal to the first threshold value, the buttons on the product under test are qualified; when the obtained b1 value is greater than the first threshold value, the buttons on the product under test are unqualified. When the product under test contains multiple buttons, if any one button is unqualified, the product under test is unqualified.
[0087] The button pressure testing method provided in this application is simple to operate, easy to calculate, and has a low cost.
[0088] In the second pressing stage where the pressing member 11 presses the button of the product under test, as the pressing stroke of the pressing member 11 on the product under test gradually increases, the pressing force exerted by the pressing member 11 on the button of the product under test gradually decreases. The numerical value of the pressing force exerted by the pressing member 11 on the button of the product under test can be collected by the pressing sensor 12; the pressing stroke of the pressing member 11 on the product under test can be obtained from the stroke of the first driving member 14.
[0089] The second pressing force value collected by the pressing sensor 12 and the second stroke of the pressing member 11 are linearly regressed and fitted into a second straight line. In the above-mentioned second pressing stage, for a stroke value of the movement of the pressing member 11 and the pressing force value corresponding to this stroke value, a point is taken. For example, about 20 points can be taken in total. These 20 points are linearly regressed and fitted into a second straight line, and this second straight line is the second mapping function reflecting the corresponding relationship between the second pressing force value and the second stroke.
[0090] According to the above-mentioned second mapping function, the slope value b2 is obtained. The value of b2 can measure the resilience ability of the button of the product under test. For example, a second threshold value of the b2 value can be preset in advance. When the obtained b2 value is less than or equal to the second threshold value, the button of the product under test is qualified; when the obtained b2 value is greater than the second threshold value, the button of the product under test is unqualified. When the product under test includes multiple buttons, as long as one of the buttons is unqualified, the product under test is unqualified.
[0091] By considering the second mapping function in the second pressing stage, a more comprehensive and reliable judgment can be made on the quality of the button of the product under test.
[0092] In one embodiment, before controlling the pressing member 11 to move to press the button of the product under test, the testing method further includes: calibrating the pressing sensor 12.
[0093] In this specific example, calibrating the pressing sensor 12 can improve the accuracy of the pressing force of the pressing member 11 reflected by the pressing sensor 12, thereby improving the accuracy of the test results.
[0094] In one embodiment, the button pressure testing device 1 further includes a calibration sensor 13;
[0095] The calibration of the pressing sensor 12 includes:
[0096] Calibrating the pressing sensor 12 according to the calibration sensor 13 to make the pressure value represented by the pressing sensor 12 the same as the pressure value represented by the calibration sensor 13.
[0097] For example, the calibration sensor 13 can first be calibrated using weights. Then, the calibration sensor 13 is mounted on the base 10 via the connecting bracket 19. Next, the pressing element 11 is controlled to press the calibration sensor 13, and it is determined whether the pressure value represented by the pressing sensor 12 is the same as that represented by the calibration sensor 13. If they are different, the pressing sensor 12 is calibrated until the pressure value represented by the pressing sensor 12 matches that represented by the calibration sensor 13. After calibration, the connecting bracket 19 and the calibration sensor 13 can be removed to prevent interference with subsequent testing. This calibration process does not require disassembling the pressing sensor 12, thus ensuring its stability.
[0098] <Device Embodiment>
[0099] Reference Figure 3 As shown, according to another embodiment of this application, a key pressure testing device 200 is provided, the testing device 200 comprising:
[0100] First control module 201, the first control module is used to control the movement of the pressing member 11 to press the button of the product to be tested;
[0101] The first acquisition module 202 is used to acquire the pressing force value collected by the pressing sensor 12 and the travel distance of the pressing member 11 during the pressing phase when the pressing force applied by the pressing member 11 to the button of the product under test gradually changes.
[0102] The second acquisition module 203 is used to obtain a mapping function based on the pressing force value and the stroke.
[0103] Judgment module 204 is used to determine whether the buttons of the product under test are qualified according to the mapping function.
[0104] The button pressure testing device provided in this application embodiment allows for precise feedback of button pressure testing. During the process of the pressing member 11 moving to press the button of the product under test, the travel distance of the pressing member 11 changes, and the pressing force applied by the pressing member 11 to the button of the product under test also gradually changes. This change in pressing force can be accurately fed back by the pressing force value collected by the pressing sensor 12. The device determines whether the button of the product under test is qualified based on the mapping function between the travel distance of the pressing member 11 and the pressing force value. The determination method is simple and intuitive, and can effectively test the button pressure. Specifically, in the first pressing stage where the pressing force applied by the pressing member 11 to the button of the product under test gradually increases, the first pressing force value collected by the pressing sensor 12 and the first travel distance of the pressing member 11 are obtained.
[0105] A first mapping function is obtained based on the first pressing force value and the first stroke.
[0106] The first mapping function is used to determine whether the buttons on the product under test are qualified; and...
[0107] In the second pressing stage where the pressing force applied by the pressing member 11 to the button of the product under test gradually decreases, the second pressing force value collected by the pressing sensor 12 and the second stroke of the pressing member 11 are obtained.
[0108] A second mapping function is obtained based on the second pressing force value and the second stroke.
[0109] The second mapping function is used to determine whether the buttons on the product under test are qualified.
[0110] In the first pressing stage where the pressing component 11 presses the button on the product under test, the first control module 201 controls the first driving component 14 to start, driving the pressing component 11 to move, so that the pressing probe at one end of the pressing component 11 abuts against and presses the button on the product under test. Before controlling the pressing component 11 to move and press the button on the product under test, the second driving component 17 is first activated. The second driving component 17 drives the clamping fixture 16, along with the pressing component 11, to move towards the testing station. The testing station corresponds to the position of the pressure cap 151. After the pressing component 11 moves to the testing station, the pressure cap 151, driven by the cylinder 152, moves towards the pressing component 11 and presses against the product under test to fix the product under test and prevent it from shifting during subsequent testing.
[0111] For the first acquisition module 202, during the first pressing stage of the pressing member 11 pressing the button of the product under test, as the travel distance of the pressing member 11 gradually increases, the pressing force applied by the pressing member 11 to the button of the product under test also gradually increases. The pressing force value applied by the pressing member 11 to the button of the product under test can be acquired by the pressing sensor 12; the travel distance of the pressing member 11 pressing the product under test can be obtained by the travel distance of the first driving member 14.
[0112] For the second acquisition module 203, the first pressing force value collected by the pressure sensor 12 and the first stroke of the pressing member 11 are linearly regressed and fitted into a first straight line. In the above-mentioned first pressing stage, for a stroke value of the pressing member 11 and the pressing force value corresponding to that stroke value, a point is taken, for example, about 45 points can be taken in total. These 45 points are linearly regressed and fitted into a first straight line, which is the first mapping function that reflects the correspondence between the first pressing force value and the first stroke.
[0113] For the judgment module 204, according to the above first mapping function, obtain its slope value b1. The value of b1 can measure the compressive resistance of the button of the product to be tested. For example, a first threshold value of the b1 value can be preset in advance. When the obtained b1 value is less than or equal to the first threshold value, the button of the product to be tested is qualified; when the obtained b1 value is greater than the first threshold value, the button of the product to be tested is unqualified. When the product to be tested contains multiple buttons, as long as one of the buttons is unqualified, the product to be tested is unqualified.
[0114] In the second pressing stage when the pressing member 11 presses the button of the product to be tested, as the pressing stroke of the pressing member 11 pressing the product to be tested gradually increases, the pressing force applied by the pressing member 11 to the button of the product to be tested gradually decreases. The numerical value of the pressing force applied by the pressing member 11 to the button of the product to be tested can be collected by the pressing sensor 12; the pressing stroke of the pressing member 11 pressing the product to be tested can be obtained through the stroke of the first driving member 14.
[0115] Linearly regress and fit the second pressing force value collected by the pressing sensor 12 and the second stroke of the pressing member 11 moving into a second straight line. In the above second pressing stage, for a stroke value of the pressing member 11 moving and the pressing force value corresponding to this stroke value, take a point. For example, about 20 points can be taken in total. Linearly regress and fit these 20 points into a second straight line. This second straight line is the second mapping function reflecting the corresponding relationship between the second pressing force value and the second stroke.
[0116] According to the above second mapping function, obtain its slope value b2. The value of b2 can measure the resilience of the button of the product to be tested. For example, a second threshold value of the b2 value can be preset in advance. When the obtained b2 value is less than or equal to the second threshold value, the button of the product to be tested is qualified; when the obtained b2 value is greater than the second threshold value, the button of the product to be tested is unqualified. When the product to be tested contains multiple buttons, as long as one of the buttons is unqualified, the product to be tested is unqualified.
[0117] By considering the second mapping function in the second pressing stage, a more comprehensive and reliable judgment can be made on the button quality of the product to be tested.
[0118] In one embodiment, the first acquisition module includes a first sub-acquisition module and a second sub-acquisition module. The first sub-acquisition module is used to obtain the first pressing force value collected by the pressing sensor 12 and the first stroke of the pressing member 11 moving in the first pressing stage when the pressing force applied by the pressing member 11 to the button of the product to be tested gradually increases.
[0119] The second sub-acquisition module is used to acquire the second pressing force value collected by the pressing sensor 12 and the second stroke of the pressing member 11 during the second pressing stage when the pressing force applied by the pressing member 11 to the button of the product under test gradually decreases.
[0120] The second acquisition module includes a third sub-acquisition module and a fourth sub-acquisition module. The third sub-acquisition module is used to obtain a first mapping function based on the first pressing force value and the first stroke.
[0121] The fourth sub-acquisition module is used to obtain a second mapping function based on the second pressing force value and the second stroke.
[0122] The judgment module includes a first sub-judgment module and a second sub-judgment module. The first sub-judgment module is used to determine whether the buttons of the product under test are qualified according to the first mapping function.
[0123] The second sub-judgment module is used to determine whether the buttons of the product under test are qualified based on the second mapping function.
[0124] According to yet another embodiment of this application, referring to Figure 4 As shown, a button pressure testing device 300 is provided, the button pressure testing device 300 includes:
[0125] Memory 301 is used to store executable computer instructions;
[0126] The processor 302 is configured to execute the key pressure test method as described above under the control of the executable computer instructions.
[0127] Computer-readable storage media
[0128] According to another embodiment of this application, a computer-readable storage medium is provided, on which computer instructions are stored, which, when executed by a processor, perform the key pressure test method as described above.
[0129] Embodiments of this disclosure may be systems, methods, and / or computer program products. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of the embodiments of this disclosure.
[0130] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination of the foregoing. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.
[0131] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.
[0132] Computer program instructions used to perform the operations of embodiments of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as the "C" language or similar programming languages. The computer-readable program instructions may execute entirely on a user's computer, partially on a user's computer, as a standalone software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing state information from the computer-readable program instructions. This electronic circuitry can execute the computer-readable program instructions to implement various aspects of embodiments of this disclosure.
[0133] Various aspects of embodiments of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0134] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0135] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0136] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation in hardware, implementation in software, and implementation using a combination of software and hardware are equivalent.
[0137] The various embodiments of this application have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical applications, or technological improvements to the embodiments in the market, or to enable others skilled in the art to understand the embodiments disclosed herein. The scope of this application is defined by the appended claims.
Claims
1. A method for testing button pressure, characterized in that, An instrument for testing the pressure of a button, wherein the button pressure testing instrument (1) comprises: The pressing element (11) and the pressing sensor (12) are connected to the pressing element (11); The testing method includes: Control the movement of the pressing element (11) to press the button of the product under test; During the pressing phase in which the pressing force applied by the pressing member (11) to the button of the product under test gradually changes, the pressing force value collected by the pressing sensor (12) and the travel distance of the pressing member (11) are obtained. A mapping function is obtained based on the pressing force value and the stroke. The mapping function is used to determine whether the buttons on the product under test are qualified. In the first pressing stage, when the stroke of the pressing member (11) pressing the product under test gradually increases and the pressing force applied by the pressing member (11) to the button of the product under test gradually increases, the first pressing force value collected by the pressing sensor (12) and the first stroke of the pressing member (11) are obtained. A first mapping function is obtained based on the first pressing force value and the first stroke. The first mapping function is used to determine whether the buttons on the product under test are qualified; and... In the second pressing stage, when the stroke of the pressing member (11) pressing the product under test gradually increases and the pressing force applied by the pressing member (11) to the button of the product under test gradually decreases, the second pressing force value collected by the pressing sensor (12) and the second stroke of the pressing member (11) are obtained. A second mapping function is obtained based on the second pressing force value and the second stroke. The second mapping function is used to determine whether the buttons on the product under test are qualified.
2. The button pressure testing method according to claim 1, characterized in that, The button pressure testing device (1) further includes a calibration sensor (13); before controlling the pressing element (11) to move and press the button of the product under test, the testing method further includes: The pressure sensor (12) is calibrated according to the calibration sensor (13) so that the pressure value represented by the pressure sensor (12) is the same as the pressure value represented by the calibration sensor (13).
3. The button pressure testing method according to claim 1, characterized in that, The button pressure testing device (1) further includes a first driving component (14) and a pressing module (15). Before controlling the pressing component (11) to move and press the button of the product under test, the testing method further includes: Control the first driving component (14) to apply driving force to the product under test and drive the product under test to move to the test station; The pressing module (15) is controlled to apply pressure to the product under test to fix the product under test.
4. The button pressure testing method according to claim 1, characterized in that, The button pressure testing device includes: Base (10); The pressing member (11) is disposed on the base (10), and the pressing member (11) is connected to the pressing sensor (12). A first driving member (14) is connected to the pressing member (11) and is used to drive the pressing member (11) to move to press the button of the product under test; The base (10) is also provided with a pressing module (15), a clamping fixture (16) and a second driving member (17); the clamping fixture (16) is used to install the product to be tested, and the second driving member (17) can drive the clamping fixture (16) and the product to be tested to move together so that the product to be tested moves closer to or further away from the pressing module (15).
5. The button pressure testing method according to claim 4, characterized in that, The button pressure testing device also includes a calibration sensor (13), which is detachably connected to the base (10); and when the calibration sensor (13) is connected to the base (10), the calibration sensor (13) is located near the press sensor (12).
6. A button pressure testing device, characterized in that, An instrument for testing the pressure of a button, wherein the button pressure testing instrument (1) comprises: The pressing element (11) and the pressing sensor (12) are connected to the pressing element (11); The testing apparatus includes: The first control module is used to control the movement of the pressing element (11) to press the button of the product to be tested; The first acquisition module is used to acquire the pressing force value collected by the pressing sensor (12) and the travel distance of the pressing member (11) during the pressing phase when the pressing force applied by the pressing member (11) to the button of the product under test gradually changes. The first acquisition module is specifically used to acquire the first pressing force value collected by the pressure sensor (12) and the first stroke of the pressing member (11) during the first pressing stage in which the stroke of the pressing member (11) pressing the product under test gradually increases and the pressing force applied by the pressing member (11) to the button of the product under test gradually increases; and to acquire the second pressing force value collected by the pressure sensor (12) and the second stroke of the pressing member (11) during the second pressing stage in which the stroke of the pressing member (11) pressing the product under test gradually increases and the pressing force applied by the pressing member (11) to the button of the product under test gradually decreases; The second acquisition module is used to obtain a mapping function based on the pressing force value and the stroke; specifically, the second acquisition module is used to obtain a first mapping function based on the first pressing force value and the first stroke; and to obtain a second mapping function based on the second pressing force value and the second stroke. The judgment module is used to determine whether the buttons of the product under test are qualified according to the mapping function; specifically, the judgment module is used to determine whether the buttons of the product under test are qualified according to the first mapping function; and to determine whether the buttons of the product under test are qualified according to the second mapping function.
7. The button pressure testing device according to claim 6, characterized in that, The first acquisition module includes a first sub-acquisition module and a second sub-acquisition module. The first sub-acquisition module is used to acquire the first pressing force value collected by the pressing sensor (12) and the first stroke of the pressing member (11) during the first pressing stage when the pressing force applied by the pressing member (11) to the button of the product under test gradually increases. The second sub-acquisition module is used to acquire the second pressing force value collected by the pressing sensor (12) and the second stroke of the pressing member (11) during the second pressing stage when the pressing force applied by the pressing member (11) to the button of the product under test gradually decreases; The second acquisition module includes a third sub-acquisition module and a fourth sub-acquisition module. The third sub-acquisition module is used to obtain a first mapping function based on the first pressing force value and the first stroke. The fourth sub-acquisition module is used to obtain a second mapping function based on the second pressing force value and the second stroke. The judgment module includes a first sub-judgment module and a second sub-judgment module. The first sub-judgment module is used to determine whether the buttons of the product under test are qualified according to the first mapping function. The second sub-judgment module is used to determine whether the buttons of the product under test are qualified based on the second mapping function.
8. A button pressure testing device, characterized in that, The button pressure testing device includes: Memory is used to store executable computer instructions; A processor, configured to execute the key pressure testing method according to any one of claims 1-5, under the control of the executable computer instructions.
9. A computer-readable storage medium, characterized in that, It stores computer instructions, which, when executed by the processor, perform the key pressure testing method according to any one of claims 1-5.
Citation Information
Patent Citations
Testing system and method of keys of automobile air conditioner controller
CN110727261A
Pressure testing device and pressure testing method
CN115420587A