CN111399080A - Gravity sensor testing method and device, electronic device and storage medium - Google Patents

Gravity sensor testing method and device, electronic device and storage medium Download PDF

Info

Publication number
CN111399080A
CN111399080A CN202010160876.8A CN202010160876A CN111399080A CN 111399080 A CN111399080 A CN 111399080A CN 202010160876 A CN202010160876 A CN 202010160876A CN 111399080 A CN111399080 A CN 111399080A
Authority
CN
China
Prior art keywords
gravity sensor
equipment
preset angle
numerical value
actual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010160876.8A
Other languages
Chinese (zh)
Inventor
黄长斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202010160876.8A priority Critical patent/CN111399080A/en
Publication of CN111399080A publication Critical patent/CN111399080A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V13/00Manufacturing, calibrating, cleaning, or repairing instruments or devices covered by groups G01V1/00 – G01V11/00
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Geophysics (AREA)
  • Signal Processing (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The application provides a gravity sensor testing method, a gravity sensor testing device, an electronic device and a storage medium, wherein the method comprises the following steps: acquiring an actual value of a gravity sensor of the equipment on an X, Y, Z axis when the equipment is placed according to a preset angle; comparing the actual value with a standard value corresponding to a preset angle; if the actual numerical value is consistent with the standard numerical value, the gravity sensor of the output equipment has good function; and if the actual value is inconsistent with the standard value, the gravity sensor of the output equipment is abnormal in function. The method can effectively improve the testing efficiency of the gravity sensor during equipment manufacturing.

Description

Gravity sensor testing method and device, electronic device and storage medium
Technical Field
The present disclosure relates to the field of smart devices, and in particular, to a gravity sensor testing method and apparatus, an electronic apparatus, and a storage medium.
Background
The existing smart phone is internally provided with a gravity sensor, and the state of the smart phone can be identified by detecting the variation of the gravity sensor X, Y and the variation of the Z axis. When the intelligent device controller detects the change of the gravity sensor, the intelligent device controller can control the application program loaded on the intelligent device by using the change information of the sensor. For example, when the smart phone is placed from a vertical screen to a horizontal screen, the playing picture of the player loaded in the smart phone is turned over. Moreover, when playing games, such as racing games, the moving direction of the racing cars can be controlled by shaking the smart phone left and right without pressing keys.
During the manufacture of the smart phone, the smart phone needs to be tested at the factory to ensure the performance of the gravity sensor. The gravity sensor of the smart phone is generally calibrated and tested. The calibration operation needs to place the smart phone on a desktop, and a processor of the smart phone reads the value of the sensor, compares the value with a standard value, and calibrates the value. During testing, an operator turns the smart phone to the corresponding direction along X, Y and the Z axis for three times respectively, and detects whether the test value of the sensor is normal after turning every time. The current test flow is complicated and the test efficiency is low.
Disclosure of Invention
In order to solve the technical problems of complexity and low efficiency of the conventional gravity sensor testing method for the smart phone, embodiments of the present application provide a gravity sensor testing method, a device, an electronic device, and a storage medium.
In a first aspect, an embodiment of the present application provides a gravity sensor testing method, for testing a gravity sensor of a device, where the method includes:
acquiring an actual value of a gravity sensor of the equipment on an X, Y, Z axis when the equipment is placed according to a preset angle;
comparing the actual numerical value with a standard numerical value corresponding to the preset angle;
if the actual numerical value is consistent with the standard numerical value, outputting that the gravity sensor of the equipment has good function;
and if the actual numerical value is inconsistent with the standard numerical value, outputting that the gravity sensor of the equipment is abnormal in function.
A second aspect of the embodiments of the present application provides a gravity sensor testing apparatus for gravity sensor testing of a device, the apparatus including:
the device comprises an acquisition module, a display module and a control module, wherein the acquisition module is used for acquiring an actual value of a gravity sensor of the device on an X, Y, Z axis when the device is placed according to a preset angle;
the comparison module is used for comparing the actual numerical value with a standard numerical value corresponding to the preset angle;
the output module is used for outputting that the gravity sensor of the equipment has good function if the actual numerical value is consistent with the standard numerical value; and if the actual numerical value is inconsistent with the standard numerical value, outputting that the gravity sensor of the equipment is abnormal in function.
A third aspect of embodiments of the present application provides an electronic apparatus, including: the gravity sensor testing method comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of any one of the gravity sensor testing methods provided by the first aspect of the embodiments of the present application.
A fourth aspect of the embodiments of the present application provides a storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the gravity sensor testing method according to any one of the aspects provided in the first aspect of the embodiments of the present application.
As can be seen from the above, the gravity sensor testing method, apparatus, electronic apparatus and storage medium provided by the present application, the method includes: acquiring an actual value of a gravity sensor of the equipment on an X, Y, Z axis when the equipment is placed according to a preset angle; comparing the actual value with a standard value corresponding to a preset angle; if the actual numerical value is consistent with the standard numerical value, the gravity sensor of the output equipment has good function; and if the actual value is inconsistent with the standard value, the gravity sensor of the output equipment is abnormal in function. According to the method, the equipment is placed at a preset angle, the value of the gravity sensor of the placed equipment on the X, Y, Z axis is obtained, and whether the gravity sensor of the equipment is normal or not can be determined according to the comparison result of the actual data and the standard data obtained at the moment. And the equipment does not need to be turned over for many times, and the measurement is carried out for many times. Therefore, the testing efficiency of the gravity sensor is improved.
Drawings
FIG. 1 is a block diagram of an electronic device;
fig. 2 is a schematic flow chart of a gravity sensor testing method according to an embodiment of the present disclosure;
fig. 3 is a schematic flow chart of a gravity sensor testing method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a gravity sensor testing apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a gravity sensor testing device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, features and advantages of the present invention more apparent and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments of the present application.
Fig. 1 shows a block diagram of an electronic device, and the method for testing a gravity sensor provided in the embodiment of the present application may be applied to the electronic device 10 shown in fig. 1, which may include, but is not limited to: smartphones, tablet computers, etc. that rely on batteries to maintain normal operation are needed.
As shown in fig. 1, the electronic device 10 includes a memory 101, a memory controller 102, a processor 103 (which may be multiple, only one of which is shown), and a gravity sensor 104, which communicate with each other via one or more communication buses/signal lines 105.
It is to be understood that the structure shown in fig. 1 is merely an illustration and is not intended to limit the structure of the electronic device. The electronic device 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
The memory 101 may be used to store software programs and modules, such as instructions and modules corresponding to the gravity sensor testing method and apparatus provided in the embodiments of the present application. The processor 103 executes various functional applications and data processing by running software programs and modules stored in the memory 101, that is, the steps of the gravity sensor testing method and the functions of the gravity sensor testing apparatus are realized.
Memory 101 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, mountain range, or other non-volatile solid state memory. In some embodiments, the memory 101 may further include memory located remotely from the processor 103, which may be connected to the electronic device 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. Access to the memory 101 by the processor 103 and possibly other components may be under the control of the memory controller 103.
The gravity sensor 104 is used for detecting the gravity change of the electronic device 10, and converting the gravity change into an electrical signal to be transmitted to the processor 103 and the memory 101. When the electronic device 10 is in any one of the states, the gravity sensor 104 generates values on the X, Y and the Z-axis, and the change of the values also represents the change of the gravity state of the electronic device 10.
The electronic device 10 needs to detect the gravity sensor 104 of the electronic device during the factory manufacturing process to determine that the relevant functions related to the gravity sensing function of the electronic device 10 can be used normally after being put on the market.
Based on the electronic device 10, in order to improve the testing efficiency of the gravity sensor of the electronic device 10 in the manufacturing process, the embodiment of the application provides a testing method of the gravity sensor, which is used for testing the gravity sensor of the device. As shown in fig. 2, a schematic flow chart of a gravity sensor testing method provided in an embodiment of the present application is shown, where the method includes the following steps:
step 201, acquiring an actual value of a gravity sensor of the device on X, Y and a Z axis when the device is placed at a preset angle.
In the embodiment of the present application, before the actual values of the gravity sensor of the device on X, Y and the Z-axis are obtained, the device is placed at a preset angle. The preset angle can be 45 degrees with X, Y and the clamping foot of the Z axis, and certainly can be clamping feet with other degrees, and can be set according to actual conditions.
Step 202, comparing the actual value with a standard value corresponding to a preset angle.
In the embodiment of the application, after the actual numerical value when the device is placed according to the preset angle is obtained, the obtained actual numerical value is compared with the standard numerical value corresponding to the preset angle. The comparison may be performed by an algorithm in the processor 103.
In step 203, if the actual value is consistent with the standard value, the gravity sensor of the output device has good function.
In the embodiment of the present application, when the comparison result in step 202 is that the actual value is consistent with the standard value, that is, the actual value is equal to the standard value, the gravity sensor of the output device functions well. The PASS may be displayed in the display screen of the device during the actual testing of the gravity sensor.
And step 204, if the actual numerical value is inconsistent with the standard numerical value, the gravity sensor of the output equipment is abnormal in function.
In the embodiment of the present application, if the actual value is not consistent with the standard value as a result of the comparison in step 202, the information of the gravity sensor of the device with abnormal function is output.
As can be seen from the above description, the gravity sensor testing method provided in the embodiments of the present application includes: acquiring an actual value of a gravity sensor of the equipment on an X, Y, Z axis when the equipment is placed according to a preset angle; comparing the actual value with a standard value corresponding to a preset angle; if the actual numerical value is consistent with the standard numerical value, the gravity sensor of the output equipment has good function; and if the actual value is inconsistent with the standard value, the gravity sensor of the output equipment is abnormal in function. According to the method, whether the functions of the gravity sensor are normal can be directly obtained only by placing the equipment according to a preset angle and testing whether the numerical values of the gravity sensor on all axes when the equipment is placed according to the preset angle are consistent with the standard numerical values corresponding to the preset angle. Repeated tests are not needed, and the testing efficiency of the gravity sensor is improved.
Fig. 3 is a schematic flow chart of a gravity sensor testing method according to an embodiment of the present disclosure. The method comprises the following steps:
step 301, sending an operation signal to the operation console, wherein the operation signal controls the manipulator of the operation console to place the equipment according to a preset angle.
In the embodiments of the present application, it is understood that the device is required to be tested by a plurality of items during the manufacturing process, and the device processor sends an operation signal to the console when the device enters the gravity sensor test link. The operation signal contains an action instruction for controlling the mechanical arm grabbing equipment of the operation platform and also contains detail information for controlling the angle of the mechanical arm placing the equipment. And the operation table places the equipment according to the preset angle by using the mechanical arm according to the operation information.
And step 302, receiving a prompt signal returned by the operation console, wherein the prompt signal is used for determining that the equipment is placed according to a preset angle.
In the embodiment of the application, after the operation console places the equipment according to the preset angle, the operation console sends a prompt signal to the equipment to prompt that the equipment is placed according to the preset angle, and the equipment can enter a testing link. And after receiving the prompt signal, the equipment enters the next testing link.
And step 303, acquiring an actual value of a gravity sensor of the device on X, Y and a Z axis when the device is placed at a preset angle.
And 304, comparing the actual value with a standard value corresponding to the preset angle.
In step 305, if the actual value is consistent with the standard value, the gravity sensor of the output device functions well.
And step 306, if the actual value is not consistent with the standard value, the gravity sensor of the output device is abnormal in function.
It is understood that steps 303 to 306 are the same as steps 201 to 204 in the embodiment of fig. 2, and are not described again here.
In this application embodiment, adopt control cabinet manipulator to place equipment according to predetermineeing the angle, improved the efficiency of operation on the one hand, further promoted the efficiency of test. In addition, the manipulator operation has higher accuracy, and the equipment can be more accurately placed according to a preset angle, so that the test accuracy of the gravity sensor is further improved.
Further, after receiving the prompt signal returned by the console, the method further includes:
receiving detection data of the equipment placement angle sent by an operation console;
comparing the detection data with data of a preset angle;
and if the detected data is different from the data of the preset angle, sending adjustment information to the operation table, and controlling a manipulator of the operation table to adjust the equipment to the preset angle by the adjustment information to place the equipment.
In the embodiment of the application, after the console places the device, the console sends detection data of the placing angle of the placed device to the device. The operation panel can detect the angle of placing of equipment through infrared equipment, and the detection data that will detect after the detection is accomplished sends equipment to. And the equipment processor compares the detection data with the preset angle data after receiving the detection data sent by the operation platform, and determines whether the equipment is actually placed according to the preset angle. And if the detection data are consistent with the data of the preset angle, carrying out the next detection work of the gravity tester. If the detected data is inconsistent with the data of the preset angle, the fact that the equipment placing angle is abnormal is indicated, and at the moment, adjustment information is sent to the operation table to control the operation table to adjust the placing angle of the equipment, namely, the operation table is controlled to adjust the placing angle of the equipment to the preset angle. It will be appreciated that when the number of times that the actual placement angle does not coincide with the preset angle is detected to reach the preset number of times, the device may also issue a warning to prompt the operator to calibrate the console.
In the embodiment of the application, the operation panel still needs to detect the actual angle of placing the back equipment after placing the equipment, compares the detection data with the preset data to further ensure that the equipment is placed according to the preset angle, thereby further improving the accuracy of the gravity sensor test.
Further, before comparing the actual value with the standard value corresponding to the preset angle, the method further includes:
calculating theoretical values of a gravity sensor of the equipment on X, Y and a Z axis when the equipment is placed according to a preset angle; and determining the theoretical value as a standard value corresponding to the preset angle.
In the embodiment of the present application, it can be understood that if it is determined that the preset angle at which the device is placed is the only value, the standard values of the axes corresponding to the preset angle may be calculated in advance and stored in the memory, and the standard values may be retrieved when performing comparison. However, in the actual testing process, due to the influence of various factors of the production environment, there may not be only one preset angle, and therefore, the theoretical values on the axes corresponding to the preset angle need to be calculated according to the angle value of the preset angle. And the calculated theoretical value is the standard value corresponding to the preset angle.
Further, in another embodiment, the placing angle of the device is not limited, and only the device needs to be placed and then the placing angle of the device is detected, then the theoretical values of the gravity sensor on each axis are calculated through the detection data, the calculated theoretical values are compared with the obtained actual values, and whether the gravity sensor functions normally can be determined accordingly.
Further, the method further comprises:
and storing the test result of the gravity sensor in a memory.
In the embodiment of the application, in order to ensure traceability of test data in a production process and understanding of test conditions in a manufacturing process during subsequent repair, the test data of the gravity sensor is stored in the memory after the test is completed.
A second aspect of the embodiment of the present application provides a gravity sensor testing apparatus, which is used for testing a gravity sensor of a device, as shown in fig. 4, and is a schematic structural diagram of the gravity sensor testing apparatus provided in the embodiment of the present application, and the apparatus includes:
an obtaining module 401, configured to obtain actual values of a gravity sensor of the device at X, Y and Z when the device is placed at a preset angle;
a comparison module 402, configured to compare the actual value with a standard value corresponding to a preset angle;
an output module 403, configured to output that the gravity sensor of the device has a good function if the actual value is consistent with the standard value; and if the actual value is inconsistent with the standard value, the gravity sensor of the output equipment is abnormal in function.
In the embodiment of the present application, the obtaining module 401 obtains, after the device is placed at a preset angle, actual values of the gravity sensor of the device on the X, Y axis and the Z axis, where the obtaining step may directly obtain values of the gravity sensor on each axis from an output signal of the gravity sensor of the device, after data of the gravity sensor on each axis is obtained, the comparing module 402 retrieves a standard value stored in the memory and corresponding to the preset angle, and then compares the standard value with the actual value obtained by the obtaining module 401, if the comparison result is that the actual value is consistent with the standard value, the outputting module 403 outputs the gravity sensor with good function, and if the comparison result is that the actual value is not consistent with the standard value, the outputting module 403 outputs the gravity sensor with abnormal function, specifically, the outputting module 403 may output PASS/FAI L to embody a test result.
As shown in fig. 5, a schematic structural diagram of a gravity sensor testing device provided in the embodiment of the present application is further provided, where the device includes:
a sending module 501, configured to send an operation signal to an operation console, where the operation signal controls a manipulator of the operation console to place the device at a preset angle;
a receiving module 502, configured to receive a prompt signal returned by the console, where the prompt signal is used to determine that the device has been placed according to a preset angle.
An obtaining module 503, configured to obtain actual values of X, Y and Z of a gravity sensor of the device when the device is placed at a preset angle;
a comparison module 504, configured to compare the actual value with a standard value corresponding to a preset angle;
an output module 505, configured to output that the gravity sensor of the device is functioning well if the actual value is consistent with the standard value; and if the actual value is inconsistent with the standard value, the gravity sensor of the output equipment is abnormal in function.
In the embodiment of the present application, on the basis of the embodiment of fig. 4, the embodiment further has a sending and receiving module. The device is used for sending an operation signal to control the operation table to place the device at a preset angle before detecting a gravity sensor of the device. When the device enters the gravity sensor test link, the sending module 501 sends an operation signal to the console to control the manipulator of the console to place the device at a preset angle. After the device is placed at the preset angle, the receiving module 502 receives a prompt signal returned by the console to confirm that the device has been placed at the preset angle. The functions of the obtaining module 503, the comparing module 504 and the outputting module 505 are the same as those of the modules in the embodiment of fig. 4, and are not described herein again.
As can be seen from the above description, the gravity sensor testing apparatus provided in the embodiments of the present application includes: the acquisition module is used for acquiring the actual values of X, Y and Z of a gravity sensor of the equipment when the equipment is placed according to a preset angle; the comparison module is used for comparing the actual numerical value with a standard numerical value corresponding to a preset angle; the output module is used for outputting the gravity sensor of the equipment to have good function if the actual numerical value is consistent with the standard numerical value; and if the actual value is inconsistent with the standard value, the gravity sensor of the output equipment is abnormal in function. The device can test the gravity sensor of equipment high-efficiently, promotes equipment gravity sensor's efficiency of software testing.
Further, the apparatus may further include:
and the storage module is used for storing the test result of the gravity sensor in the memory.
In a third aspect of the embodiments of the present application, an electronic device is provided, as shown in fig. 6, and is a module schematic diagram of the electronic device provided in the embodiments of the present application. The electronic device can be used for realizing the gravity sensor testing method in the embodiment. As shown in fig. 6, the electronic device mainly includes:
memory 601, processor 602, bus 603, and computer programs stored on memory 601 and executable on processor 602, memory 601 and processor 602 connected by bus 603. The processor 602, when executing the computer program, implements the gravity sensor testing method in the foregoing embodiments. Wherein the number of processors may be one or more.
The Memory 601 may be a high-speed Random Access Memory (RAM) Memory, or a non-volatile Memory (non-volatile Memory), such as a disk Memory. The memory 601 is used for storing executable program code, and the processor 602 is coupled with the memory 601.
The fourth aspect of the embodiments of the present application also provides a storage medium, which may be disposed in the electronic device in each of the foregoing embodiments, and which may be the memory in the foregoing embodiment shown in fig. 6.
The storage medium has stored thereon a computer program which, when executed by a processor, implements the gravity sensor testing method in the foregoing embodiments. Further, the computer-readable storage medium may be various media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a RAM, a magnetic disk, or an optical disk.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a readable storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned readable storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In view of the above description of the thrust tester and the thrust testing method provided in the present application, those skilled in the art will recognize that changes may be made in the embodiments and applications of the present application in light of the above teachings, and therefore the disclosure of the present application should not be interpreted as limiting the scope of the present application.

Claims (10)

1. A gravity sensor testing method for gravity sensor testing of a device, the method comprising:
acquiring an actual value of a gravity sensor of the equipment on an X, Y, Z axis when the equipment is placed according to a preset angle;
comparing the actual numerical value with a standard numerical value corresponding to the preset angle;
if the actual numerical value is consistent with the standard numerical value, outputting that the gravity sensor of the equipment has good function;
and if the actual numerical value is inconsistent with the standard numerical value, outputting that the gravity sensor of the equipment is abnormal in function.
2. The gravity sensor testing method according to claim 1, wherein the step of obtaining the actual value of the gravity sensor of the device on the X, Y, Z axis when the device is placed at the preset angle further comprises:
sending an operation signal to an operation table, wherein the operation signal controls a manipulator of the operation table to place the equipment according to a preset angle;
and receiving a prompt signal returned by the operating platform, wherein the prompt signal is used for determining that the equipment is placed according to a preset angle.
3. The gravity sensor testing method according to claim 2, further comprising, after receiving the prompt signal returned from the console:
receiving detection data of the equipment placing angle sent by the operation platform;
comparing the detection data with the data of the preset angle;
if the detection data is different from the data of the preset angle, sending adjustment information to the operating platform; and the adjustment information controls the manipulator of the operating platform to adjust the equipment to the preset angle for placement.
4. The gravity sensor testing method according to claim 1, wherein before comparing the actual value with the standard value corresponding to the preset angle, the method further comprises:
calculating a theoretical value of a gravity sensor of the equipment on an X, Y, Z axis when the equipment is placed according to a preset angle;
and determining the theoretical value as a standard value corresponding to the preset angle.
5. The method for testing a gravity sensor according to claim 1, further comprising:
and storing the test result of the gravity sensor in a memory.
6. A gravity sensor testing apparatus for gravity sensor testing of a device, the apparatus comprising:
the device comprises an acquisition module, a display module and a control module, wherein the acquisition module is used for acquiring an actual value of a gravity sensor of the device on an X, Y, Z axis when the device is placed according to a preset angle;
the comparison module is used for comparing the actual numerical value with a standard numerical value corresponding to the preset angle;
the output module is used for outputting that the gravity sensor of the equipment has good function if the actual numerical value is consistent with the standard numerical value; and if the actual numerical value is inconsistent with the standard numerical value, outputting that the gravity sensor of the equipment is abnormal in function.
7. The gravity sensor testing device according to claim 6, wherein said device further comprises:
the transmission module is used for transmitting an operation signal to the operation table, and the operation signal controls a manipulator of the operation table to place the equipment according to a preset angle;
and the receiving module is used for receiving a prompt signal returned by the operating platform, and the prompt signal is used for determining that the equipment is placed according to a preset angle.
8. The gravity sensor testing device according to claim 6, wherein said device further comprises:
and the storage module is used for storing the test result of the gravity sensor in the memory.
9. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the gravity sensor testing method according to any of the claims 1 to 5 when executing the computer program.
10. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the gravity sensor testing method according to any one of claims 1 to 5.
CN202010160876.8A 2020-03-10 2020-03-10 Gravity sensor testing method and device, electronic device and storage medium Pending CN111399080A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010160876.8A CN111399080A (en) 2020-03-10 2020-03-10 Gravity sensor testing method and device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010160876.8A CN111399080A (en) 2020-03-10 2020-03-10 Gravity sensor testing method and device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN111399080A true CN111399080A (en) 2020-07-10

Family

ID=71432726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010160876.8A Pending CN111399080A (en) 2020-03-10 2020-03-10 Gravity sensor testing method and device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN111399080A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114941990A (en) * 2022-05-31 2022-08-26 杭州海康机器人技术有限公司 Sensor self-checking method and device, electronic equipment and machine-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204406386U (en) * 2014-12-24 2015-06-17 上海斐讯数据通信技术有限公司 Gravity sensing function automatic test platform and system
CN106612356A (en) * 2016-11-21 2017-05-03 努比亚技术有限公司 Terminal gravity sensor test method and terminal gravity sensor test system
CN207216432U (en) * 2017-10-13 2018-04-10 上海闻泰电子科技有限公司 The horizontal calibrating device of mobile terminal gravity sensor
CN108303568A (en) * 2017-12-22 2018-07-20 歌尔股份有限公司 A kind of test method of accelerometer
CN108594150A (en) * 2018-04-27 2018-09-28 深圳辉烨通讯技术有限公司 a kind of calibration method, device, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204406386U (en) * 2014-12-24 2015-06-17 上海斐讯数据通信技术有限公司 Gravity sensing function automatic test platform and system
CN106612356A (en) * 2016-11-21 2017-05-03 努比亚技术有限公司 Terminal gravity sensor test method and terminal gravity sensor test system
CN207216432U (en) * 2017-10-13 2018-04-10 上海闻泰电子科技有限公司 The horizontal calibrating device of mobile terminal gravity sensor
CN108303568A (en) * 2017-12-22 2018-07-20 歌尔股份有限公司 A kind of test method of accelerometer
CN108594150A (en) * 2018-04-27 2018-09-28 深圳辉烨通讯技术有限公司 a kind of calibration method, device, terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114941990A (en) * 2022-05-31 2022-08-26 杭州海康机器人技术有限公司 Sensor self-checking method and device, electronic equipment and machine-readable storage medium

Similar Documents

Publication Publication Date Title
CN107228719B (en) Temperature calibration method, module to be tested and temperature calibration device
CN105866781B (en) Data processing method and electronic equipment
US7971110B2 (en) System and method for testing a serial attached small computer system interface
US11696159B2 (en) Method, apparatus, and non-transitory computer readable medium for testing terminals
CN111124775A (en) Power-on time sequence abnormality detection method and device, MCU and storage medium
CN112034412A (en) Intelligent electric energy meter misalignment analysis method and system based on intelligent isolating switch
CN115128429A (en) Chip testing system and testing method thereof
CN111399080A (en) Gravity sensor testing method and device, electronic device and storage medium
US11391786B2 (en) Test system and method for charging device
CN110968004B (en) Cable test system based on FPGA prototype verification development board
CN112781641A (en) Wireless calibration device and method for sensor
CN110220642A (en) A kind of jig degree of balance test method, device and storage medium
TWI539175B (en) Testing apparatus and testing system
CN113310673B (en) Method and device for detecting repetition precision, computer equipment and storage medium thereof
CN111614412B (en) Radio frequency test method, device, electronic equipment and readable storage medium
CN112416678B (en) Fan in-place detection device and method
US8594970B2 (en) System and method for testing objects using a mechanical arm
CN114326669A (en) Vehicle IO test method and device, electronic equipment and storage medium
CN114281631A (en) Method and device for testing image processing chip and electronic equipment
CN106979794B (en) Sensor testing method and device
US11892923B2 (en) Testing electronic products for determining abnormality
CN115208760B (en) Configuration method, device and medium of motion detection chip
CN117639930B (en) Method and device for testing optical fiber transceiver based on standard modularized assembly call, electronic equipment and computer readable storage medium
CN115424551A (en) Flat panel display detection method and device, electronic equipment and medium
CN116953418B (en) Radio frequency test method, system, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200710