Smart lock touch panel performance detection method based on three-axis control scanning

Through the smart lock touch panel performance detection method based on three-axis control scanning, the existing smart lock touch panel detection method is solved, and efficient and accurate panel performance detection is achieved, which is suitable for testing of different types of products.

CN114779120BActive Publication Date: 2025-02-28FUZHOU SHENGYU DOOR CONTROL INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210440677.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-25
Publication Date
2025-02-28
Estimated Expiration
2042-04-25

AI Technical Summary

Technical Problem

The existing smart lock touch panel detection method has high subjectivity, low testing efficiency, and complex automation equipment, which cannot meet the needs of production testing, and the accuracy of the equipment is likely to decrease after long-term use.

Method used

The smart lock touch panel performance detection method based on three-axis control scanning is adopted. The touch pen scanning panel is driven by the three-axis motion platform, the contact information is recorded, and the short circuit, circuit breaker, insensitive performance of the button is evaluated through the touch performance evaluation algorithm analysis.

Benefits of technology

While ensuring detection accuracy, the test preparation time is reduced, the testing efficiency is improved, and manual intervention is reduced. It is suitable for testing of different types of products, improving the reliability and robustness of the test.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114779120B_ABST
    Figure CN114779120B_ABST
Patent Text Reader

Abstract

The present invention proposes a smart lock touch panel performance detection method based on three-axis control scanning. First, the smart lock touch electronic kit to be tested is placed on the test platform, connected to the communication line and then placed in the card slot for fixing; secondly, the main control module controls the three-axis motion platform to scan the touch panel for contact information, and records the contact information fed back by the touch electronic kit to be tested; finally, a touch performance evaluation algorithm is proposed to calculate and analyze the contact information, and finally determine the short circuit, open circuit, insensitivity and other performance of the touch button. The present invention does not need to accurately locate the touch panel and touch area to be tested, which is convenient for switching between different types of product tests, reduces manual intervention, and improves test efficiency and reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of lock stamping part manufacturing and processing, and in particular to a smart lock touch panel performance detection method based on three-axis control scanning. Background Art

[0002] In the prior art, smart locks mainly use capacitive panels to achieve human-computer interaction. The detection principle of capacitive panels is to detect the current generated by the change in capacitance on the surface to obtain the user's touch position. The touch effect directly affects the user experience, so testing the touch performance of the panel is an essential process in the production process of smart locks. Due to various deviations in the actual production process, the touch effect can only be tested through actual operation.

[0003] Traditionally, touch performance is tested by pure manual detection. This method is highly subjective and cannot obtain the tester's finger position, resulting in some devices with poor touch performance. In order to ensure the accuracy of touch devices (such as touch pens), many test instruments of automated testing equipment require more complex fixed equipment, resulting in too low test efficiency during actual use. In addition, the same test instrument can only complete the test of one product, which cannot meet the testing needs of actual production. Even if the test equipment uses a more advanced three-axis motion control platform, it is easy to have a problem of reduced accuracy after long-term use. Summary of the invention

[0004] In order to ensure the accuracy of touch, many existing automatic test instruments need to fix the tested equipment in a complicated way, resulting in low test efficiency and failure to meet test requirements. The method of the present invention gives full play to the flexibility of the three-axis motion platform, combines the characteristics of the smart door lock touch panel, and designs a detection method for testing the performance of the touch panel. This method reduces the test preparation time and improves the test efficiency while ensuring the detection accuracy, thereby improving the test efficiency of the smart door lock.

[0005] The present invention proposes a smart lock touch panel performance detection method based on three-axis control scanning. First, the smart lock touch electronic kit to be tested is placed on the test platform, connected to the communication line and then placed in the card slot for fixing; secondly, the main control module controls the three-axis motion platform to scan the touch panel for contact information, and records the contact information fed back by the touch electronic kit to be tested; finally, a touch performance evaluation algorithm is proposed to calculate and analyze the contact information, and finally determine the short circuit, open circuit, insensitivity and other performance of the touch button. The present invention does not need to accurately locate the touch panel and touch area to be tested, which is convenient for switching between different types of product tests, reduces manual intervention, and improves test efficiency and reliability.

[0006] The present invention specifically adopts the following technical solutions:

[0007] A method for detecting the performance of a smart lock touch panel based on three-axis control scanning, characterized in that it comprises the following steps:

[0008] First, the touch control electronic kit to be tested is placed in the initialized three-axis motion control, and the touch control electronic kit is initialized by connecting to the main control system;

