Automatic test equipment and method for acceleration sensor and gyroscope

By designing an automated test device that includes a rotary frame and drive components, the problem that existing equipment cannot test the acceleration sensor and gyroscope simultaneously is solved, and a more efficient test process is achieved.

CN119714363APending Publication Date: 2025-03-28GUANGDONG RUIQIN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411968059.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

Existing test equipment cannot test the acceleration sensor and gyroscope of electronic devices at the same time, resulting in a longer test time and inefficient efficiency.

Method used

An acceleration sensor and gyroscope automation testing equipment are designed, including a base, a first drive assembly, a second drive assembly, a first rotary frame and a second rotary frame. By driving the rotary frame to rotate, simultaneous testing of the acceleration sensor and the gyroscope is realized.

Benefits of technology

The device can simultaneously complete the test of the acceleration sensor and gyroscope of electronic devices, greatly shortening the test time and improving the test efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119714363A_ABST
    Figure CN119714363A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic test device and method for an acceleration sensor and a gyroscope, which are used for solving the technical problem that the existing test device cannot test the acceleration sensor and the gyroscope of an electronic device at the same time. The test equipment comprises a base, a first driving assembly, a second driving assembly, a first rotating frame and a second rotating frame, the first driving assembly is installed on the base and connected with the first rotating frame, and the first driving assembly is used for driving the first rotating frame to rotate in the vertical direction; the second rotating frame is rotationally connected to the first rotating frame, the second rotating frame is provided with a fixing assembly used for fixing electronic equipment to be tested, and the second driving assembly is connected with the second rotating frame to drive the second rotating frame to rotate in the horizontal direction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automated testing technology, and in particular to automated testing equipment and methods for acceleration sensors and gyroscopes. Background Art

[0002] With the increasing expansion of consumer electronic functions, the application of sensors has gradually become popular, and accelerometers and gyroscopes in sensors have gradually become standard configurations of some portable electronic devices.

[0003] In order to improve the reliability of electronic equipment, its accelerometer and gyroscope need to be tested before leaving the factory to ensure the accuracy and reliability of the function. In the existing testing process, the test of the accelerometer needs to be completed using the accelerometer test equipment, and the test of the gyroscope needs to be completed using the gyroscope test equipment. It can be simply understood that after the electronic equipment completes the test of the accelerometer, it needs to be transferred to the gyroscope test equipment for the gyroscope test. It can be seen that the test of electronic equipment needs to be transferred, which undoubtedly greatly prolongs the test time and has a great impact on the test efficiency.

[0004] Therefore, finding a technical solution that can solve the above technical problems has become an important topic studied by technical personnel in this field. Summary of the invention

[0005] The embodiment of the invention discloses an acceleration sensor and a gyroscope automatic testing device and method, which are used to solve the technical problem that the existing testing equipment cannot test the acceleration sensor and the gyroscope of the electronic device at the same time.

[0006] The present invention provides an acceleration sensor and gyroscope automatic testing equipment, comprising a base, a first driving component, a second driving component, a first rotating frame and a second rotating frame;

[0007] The first driving assembly is installed on the base and connected to the first rotating frame, and the first driving assembly is used to drive the first rotating frame to rotate around a vertical direction;

[0008] The second rotating frame is rotatably connected to the first rotating frame, a fixing assembly for fixing the electronic device to be tested is arranged on the second rotating frame, and the second driving assembly is connected to the second rotating frame to drive the second rotating frame to rotate around a horizontal direction.

[0009] Optionally, the first driving assembly includes a first motor, a driving gear, a driven gear and a main shaft;

[0010] The driven gear is rotatably connected to the base, the main shaft is fixedly connected to the driven gear and extends in the vertical direction, the main shaft is connected to the first rotating frame, the first motor is connected to the driving gear, and the driving gear is meshed with the driven gear.

[0011] Optionally, the second driving component is a second motor, and the second motor is connected to the second rotating frame to drive the second rotating frame to rotate around a horizontal direction.

[0012] Optionally, there are multiple fixing components, and positions for placing electronic devices to be tested are provided at positions of the second rotating frame corresponding to the fixing components, and each fixing component is used to fix an electronic device placed at the placement position.

