A method for detecting touch of a key
By setting a high sampling frequency motor drive pressure sensor in key detection, ensuring the synchronous acquisition of position and pressure data, the problems of key detection accuracy and data linearity in the existing technology are solved, and high-precision fully automatic detection and anti-pressure damage are achieved. function to generate linear data curves.
Patent Information
- Application Number
- CN202311603120.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-28
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2043-11-28
AI Technical Summary
The prior art cannot realize high-precision and fully automatic key detection, and there is a time difference in the pressure sampling process, resulting in misalignment of pressure and position data, and it is impossible to accurately capture the real-time linear relationship between keys.
By setting a motor with high sampling frequency to drive the pressure sensor, ensure that the sampling frequency of position information is higher than the sampling frequency of pressure information, use uniform motion and stop collection when the pressure reaches the set value, and generate a real-time linear relationship diagram of the pressure and the button distance. Combined with the anti-compression function to prevent key damage.
It realizes fully automatic real-time detection, generates linear data curves, improves detection accuracy, and protects buttons through anti-compression function to ensure the accuracy and safety of detection results.
Smart Images

Figure CN118067288B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of button detection, and in particular relates to a key touch detection method. Background Art
[0002] The touch of buttons of electronic products of different brands and industries (including mobile phone buttons, tablet buttons, keyboard buttons, etc.) are very different. Although the feeling is very obvious, it is impossible to reflect these detailed differences with data. Before this, domestic equipment was still at the stage of single-point testing; there is no button testing equipment in China that can perform high-precision testing, has stable functions and can achieve mass production. Therefore, there is a large gap in the existence of domestic fully automatic button testing equipment, and there is great potential for development.
[0003] In particular, during the pressure sampling process, the pressure at the sampling point corresponds to the position of the sampling point one by one, but there is a sequence between the movement of the detection mechanism and the sampling of the pressure data, that is, there is a time difference between the movement of the mechanism to the sampling point and the sensor collecting the pressure data at the sampling point. How to ensure that the two parameters are not misaligned - for example, the F1 pressure collected at the X1 position and the F2 pressure collected at the X2 position, the F2 pressure collected at the X1 position cannot be due to the time difference; how to ensure that the pressure value collected at the corresponding position is accurately captured in real time, and ensure that the pressure and the distance of the button press are in a real-time corresponding linear relationship (not a point relationship) is a pain point in the button detection industry.
[0004] Based on this, the present invention aims to provide a key touch detection method, so that the user experience can be reflected in the form of data, which is more convenient for enterprises to improve user experience, key quality control and key customization for specific users, and can solve the above pain points, realize fully automatic real-time detection, generate linear data curves, and have high detection accuracy. Summary of the invention
[0005] The purpose of the present invention is to provide a key touch detection method to address the deficiencies of the prior art, so that the user experience can be reflected in the form of data, which is more convenient for enterprises to improve the user experience, key quality control and key customization for specific users, and can solve the above pain points, realize fully automatic real-time detection, generate linear data curves, and have high detection accuracy.
[0006] In order to achieve the above object, the present invention adopts the following technical solution:
[0007] A key touch detection method comprises at least the following steps:
[0008] In the first step, a motor drives a pressure sensor and a pressure needle connected to the pressure sensor to move toward the button direction of the tested product, the motor collects position information, and the pressure sensor collects pressure information, and the sampling frequency of the position information is higher than the sampling frequency of the pressure information;
[0009] In the second step, when the pressure needle touches the button, the pressure felt by the pressure sensor changes from 0 to a value, and the position coordinates at this time are used as the starting position origin coordinates of the acquisition process, and the motor starts to move at a constant speed;
[0010] The third step is to ensure that the acquisition process is at a uniform speed and collect the reaction force of the button;
[0011] The fourth step is to stop collecting data when the pressure value sensed by the pressure sensor is equal to the pressure setting value, and at the same time, the motor decelerates to zero. By selecting the pressure information data during the uniform motion of the motor, a real-time linear relationship diagram between pressure and button pressing distance is obtained, thereby visualizing and digitizing the touch of the button.
[0012] As an improvement of the key touch detection method of the present invention, the product to be tested is placed on a carrier, and when testing is required, the carrier is moved to a working position.
[0013] As an improvement of the key touch detection method of the present invention, the working position includes a lifting mechanism, a positioning mechanism and a z-direction positioning block.
[0014] As an improvement of the key touch detection method of the present invention, the positioning mechanism includes a blocking cylinder, a side push cylinder and a top positioning pin, and a pin hole is provided on the carrier. When working, the blocking cylinder stops the carrier, and the side push cylinder extends to fix the position of the product and the carrier so that the positioning pin can be accurately inserted into the pin hole on the carrier;
[0015] Then the lifting mechanism extends out to insert the top positioning pin into the pin hole of the carrier, and at the same time the z-direction positioning block presses the product to fix the product.
[0016] As an improvement of the key touch detection method of the present invention, the motor is a voice coil motor, which can realize fast and high-frequency reciprocating motion and can measure the button pressure multiple times.
[0017] As an improvement of the key touch detection method of the present invention, the pressure sensor is a buster sensor.
[0018] As an improvement of the key touch detection method of the present invention, the pressure setting value is greater than the maximum pressure in the entire sampling process.
[0019] As an improvement of the key touch detection method of the present invention, the motor is arranged on the frame through an up and down sliding mechanism.
[0020] As an improvement of the key touch detection method of the present invention, the motor is connected to a position limit sensor.
[0021] As an improvement of the key touch detection method of the present invention, the method can realize multi-point simultaneous detection, that is, simultaneously detect the touch of multiple buttons on the same side or buttons on different sides.
[0022] Compared with the prior art, the present invention innovatively designs the relationship between the sampling frequency of position information and the sampling frequency of pressure information, and at the same time, by selecting data under a uniform speed state, it effectively eliminates the interference force during the test process and ensures the accuracy of the test results. At the same time, the present invention also innovatively adds an anti-crushing function, that is, it adopts the logic of over-pressure stop to prevent the keys from being crushed.
[0023] In detail, the principles of the present invention are:
[0024] In the key detection data, position information and pressure information need to be collected. Position information is collected by the motor, and pressure information is collected by the pressure sensor. The sampling frequency of position needs to be higher than the sampling frequency of pressure to ensure that all pressure samples can be fully collected in a stroke. If sampling is performed in a key length of 0.4mm, the pressure sampling frequency is 700HZ, the motor sampling frequency is 4000HZ, and the pressure needle is sampled at a speed of 0.1mm / s, then this process can obtain 2800 pressure data, and these pressure data can be bound to the corresponding position coordinates.
[0025] Since the sampling process will generate a lot of data, not all of the data are target data. If it is not controlled, the collection time will become very long. Therefore, in actual use, only the required process is collected, and the non-collection process is not collected.
[0026] When the pressure needle just touches the button, it is usually difficult to see this state with the eyes, so a pressure sensor is used to feedback this position. When the pressure of the pressure sensor changes from 0 to a number (tentatively set to 0.05N, this value is determined according to the product attributes), it can be judged that the button has just been touched. The coordinates at this time are the origin coordinates of the starting position of the acquisition process.
[0027] The collection process only collects the reaction force of the button, and all interfering forces need to be eliminated. Therefore, it is necessary to perform a force analysis on the pressure needle. From the force analysis, it can be obtained that the collection process must be in a uniform speed state, and all speed changes will cause additional force (F=ma, the mass attribute of the collection unit itself, speed changes will cause new forces to appear, causing misjudgment).
[0028] The start and stop of the motor must go through acceleration and deceleration, so the sampling process must avoid this interval. In actual use, the key length of the button is limited. If the deceleration process is too long, it is easy to damage the product. To address this problem, the present invention adopts the logic of overpressure stop to protect the product. For example, if the maximum pressure of the entire sampling process is less than 400g, then just add a judgment condition. During the uniform speed process, when the pressure is ≥500g, the motor will stop immediately. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 This is one of the structural schematic diagrams of the equipment used in Example 1 of the present invention.
[0030] Figure 2 This is the second structural schematic diagram of the equipment used in Example 1 of the present invention.
[0031] Figure 3 This is a partial structural diagram of the equipment used in Example 1 of the present invention.
[0032] Figure 4 This is a schematic diagram of the structure of the pressure measuring part in Example 1 of the present invention.
[0033] Figure 5 It is a structural schematic diagram of the positioning structure in Example 1 of the present invention.
[0034] Figure 6 This is a schematic diagram of the decomposed structure of the positioning structure in Example 1 of the present invention.
[0035] Figure 7 This is a graph showing the change in motor speed over time in Example 1 of the present invention.
[0036] Figure 8 The graph is obtained by testing the buttons of electronic products using the method of the present invention.
[0037] Fig. 9 The pie chart is obtained by testing the keys of an electronic product using the method of the present invention.
[0038] Fig.10 This is a schematic diagram of the structure of the pressure measuring part in Example 2 of the present invention. DETAILED DESCRIPTION
[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0041] In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0042] Example 1
[0043] like Figures 1 to 6 As shown, the present invention provides a key touch detection method, which at least includes the following steps:
[0044] In the first step, the motor 1 drives the pressure sensor 2 and the pressure needle 3 connected to the pressure sensor 2 to move toward the button 41 of the product 4 to be tested. The motor 1 collects the position information and the pressure sensor 2 collects the pressure information. The sampling frequency of the position information is higher than the sampling frequency of the pressure information. The motor 1, the pressure sensor 2 and the pressure needle 3 together constitute the pressure measuring part.
[0045] In the second step, when the pressure needle 3 contacts the button 41, the pressure felt by the pressure sensor 2 changes from 0 to a value, and the position coordinates at this time are used as the starting position origin coordinates of the acquisition process, and the motor 1 starts to move at a constant speed;
[0046] The third step is to ensure that the collection process is in a uniform speed state and collect the reaction force of the button 41;
[0047] The fourth step is that when the pressure value sensed by the pressure sensor 2 is equal to the pressure setting value, the acquisition is stopped and the motor 1 is decelerated to zero; by selecting the pressure information data during the uniform motion of the motor 1, a real-time linear relationship diagram between the pressure and the button pressing distance is obtained.
[0048] The product 4 to be tested is placed on a carrier 5 , and when testing is required, the carrier 5 is moved to a working position 6 .
[0049] The working position 6 includes a lifting mechanism 61, a positioning mechanism 62 and a z-direction positioning block 63. The working position 6 is mainly used to position and fix the product 4 to be tested to prevent it from shaking or moving during the test.
[0050] The positioning mechanism 62 includes a blocking cylinder 621, a side push cylinder 622 and a top positioning pin. The carrier 5 is provided with a pin hole 51. When working, the blocking cylinder 621 stops the carrier 5, and the side push cylinder 622 extends to fix the position of the product and the carrier so that the top positioning pin can be accurately inserted into the pin hole 51 on the carrier 5.
[0051] Then the lifting mechanism 61 extends out, so that the top positioning pin is inserted into the pin hole 51 of the carrier 5, and at the same time the z-direction positioning block 63 presses the product to fix the product.
[0052] Motor 1 is a voice coil motor that can achieve fast, high-frequency reciprocating motion and can measure button pressure multiple times.
[0053] The pressure sensor 2 is a buster sensor, which can accurately collect pressure data of each working point in combination with the method of the present invention. The pressure setting value is greater than the maximum pressure in the whole sampling process.
[0054] The motor 1 is arranged on a frame 8 via an up-and-down sliding mechanism 7 .
[0055] The motor 1 is connected with a position limit sensor 9 for sensing the limit position so as to facilitate the motor 1 to return to the origin.
[0056] The present invention innovatively designs the relationship between the sampling frequency of position information and the sampling frequency of pressure information, and at the same time, by selecting data under a uniform speed state, effectively eliminates the interference force during the test process and ensures the accuracy of the test results. At the same time, the present invention also innovatively adds an anti-crushing function, that is, adopts the logic of over-pressure stop to prevent the keys from being crushed.
[0057] In detail, the principles of the present invention are:
[0058] In the key detection data, position information and pressure information need to be collected. Position information is collected by the motor, and pressure information is collected by the pressure sensor. The sampling frequency of position needs to be higher than the sampling frequency of pressure to ensure that all pressure samples can be fully collected in a stroke. If sampling is performed in a key length of 0.4mm, the pressure sampling frequency is 700HZ, the motor sampling frequency is 4000HZ, and the pressure needle is sampled at a speed of 0.1mm / s, then this process can obtain 2800 pressure data, and these pressure data can be bound to the corresponding position coordinates.
[0059] Since the sampling process will generate a lot of data, not all of the data are target data. If it is not controlled, the collection time will become very long. Therefore, in actual use, only the required process is collected, and the non-collection process is not collected.
[0060] When the pressure needle 3 just touches the button, it is usually difficult to see this state with the eyes, so the pressure sensor 2 is used to feedback this position. When the pressure of the pressure sensor 2 changes from 0 to a number (tentatively set to 0.05N, this value is determined according to the product attributes), it can be determined that the button 41 has just been touched. The coordinates at this time are the origin coordinates of the starting position of the acquisition process.
[0061] The collection process only collects the reaction force of the button, and all interfering forces need to be eliminated. Therefore, it is necessary to perform a force analysis on the pressure needle. From the force analysis, it can be obtained that the collection process must be in a uniform speed state, and all speed changes will cause additional force (F=ma, the mass attribute of the collection unit itself, speed changes will cause new forces to appear, causing misjudgment).
[0062] The start and stop of motor 1 must be accelerated and decelerated (such as Figure 7 As shown), the sampling process must avoid this interval. In actual use, the key length of button 5 is limited. If the deceleration process is too long, it is easy to damage the product. In response to this problem, the present invention adopts the logic of overpressure stop to protect the product. For example, if the maximum pressure of the entire sampling process is less than 400g, then just add a judgment condition. During the uniform speed process, when the pressure is ≥500g, the motor stops immediately.
[0063] In conclusion, the present invention can perform full-automatic real-time detection, generate a linear data curve, and has high detection accuracy. Figure 8 This is a comparison chart of button test curves obtained by the method of the present invention. Starting from touching the button, the peak value and trough value of the interval are reached, and the detection is stopped, and a real-time linear graph is generated. The horizontal axis in the graph represents the position coordinate of the pressing, and the vertical axis represents the button pressure. At the same time, the present invention also has an anti-crushing function. When the pressing force is greater than the set protection force, the equipment stops testing to avoid damaging the product.
[0064] Fig. 9 This is a pie chart of a key test of a certain electronic product using the present invention (10 products, the flatter the chart, the better the correlation). It can be seen from the chart that the correlation can reach more than 95%.
[0065] In this embodiment, the pressure measuring parts are divided into two groups, and the two groups of pressure measuring parts are arranged on the same side, so as to realize the touch detection of multiple buttons on the same side.
[0066] Example 2
[0067] like Fig.10 As shown, this embodiment can simultaneously detect the touch of multiple buttons on the same side or buttons on different sides. The device used in this method has three groups of pressure measuring parts, two of which are located on the same side and the other is located on the different side. The rest is the same as in embodiment 1 and will not be repeated here.
[0068] According to the disclosure and teaching of the above description, those skilled in the art to which the present invention belongs may also make changes and modifications to the above embodiments. Therefore, the present invention is not limited to the specific embodiments disclosed and described above, and some modifications and changes to the present invention should also fall within the scope of protection of the claims of the present invention. In addition, although some specific terms are used in this specification, these terms are only for the convenience of description and do not constitute any limitation to the present invention.
Claims
1. A key touch detection method, characterized in that: At least the following steps are included: In the first step, a motor drives a pressure sensor and a pressure needle connected to the pressure sensor to move toward the button direction of the tested product, the motor collects position information, and the pressure sensor collects pressure information, and the sampling frequency of the position information is higher than the sampling frequency of the pressure information; In the second step, when the pressure needle touches the button, the pressure felt by the pressure sensor changes from 0 to a value, and the position coordinates at this time are used as the starting position origin coordinates of the acquisition process, and the motor starts to move at a constant speed; The third step is to ensure that the acquisition process is at a uniform speed and collect the reaction force of the button; Step 4: When the pressure value sensed by the pressure sensor is equal to the pressure setting value, the acquisition is stopped and the motor is decelerated to zero. By selecting the pressure information data during the uniform motion of the motor, a real-time linear relationship diagram between the pressure and the button pressing distance is obtained. The pressure setting value is greater than the maximum pressure during the entire sampling process.
2. The key touch detection method according to claim 1, characterized in that: The product to be tested is placed on a carrier, and when testing is required, the carrier is moved to a working position.
3. The key touch detection method according to claim 2, characterized in that: The working position comprises a lifting mechanism, a positioning mechanism and a z-direction positioning block.
4. The key touch detection method according to claim 3, characterized in that: The positioning mechanism includes a blocking cylinder, a side push cylinder and a top positioning pin. The carrier is provided with a pin hole. When working, the blocking cylinder stops the carrier, and the side push cylinder extends to fix the position of the product and the carrier. Then the lifting mechanism extends out to insert the top positioning pin into the pin hole of the carrier, and at the same time the z-direction positioning block presses the product to fix the product.
5. The key touch detection method according to claim 1, characterized in that: The motor is a voice coil motor.
6. The key touch detection method according to claim 1, characterized in that: The motor is arranged on the frame through an up and down sliding mechanism.
7. The key touch detection method according to claim 1, characterized in that: The motor is connected with a position limit sensor.
8. The key touch detection method according to claim 1, characterized in that: The method can realize multi-point simultaneous detection, that is, simultaneously detect the touch sensations of multiple buttons on the same side or buttons on different sides.
