Handwriting stylus test device and test method
Through the collaborative design of the robotic arm and control system, the automated interaction and data analysis of the handwriting stylus and terminal equipment are realized, solving the problems of low testing efficiency and poor accuracy in the existing technology, and improving the testing efficiency and accuracy.
Patent Information
- Application Number
- CN202510492491.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-18
- Publication Date
- 2025-08-12
AI Technical Summary
Existing handwriting stylus performance testing is inefficient and poorly accurate, mainly due to the reliance on manual operations.
The robotic arm and the control system work together to realize the automated and coordinated interaction between the stylus and the terminal equipment, and analyze the interaction response information through the control system to obtain test results.
The automation and data analysis of handwriting stylus tests are realized, which improves the testing efficiency, reduces the error caused by manual operations, and improves the testing accuracy.
Smart Images

Figure CN120469866A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic equipment testing, and in particular to a handwriting stylus testing device and a testing method. Background Art
[0002] With the rapid development of electronic products and the expansion of screen sizes, the use cases of smart terminal devices are also gradually expanding. Today's full-screen mobile phones and tablets provide greater space for styluses to play. Coupled with the continuous improvement of touch accuracy, screen refresh rate, and user experience, the combination of handwriting styluses and smart terminal devices to realize diversified functions such as drawing has become a new form of smart terminal devices.
[0003] With the continuous advancement of technology, the functions of handwriting styluses have gradually become richer and more extensive. Their interaction with smart terminal devices has also become more diverse, better meeting specific needs, and gradually becoming an essential production tool. Consequently, comprehensive and stable pen-tip interoperability performance testing of the various functions of handwriting styluses has become necessary, with a wide range of test items. However, current handwriting stylus performance testing usually requires manual testing of each item, which is inefficient and poorly accurate due to the influence of manual operation. Summary of the Invention
[0004] The present invention provides a handwriting stylus testing device and a testing method, which are used to solve the problem in the prior art of low testing efficiency and poor testing accuracy caused by manually testing various functions of a handwriting stylus.
[0005] The present invention provides a handwriting stylus testing device, comprising: test bench; a terminal device, positioned on the test bench; a robotic arm mounted on the test bench, wherein an execution end of the robotic arm has a clamping fixture, the clamping fixture is used to connect to the stylus, and the robotic arm is used to manipulate the stylus in three-dimensional space to enable collaborative interaction between the stylus and the terminal device; A control system, wherein the robotic arm, the terminal device and the stylus are respectively connected to the control system for communication, and the control system is used to receive interactive response information from the terminal device and the stylus, and analyze and process the interactive response information to obtain a test result.
[0006] According to a handwriting stylus testing device provided by the present invention, the clamping fixture is provided with a positioning groove and an electromagnetic adsorption component, the stylus is positioned in the positioning groove, the electromagnetic adsorption component is configured to be adsorbed and connected to the stylus when powered on, and the electromagnetic adsorption component is communicatively connected to the control system.
[0007] According to a handwriting stylus testing device provided by the present invention, the execution end of the robotic arm has an electric control ball table, the clamping fixture is fixed to the driving end of the electric control ball table, and the electric control ball table is communicatively connected to the control system.
[0008] According to a handwriting stylus testing device provided by the present invention, the clamping fixture has an electromagnetic driver, which is opposite to the pressure-sensitive area of the stylus and is used to apply pressure to the pressure-sensitive area. The electromagnetic driver is communicatively connected to the control system.
[0009] A handwriting stylus testing device according to the present invention further includes: a box provided on the test bench, wherein the mechanical arm and the terminal device are located in the box; The light controller is located in the box and is used to provide a simulated light source in the box. The light controller is in communication with the control system.
[0010] The present invention also provides a handwriting stylus testing method, which is applied to any of the above-mentioned handwriting stylus testing devices, comprising: S100, the control system controls the robotic arm to manipulate the stylus pen, so that the stylus pen and the terminal device perform collaborative interaction; S200, the stylus pen and / or the terminal device generates interaction response information based on the collaborative interaction, and sends the interaction response information to the control system; S300: The control system determines a test result according to the interactive response information.
[0011] According to a handwriting stylus testing method provided by the present invention, the collaborative interaction includes: the stylus performs at least one of a clicking operation, a writing operation, a coloring operation, a screen-off quick writing operation, and a pressure-sensitive operation on the terminal device, and the terminal device performs a magnetic charging operation on the stylus.
[0012] According to a handwriting stylus testing method provided by the present invention, step S100 includes: the control system controls the robotic arm to manipulate the stylus according to multiple pressure sensitivity values, so that the stylus performs multiple click operations on the terminal device based on each pressure sensitivity value; The interactive response information includes: radius data of a circle drawn by the terminal device based on each click operation; Step S300 includes: the control system calculates the first discreteness of the multiple radius data corresponding to each of the pressure-sensitive force values, and calculates the second discreteness of the multiple first discretenesses, determines the second discreteness as the pressure-sensitive stability value, and determines the pressure-sensitive stability value as the test result.
[0013] According to a handwriting stylus testing method provided by the present invention, step S100 includes: the control system controlling the robotic arm to manipulate the stylus according to multiple tilt angle values and at least one writing path, so that the stylus performs multiple writing operations on the terminal device based on each writing path at each tilt angle value; the tilt angle value represents the angle between the stylus and the screen of the terminal device; The interactive response information includes: graphic data drawn by the terminal device through multiple writing operations based on each writing path at each tilt angle value; Step S300 includes: the control system determines the writing error rate of each of the writing paths at each of the tilt angle values according to the graphic data, and determines the writing error rate as the test result.
[0014] According to a handwriting stylus testing method provided by the present invention, before the coloring operation, the method further comprises: the control system controlling the robotic arm to manipulate the stylus to pick a color on a standard color card; The interactive response information includes: a color value identified by the terminal device based on the coloring operation; Step S300 includes: the control system determines a color difference value according to a color card standard value and the color value, and determines the color difference value as the test result.
[0015] According to a handwriting stylus testing method provided by the present invention, before the screen-off quick writing operation, the method further includes: the control system controlling the terminal device to turn off the screen; The interactive response information includes: the number of times the quick write function is triggered by the terminal device based on multiple screen-off quick write operations, the first time point when the stylus touches the screen of the terminal device, and the second time point when the quick write function is turned on and can record data normally; Step S300 includes: the control system determines a trigger success rate according to the number of times the quick write function is triggered, determines a trigger delay value according to the first time point and the second time point, and determines the trigger success rate and the trigger delay value as the test result.
[0016] According to a handwriting stylus testing method provided by the present invention, step S100 includes: the control system controls the robotic arm to move the stylus until it contacts the screen of the terminal device, and then controls the clamping fixture to press the pressure-sensitive area of the stylus, so that the stylus performs the pressure-sensitive operation on the terminal device multiple times; The interaction response information includes: the number of times the terminal device is awakened based on multiple pressure-sensing operations, and the number of times the interaction interface on the terminal device is correctly popped up; Step S300 includes: the control system calculates a wake-up success rate according to the number of times the device is awakened, calculates a wake-up accuracy rate according to the number of times the device is correctly ejected, and determines the wake-up success rate and the wake-up accuracy rate as the test result.
[0017] According to a handwriting stylus testing method provided by the present invention, step S100 includes: the control system controlling the robotic arm to move the stylus to a set distance from a magnetic attraction position of the terminal device, and the stylus is at multiple offset angle positions relative to the magnetic attraction position, so that the terminal device performs multiple magnetic charging operations on the stylus based on each of the offset angle positions; during each magnetic charging operation, the control system controls the electromagnetic attraction component on the clamping fixture to be powered off; The interactive response information includes: the number of times the stylus is successfully adsorbed and charged by the terminal device based on multiple magnetic charging operations at each offset angle position; Step S300 includes: the control system determines a magnetic attraction stability value corresponding to each offset angle position according to the number of successful adsorption and charging, and determines the magnetic attraction stability value as the test result.
[0018] The handwriting stylus testing device and method provided by the present invention provide a robotic arm and a control system, connect the robotic arm, terminal device, and stylus to the control system in communication, and control the robotic arm to move the stylus through the control system, so that the stylus and terminal device can interact with each other. At the same time, the control system receives interactive response information from the terminal device and the stylus, and analyzes and processes the interactive response information to obtain test results. The handwriting stylus testing device achieves integrated testing and scoring through the collaboration of software and hardware, realizes automated testing, and also analyzes and processes test data and feeds back test results, thereby improving test efficiency. It can also avoid test errors caused by manual operation, thereby improving test accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0020] Figure 1 It is a structural schematic diagram of the handwriting stylus testing device provided by the present invention.
[0021] Figure 2It is a partial structural diagram of the handwriting stylus testing device provided by the present invention.
[0022] Figure 3 It is a schematic diagram of the magnetic charging stability test of the handwriting stylus testing method provided by the present invention.
[0023] Reference numerals: 1. Test bench; 11. Clamping part; 2. Terminal device; 3. Robotic arm; 31. Clamping fixture; 311. Positioning slot; 32. Electric ball table; 33. Electromagnetic drive; 4. Control system; 5. Stylus; 6. Box; 7. Light controller. DETAILED DESCRIPTION
[0024] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0025] In the description of the embodiments of the present invention, it should be noted that, unless otherwise expressly specified and limited, the terms "first" and "second" are for the purpose of clearly describing the numbering of product components and do not represent any substantial difference. The terms "installed", "connected" and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be a connection between the two components. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present invention can be understood according to the specific circumstances. In addition, the meaning of "multiple" is two or more. "And / or" in the specification and claims means at least one of the connected objects, and the character " / " generally indicates that the related objects before and after are in an "or" relationship.
[0026] The following combination Figure 1-Figure 3 The present invention describes a handwriting stylus testing device and a testing method.
[0027] like Figure 1As shown, the handwriting stylus testing device provided by the embodiment of the present invention includes a test bench 1, a terminal device 2, a robotic arm 3 and a control system 4. The terminal device 2 is positioned on the test bench 1. The robotic arm 3 is installed on the test bench 1. The execution end of the robotic arm 3 has a clamping fixture 31, and the clamping fixture 31 is used to connect the stylus 5. The robotic arm 3 is used to manipulate the stylus 5 in a three-dimensional space to enable collaborative interaction between the stylus 5 and the terminal device 2. The robotic arm 3, the terminal device 2 and the stylus 5 are respectively connected to the control system 4 for communication. The control system 4 is used to receive interactive response information from the terminal device 2 and the stylus 5, and analyze and process the interactive response information to obtain test results.
[0028] Stylus 5 is the handwriting stylus to be tested. Test bench 1 is equipped with a clamp 11, which is used to clamp and secure terminal device 2. During testing, stylus 5 is held securely by a clamping fixture 31, and robotic arm 3 manipulates stylus 5 in three-dimensional space, enabling collaborative interaction between stylus 5 and terminal device 2.
[0029] See also Figure 1 The robotic arm 3 may be a three-axis robotic arm, comprising a first arm section, a second arm section, and a third arm section that are connected in rotation in sequence. The first arm section can be raised and lowered and mounted on the test bench 1, and the clamping fixture 31 is mounted on the third arm section. The control system 4 can drive the stylus 5 to move in three-dimensional space by controlling the relative rotation between the three arms of the robotic arm and the lifting and lowering movement of the first arm section relative to the test bench 1. It should be noted that the robotic arm 3 can also be a robotic arm of other forms, as long as it can drive the stylus 5 to move in three-dimensional space and enable collaborative interaction between the stylus 5 and the terminal device 2. There is no limitation on this.
[0030] Control system 4 can be an MCU control system, equipped with control programs corresponding to various test items. This system coordinates the robotic arm 3, the terminal device 2, and the stylus 5 to achieve unified scheduling and implement test control of the various functions of the stylus 5. The terminal device 2 and the stylus 5 upload the response information generated by the collaborative interaction to the control system, which processes the data and generates the test results. Optionally, control system 4 can be equipped with a display to generate a report of the test results and output it to the display for display.
[0031] The collaborative interaction between stylus 5 and terminal device 2 includes the operations performed by stylus 5 on terminal device 2 and the terminal device 2's responses to those operations. For example, when stylus 5 performs click operations, writing operations, coloring operations, screen-off quick writing operations, and pressure-sensitive operations on terminal device 2, the terminal device 2 screen responds accordingly. Control system 4 analyzes and processes the response information uploaded by terminal device 2 to obtain test results, enabling testing of stylus 5's pressure sensitivity level, writing stability, photoelectric color sampling, screen-off quick writing, and pressure-sensitive touch interaction.
[0032] If the stylus 5 has a magnetic charging function, the collaborative interaction may also include the operation performed by the terminal device 2 on the stylus 5 and the stylus 5's response to the operation. For example, the terminal device 2 performs a magnetic charging operation on the stylus 5, and the stylus 5 responds accordingly. The control system 4 analyzes and processes the response information uploaded by the stylus 5 to obtain a test result, thereby testing the magnetic stability of the stylus 5.
[0033] The handwriting stylus testing device provided by the embodiment of the present invention is configured to provide a mechanical arm 3 and a control system 4, and to connect the mechanical arm 3, the terminal device 2, and the stylus 5 to the control system 4 for communication. The control system 4 controls the mechanical arm 3 to move the stylus 5, so that the stylus 5 and the terminal device 2 can interact with each other. At the same time, the control system 4 receives the interactive response information of the terminal device 2 and the stylus 5, and analyzes and processes the interactive response information to obtain the test results. The handwriting stylus testing device realizes integrated testing and scoring through the collaboration of software and hardware, realizes the automated completion of the test, and also realizes the analysis and processing of the test data and the feedback of the test results, thereby improving the test efficiency. It can also avoid the test errors caused by manual operation, thereby improving the test accuracy.
[0034] In some embodiments of the present invention, the clamping jig 31 is configured to magnetically connect to the stylus 5. For example, the clamping jig 31 is provided with a magnetic element that can attract the magnetic element within the stylus 5, thereby securing the stylus 5 to the clamping jig 31. Of course, if the stylus 5 does not have a magnetic element, a magnetic element can be pre-attached to the stylus 5 for attachment to the magnetic element on the clamping jig 31. The magnetic connection between the clamping jig 31 and the stylus 5 facilitates installation of the stylus 5 and improves testing efficiency.
[0035] In this embodiment of the present invention, the clamping fixture 31 is equipped with a positioning groove 311 and an electromagnetic attractor (not shown). The electromagnetic attractor serves as the magnetic element of the clamping fixture 31. The stylus 5 is positioned within the positioning groove 311. The electromagnetic attractor is configured to attract and connect with the stylus 5 when powered. The electromagnetic attractor is in communication with the control system 4.
[0036] Specifically, the clamping jig 31 includes a positioning block with a positioning slot 311 disposed therein. The positioning slot 311 is adapted to the shape of the stylus 5. Alternatively, the clamping jig 31 includes two clamping jaws that surround the positioning slot 311. The opening and closing distance or angle between the two clamping jaws is adjustable to adjust the size of the positioning slot 311 to accommodate styluses 5 of different sizes.
[0037] Among them, the electromagnetic adsorption component is arranged in the positioning groove 311. The control system 4 controls the power on and off of the electromagnetic adsorption component to achieve the adsorption and release of the stylus 5. When the electromagnetic adsorption component is powered on, the clamping fixture 31 is adsorbed and connected to the stylus 5, and the adsorption force can ensure that the robotic arm 3 can stably operate the stylus 5 in subsequent tests. When the power is off, the electromagnetic adsorption component can release the restriction of the clamping fixture 31 on the stylus 5, and can be used in the electromagnetic charging stability test of the stylus 5 and the terminal device 2. After the electromagnetic adsorption component is powered off, the terminal device 2 can electromagnetically adsorb the stylus 5, so that the stylus 5 moves from the clamping fixture 31 to the terminal device 2 for magnetic charging.
[0038] Optionally, the positioning groove 311 is a semi-cylindrical groove to ensure that the positioning groove 311 and the stylus 5 have sufficient contact area to ensure magnetic attraction stability, while avoiding interference and restriction of the positioning groove 311 on the movement of the stylus 5 during the electromagnetic charging stability test.
[0039] This embodiment utilizes a clamping fixture 31 with an electromagnetic attraction element, enabling the robotic arm 3 to automatically pick up the stylus 5. For example, when testing a batch of styluses 5, the control system 4 directs the robotic arm 3's clamping fixture 31 toward the stylus 5 and energizes the electromagnetic attraction element. The stylus 5 is automatically attracted to the clamping fixture 31 by the magnetic attraction force. When the test is complete and the stylus 5 needs to be placed, the electromagnetic attraction element is de-energized, releasing the stylus 5. This automated placement and removal of the stylus 5 eliminates the need for manual assembly and disassembly, improving the efficiency of testing batches of styluses 5.
[0040] In some optional embodiments, the actuator end of the robotic arm 3 includes an electric ball table 32, to which the gripping fixture 31 is fixed. The electric ball table 32 is in communication with the control system 4. In addition to the robotic arm 3 being able to move the stylus 5 in three-dimensional space, the control system 4 can also control the movement of the electric ball table 32, allowing the electric ball table 32 to drive the stylus 5 for omnidirectional angle adjustment, enabling the stylus 5 to move over a wide range and at large tilt angles.
[0041] In this embodiment, an electric ball table 32 is provided at the execution end of the robotic arm 3. Through the precise control of the electric ball table 32, the robotic arm 3 can accurately, efficiently and flexibly grasp, move and adjust the posture of the stylus 5, thereby improving the flexibility of the robotic arm 3 in a small space and thus improving the test efficiency.
[0042] In some optional embodiments, the clamping fixture 31 includes an electromagnetic driver 33 (not shown). The electromagnetic driver 33 is opposite to the pressure-sensitive area of the stylus 5 and is configured to apply pressure to the pressure-sensitive area. The electromagnetic driver 33 is in communication with the control system 4 .
[0043] Specifically, the body of stylus 5 is provided with a pressure-sensitive area, and a pressure-sensitive device is provided within the body corresponding to the pressure-sensitive area. Electromagnetic driver 33 is capable of generating a driving force in response to a first electrical signal. Control system 4 controls electromagnetic driver 33 to apply a driving force to the pressure-sensitive area of stylus 5. The pressure-sensitive device within stylus 5 senses the pressure, generates a second electrical signal, and transmits the second electrical signal to terminal device 2, activating the pressure-sensitive interaction function between stylus 5 and terminal device 2.
[0044] For example, the terminal device 2 can be woken up by pressing the pressure-sensitive area, the tool palette can be called out by lightly pinching the pressure-sensitive area, and the function roles such as brush and eraser can be quickly switched by double-clicking the pressure-sensitive area.
[0045] Optionally, the electromagnetic driver 33 is disposed in the positioning slot 311 . When the stylus pen 5 is located in the positioning slot 311 , the driving end of the electromagnetic driver 33 is opposite to the pressure-sensitive area of the stylus pen 5 .
[0046] The handwriting stylus testing device provided in this embodiment of the present invention also includes a housing 6 and a light controller 7. The housing 6 is located on the test bench 1, and the robotic arm 3, the terminal device 2, and the light controller 7 are located within the housing 6. The light controller 7 is used to provide a simulated light source within the housing 6. The light controller 7 is in communication with the control system 4.
[0047] When performing the functional test of photoelectric color sampling, the control system 4 controls the light controller 7 to provide a stable simulated light source for the test, such as a D65 standard light source, to eliminate the deviation of color judgment caused by light differences and ensure the accuracy of the test.
[0048] The box 6 can be a closed box, and the robot arm 3 and the light controller 7 can be installed on the test bench 1 through the box 6. Figure 1 As shown, the first section of the robotic arm 3 is liftably mounted on one side wall of the box 6, the light controller 7 is mounted on the other side wall of the box 6, and the clamping member 11 is located in the middle of the box 6 to keep the terminal device in a stable horizontal state.
[0049] Optionally, a standard color card may be provided in the box 6 within the range of motion of the robot arm 3 , so as to drive the stylus pen 5 to pick colors from the standard color card during the photoelectric color sampling test.
[0050] An embodiment of the present invention further provides a handwriting stylus testing method, which is applied to any of the above-mentioned handwriting stylus testing devices, and includes the following steps: S100 , the control system 4 controls the robotic arm 3 to manipulate the stylus 5 , so that the stylus 5 and the terminal device 2 can interact collaboratively.
[0051] S200 , the stylus 5 and / or the terminal device 2 generates interaction response information based on the collaborative interaction, and sends the interaction response information to the control system 4 .
[0052] S300, the control system 4 determines a test result according to the interactive response information.
[0053] Among them, before step S100, the following steps are also included: clamping the stylus 5 to be tested on the clamping fixture 31 of the robotic arm 3, and checking whether the stylus 5 and the clamping fixture 31 are reliably connected. The robotic arm 3 can be used to drive the stylus 5 to perform a trial writing on the terminal device 2 to test the connection reliability of the stylus 5. The terminal device 2 matched with the stylus 5 is positioned and clamped on the test bench 1 and checked for level. The stylus 5, the terminal device 2 and the robotic arm 3 are connected to the control system 4 by establishing a communication connection, such as by Bluetooth pairing. The robotic arm 3 is sequentially executed with a reset procedure and a four-corner positioning procedure to ensure that the touch point of the stylus 5 on the terminal device 2 remains within the touch area of its screen during the test.
[0054] The control system 4 controlling the robotic arm 3 to manipulate the stylus 5 in step S100 includes: controlling the movement of the robotic arm 3's actuator end in three-dimensional space based on the corresponding test item to drive the stylus 5 to perform touch operations on the screen of the terminal device 2, or moving the stylus 5 into the magnetic range of the terminal device 2 for magnetic charging by the terminal device 2, thereby enabling the stylus 5 and the terminal device 2 to interact with each other. Furthermore, the control system 4 controls the electronic ball table 32 at the robotic arm 3's actuator end to adjust the posture of the stylus 5 based on the corresponding test item, thereby making the various testing actions of the stylus 5 more accurate, efficient, and flexible.
[0055] The collaborative interaction includes the operation performed by the stylus 5 on the terminal device 2 and the response of the terminal device 2 to the operation; and / or the operation performed by the terminal device 2 on the stylus 5 and the response of the stylus 5 to the operation. During the collaborative interaction process, the responding stylus 5 and terminal device 2 upload the interactive response information to the control system 4, which analyzes and processes the interactive response information based on the set evaluation rules to determine the test results.
[0056] In an embodiment of the present invention, the collaborative interaction includes: the stylus 5 performs at least one of a clicking operation, a writing operation, a coloring operation, a screen-off quick writing operation, a pressure-sensitive operation on the terminal device 2, and the terminal device 2 performs a magnetic charging operation on the stylus 5.
[0057] The click operation corresponds to the stylus 5 pressure sensitivity test. The writing operation corresponds to the writing stability test. The coloring operation corresponds to the photoelectric color sampling test. The screen-off quick writing operation corresponds to the screen-off quick writing test. The pressure-sensitive operation corresponds to the pressure-sensitive touch interaction test. The magnetic charging operation corresponds to the magnetic charging stability test.
[0058] In some embodiments of the present invention, the actuator end of the robotic arm 3 is connected to a clamping fixture 31 via an electrically controlled ball table 32. The clamping fixture 31 is equipped with an electromagnetic attraction element and an electromagnetic driver 33, enabling automated, high-precision simulation of various hand gestures and interactions between a person holding a stylus 5. The combined functionality of the terminal device 2, robotic arm 3, control system 4, stylus 5, housing 6, and light controller 7 allows comprehensive testing of the stylus 5's various functions, including pressure sensitivity level testing, writing stability testing, photoelectric color sampling testing, screen-off quickwriting testing, pressure-touch interaction testing, and magnetic charging stability testing.
[0059] During the pressure sensitivity level test, step S100 includes: control system 4 controls robotic arm 3 to manipulate stylus 5 based on multiple pressure force values, causing stylus 5 to perform multiple click operations on terminal device 2 based on each pressure force value. The interactive response information includes radius data of a circle drawn by terminal device 2 based on each click operation. Step S300 includes: control system 4 calculates a first discreteness of the multiple radius data corresponding to each pressure force value, calculates a second discreteness of the multiple first discretenesses, determines the second discreteness as a pressure stability value, and determines the pressure stability value as the test result.
[0060] Among them, the click operation refers to the mechanical arm 3 driving the stylus 5 to click on the screen of the terminal device 2 at an angle perpendicular to the screen. Different pressure sensitivity values correspond to different click forces. The control system controls the pressure sensitivity value according to the touch screen. Specifically, the robotic arm 3 drives the stylus 5 to press the pressure value N jPerform i click operations, the pressure sensor in the stylus 5 senses the pressure value on the pen tip and sends the pressure value to the terminal device 2. The terminal device 2 draws dots of different sizes on the writing interface according to the pressure value, and the terminal device 2 reads the radius data r of the dot i , and the radius data r i Upload to the control system 4.
[0061] Among them, each click operation of i click strength corresponds to i radius data r i , the control system 4 calculates i radius data r of i click operations i The first discreteness Dj = δ{r1, r2, ..., ri}. Then, the second discreteness D = δ{D1, D2, ..., Dj} corresponding to the j click forces is calculated. The second discreteness D is the pressure sensitivity stability value, which represents the pressure sensitivity level of the stylus 5.
[0062] During testing, after completing a click operation with a certain click force and calculating the corresponding first discreteness, the next click operation with a certain click force can be performed. Alternatively, multiple click operations with different click forces can be completed in sequence before calculating the first discreteness. After completing each click operation with a certain click force, the robotic arm 3 drives the stylus 5 to return to the initial test position.
[0063] It should be noted that, in actual testing, the pressure level test may be performed based on only one pressure force value according to the actual requirements of the stylus 5 to be tested. In this case, the first discreteness is the pressure stability value.
[0064] In the writing stability test, step S100 includes: control system 4 controls robotic arm 3 to manipulate stylus 5 based on multiple tilt angle values and at least one writing path, causing stylus 5 to perform multiple writing operations on terminal device 2 based on each writing path at each tilt angle value. The tilt angle value represents the angle between stylus 5 and the screen of terminal device 2. The interactive response information includes: graphical data drawn by terminal device 2 based on multiple writing operations for each writing path at each tilt angle value. Step S300 includes: control system 4 determines the writing error rate for each writing path at each tilt angle value based on the graphical data, and determines the writing error rate as the test result.
[0065] Among them, the writing operation refers to the stylus 5 drawing a line on the screen of the terminal device 2 in a set writing path with a set posture. Different writing paths present different writing results, which can be in different forms such as text, lines, and graphics. Different tilt angle values correspond to different writing postures of the stylus 5. For example, a tilt angle value of 0° indicates that the stylus 5 is perpendicular to the screen; a tilt angle value of 30° indicates that the stylus 5 is at an angle of 60° to the screen. The control system 4 can preset control programs for multiple writing paths corresponding to each tilt angle value. The control system 4 controls the robotic arm 3 to manipulate the stylus 5 according to the writing path and the tilt angle value, so that the stylus 5 performs a writing operation on the terminal device 2.
[0066] Specifically, the robotic arm 3 drives the stylus 5 to perform various writing tests along various writing paths at various tilt angles, including but not limited to single-stroke writing dropout rate testing, line smoothness testing, display edge and diagonal line drawing testing, display edge spiral line drawing testing, line edge absorption testing, edge writing testing, single-point diamond drawing testing, and single-stroke rapid short line drawing testing. After completing multiple writing operations along each writing path at each tilt angle, the terminal device 2 obtains a graphic data file and uploads it to the control system 4. The robotic arm 3 then drives the stylus 5 to the next tilt angle, repeating the aforementioned writing tests until the multiple writing tests along the various tilt angles and writing paths are complete.
[0067] Control system 4 can analyze the received graphic data using an AI algorithm to determine the number of instances of dropped strokes, short strokes, skipped lines, broken lines, flying lines, and incorrect dot patterns during multiple writing operations for each writing path at each tilt angle. This can then determine the writing error rate P1 for each writing path at each tilt angle, calculated as (dropped strokes + short strokes + skipped lines + broken lines + flying lines + incorrect dot patterns) / test cases. The writing error rate indicates the writing stability of stylus pen 5; a lower writing error rate indicates higher writing stability.
[0068] It should be noted that, in actual testing, the writing stability test may be performed based on only one tilt angle value and / or one writing path according to the actual requirements of the stylus 5 to be tested.
[0069] For stylus 5 with a photoelectric color pickup function, a photoelectric color sampling test can be performed. The photoelectric color pickup function means that stylus 5 uses its built-in photoelectric color sensor to collect the color of a specific location in space and restore the collected and recognized color on the screen of terminal device 2 for use in screen drawing.
[0070] In the photoelectric color sampling test, before the coloring operation, the control system 4 controls the robotic arm 3 to manipulate the stylus 5 to sample a color on a standard color card. The interactive response information includes the color value identified by the terminal device 2 based on the coloring operation. Step S300 includes the control system 4 determining a color difference value based on the color card standard value and the color value, and determining the color difference value as the test result.
[0071] Before the control system 4 controls the robotic arm 3 to manipulate the stylus 5 to pick a color on the standard color chart, the control system 4 also includes: controlling the light controller 7 to simulate a standard light source, while simultaneously controlling the robotic arm 3 to manipulate the stylus 5 to activate the photoelectric color picking function, for example, by touching the stylus 5 with the electromagnetic driver 33 on the clamping fixture 31 to activate the photoelectric color picking function. After the control system 4 controls the robotic arm 3 to manipulate the stylus 5 to pick a color on the standard color chart, it then manipulates the stylus 5 to color on the screen of the terminal device 2. The terminal device 2 recognizes the color values (such as the color values L, a, and b in the Lab color space) and uploads them to the control system 4.
[0072] The control system 4 calculates the color difference value ΔEab= sqrt((ΔL)) based on the color value and the color card standard value. 2 +(Δa) 2 + (Δb) 2 ). ΔL, Δa, and Δb are the differences between the recognized color value and the color card standard value at the L, a, and b coordinates, respectively. The smaller the ΔEab value, the smaller the color difference recognized by the stylus pen 5, and the higher the accuracy of the color sampling.
[0073] The control system 4 can determine the photoelectric color sampling test level of the stylus 5 based on the numerical range of the color difference value. For example, a ΔEab between 0 and 0.25 indicates an ideal match. A ΔEab between 0.25 and 0.5 indicates an acceptable match. ΔEab between 0.5 and 1.0, 1.0 and 2.0, and 2.0 and 4.0 indicate acceptable matches in different specific applications.
[0074] It should be noted that the above-described photoelectric color sampling test can be repeated multiple times, i.e., multiple color sampling and coloring operations are performed, the color difference values of the multiple tests are calculated, and then the average of the color difference values of the multiple tests is taken as the test result. After completing multiple photoelectric color sampling tests, the robotic arm 3 drives the stylus 5 to return to the initial test position.
[0075] For stylus 5 with the screen-off quickwriting function, a screen-off quickwriting test can be performed. The screen-off quickwriting function allows users to write directly with the stylus on the terminal device when the screen is off. Once the terminal recognizes the writing of the stylus, it activates the quickwriting function, opens a note-taking app, and completes the writing.
[0076] In the screen-off quickwrite test, before the screen-off quickwrite operation, the control system 4 controls the terminal device 2 to turn off its screen. The interactive response information includes the number of times the quickwrite function is triggered by the terminal device 2 based on multiple screen-off quickwrite operations, the first time point when the stylus 5 contacts the screen of the terminal device 2, and the second time point when the quickwrite function is enabled and can record data normally. Step S300 includes the control system 4 determining a trigger success rate based on the number of times the quickwrite function is triggered, determining a trigger delay value based on the first and second time points, and determining the trigger success rate and trigger delay value as the test result.
[0077] During the test, control system 4 first controls terminal device 2 to turn off its screen, then controls robotic arm 3 to manipulate stylus 5 to write on the screen of terminal device 2, implementing the screen-off quickwrite operation. This screen-off quickwrite operation is repeated multiple times. Terminal device 2 generates a log, including the number of times the quickwrite function is triggered (m), the first time t1 when stylus 5 contacts the screen, and the second time t2 when the quickwrite function is activated and able to record data normally. Terminal device 2 uploads this information to control system 4.
[0078] Control system 4 calculates the trigger success rate and trigger delay of the quick write function. The trigger success rate P2 = m / test case, and the trigger delay T = t2 - t1. A higher trigger success rate indicates a more stable screen-off quick write function. A shorter trigger delay indicates a more sensitive screen-off quick write function.
[0079] For styluses 5 with pressure-sensitive touch functionality, a pressure-sensitive touch interaction test can be performed. Pressure-sensitive touch functionality allows users to activate interaction between the stylus 5 and the terminal device 2 by pressing the pressure-sensitive element on the stylus 5. For example, pinching the pressure-sensitive area of the stylus 5 can bring up a tool palette, while double-clicking the pressure-sensitive area can quickly switch between brush and eraser functions.
[0080] In the pressure-sensitive interaction test, step S100 includes: the control system 4 controls the robotic arm 3 to move the stylus 5 to contact the screen of the terminal device 2, and then controls the clamping fixture 31 to press the pressure-sensitive area of the stylus 5, so that the stylus 5 performs the pressure-sensitive operation on the terminal device 2 multiple times. The interactive response information includes: the number of times the terminal device 2 is awakened based on the multiple pressure-sensitive operations, and the number of times the interactive interface on the terminal device 2 is correctly popped up. Step S300 includes: the control system 4 calculates the awakening success rate based on the number of awakenings, calculates the awakening accuracy based on the number of correct pop-ups, and determines the awakening success rate and the awakening accuracy as the test results.
[0081] Specifically, in the pressure-sensitive interaction test, the control system 4 controls the robotic arm 3 to move the stylus 5 to contact the screen of the terminal device 2; then, the control system 4 controls the electromagnetic driver 33 on the clamping fixture 31 to apply a pressing operation to the touch area of the stylus 5, such as a pinch, single click, or double click. Of course, the clamping fixture 31 can also apply a pressing operation to the touch area of the stylus 5 by tightening the two relative clamping claws. The stylus 5 sends corresponding touch information to the terminal device 2 according to different pressing operations. The terminal device 2 responds accordingly based on the touch information, such as waking up the terminal and popping up the interactive interface. Each pressing operation is repeated multiple times. The terminal device 2 will generate corresponding log information, including the number of times the terminal wakes up p and the number of times the interactive interface is correctly popped up q, and the terminal device 2 uploads this information to the control system 4.
[0082] Control system 4 calculates the wakeup success rate and wakeup accuracy of terminal device 2 during multiple pressure-sensitive operations. Wakeup success rate Ps = p / number of tests, and wakeup accuracy Pa = q / number of tests. Higher wakeup success and accuracy rates indicate more stable pressure-sensitive touch interaction with stylus 5. After completing multiple pressure-sensitive operations, robotic arm 3 returns stylus 5 to its initial test position.
[0083] For styluses 5 with magnetic charging capabilities, a magnetic charging stability test can be performed. Magnetic charging stability tests whether the stylus 5 can accurately attach to the magnetic location of the paired terminal device 2 within a specific distance and be recognized by the software in the terminal device 2 for charging.
[0084] In the magnetic charging stability test, step S100 includes: the control system 4 controls the robotic arm 3 to move the stylus 5 to a set distance from the magnetic position of the terminal device 2, and the stylus 5 is at multiple offset angle positions relative to the magnetic position, so that the terminal device 2 performs multiple magnetic charging operations on the stylus 5 based on each offset angle position. During each magnetic charging operation, the control system 4 controls the electromagnetic adsorption component on the clamping fixture 31 to be powered off. The interactive response information includes: the number of times the stylus 5 is successfully adsorbed and charged by the terminal device 2 based on the multiple magnetic charging operations at each offset angle position. Step S300 includes: the control system 4 determines the magnetic stability value corresponding to each offset angle position based on the number of successful adsorption and charging, and determines the magnetic stability value as the test result.
[0085] Specifically, the robotic arm 3 relies on the electromagnetic attraction element on the clamping fixture 31 to magnetically secure the stylus 5. During the electromagnetic charging stability test, the control system 4 first controls the robotic arm 3 to move the stylus 5 to a position at a set distance from the magnetic attraction position of the terminal device 2, and adjusts the relative offset angle between the stylus 5 and the magnetic attraction position according to the set offset angle. The control system 4 then controls the electromagnetic attraction element to power off, thereby removing the restriction on the stylus 5 by the clamping fixture 31 and allowing the terminal device 2 to attract the stylus 5. The electromagnetic attraction operation is repeated multiple times. After each electromagnetic attraction operation, the stylus 5 generates a log message and synchronously uploads the log message to the control system 4.
[0086] Based on this log information, control system 4 counts the number k of times stylus 5 was successfully attracted and charged by terminal device 2 during multiple magnetic charging operations, and calculates the magnetic stability value Pq at this offset angle position = k / number of tests. A higher magnetic stability value indicates better magnetic charging stability for stylus 5. After completing a set number of magnetic charging operations at an offset angle position, control system 4 controls robotic arm 3 to manipulate stylus 5 to switch to the next offset angle position and perform multiple electromagnetic attraction operations again until the magnetic charging stability test at multiple offset angle positions is completed, obtaining a magnetic stability value corresponding to each offset angle position.
[0087] After each magnetic charging operation, control system 4 controls the electromagnetic attraction element to energize, then controls the robotic arm 3 to move the gripping fixture 31 closer to the stylus 5 to re-pick up the stylus 5. After the robotic arm 3 re-picks up the stylus 5, control system 4 controls the robotic arm 3 again to move the stylus 5 to the starting position for the magnetic charging operation and again controls the electromagnetic attraction element to de-energize. This process is repeated until multiple magnetic charging operations are completed at each offset angle position.
[0088] like Figure 3As shown, the multiple offset angle positions may include 0°, ±30°, ±60°, and other angle positions. The 0° position indicates that the stylus 5 is at the same horizontal position as the magnetic position, the ±30° position indicates that the stylus 5 is 30° above and below the magnetic position, and the ±60° position indicates that the stylus 5 is 60° above and below the magnetic position. Of course, this is only an example, and different offset angle positions can be set according to actual needs during actual testing.
[0089] 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 aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A handwriting stylus testing device, characterized in that: include: test bench; a terminal device, positioned on the test bench; a robotic arm mounted on the test bench, wherein an execution end of the robotic arm has a clamping fixture, the clamping fixture is used to connect to the stylus, and the robotic arm is used to manipulate the stylus in three-dimensional space to enable collaborative interaction between the stylus and the terminal device; A control system, wherein the robotic arm, the terminal device and the stylus are respectively connected to the control system for communication, and the control system is used to receive interactive response information from the terminal device and the stylus, and analyze and process the interactive response information to obtain a test result.
2. The handwriting stylus pen testing device according to claim 1, characterized in that: The clamping fixture is provided with a positioning groove and an electromagnetic adsorption component. The stylus pen is positioned in the positioning groove. The electromagnetic adsorption component is configured to be adsorbed and connected to the stylus pen when powered on. The electromagnetic adsorption component is in communication with the control system.
3. The handwriting stylus pen testing device according to claim 1, wherein: The execution end of the robotic arm has an electric control ball table, the clamping fixture is fixed to the driving end of the electric control ball table, and the electric control ball table is communicatively connected to the control system.
4. The handwriting stylus testing device according to claim 1, wherein: The clamping fixture has an electromagnetic driver, which is opposite to the pressure-sensitive area of the stylus and is used to apply pressure to the pressure-sensitive area. The electromagnetic driver is communicatively connected to the control system.
5. The handwriting stylus testing device according to claim 1, wherein: Also includes: A box body is provided on the test bench, wherein the robotic arm and the terminal device are located in the box body; The light controller is located in the box and is used to provide a simulated light source in the box. The light controller is in communication with the control system.
6. A handwriting stylus testing method, applied to the handwriting stylus testing device according to any one of claims 1 to 5, characterized in that: include: S100, the control system controls the robotic arm to manipulate the stylus pen, so that the stylus pen and the terminal device perform collaborative interaction; S200, the stylus pen and / or the terminal device generates interaction response information based on the collaborative interaction, and sends the interaction response information to the control system; S300: The control system determines a test result according to the interactive response information.
7. The handwriting stylus testing method according to claim 6, characterized in that: The collaborative interaction includes: the stylus performs at least one of a clicking operation, a writing operation, a coloring operation, a screen-off quick writing operation, and a pressure-sensitive operation on the terminal device, and the terminal device performs a magnetic charging operation on the stylus.
8. The handwriting stylus testing method according to claim 7, characterized in that: Step S100 includes: the control system controlling the robotic arm to manipulate the stylus according to a plurality of pressure-sensitive force values, so that the stylus performs a plurality of click operations on the terminal device based on each of the pressure-sensitive force values; The interactive response information includes: radius data of a circle drawn by the terminal device based on each click operation; Step S300 includes: the control system calculates the first discreteness of the multiple radius data corresponding to each of the pressure-sensitive force values, and calculates the second discreteness of the multiple first discretenesses, determines the second discreteness as the pressure-sensitive stability value, and determines the pressure-sensitive stability value as the test result.
9. The handwriting stylus testing method according to claim 7, wherein: Step S100 includes: the control system controlling the robotic arm to manipulate the stylus according to a plurality of tilt angle values and at least one writing path, so that the stylus performs a plurality of writing operations on the terminal device based on each of the writing paths at each of the tilt angle values; the tilt angle value representing the angle between the stylus and the screen of the terminal device; The interactive response information includes: graphic data drawn by the terminal device through multiple writing operations based on each writing path at each tilt angle value; Step S300 includes: the control system determines the writing error rate of each of the writing paths at each of the tilt angle values according to the graphic data, and determines the writing error rate as the test result.
10. The handwriting stylus testing method according to claim 7, wherein: Before the coloring operation, the method further includes: the control system controlling the robotic arm to manipulate the stylus pen to pick a color on a standard color card; The interactive response information includes: a color value identified by the terminal device based on the coloring operation; Step S300 includes: the control system determines a color difference value according to a color card standard value and the color value, and determines the color difference value as the test result.
11. The handwriting stylus testing method according to claim 7, wherein: Before the screen-off quick writing operation, the method further includes: the control system controlling the terminal device to turn off the screen; The interactive response information includes: the number of times the quick write function is triggered by the terminal device based on the multiple screen-off quick write operations, the first time point when the stylus touches the screen of the terminal device, and the second time point when the quick write function is turned on and can record data normally; Step S300 includes: the control system determines a trigger success rate according to the number of times the quick write function is triggered, determines a trigger delay value according to the first time point and the second time point, and determines the trigger success rate and the trigger delay value as the test result.
12. The handwriting stylus testing method according to claim 7, wherein: Step S100 includes: the control system controls the robotic arm to move the stylus pen until it contacts the screen of the terminal device, and then controls the clamping fixture to press the pressure-sensitive area of the stylus pen, so that the stylus pen performs the pressure-sensitive operation on the terminal device multiple times; The interaction response information includes: the number of times the terminal device is awakened based on multiple pressure-sensing operations, and the number of times the interaction interface on the terminal device is correctly popped up; Step S300 includes: the control system calculates a wake-up success rate according to the number of times the device is awakened, calculates a wake-up accuracy rate according to the number of times the device is correctly ejected, and determines the wake-up success rate and the wake-up accuracy rate as the test result.
13. The handwriting stylus testing method according to claim 7, wherein: Step S100 includes: the control system controlling the robotic arm to move the stylus to a set distance from a magnetic attraction position of the terminal device, with the stylus at multiple offset angles relative to the magnetic attraction position, so that the terminal device performs multiple magnetic charging operations on the stylus based on each of the offset angles; and the control system controlling the electromagnetic attraction component on the clamping fixture to power off during each magnetic charging operation. The interactive response information includes: the number of times the stylus is successfully adsorbed and charged by the terminal device based on multiple magnetic charging operations at each offset angle position; Step S300 includes: the control system determines a magnetic attraction stability value corresponding to each offset angle position according to the number of successful adsorption and charging, and determines the magnetic attraction stability value as the test result.