[0013] Optionally, the fixing assembly includes a fixing seat and a fixing screw;

[0014] The fixing seat is fixed on the second rotating frame and arranged opposite to the placement position, the fixing seat is provided with a threaded through hole, and the fixing screw is threadedly connected in the threaded through hole;

[0015] Furthermore, when the fixing screw is driven to rotate, the fixing screw can move relative to the fixing seat toward the placement position to press the electronic device against the placement position.

[0016] Optionally, one end of the fixing screw facing the placement position is covered with a buffer sleeve.

[0017] Optionally, the first rotating frame has end plates that are arranged opposite to each other, the second rotating frame is rotatably connected between the two end plates, and the end plates are provided with angle scales of 0-180°.

[0018] Optionally, a control system is also included;

[0019] Wherein, the control system includes a control module and a data reading and analysis module;

[0020] The control module includes a first control submodule and a second control submodule, the first control submodule is communicatively connected to the first drive component, and the second control submodule is communicatively connected to the second drive component;

[0021] The first control submodule is used to control the operation of the first driving assembly to drive the first rotating frame to rotate at a first preset rotation angle and at a first preset rotation speed;

[0022] The second control submodule is used to control the second driving assembly to operate so as to drive the second rotating frame to rotate at a second preset rotation angle and at a second preset rotation speed;

[0023] The data reading and analysis module is used to communicate with the electronic device to be tested to read the data of the acceleration sensor and the gyroscope of the electronic device, and compare the read data with the preset standard value to determine whether the test of the electronic device is qualified.

[0024] Optionally, the communication connection mode between the first control submodule and the first driving component is one of WIFI connection, Bluetooth connection, and USB cable connection;

[0025] The communication connection mode between the second sub-control module and the Deru driving component is one of WIFI connection, Bluetooth connection and USB cable connection;

[0026] The communication connection mode between the data reading and analyzing module and the electronic device is one of WIFI connection, Bluetooth connection and USB cable connection.

[0027] The present invention provides an acceleration and gyroscope automatic testing method, which is based on the above-mentioned acceleration sensor and gyroscope automatic testing equipment and comprises the following steps:

[0028] Placing the electronic device to be tested on the placement position of the second rotating frame, and fixing the electronic device by the fixing assembly;

[0029] When the first driving component drives the first rotating frame to rotate at a first preset rotation angle and a first preset rotation speed, the gyroscope XYZ three-axis data test value is collected during the rotation of the electronic device at every first preset time period, and the collected gyroscope XYZ three-axis data test value is calculated to obtain an average value of the gyroscope XYZ three-axis data test value, which is recorded as Q1, and Q1 is compared and analyzed with the gyroscope XYZ three-axis data standard value;

[0030] When the second driving component drives the second rotating frame to rotate at the second preset rotation angle and the second rotation speed, the acceleration sensor XYZ three-axis data test values ​​are collected during the rotation of the electronic device at every second preset time period, and the collected acceleration sensor XYZ three-axis data test values ​​are calculated to obtain an average value of the acceleration sensor XYZ three-axis data test values, which is recorded as Q2, and Q2 is compared and analyzed with the acceleration sensor XYZ three-axis data standard value;

[0031] Determine whether Q1 meets the standard value of the gyroscope XYZ three-axis data. If so, the gyroscope test of the electronic device is judged to be qualified; determine whether Q2 meets the standard value of the acceleration sensor XYZ three-axis data. If so, the acceleration sensor test of the electronic device is judged to be qualified.

[0032] Compared with the prior art, the present invention has the following beneficial effects:

[0033] In the test equipment of this embodiment, the first driving component is used to drive the first rotating frame to rotate in the vertical direction, thereby completing the test of the gyroscope of the electronic device. At the same time, the second rotating frame is driven by the second driving member to rotate in the horizontal direction, thereby completing the test of the acceleration sensor of the electronic device. Through the above design, the test equipment can simultaneously realize the test of the acceleration sensor and the gyroscope of the electronic device, greatly shortening the test time and effectively improving the test efficiency of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0035] Figure 1 A schematic diagram of the structure of an acceleration sensor and gyroscope automatic testing equipment provided by the present invention;