[0009] Secondly, the three-axis motion control platform drives the touch pen from the upper left to the lower right of the panel of the touch electronic kit, and sequentially scans all points of the panel to be tested at a certain density, and in this process, the actual touch area distribution of the panel to be tested is not considered;

[0010] During the three-axis motion scanning process, the main control system records the contact point information fed back by the touch electronic kit to be tested;

[0011] After the contact point scan is completed, the main control system evaluates the touch performance of each key through a touch performance evaluation algorithm to obtain a measurement result.

[0012] Furthermore, the touch performance evaluation algorithm is specifically as follows:

[0013] First, analyze the key information to determine whether there are common key wire connection problems, mainly including open circuit and short circuit, and then execute the following logic:

[0014] Step A1: Select any two key combinations (m, n);

[0015] Step A2: Analyze all key data. If the key information of key m is not included, it means that the wire of key m is broken.

[0016] Step A3: Analyze all key information. If all information that contains m contains n, it means that the wire between (m, n) is short-circuited.

[0017] Secondly, analyze the key area of ​​each key and execute the following logic:

[0018] Step B1: Select any key m;

[0019] Step B2: Count the coordinates (x, y) of the keys that have m keys, a total of N m , respectively denoted as (x i ,y i )(i=1,2,…), calculate the key center Pm=(∑x i / N m ,∑y i / N m );

[0020] Step B3: If it is calibration mode, record all Pm and Nm, recorded as and Used for test mode; if it is test mode, compare and Two conditions must be met:

[0021]

[0022]

[0023] If it is not satisfied, it means that there is a problem with the button. m If N is too small, it means that the key is not sensitive. m If it is too large, it means that the button is too sensitive and easy to be accidentally touched.

[0024] Furthermore, the main control module directly drives the servo motor of the three-axis motion control platform, thereby realizing precise control of the three-axis motion platform; the current position (x, y, z) of the three-axis motion platform is recorded inside the main control module, which respectively represents the coordinates of the three directions in three dimensions, and the unit is the number of movements of the servo motor. At the starting end of the three-axis motion platform, three touch switches are provided to initialize the platform position, and the coordinate of this position is 0; wherein the z-axis is the vertical axis, and the touch electronic kit to be tested should be placed horizontally.

[0025] Furthermore, before starting the test, the following parameters are set: the diameter M of the test lead, the step parameter S, the range of the panel to be tested xs, xe, ys, ye, the relative height zs of the touch electronic kit to be tested, the vertical safety height ze, and the movement direction D, whose value range is 0 or 1 and is initialized to 0; after starting the test, the three-axis motion platform performs the following logical movements:

[0026] Step C1: The three-axis motion platform moves to the initialization position (0,0), and the z-axis is at a safe height ze at this time, and no record is made during this journey;

[0027] Step C2: The three-axis motion platform moves to the starting position (x, y, z)←(xs, ys, ze), initializes the motion direction D←0, and the step parameter S←M / 2;

[0028] Step C3: Control the z-axis of the three-axis motion platform to zs, drive the test stylus to try to touch the screen, record the coordinates (x, y) pressed at the current moment, and the key feedback information of the panel, that is, which keys are pressed, control the z-axis of the three-axis motion platform to return to ze, and execute step C4;

[0029] Step C4: Move according to the predetermined step spacing, that is:

[0030]

[0031] Then execute step C5;

[0032] Step C5: Determine whether the three-axis motion platform x is within the range of (xs, xe). If so, execute step C6; otherwise, execute step C3.

[0033] Step C6: execute y←y+S to determine whether y is within the range of (ys, ye). If so, execute step C8; otherwise, execute step C7.

[0034] Step C7: drive the three-axis motion platform to the corresponding position, D←1-D, and then execute step C3;

[0035] Step C8: Complete a round of scanning test, evaluate the performance of the touch panel according to the scanning results, and end the test.

[0036] Compared with the prior art, the present invention and its preferred solution do not need to locate the touch panel to be tested, nor do they need to accurately locate the touch area to be tested, which effectively reduces manual intervention and facilitates changing the type of touch panel to be tested. The accuracy of the buttons can be obtained through the touchable range, thereby improving the accuracy of the test. All of these improve the robustness of the test and the reliability of the test. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is an overall framework diagram of the test platform of an embodiment of the present invention.

[0038] Figure 2 It is an overall structural diagram of the test platform of the embodiment of the present invention.

