Test device and motion control method
By designing a test device that includes moving, rotating and pulsating modules, the problem of a single test system in the existing technology is solved, the detection of multiple motion data of the equipment under test is realized, and the test accuracy and efficiency are improved.
Patent Information
- Application Number
- CN202010624004.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-30
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-06-30
AI Technical Summary
The existing test device can only simulate the number of steps and has a single test system, which cannot simulate the translation, rotation and pulsation of the device under test at the same time, resulting in incomplete test data and low accuracy.
A test device is designed, including a mobile module, a rotation module and a pulsation module. The control module obtains the data of the target scene and realizes the translation, rotation and pulsation tests of the equipment under test, forming a more complete testing system.
It improves the consistency and accuracy of test data, can more realistically simulate the actual test environment, is suitable for simultaneous testing of multiple devices under test, and improves test efficiency.
Smart Images

Figure CN111782449B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of testing technology, and in particular to a testing device and a motion control method. Background Art
[0002] Wearable electronic devices are portable devices worn on the user, which can realize various body data detection functions and communication functions through software and hardware support, data interaction and cloud interaction. In the process of testing wearable electronic devices, the existing testing device simulates the number of steps through the reciprocating motion of the rocker in the rocker to provide the number of steps detected by the wearable electronic device. However, the testing system of the existing testing device is single and can only simulate the number of steps. Summary of the invention
[0003] The present disclosure provides a testing device and a motion control method.
[0004] According to a first aspect of an embodiment of the present disclosure, a testing device is provided, including:
[0005] Mobile module, capable of translation;
[0006] A rotating module is fixed on the mobile module, capable of following the mobile module in translation and capable of rotating relative to the mobile module; wherein the rotating module has a first accommodation position located inside the rotating module and a second accommodation position located on the outer surface of the rotating module; the second accommodation position is used to accommodate at least one device under test;
[0007] A pulsation module is located in the first accommodation position;
[0008] Wherein, the mobile module is used to provide translation for detection by the device under test;
[0009] The rotation module is used to provide rotation for detection by the device under test;
[0010] The pulsation module is used to provide pulsation for detection by the device under test.
[0011] In some embodiments, the apparatus further comprises:
[0012] The control module establishes communication connections with the mobile module, the rotation module and the pulsation module respectively, and is used to obtain the movement data, rotation data and pulsation data of the target scene, and control the working status of the mobile module, the rotation module and the pulsation module based on the movement data, rotation data and pulsation data of the target scene.
[0013] In some embodiments, the mobile module includes:
[0014] A driver, used for providing a driving signal;
[0015] The mobile chassis is connected to the driver and is used for translation in a first direction and / or a second direction based on the driving signal, wherein the first direction is perpendicular to the second direction.
[0016] In some embodiments, a projection of the first accommodation position onto the second accommodation position at least partially overlaps with the second accommodation position.
[0017] In some embodiments, the rotating module has a fixed end and a free end that can move relative to the fixed portion;
[0018] The second accommodation position is located on the free end.
[0019] In some embodiments, the rotation module includes a six-axis robotic arm.
[0020] In some embodiments, the device under test is a wearable electronic device, including a smart watch or a smart bracelet.
[0021] According to a second aspect of an embodiment of the present disclosure, a motion control method is provided, which is applied to the test device in the first aspect above, and the method includes:
[0022] When testing at least one device under test, controlling the moving module of the testing device to perform translation for the device under test to perform translation testing;
[0023] Controlling the rotation module of the test device to perform rotation for the device under test to perform a rotation test;
[0024] The pulsation module of the test device is controlled to perform pulsation for the device under test to perform a pulsation test.
[0025] In some embodiments, the method further comprises:
[0026] Obtain movement data, rotation data and pulse data;
[0027] The controlling the mobile module of the test device to perform translation for the device under test to perform translation testing comprises: controlling the mobile module to perform translation for the device under test to perform translation testing according to the movement data of the target scene;
[0028] The controlling the rotation module of the test device to execute the rotation for the device under test to perform the rotation test comprises: controlling the rotation module to execute the rotation for the device under test to perform the rotation test according to the rotation data of the target scene;
[0029] The controlling the pulsation module of the test device to execute the pulsation for the device under test to perform the pulsation test comprises: controlling the pulsation module to execute the pulsation for the device under test to perform the pulsation test according to the pulsation data of the target scene.
[0030] In some embodiments, the method further comprises:
[0031] After acquiring the movement data, the rotation data and the pulsation data, the movement data, the rotation data and the pulsation data of the same candidate scene are associated; wherein the target scene is one of the candidate scenes.
[0032] In some embodiments, the method further comprises:
[0033] When it is detected that the device under test leaves the testing device, controlling the testing device to stop moving;
[0034] or,
[0035] After the test is completed, the test device is controlled to stop moving.
[0036] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0037] The disclosed embodiment proposes that the test device includes a moving module, a rotating module and a pulsation module located on the first accommodation position of the rotating module, which can not only provide the translation required for the detection of the device under test, but also can combine the moving module, the rotating module and the pulsation module to realize the simultaneous provision of the translation, rotation and pulsation required for the detection of the device under test. A variety of detection data, such as, can be provided to the device under test, thereby forming a more complete test system and improving the consistency of the test data. In addition, by introducing the moving module, when the device under test is translated, the rotation provided by the rotating module and the pulsation of the pulsation module can be detected, so that the test device can more realistically simulate the detection of rotation and / or pulsation in the actual test environment, thereby being able to more accurately test the situation of the device under test in the actual test scenario, thereby improving the test accuracy. In addition, the second accommodation position of the test device of the disclosed embodiment can accommodate multiple devices under test, and can provide motion data for detection of multiple devices under test, thereby being able to realize simultaneous testing of multiple devices under test, thereby improving the efficiency of the test.
[0038] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0040] Figure 1a 1 is a structural schematic diagram of a testing device shown in an embodiment of the present disclosure.
[0041] Figure 1b It is a structural schematic diagram of a mobile module shown in an embodiment of the present disclosure.
[0042] Figure 2 It is an existing rocker shown in the embodiment of the present disclosure.
[0043] Figure 3 This is a schematic diagram of a test device shown in an embodiment of the present disclosure. Figure 2 .
[0044] Figure 4a It is a schematic diagram of the projection structure of the accommodation position shown in an embodiment of the present disclosure.
[0045] Figure 4b 1 is a structural schematic diagram of a rotation module shown in an embodiment of the present disclosure.
[0046] Figure 4c The structure of the rotating module shown in the embodiment of the present disclosure is shown in FIG. Figure 2 .
[0047] Figure 4d The structure of the rotating module shown in the embodiment of the present disclosure is shown in FIG. Figure 3 .
[0048] Figure 5 This is a flow chart of the motion control method shown in the embodiment of the present disclosure.
[0049] Figure 6 This is a schematic diagram of the motion control method shown in the embodiment of the present disclosure. Figure 2 .
[0050] Figure 7 The figure is a block diagram of a wearable electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0051] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0052] Figure 1a 1 is a structural schematic diagram of a test device shown in an embodiment of the present disclosure. Figure 1a As shown, the test device includes:
[0053] A mobile module 101 capable of translation;
[0054] The rotating module 102 is fixed on the mobile module 101, can move with the mobile module 101, and can rotate relative to the mobile module 101; wherein the rotating module 102 has a first accommodation position located inside the rotating module 102 and a second accommodation position located on the outer surface of the rotating module 102; the second accommodation position is used to accommodate at least one device under test;
[0055] The pulsation module 103 is located in the first accommodation position;
[0056] Wherein, the moving module 101 is used to provide translation for detection by the device under test;
[0057] The rotation module 102 is used to provide rotation for the device under test to detect;
[0058] The pulsation module 103 is used to provide pulsation for detection by the device under test.
[0059] In the disclosed embodiment, the above-mentioned testing device can simulate different movements and provide the movement data required for the detection of the device under test, thereby realizing the testing requirements of the device under test.
[0060] In some embodiments, the device under test is a wearable electronic device, including a smart watch and a smart bracelet.
[0061] In another embodiment, the device under test may be a device other than a wearable electronic device. For example, the device under test may also include: a smart phone or a treatment detection device.
[0062] The mobile module is used to provide translation for the device under test. The mobile module can translate in multiple directions. For example, the mobile module can translate in a plane or in a three-dimensional space.
[0063] In some embodiments, Figure 1b As shown, the mobile module includes: a driver 101a for providing a driving signal; a mobile chassis 101b connected to the driver 101a, for translating in a first direction and / or a second direction based on the driving signal, wherein the first direction is perpendicular to the second direction.
[0064] In the disclosed embodiment, the mobile module can move in two mutually perpendicular directions. In this way, when the test device tests the device under test, and the device under test is a wearable electronic device, the mobile module combined with the rotation module and the pulsation module can better simulate various movement conditions of the wearable electronic device when worn, thereby providing a better testing environment.
[0065] In some other embodiments, the mobile chassis can also translate in a third direction based on the driving signal, wherein the third direction is perpendicular to the first direction; and the third direction is perpendicular to the second direction.
[0066] That is to say, the mobile module of the embodiment of the present disclosure can move in three directions perpendicular to each other. The first direction, the second direction and the third direction can be the X-axis direction, the Y-axis direction and the Z-axis direction, which are not limited in the embodiment of the present disclosure.
[0067] In the disclosed embodiment, the above-mentioned mobile module can be divided into a tracked mobile module and a trackless mobile module.
[0068] The track-mounted mobile module further includes: a guide track laid on the ground, and the wheels are driven by a driver to move along the guide track, so that the mobile module can be translated in multiple directions on the path provided by the guide track.
[0069] The trackless mobile module also includes: a guide and a microcontroller connecting the guide and the driver; through the guide, the microcontroller, the driver and the mobile chassis, the mobile module can be translated along a preset guide path.
[0070] Among them, the guide includes a guiding component and a signal detection component, the signal detection component is arranged on the mobile chassis and connected to the microcontroller; the guiding component can be laid according to a preset direction; the signal detection component is used to detect the guiding signal of the guiding component and send the guiding signal to the microcontroller; the microcontroller is used to control the driver based on the guiding signal to drive the mobile chassis to translate according to the preset guiding path.
[0071] The above-mentioned guiding signal includes: a magnetic signal and an optical signal; the guiding component includes: a magnetic component or an optical component; correspondingly, the signal detecting component includes: a magnetic signal detecting component or an optical signal detecting component.
[0072] Wherein, the magnetic component is used to generate a magnetic signal, and the magnetic signal detection component is used to detect the magnetic signal;
[0073] The optical component is used to generate an optical signal, and the optical signal detection component is used to detect the optical signal.
[0074] Exemplarily, the magnetic component includes but is not limited to a magnetic strip; the optical component includes but is not limited to a reflective strip.
[0075] The driver includes a motor, which may include a servo motor or a stepper motor, which is not limited in the embodiment of the present disclosure.
[0076] The above-mentioned mobile chassis can have at least two wheels, and the at least two wheels are symmetrically arranged on the mobile chassis. In this way, by symmetrically arranging the at least two wheels on the mobile chassis, the mobile chassis can be moved in a balanced and stable manner.
[0077] For example, there are four wheels, two of which are arranged on a first side of the mobile chassis, and the other two wheels are arranged on a second side of the mobile chassis, wherein the second side is the opposite side of the first side.
[0078] For another example, the number of wheels is eight, the mobile chassis has four sides, two adjacent sides are connected, and each side is respectively equipped with two wheels. In the disclosed embodiment, the rotation module is fixed to the mobile module. When the mobile module translates in multiple directions, the rotation module can translate with the mobile module, thereby achieving displacement of the rotation module during the rotation process.
[0079] It should be noted that since the position of the existing testing device is fixed, the device under test installed with the false recognition algorithm cannot perform the testing function. Therefore, the embodiment of the present disclosure introduces a mobile module, and based on the translation of the mobile module, the testing device is moved relative to the ground, thereby causing the device under test installed on the testing device to change its displacement relative to the ground, thereby realizing the detection function of the device under test and making the testing device universal.
[0080] Exemplarily, the mobile module may be an automated guided vehicle (AGV).
[0081] The rotation module is used to provide the rotation detected by the device under test. The rotation includes: the rotation of the arm when running, the rotation of the arm when climbing or the rotation of the arm when walking. The rotation module has a first accommodation position inside, and the first accommodation position is used to accommodate the pulsation module.
[0082] It should be noted that the interior of the rotation module may have a cavity, and the area of the rotation module occupied by the first accommodation position is positively correlated with the area of the pulsation module. That is, the area of the rotation module occupied by the first accommodation position can be set according to the area of the pulsation module. For example, the area of the rotation module occupied by the first accommodation position can be set to be equal to the area of the pulsation module.
[0083] In the disclosed embodiment, the rotation module may be a module for simulating the swing of the user's arms in different sports scenarios. For example, the rotation module includes a free part and a fixed part, and the rotation module can simulate the swing of the arm in walking motion by swinging the free part at different accelerations relative to the fixed part; or the rotation module can simulate the swing of the arm in running motion.
[0084] The rotation module has a second accommodating position on its exterior, and the second accommodating position is used to accommodate at least one device under test. In other words, the rotation module can provide rotation for multiple devices under test to detect, and can realize the rotation detection function of testing multiple devices under test at the same time.
[0085] It should be noted that the area of the rotation module occupied by the second accommodation position is positively correlated with the area of the device under test. For example, when the third area of the device under test is greater than the fourth area of the device under test, the area of the second accommodation position corresponding to the device under test of the third area is greater than the area of the second accommodation position corresponding to the device under test of the fourth area.
[0086] Of course, the area of the rotation module occupied by the second accommodation position is also positively correlated with the number of devices under test. For example, the area of the second accommodation position corresponding to a large number of devices under test is larger than the area of the second accommodation position corresponding to a small number of devices under test.
[0087] In the disclosed embodiment, when the device under test detects the rotation of the rotating module, the device under test is fixed relative to the rotating module and can move along with the movement of the rotating module.
[0088] It should be noted that the second accommodation position can be formed by a groove formed by the outer surface of the rotating module being recessed inwards, so that the movement of the device under test can be limited by the groove wall, so that the device under test can be stably fixed on the rotating module.
[0089] In the disclosed embodiment, the outer surface of the rotating module is protruded outward to form at least two baffles. The second accommodation position can also be formed by two adjacent baffles and the portion between the two baffles. In this way, the movement of the device under test can be limited by the baffles, so that the device under test can be better fixed on the rotating module.
[0090] The pulsation module is used to provide pulsation for the device under test to detect. In other words, the pulsation module can simulate pulsation for the device under test to detect, and then by comparing the data detected by the device under test with the simulated data, the pulsation detection function of the device under test can be tested.
[0091] In related technologies, such as Figure 2 As shown, there is an electromagnetic coil on the base of the rocker, and the power switch of the electromagnetic coil is a triode. When the magnetic field is strong, the switch is closed to form a path, and when the magnetic field is weak, the switch is disconnected to form a short circuit. When the magnet of the rocker approaches the triode, the magnetic field of the triode becomes stronger, the triode forms a path, and the electromagnetic coil on the base is energized to generate a magnetic field of the same polarity, applying a repulsive force to the rocker, so that the rocker moves away from the base. When the rocker moves to a preset position, the magnetic field weakens, the switch is disconnected to form a short circuit, the magnetic field generated by the electromagnetic coil on the base disappears, and the rocker falls back under the action of gravity, and so on. The number of movement steps can be obtained by the change of the acceleration and angular velocity of the rocker in the horizontal direction, and then the number of steps detected by the wearable electronic device can be provided. However, the rocker can only provide a test of the number of steps, and there is a problem of a single test system.
[0092] Based on this, the embodiment of the present disclosure proposes that the test device includes a moving module, a rotating module and a pulsation module located at the first accommodation position of the rotating module, which can be combined with the moving module, the rotating module and the pulsation module to provide the translation, rotation and pulsation required for the detection of the device under test, thereby forming a more complete test system and improving the consistency of test data. At the same time, by introducing the moving module, when the device under test is translated, the rotation provided by the rotating module and the pulsation of the pulsation module can be detected, so that the test device can more realistically simulate the detection of rotation and / or pulsation in the actual test environment, so that the situation of the device under test in the actual test scenario can be tested more accurately, thereby improving the test accuracy of the device under test.
[0093] Furthermore, since the position of the existing test device is fixed, the device under test installed with the false recognition algorithm cannot perform the test function. Therefore, the embodiment of the present disclosure introduces a mobile module, and based on the translation of the mobile module, the test device moves relative to the ground, thereby causing the device under test installed on the test device to change its displacement relative to the ground, thereby realizing the detection function of the device under test and making the test device universal. In addition, the second accommodating position of the test device of the embodiment of the present disclosure can accommodate multiple devices under test, and can provide motion data for detection by multiple devices under test, thereby realizing simultaneous testing of multiple devices under test, thereby improving the efficiency of the test.
[0094] In some embodiments, Figure 3 As shown, the control module 104 establishes communication connections with the mobile module 101, the rotation module 102 and the pulsation module 103 respectively, and is used to obtain the movement data, rotation data and pulsation data of the target scene, and control the working status of the mobile module 101, the rotation module 102 and the pulsation module 103 based on the movement data, rotation data and pulsation data of the target scene.
[0095] The control module has established communication connections with the rotation module, the pulsation module and the mobile module respectively, and the communication connections include: wired connection and wireless connection. In the wired connection, the control module can directly control the working status of the mobile module, the rotation module and the pulsation module through the control information transmitted by the signal transmission line; in the wireless connection, the control module, the rotation module, the mobile module and the pulsation module can be respectively provided with communication modules that can communicate with each other, and the working status of the rotation module, the mobile module and the pulsation module can be remotely controlled through the communication module. Among them, the communication module includes: a Bluetooth communication module, a wireless fidelity communication module or a cellular communication module; among them, the cellular communication module includes a 4G communication module or a 5G communication module, which is not limited by the embodiments of the present disclosure.
[0096] In the embodiment of the present disclosure, the above-mentioned rotation data includes but is not limited to the rotation speed, rotation trajectory and rotation acceleration; the above-mentioned pulsation data includes but is not limited to the number of pulsations per unit time; the above-mentioned movement data includes but is not limited to the translation direction and translation speed.
[0097] In the disclosed embodiment, the control module may be composed of a microchip. The microchip can be directly placed in the rotating module due to its small size, without the need to set up an additional accommodating space for the control module outside the rotating module. In this way, the test device is more miniaturized.
[0098] It should be noted that when the device under test is a wearable electronic device, in order to better simulate the wearing condition of the test device, the embodiment of the present disclosure may associate the movement data, rotation data and pulsation data of the same alternative scene. Among them, the target scene is one of the alternative scenes. After association, the control module can be used to select the movement data, rotation data and pulsation data of the target scene from the alternative scenes. Among them, the above-mentioned alternative scenes may be sports scenes and static scenes, and the sports scenes include: running scenes, yoga scenes or walking scenes; static scenes include: sleeping scenes or sitting scenes and / or standing scenes in a non-sleeping state, which are not limited by the embodiments of the present disclosure.
[0099] The above-mentioned control of the working states of the mobile module, the rotation module and the pulsation module based on the mobile data, the rotation data and the pulsation data of the target scene includes: forming a first control instruction based on the mobile data of the target scene, and controlling the mobile module to translate through the first control instruction; forming a second control instruction based on the pulsation data of the target scene, and controlling the pulsation module to pulsate through the second control instruction; forming a third control instruction based on the rotation data of the target scene, and controlling the rotation module to rotate through the third control instruction. In this way, through the mobile data, the rotation data and the pulsation data of the target scene, the mobile module, the rotation module and the pulsation module can be controlled to work together in the target scene, so that the device under test can simultaneously perform rotation test, pulsation test and translation test.
[0100] In the disclosed embodiment, the moving module, the rotating module and the pulsating module are controlled by the control module. The moving module, the rotating module and the pulsating module can be combined to provide translation, rotation and pulsation for detection by the device under test, thereby forming a more complete test system and improving the consistency of test data. Moreover, the moving module can also cause the device under test installed on the test device to be displaced, thereby reducing the situation where the test is not applicable due to the lack of displacement of the device under test, thereby making the test device universal.
[0101] In some embodiments, Figure 4aAs shown, the projection of the first accommodating position 104 onto the second accommodating position 105 at least partially overlaps with the second accommodating position 105 .
[0102] In the embodiment of the present disclosure, the projection of the first accommodation position onto the second accommodation position at least partially overlaps with the second accommodation position, including: the projection completely overlaps with the second accommodation position; or the projection partially overlaps with the second accommodation position.
[0103] It should be noted that the at least partial overlap between the projection and the second accommodation position indicates that the second accommodation position is arranged within the pulsation range of the pulsation module, thereby being able to better provide the device under test with pulsation for detection.
[0104] Through the embodiment of the present disclosure, the projection at least partially overlaps with the second accommodating position. When testing the device under test, the device under test installed on the second accommodating position can better conduct the pulsation within the pulsation range, thereby enabling the device under test to better detect the pulsation, thereby improving the test accuracy.
[0105] In some embodiments, Figure 4b As shown, the rotating module has a fixed portion 102a and a free portion 102b that can move relative to the fixed portion;
[0106] The second accommodation position is located on the free portion 102b.
[0107] In the embodiment of the present disclosure, the free part can move relative to the fixed part. The movement of the free part relative to the fixed part includes: the free part rotates relative to the fixed part; or the free part swings relative to the fixed part.
[0108] In the embodiment of the present disclosure, the second accommodation position is located on the free portion. That is, when testing the device under test, the test device located on the second accommodation position can move along with the movement of the free portion, thereby enabling the rotation module to provide detection rotation for the device under test.
[0109] In some embodiments, Figure 4c As shown, the free portion includes at least two movable rods 102b1;
[0110] The rotating module further comprises a connecting shaft located between the fixed portion and the free portion; wherein the connecting shaft comprises: a first rotating shaft 102c1 and at least one second rotating shaft 102c2 spaced apart from the first rotating shaft 102c1, wherein the rotating direction of the first rotating shaft 102c1 is different from the rotating direction of the second rotating shaft 102c2;
[0111] The first rotating shaft 102c1 connects the fixed portion 102a and the movable rod 102b1, wherein the movable rod can rotate relative to the fixed portion 102a through the first rotating shaft 102c1;
[0112] The second rotating shaft 102c2 connects two adjacent movable rods 102b1, wherein the two adjacent movable rods 102b1 can both rotate through the second rotating shaft 102c2;
[0113] The second accommodating position is located on the movable rod 102b1.
[0114] For example, the first rotating shaft can be a rotating shaft, and the second rotating shaft can be a swinging shaft; or the first rotating shaft can be a revolving shaft, and the second rotating shaft can be a rotating shaft. In this way, the movable rod can rotate in more rotation directions relative to the fixed part through the first rotating shaft and the second rotating shaft.
[0115] It should be noted that the at least two movable rods include a first movable rod connected to the fixed portion and a second movable rod connected to the first movable rod; the second movable rod includes a head end and a tail end, the head end is connected to the first movable rod, and the tail end is provided with a second accommodation position. In this way, when the rotation module simulates the rotation of the arm and the device under test is a smart bracelet, the second accommodation position is set on the tail end, which can better match the position of the user wearing the smart bracelet, in line with the user's habit of wearing the smart bracelet, and then when the rotation module rotates, it can better provide rotation for the device under test to detect.
[0116] In some embodiments, the rotation module includes a six-axis robotic arm.
[0117] In the present disclosure, Figure 4d As shown, the six-axis robotic arm includes an upper arm rotation axis 201, an upper arm rotation axis 202, a lower arm rotation axis 203, a lower arm rotation axis 204, a wrist flip axis 205, and a wrist rotation axis 206. When the device under test is a smart bracelet, the six-axis robotic arm provides rotation for detection for the device under test, which can better simulate various sports scenes of users wearing smart bracelets, provide the device under test with more realistic rotation for detection by the device under test, and improve the test accuracy of the device under test.
[0118] The present disclosure also provides a motion control method, such as Figure 5 As shown, the motion control method is applied to the test device in one or more of the above embodiments, and the motion control method includes:
[0119] S1001. When testing at least one device under test, control a moving module of the testing device to perform translation for performing a translation test on the device under test;
[0120] S1002, controlling the rotation module of the test device to perform rotation test on the device under test;
[0121] S1003: Control the pulsation module of the test device to execute pulsation for the device under test to perform a pulsation test.
[0122] In the disclosed embodiment, the detection module detects whether the device under test is installed on the rotating module to determine whether the test device has entered the test state, and then can control the working state of the rotating module, the moving module and the pulsating module when entering the test state, that is, testing the device under test. The detection module can be a pressure detection module or a distance detection module. Among them, the pressure value detected by the pressure detection module can be used to determine whether the device under test is installed on the rotating module, or the distance value detected by the distance detection module can be used to determine whether the device under test is installed on the rotating module.
[0123] The above-mentioned control of the mobile module translation can control the mobile module to translate in multiple directions according to a preset path, thereby providing the translation required for the translation test for the device being tested. The multiple directions include: a first direction and a second direction, the first direction and the second direction are perpendicular to each other; the above-mentioned multiple directions may also include a third direction, the third direction is perpendicular to the first direction, and the second direction is perpendicular to the first direction. In this way, various movement conditions of the wearable electronic device during wearing can be better simulated, providing a better testing environment.
[0124] The above-mentioned rotation includes: rotation of the arms while running, rotation of the arms while mountain climbing, or rotation of the arms while walking; wherein, the rotation of the arms may include: rotation of the wrist, rotation of the elbow, and rotation of the shoulder, which is not limited in the embodiments of the present disclosure.
[0125] The pulsation includes simulating the pulsation corresponding to different rotation conditions. For example, the pulsation data may be 60 times per minute, or 90 times per minute, which is not limited in the embodiments of the present disclosure.
[0126] Through the embodiments of the present disclosure, the test device can not only provide the device under test with rotation for rotation testing and pulsation for pulsation testing, but also provide the device under test with translation for translation testing, that is, the embodiments of the present disclosure can combine the translation module, the rotation module and the pulsation module for multiple devices under test to perform testing, which can improve the test efficiency of multiple devices under test to test translation, rotation and pulsation at the same time. Moreover, by combining translation, rotation and pulsation, the device under test can detect translation, rotation and pulsation at the same time, thereby forming a more complete test system and improving the consistency of test data; at the same time, by executing the translation of the device under test for translation testing through the mobile module, the device under test installed on the test device can be displaced, reducing the situation where the test is not applicable due to the lack of displacement of the device under test, and making the test device universal.
[0127] In some embodiments, the method further comprises:
[0128] Obtain movement data, rotation data and pulse data;
[0129] The controlling the mobile module of the test device to perform translation for the device under test to perform translation testing comprises: controlling the mobile module to perform translation for the device under test to perform translation testing according to the movement data of the target scene;
[0130] The controlling the rotation module of the test device to execute the rotation for the device under test to perform the rotation test comprises: controlling the rotation module to execute the rotation for the device under test to perform the rotation test according to the rotation data of the target scene;
[0131] The controlling the pulsation module of the test device to execute the pulsation for the device under test to perform the pulsation test comprises: controlling the pulsation module to execute the pulsation for the device under test to perform the pulsation test according to the pulsation data of the target scene.
[0132] In the embodiments of the present disclosure, the target scenes may be sports scenes and static scenes, wherein the sports scenes include: running scenes, yoga scenes or walking scenes; the static scenes include: sleeping scenes or sitting scenes and / or standing scenes in a non-sleeping state, which are not limited in the embodiments of the present disclosure.
[0133] The above-mentioned movement data includes: movement data in different directions in different target scenes, for example, movement data in a running scene; or movement data in a walking scene.
[0134] The above rotation data includes rotation data in different target scenarios, for example, rotation data in a running scenario; or rotation data in a walking scenario.
[0135] The above-mentioned pulse data includes pulse data in different target scenes, for example, pulse data in a running scene, or pulse data in a mountain climbing scene, or pulse data in a sleeping scene.
[0136] The above-mentioned testing device can obtain movement data, rotation data and pulsation data from devices other than the device under test through wireless communication or wired communication; it can also directly obtain movement data, rotation data and pulsation data from its own stored movement database, rotation database and pulsation database, which is not limited by the embodiments of the present disclosure.
[0137] It should be noted that the target scene for performing translation, the target scene for performing rotation, and the target scene for performing pulsation are consistent. That is to say, the embodiment of the present disclosure combines the movement data under the target scene, the rotation data under the target scene, and the pulsation data under the target scene, so that the device under test can provide the device under test with three kinds of data for testing at the same time, which can improve the test system and enhance the consistency of test data.
[0138] In some embodiments, the method further comprises:
[0139] After acquiring the movement data, the rotation data and the pulsation data, the movement data, the rotation data and the pulsation data of the same candidate scene are associated; wherein the target scene is one of the candidate scenes.
[0140] In the disclosed embodiment, the alternative scenes include at least one target scene. During the testing process of the testing device, one of the alternative scenes can be selected as the target scene currently tested by the testing device, so that the mobile module can be controlled to perform translation of the translation test based on the movement data of the target scene; the rotation module can be controlled to perform rotation of the rotation test based on the rotation data of the target scene; and the pulsation module can be controlled to perform pulsation of the pulsation test based on the pulsation data of the target scene.
[0141] It should be noted that the rotation database stores rotation data in different candidate scenarios, the pulsation database stores pulsation data in different candidate scenarios, and the movement database stores movement data in different candidate scenarios.
[0142] The above-mentioned associating the movement data, rotation data and pulsation data of the same alternative scene includes: selecting the movement data of the same alternative scene from the rotation database, selecting the rotation data of the same alternative scene from the rotation database and selecting the pulsation data of the same alternative scene from the pulsation database; and based on the rotation data of the same alternative scene, the movement data of the same alternative scene and the pulsation data of the same alternative scene, establishing a mapping relationship between the rotation data, movement data and pulsation data under the same alternative scene, and obtaining the mapping data under the same alternative scene.
[0143] When the candidate scene is a running scene, a mapping relationship between the rotation data, movement data and pulse data in the running scene is established to obtain the mapping data in the running scene. For example, the mapping data in the running scene may be that a rotation of 5 degrees in the running scene corresponds to a pulse of 65 beats per minute, and the corresponding movement speed is 3 minutes per kilometer.
[0144] When the candidate scene is a mountain climbing scene, a mapping relationship between the rotation data, movement data and pulse data in the mountain climbing scene is established to obtain the mapping data in the mountain climbing scene. For example, the mapping data in the mountain climbing scene may be that a rotation of 10 degrees in the mountain climbing scene corresponds to a pulse of 70 beats per minute, and the corresponding movement speed is 4 minutes per kilometer.
[0145] In the disclosed embodiment, after obtaining the mapping data under the same alternative scenario, control instructions corresponding to the rotation module, control instructions corresponding to the movement module and control instructions corresponding to the pulsation module are formed based on the mapping data under the same alternative scenario, and based on the control instructions corresponding to the rotation module, the control instructions corresponding to the movement module and the control instructions corresponding to the pulsation module, the rotation module, the movement module and the pulsation module can be controlled to work together to provide the rotation, movement and pulsation required for the test of the device under test.
[0146] Through the embodiments of the present disclosure, the test device, based on the target scene selected from the alternative scenes, can simultaneously provide the rotation, pulsation and movement required for the test of the device under test by associating the data in the independent mobile database, rotation database and pulsation database, thereby improving the test system and enhancing the consistency of the test data.
[0147] In some embodiments, when it is detected that the device under test leaves the testing device, the testing device is controlled to stop moving;
[0148] or,
[0149] After the test is completed, the test device is controlled to stop moving.
[0150] According to the embodiment of the present disclosure, the test device can control the moving module, the rotating module and the pulsating module to stop moving in the following scenarios: the device under test leaves the test device or after the test is completed. In this way, the test device can be flexibly controlled to stop moving.
[0151] In the embodiment of the present disclosure, after the test is completed, the test data of the device under test is read, and the test data is compared with the actual test data to determine whether the detection function of the device under test meets the requirements. In this way, the test of the device under test is achieved.
[0152] In order to better understand the above embodiments, the present disclosure also provides the following embodiments:
[0153] like Figure 6 As shown, in the test device, the rotating module is fixed to the moving module, and the pulsating module is located at the first accommodation position in the rotating module. The test device of the embodiment of the present disclosure performs the motion control method including the following steps:
[0154] S2001, obtaining movement data, rotation data and pulse data;
[0155] S2002, associating movement data, rotation data, and pulse data of the same candidate scene;
[0156] S2003, based on the associated data, forming a control instruction corresponding to the rotation module, a control instruction corresponding to the movement module, and a control instruction corresponding to the pulsation module;
[0157] S2004, according to the control instruction corresponding to the mobile module, controlling the mobile module to perform translation for the device under test to perform translation test;
[0158] S2005, according to the control instruction corresponding to the rotation module, control the rotation module to execute the rotation test for the device under test;
[0159] S2006. According to the control instruction corresponding to the pulsation module, control the pulsation module to execute the pulsation for the device under test to perform the pulsation test.
[0160] The above associated data may be mapping data under the same alternative scenario.
[0161] Through the embodiments of the present disclosure, the test device can control the movement module to perform translation for the tested device for translation test, control the rotation module to provide the tested device with rotation for rotation test, and control the pulsation module to provide the tested device with pulsation for pulsation test. That is, the embodiments of the present disclosure can combine translation, rotation and pulsation for testing multiple tested devices, thereby improving the testing efficiency of multiple tested devices; it can also enable the tested device to detect translation, rotation and pulsation at the same time, thereby forming a more complete testing system and improving the consistency of test data; it can also cause the tested device installed on the testing device to be displaced, thereby reducing the situation where the test is not applicable due to the lack of displacement of the tested device, thereby making the testing device universal.
[0162] The method in the above embodiment is described in detail in the embodiment of the testing device, and will not be elaborated here.
[0163] Figure 7 1 is a block diagram of a wearable electronic device according to an exemplary embodiment. For example, the device may be a smart bracelet or a smart watch.
[0164] Reference Figure 7 , the device may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0165] The processing component 802 generally controls the overall operation of the module, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0166] The memory 804 is configured to store various types of data to support the operation of the device. Examples of such data include instructions for any application or method operating on the device, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0167] The power component 806 provides power to the various components of the device. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device.
[0168] The multimedia component 808 includes a screen that provides an output interface between the device and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0169] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0170] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0171] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the device. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0172] The communication component 816 is configured to facilitate wired or wireless communication between the device and other devices. The device can access a wireless network based on a communication standard, such as Wi-Fi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0173] In an exemplary embodiment, the device may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0174] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0175] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0176] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A testing device, characterized in that: The testing device comprises: Mobile module, capable of translation; A rotating module is fixed on the mobile module, can follow the mobile module to translate, and can rotate relative to the mobile module; wherein the rotating module has a first accommodation position located inside the rotating module and a second accommodation position located on the outer surface of the rotating module; the second accommodation position is used to accommodate at least one device under test; the projection of the first accommodation position to the second accommodation position at least partially overlaps with the second accommodation position; The pulsation module is located in the first accommodation position and has a fixed portion and a free portion that can move relative to the fixed portion, and the second accommodation position is located on the free portion; Wherein, the mobile module is used to provide translation for detection by the device under test; The rotation module is used to provide rotation for detection by the device under test; The pulsation module is used to provide pulsation for detection by the device under test.
2. The device according to claim 1, characterized in that The testing device also includes: The control module establishes communication connections with the mobile module, the rotation module and the pulsation module respectively, and is used to obtain the movement data, rotation data and pulsation data of the target scene, and control the working status of the mobile module, the rotation module and the pulsation module based on the movement data, rotation data and pulsation data of the target scene.
3. The device according to claim 1 or 2, characterized in that: The mobile module comprises: A driver, used for providing a driving signal; The mobile chassis is connected to the driver and is used for translation in a first direction and / or a second direction based on the driving signal, wherein the first direction is perpendicular to the second direction.
4. The device according to claim 1 or 2, characterized in that: The rotation module includes a six-axis robotic arm.
5. The device according to claim 1 or 2, characterized in that: The device under test is a wearable electronic device, including a smart watch or a smart bracelet.
6. A motion control method, characterized in that: Applied to the testing device according to any one of claims 1 to 5, the method comprises: When testing at least one device under test, controlling the moving module of the testing device to perform translation for the device under test to perform translation testing; Controlling the rotation module of the test device to perform rotation for the device under test to perform a rotation test; The pulsation module of the test device is controlled to perform pulsation for the device under test to perform a pulsation test.
7. The method according to claim 6, characterized in that The method further comprises: Obtain movement data, rotation data and pulse data; The controlling the mobile module of the test device to perform translation for the device under test to perform translation testing comprises: controlling the mobile module to perform translation for the device under test to perform translation testing according to the movement data of the target scene; The controlling the rotation module of the test device to execute the rotation for the device under test to perform the rotation test comprises: controlling the rotation module to execute the rotation for the device under test to perform the rotation test according to the rotation data of the target scene; The controlling the pulsation module of the test device to execute the pulsation for the device under test to perform the pulsation test comprises: controlling the pulsation module to execute the pulsation for the device under test to perform the pulsation test according to the pulsation data of the target scene.
8. The method according to claim 7, characterized in that The method further comprises: After acquiring the movement data, the rotation data and the pulsation data, the movement data, the rotation data and the pulsation data of the same candidate scene are associated; wherein the target scene is one of the candidate scenes.
9. The method according to any one of claims 6 to 8, characterized in that: The method further comprises: When it is detected that the device under test leaves the testing device, controlling the testing device to stop moving; or, After the test is completed, the test device is controlled to stop moving.