[0036] Figure 2 A control system architecture diagram of an acceleration sensor and gyroscope automatic test equipment provided by the present invention;

[0037] Figure 3 A flow chart of an automated testing method for an acceleration sensor and a gyroscope provided by the present invention;

[0038] Illustration: base 1; first rotating frame 2; second rotating frame 3; first motor 4; transmission gear 5; main shaft 6; second motor 7; fixed base 8; fixed screw 9; placement position 10; end plate 11; angle scale 12; horizontal direction A; vertical direction B. DETAILED DESCRIPTION

[0039] The invention discloses an acceleration sensor and a gyroscope automatic testing device and method, which are used to solve the technical problem that the existing testing equipment cannot test the acceleration sensor and the gyroscope of the electronic equipment at the same time.

[0040] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0041] See also Figure 1 to Figure 2 , an acceleration sensor and gyroscope automatic test equipment provided by an embodiment of the present invention comprises a base 1, a first driving assembly, a second driving assembly, a first rotating frame 2 and a second rotating frame 3;

[0042] The first driving assembly is installed on the base 1 and connected to the first rotating frame 2, and the first driving assembly is used to drive the first rotating frame 2 to rotate around a vertical direction;

[0043] The second rotating frame 3 is rotatably connected to the first rotating frame 2 . A fixing component for fixing the electronic device to be tested is disposed on the second rotating frame 3 . The second driving component is connected to the second rotating frame 3 to drive the second rotating frame 3 to rotate around the horizontal direction.

[0044] In the test equipment of this embodiment, the first driving component is used to drive the first rotating frame 2 to rotate in the vertical direction, thereby completing the test of the gyroscope of the electronic device. At the same time, the second rotating frame 3 is driven by the second driving member to rotate in the horizontal direction, thereby completing the test of the acceleration sensor of the electronic device. Through the above design, the test equipment can simultaneously realize the test of the acceleration sensor and the gyroscope of the electronic device, greatly shortening the test time and effectively improving the test efficiency of the electronic device.

[0045] Furthermore, the first driving assembly in this embodiment specifically includes a first motor 4, a driving gear, a driven gear 5 and a main shaft 6;

[0046] The driven gear 5 is rotatably connected to the base 1 , the main shaft 6 is fixedly connected to the driven gear 5 and extends in the vertical direction, the main shaft 6 is connected to the first rotating frame 2 , the first motor 4 is connected to the driving gear, and the driving gear is meshed with the driven gear 5 .

[0047] It should be noted that, in the above-mentioned first driving assembly, the first motor 4 drives the driving gear to rotate, thereby driving the driven gear 5 to rotate synchronously, and then drives the first rotating frame 2 to rotate around the vertical direction through the main shaft 6;

[0048] In addition, by controlling the first motor 4, the first rotating frame 2 can be made to rotate clockwise or counterclockwise, and the first rotating frame 2 can be driven to rotate a preset angle at a preset speed. In some specific embodiments, the first rotating frame 2 can rotate 720° at a speed of 30° / second, or rotate 1080° at a speed of 60° / second. The above test parameters are set according to actual test requirements, and this embodiment does not limit this.

[0049] In addition, in another embodiment, the first motor 4 may also drive the main shaft 6 to rotate by belt or chain transmission to rotate the first rotating frame 2. This embodiment does not limit the specific structure of the first driving component.

[0050] Furthermore, the second driving component in this embodiment is a second motor 7 , and the second motor 7 is connected to the second rotating frame 3 to drive the second rotating frame 3 to rotate around the horizontal direction.

[0051] It should be noted that by controlling the second motor 7, the second rotating frame 3 can be made to rotate clockwise or counterclockwise, and the second rotating frame 3 can be driven to rotate a preset angle at a preset speed. In some specific embodiments, the first rotating frame 2 can rotate 90° at a speed of 10° / second, or rotate 45° at a speed of 15° / second.

[0052] Furthermore, in order to further improve the test efficiency, the number of fixed components in this embodiment is multiple, and a placement position 10 for placing the electronic device to be tested is provided at the position of the second rotating frame 3 corresponding to the fixed component, and each of the fixed components is used to fix an electronic device placed on the placement position 10.