[0039] Figure 3 It is a three-axis motion control scanning flow chart of an embodiment of the present invention.

[0040] Figure 4 It is a schematic diagram of three-axis motion control scanning according to an embodiment of the present invention.

[0041] Figure 5 Schematic diagram of contact point information distribution scanned by an embodiment of the present invention.

[0042] Figure 6 It is a schematic diagram of the distribution of short-circuited contact information in an embodiment of the present invention.

[0043] Figure 7 It is a schematic diagram of the insensitive contact information distribution of the embodiment of the present invention. DETAILED DESCRIPTION

[0044] Hereinafter, the specific embodiments of the present application will be described in detail with reference to the accompanying drawings. According to these detailed descriptions, those skilled in the art can clearly understand the present application and can implement the present application. Without violating the principles of the present application, the features in the various embodiments can be combined to obtain new implementations, or certain features in certain embodiments can be replaced to obtain other preferred implementations.

[0045] In order to make the features and advantages of this patent more obvious and easy to understand, the following embodiments are specifically described in detail as follows:

[0046] 1. Overall design of the test platform

[0047] The overall framework of the optimal test platform on which this implementation method is based is as follows: Figure 1 As shown in Figure 2, the overall structure of the test platform is as follows: Figure 2 As shown, the main functional components involved roughly include:

[0048] (1) PC host: used to monitor the entire test process and summarize the test results after completion;

[0049] (2) Main control module: It uses the STM32 processor as the main control module, directly drives the three-axis motion control platform, and interacts with the panel to be tested. It is the core of the entire test platform;

[0050] (3) A platform for placing the device under test: used to place the smart lock touch electronic kit under test, providing a groove for placing the touch electronic kit under test, and providing matching connecting wires to connect with the touch electronic kit, providing power and enabling the touch electronic kit to communicate with the main control module;

[0051] (4) Touch pen: used to simulate a human finger touching the touch electronic kit to be tested. This embodiment uses a touch pen with a diameter of more than 1 cm.

[0052] (5) Prompt device: Use LED lights and buzzers to prompt the test results, and set buttons for testers to start the equipment.

[0053] like Figure 2 As shown, the main components of the above device include:

[0054] 1. Platform for placing the smart lock touch electronic kit

[0055] 2 Smart Lock Touch Electronic Kit

[0056] 31 Touch electronic kit and main control module connection cable (self-made cable)

[0057] 32 Main control module and PC connection cable (USB cable)

[0058] 4 Three-axis motion control platform

[0059] 41 X-axis motion control motor

[0060] 42 X-axis drive rail

[0061] 43 Y-axis motion control motor

[0062] 44 Y-axis drive rail

[0063] 45 Z-axis motion control motor

[0064] 46 Z-axis drive rail

[0065] 47 Z-axis fine adjustment knob

[0066] 48 Platform balance screw

[0067] 5 Testing the Stylus

[0068] 6 Test platform cabinet

[0069] 2. Three-axis motion control scanning method

[0070] The main control module directly drives the servo motor of the three-axis motion control platform, so that the three-axis motion platform (hereinafter referred to as the platform) can be precisely controlled. The current position (x, y, z) of the three-axis motion platform is recorded inside the main control module, which represents the coordinates of the three directions in three dimensions, and the unit is the number of movements of the servo motor. At the starting end of the platform, three touch switches are set to initialize the platform position, and the coordinate of this position is 0. The z axis is the vertical axis, and the touch electronic kit to be tested should be placed horizontally.

[0071] Before starting the test, the PC sets the following parameters: the diameter of the test lead M, the stepping parameter S, the range of the panel to be tested xs, xe, ys, ye, the relative height zs of the touch electronic kit to be tested, the vertical safety height ze, and the movement direction D (the range is 0 or 1, initialized to 0). After starting the test, the three-axis motion platform performs the following logical movements:

[0072] Step 1: The platform moves to the initialization position (0,0) (the z-axis is at a safe height ze, and no records are recorded during this journey);

[0073] Step 2: The platform moves to the starting position (x, y, z)←(xs, ys, ze), initializes the movement direction D←0, and the step parameter S←M / 2;

[0074] Step 3-1: Control the z-axis of the platform to zs, drive the test stylus to try to touch the screen, record the coordinates (x, y) pressed at the current moment, and the key feedback information of the panel (which keys are pressed), control the z-axis of the platform to return to ze, and execute step 3-2;