[0053] It should be noted that, through the above design, the testing device in this embodiment can test multiple electronic devices at the same time, effectively improving the testing efficiency.

[0054] Specifically, the fixing assembly in this embodiment includes a fixing seat 8 and a fixing screw 9;

[0055] The fixing seat 8 is fixed on the second rotating frame 3 and arranged opposite to the placement position 10. The fixing seat 8 is provided with a threaded through hole, and the fixing screw 9 is threadedly connected in the threaded through hole;

[0056] Furthermore, when the fixing screw 9 is driven to rotate, the fixing screw 9 can move relative to the fixing seat 8 toward the placement position 10 to press the electronic device against the placement position 10 .

[0057] It should be noted that, through the above design, the fixing component can be applicable to electronic devices of different thicknesses and sizes, effectively improving the test application range of the test equipment.

[0058] In addition, one end of the fixing screw 9 facing the placement position 10 is covered with a buffer sleeve.

[0059] Optionally, the buffer sleeve may be a silicone sleeve or a rubber sleeve. Through the above design, the fixing screw 9 can be prevented from causing damage to the electronic device, thereby playing a role in protecting the electronic device.

[0060] Furthermore, the first rotating frame 2 in this embodiment has end plates 11 arranged opposite to each other, the second rotating frame 3 is rotatably connected between the two end plates 11 , and the end plates 11 are provided with an angle scale 12 of 0-180°.

[0061] It should be noted that, through the above design, the tester can observe the actual rotation angle of the second rotating frame 3, so that it is convenient for the tester to determine whether the preset rotation angle of the second rotating frame 3 is wrong.

[0062] Furthermore, the testing device in this embodiment also includes a control system;

[0063] Wherein, the control system includes a control module and a data reading and analysis module;

[0064] The control module includes a first control submodule and a second control submodule, the first control submodule is communicatively connected to the first drive component, and the second control submodule is communicatively connected to the second drive component;

[0065] It should be noted that the first control submodule is used to control the operation of the first driving component to drive the first rotating frame 2 to rotate at a first preset rotation angle and at a first preset rotation speed;

[0066] The second control submodule is used to control the second driving assembly to operate so as to drive the second rotating frame 3 to rotate at a second preset rotation angle and at a second preset rotation speed;

[0067] The data reading and analysis module is used to communicate with the electronic device to be tested to read the data of the acceleration sensor and the gyroscope of the electronic device, and compare the read data with the preset standard value to determine whether the test of the electronic device is qualified.

[0068] Specifically, in this embodiment, the communication connection mode between the first control submodule and the first driving component is one of WIFI connection, Bluetooth connection, and USB cable connection;

[0069] In this embodiment, the communication connection mode between the second sub-control module and the drive assembly is one of WIFI connection, Bluetooth connection and USB cable connection;

[0070] In this embodiment, the communication connection mode between the data reading and analyzing module and the electronic device is one of WIFI connection, Bluetooth connection, and USB cable connection.

[0071] This embodiment does not limit the above communication connection mode, and designers can design a suitable type of communication connection mode according to actual needs.

[0072] See also Figures 1 to 3 The embodiment of the present invention discloses an acceleration and gyroscope automatic testing method, which is based on the above-mentioned acceleration sensor and gyroscope automatic testing equipment and includes the following steps:

[0073] Placing the electronic device to be tested on the placement position 10 of the second rotating frame 3, and fixing the electronic device by the fixing assembly;

[0074] When the first driving component drives the first rotating frame 2 to rotate at a first preset rotation angle and a first preset rotation speed, the gyroscope XYZ three-axis data test value is collected during the rotation of the electronic device at every first preset time period, and the collected gyroscope XYZ three-axis data test value is calculated to obtain an average value of the gyroscope XYZ three-axis data test value, which is recorded as Q1, and Q1 is compared and analyzed with the gyroscope XYZ three-axis data standard value;

[0075] When the second driving component drives the second rotating frame 3 to rotate at the second preset rotation angle and the second rotation speed, the acceleration sensor XYZ three-axis data test values ​​are collected during the rotation of the electronic device every second preset time period, and the collected acceleration sensor XYZ three-axis data test values ​​are calculated to obtain the average value of the acceleration sensor XYZ three-axis data test values, which is recorded as Q2, and Q2 is compared and analyzed with the acceleration sensor XYZ three-axis data standard value;