[0075] Step 3-2: Move according to the predetermined step spacing, that is:

[0076]

[0077] Then execute step3-3;

[0078] step3-3: Determine whether the platform x is within the range of (xs, xe). If it is, execute step3-4, otherwise execute step3-1;

[0079] Step 3-4: Execute y←y+S to determine whether y is within the range of (ys, ye). If so, execute step 4; otherwise, execute step 3-5.

[0080] step3-5: drive the platform to the corresponding position, D←1-D, and then execute step3-1;

[0081] Step 4: Complete a round of scanning test, evaluate the touch panel performance based on the scanning results, and end the test.

[0082] 3. Touch panel performance evaluation algorithm

[0083] Since the position of the touch pen is controlled by the main control module, the contact information during the scanning process is fed back to the main control module through the touch electronic kit. The main control module evaluates the panel touch performance in two aspects:

[0084] (1) First, analyze the key information to determine whether there are common key wire connection problems, mainly including open circuit and short circuit, and execute the following logic:

[0085] Step 1: Select any two key combinations (m, n);

[0086] Step 2: Analyze all key data. If the key information of key m is not included, it means that the wire of key m is broken.

[0087] Step 3: Analyze all key information. If n appears in all information where m appears, it means that the wire between (m, n) is short-circuited.

[0088] (2) Secondly, analyze the key area of ​​each key and execute the following logic:

[0089] step1: Select any button m;

[0090] Step 2: Count the coordinates (x, y) of the keys that have m keys, a total of N m , respectively denoted as (x i ,y i )(i=1,2,…), calculate the key center Pm=(∑x i / N m ,∑y i / N m );

[0091] Step 3: If it is calibration mode, record all Pm and Nm, recorded as and Used for test mode; if it is test mode, compare and Two conditions must be met:

[0092]

[0093]

[0094] If it is not satisfied, it means that there is a problem with the button. m If N is too small, it means that the key is not sensitive. m If it is too large, it means that the button may be too sensitive and easy to be accidentally touched.

[0095] 4. Overall implementation steps

[0096] Based on the above design, this embodiment provides a smart lock touch panel performance detection method based on three-axis control scanning, the steps are as follows:

[0097] Step 1: After the main control platform returns the three-axis motion control platform to its original position, put in the touch control electronic kit to be tested, connect the main control system, and complete the initialization of the touch control electronic kit.

[0098] Step 2: The three-axis motion control platform drives the touch pen from the upper left to the lower right of the panel to scan all points of the panel to be tested in sequence at a certain density. During this process, the actual touch area distribution of the panel to be tested is not considered.

[0099] Step 3: During the three-axis motion scanning process, the main control system records the contact point information fed back by the touch electronic kit to be tested.

[0100] Step 4: After the contact point scan is completed, the main control system evaluates the touch performance of each key through the touch performance evaluation algorithm, obtains the measurement result, and displays or prompts the result.

[0101] 5. Specific examples and explanations

[0102] This is a three-axis motion control scan of the actual test process provided by the embodiment. Figure 4 As shown, Figure 5 It is the distribution diagram of the scanned contact information.

[0103] Test results: Range (xs, xe) = (15000, 22000), (ys, ye) = (15000, 24500). The diameter of the probe is about 2000, so the step S = 1000.

[0104] According to the scanning results, for any (n,m), the test requirements are met, so the test is normal and the following parameters are obtained:

[0105]

[0106]

[0107] This is the result of the normal test, and also the result of the learning mode. The next two abnormal tests will be compared with this result.

[0108] If there is a short circuit in the touch electronic kit with one button (buttons 2, 5 and 8 are short circuited), the scan diagram is as follows: Figure 6 As shown, after analysis by the touch performance evaluation algorithm, the three keys (2, 5, 8) always appear together, so it is judged that the three keys 2, 5, and 8 are short-circuited.

[0109] If one of the 8 keys of the touch electronic kit is less sensitive, the scanned image will be Figure 7 As shown, according to the touch performance evaluation algorithm, Nm=4 is obtained, and it is judged that 8 keys are insensitive.

[0110] 6. Advantages and uses of this embodiment