[0076] Determine whether Q1 meets the standard value of the gyroscope XYZ three-axis data. If so, the gyroscope test of the electronic device is judged to be qualified; determine whether Q2 meets the standard value of the acceleration sensor XYZ three-axis data. If so, the acceleration sensor test of the electronic device is judged to be qualified.

[0077] In the testing method of this embodiment, the acceleration sensor and the gyroscope of the electronic device can be tested simultaneously, which greatly shortens the testing time and effectively improves the testing efficiency of the electronic device.

[0078] Furthermore, for ease of understanding, the test method will be described in detail below using a specific test process, as follows:

[0079] S1. Prepare a smartphone, which has an acceleration sensor and a gyroscope installed inside;

[0080] S2, placing the smart phone on the placement position 10 of the second rotating frame 3, and fixing the smart phone by rotating the fixing screw 9 to prevent the smart phone from falling off the test equipment during the test, and then connecting the smart phone to the data reading and analysis module of the control system for communication;

[0081] S3, turn on the test equipment, the first control submodule controls the first rotating frame 2 to rotate 720 degrees at a speed of 30 degrees per second, during the rotation process, the data reading and analysis module collects the gyroscope XYZ three-axis data test value every 1 second until the rotation ends, then the data reading and analysis module calculates the obtained gyroscope XYZ three-axis data test value to obtain an average value Q1, compares and analyzes Q1 with the gyroscope XYZ three-axis data standard value, if Q1 meets the gyroscope XYZ three-axis data standard value, then it is determined that the gyroscope test of the electronic device is qualified;

[0082] At the same time, the second control submodule controls the second rotating frame 3 to rotate 90° at a speed of 5° / second. During the rotation, the data reading and analysis module collects the acceleration sensor XYZ three-axis data test value every 2 seconds until the rotation is completed. Then, the data reading and analysis module calculates the obtained acceleration sensor XYZ three-axis data test value to obtain the average value Q2, and compares Q2 with the acceleration sensor XYZ three-axis data standard value. If Q2 meets the acceleration sensor XYZ three-axis data standard value, it is determined that the acceleration sensor test of the electronic device is qualified.

[0083] At this point, the testing process of the electronic device acceleration sensor and gyroscope is completed.

[0084] It should be noted that the parameters such as the rotation speed and the rotation angle involved in the test process of the first rotating frame 2 and the second rotating frame 3 are set according to the test requirements.

[0085] The above is a detailed introduction to the acceleration sensor and gyroscope automatic testing equipment and method provided by the present invention. For a person skilled in the art, according to the idea of ​​the embodiments of the present invention, there may be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. An automatic test equipment for acceleration sensor and gyroscope, characterized in that: It comprises a base (1), a first driving assembly, a second driving assembly, a first rotating frame (2) and a second rotating frame (3); The first driving component is mounted on the base (1) and connected to the first rotating frame (2), and the first driving component is used to drive the first rotating frame (2) to rotate in a vertical direction; The second rotating frame (3) is rotatably connected to the first rotating frame (2), a fixing component for fixing the electronic device to be tested is provided on the second rotating frame (3), and the second driving component is connected to the second rotating frame (3) to drive the second rotating frame (3) to rotate around a horizontal direction.

2. The acceleration sensor and gyroscope automatic test equipment according to claim 1, characterized in that: The first driving assembly comprises a first motor (4), a driving gear, a driven gear (5) and a main shaft (6); The driven gear (5) is rotatably connected to the base (1); the main shaft (6) is fixedly connected to the driven gear (5) and extends in a vertical direction; the main shaft (6) is connected to the first rotating frame (2); the first motor (4) is connected to the driving gear; and the driving gear is meshed with the driven gear (5).

3. The acceleration sensor and gyroscope automatic testing equipment according to claim 1, characterized in that: The second driving component is a second motor (7), and the second motor (7) is connected to the second rotating frame (3) to drive the second rotating frame (3) to rotate in a horizontal direction.