[0111] The test of the performance of the smart lock touch panel is one of the important links in the production process and an important guarantee of product quality. The cost, convenience and stability of the test are the main considerations of the testing process. The present invention uses a three-axis motion control platform to complete the automated testing of the touch panel. First, the three-axis control scan is used to obtain the overall contact information of the panel, and then the contact information is calculated and analyzed by the proposed touch performance evaluation algorithm, and finally the short circuit, open circuit, insensitivity and other performance of the touch button are determined. The present invention does not need to locate the touch panel to be tested, nor does it need to accurately locate the touch area to be tested, which effectively reduces manual intervention, and is also convenient for changing the type of test touch panel. The accuracy of the button is obtained through the touchable range, which improves the accuracy of the test. All of these improve the robustness of the test and improve the reliability of the test.

[0112] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

[0113] This patent is not limited to the above-mentioned optimal implementation method. Anyone can derive other forms of smart lock touch panel performance detection methods based on three-axis control scanning under the inspiration of this patent. All equal changes and modifications made according to the scope of the patent application of the present invention should be covered by this patent.

Claims

1. A method for detecting the performance of a smart lock touch panel based on three-axis control scanning, characterized in that: The following steps are involved: First, the touch control electronic kit to be tested is placed in an initialized three-axis motion control platform, and the touch control electronic kit is initialized by connecting to a main control module; Secondly, the three-axis motion control platform drives the touch pen from the upper left to the lower right of the panel of the touch electronic kit, and sequentially scans all points of the panel to be tested at a certain density, and in this process, the actual touch area distribution of the panel to be tested is not considered; During the three-axis motion scanning process, the main control system records the contact point information fed back by the touch electronic kit to be tested; After the contact point scanning is completed, the main control system evaluates the touch performance of each key through a touch performance evaluation algorithm to obtain a measurement result; According to the smart lock touch panel performance detection method based on three-axis control scanning, it is characterized in that: the touch performance evaluation algorithm is specifically: First, analyze the key information to determine whether there are common key wire connection problems, mainly including open circuit and short circuit, and then execute the following logic: Step A1: Select any two key combinations ; Step A2: Analyze all keystroke data, if not included If the key information is The wire of the button is broken; Step A3: Analyze all keystroke information, if there is All information appears , then it means The wires are short-circuited; Secondly, analyze the key area of ​​each key and execute the following logic: Step B1: Select any button ; Step B2: Count the existence The coordinates of the key , a total of , respectively , calculate the key center ; Step B3: If it is calibration mode, record all Pm and Nm, recorded as and , used for test mode; if it is test mode, compare and , two conditions must be met: If it is not satisfied, it means that there is a problem with the button. If the key is too small, it means that the key is not sensitive. If it is too large, it means that the button is too sensitive and easy to be accidentally touched; According to the smart lock touch panel performance detection method based on three-axis control scanning, it is characterized in that: the main control module directly drives the servo motor of the three-axis motion control platform, thereby realizing the precise control of the three-axis motion platform; the current position of the three-axis motion platform ( x , y , z ), respectively representing the coordinates of the three directions in three dimensions, and the unit is the number of movements of the servo motor. At the starting end of the three-axis motion platform, three touch switches are set to initialize the platform position, and the coordinate of this position is 0; the z-axis is the vertical axis, and the touch electronic kit to be tested should be placed horizontally; According to the smart lock touch panel performance detection method based on three-axis control scanning, it is characterized in that: Before starting the test, set the following parameters: the diameter of the probe , step parameter , the range of the panel to be tested , , , , the relative height of the touch electronic kit to be tested , vertical safety height , direction of movement , whose value range is 0 or 1 and is initialized to 0; after starting the test, the three-axis motion platform performs the following logical movements: Step C1: The three-axis motion platform moves to the initialization position , and the z-axis is at a safe height , no record is made during this journey; Step C2: The three-axis motion platform moves to the starting position , initialize the movement direction , step parameter ; Step C3: Control the z-axis of the three-axis motion platform to , drive the test stylus to try to touch the screen and record the coordinates of the current pressing moment , and the panel key feedback information, that is, which keys are pressed to control the z-axis return of the three-axis motion platform , execute step C4; Step C4: Move according to the predetermined step spacing, that is: Then execute step C5; Step C5: Determine whether the three-axis motion platform x is If it is within the range, then execute step C6, otherwise execute step C3; Step C6: Execution ,judge Is it in If it is within the range, then execute step C8, otherwise execute step C7; Step C7: Drive the three-axis motion platform to the corresponding position. , then execute step C3; Step C8: Complete a round of scanning test, evaluate the performance of the touch panel according to the scanning results, and end the test.

Citation Information

Patent Citations

  • Touch screen detection apparatus

    CN105093013A