4. The acceleration sensor and gyroscope automatic test equipment according to claim 1, characterized in that: There are a plurality of fixing components, and positions (10) for placing electronic devices to be tested are provided at positions of the second rotating frame (3) corresponding to the fixing components, and each fixing component is used to fix an electronic device placed on the placing position (10).

5. The acceleration sensor and gyroscope automatic test equipment according to claim 4, characterized in that: The fixing assembly comprises a fixing seat (8) and a fixing screw (9); The fixing seat (8) is fixed on the second rotating frame (3) and is arranged opposite to the placement position (10); the fixing seat (8) is provided with a threaded through hole, and the fixing screw (9) is threadedly connected in the threaded through hole; Furthermore, when the fixing screw (9) is driven to rotate, the fixing screw (9) can move relative to the fixing seat (8) in the direction of the placement position (10) to press the electronic device against the placement position (10).

6. The acceleration sensor and gyroscope automatic test equipment according to claim 5, characterized in that: One end of the fixing screw rod (9) facing the placement position (10) is covered with a buffer sleeve.

7. The acceleration sensor and gyroscope automatic test equipment according to claim 1, characterized in that: The first rotating frame (2) has end plates (11) arranged opposite to each other, the second rotating frame (3) is rotatably connected between the two end plates (11), and the end plates (11) are provided with an angle scale (12) of 0-180°.

8. The acceleration sensor and gyroscope automatic test equipment according to claim 1, characterized in that: Also includes control systems; Wherein, the control system includes a control module and a data reading and analysis module; The control module includes a first control submodule and a second control submodule, the first control submodule is communicatively connected to the first drive component, and the second control submodule is communicatively connected to the second drive component; The first control submodule is used to control the operation of the first driving component to drive the first rotating frame (2) to rotate at a first preset rotation angle and at a first preset rotation speed; The second control submodule is used to control the second driving component to operate so as to drive the second rotating frame (3) to rotate at a second preset rotation angle and at a second preset rotation speed; The data reading and analysis module is used to communicate with the electronic device to be tested to read the data of the acceleration sensor and the gyroscope of the electronic device, and compare the read data with the preset standard value to determine whether the test of the electronic device is qualified.

9. The acceleration sensor and gyroscope automatic test equipment according to claim 1, characterized in that: The communication connection mode between the first control submodule and the first driving component is one of WIFI connection, Bluetooth connection and USB cable connection; The communication connection mode between the second sub-control module and the Deru driving component is one of WIFI connection, Bluetooth connection and USB cable connection; The communication connection mode between the data reading and analyzing module and the electronic device is one of WIFI connection, Bluetooth connection and USB cable connection.

10. An automatic test method for acceleration and gyroscope, characterized in that: The acceleration and gyroscope automatic testing method is based on the acceleration sensor and gyroscope automatic testing equipment according to any one of claims 1 to 9, and comprises the following steps: Placing the electronic device to be tested on the placement position (10) of the second rotating frame (3), and fixing the electronic device by means of the fixing assembly; When the first driving component drives the first rotating frame (2) to rotate at a first preset rotation angle and a first preset rotation speed, the gyroscope XYZ three-axis data test values ​​are collected during the rotation of the electronic device at every first preset time period, and the collected gyroscope XYZ three-axis data test values ​​are calculated to obtain an average value of the gyroscope XYZ three-axis data test values, which is recorded as Q1, and Q1 is compared and analyzed with a standard value of the gyroscope XYZ three-axis data; When the second driving component drives the second rotating frame (3) to rotate at a second preset rotation angle and a second rotation speed, the acceleration sensor XYZ three-axis data test values ​​are collected during the rotation of the electronic device at every second preset time period, and the collected acceleration sensor XYZ three-axis data test values ​​are calculated to obtain an average value of the acceleration sensor XYZ three-axis data test values, which is recorded as Q2, and Q2 is compared and analyzed with a standard value of the acceleration sensor XYZ three-axis data; Determine whether Q1 meets the standard value of the gyroscope XYZ three-axis data. If so, the gyroscope test of the electronic device is judged to be qualified; determine whether Q2 meets the standard value of the acceleration sensor XYZ three-axis data. If so, the acceleration sensor test of the electronic device is judged to be qualified.