CN102841830A - Gravity inductor test system and method for electronic device - Google Patents

Gravity inductor test system and method for electronic device Download PDF

Info

Publication number
CN102841830A
CN102841830A CN2011101728915A CN201110172891A CN102841830A CN 102841830 A CN102841830 A CN 102841830A CN 2011101728915 A CN2011101728915 A CN 2011101728915A CN 201110172891 A CN201110172891 A CN 201110172891A CN 102841830 A CN102841830 A CN 102841830A
Authority
CN
China
Prior art keywords
test
gravity sensor
gravity
picture
electronic installation
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
CN2011101728915A
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2011101728915A priority Critical patent/CN102841830A/en
Priority to TW100122555A priority patent/TW201300976A/en
Publication of CN102841830A publication Critical patent/CN102841830A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)

Abstract

The invention discloses a gravity inductor test system for an electronic device, wherein the electronic device is connected with a controller and is fixedly arranged on a rotary device. The gravity inductor test system comprises a rotational control module, a gravity detection module, an image processing module and a testing judging module, wherein the rotational control module is used for displaying a test image in a display screen of the electronic device and transmitting a rotation instruction to the controller when a gravity inductor is started to be tested, so that the rotary device is controlled by the controller to rotate for a certain angle in the specific direction; the gravity detection module is used for obtaining the gravity change inducted by the gravity inductor; the image processing module is used for processing the test image according to the inducted gravity change and displaying the processed image in the display screen; and the testing judging module is used for comparing the processed image with a preset standard image, and judging whether the function of the gravity inductor is normal or not according to the comparison result. The invention also provides a gravity inductor test method for the electronic device.

Description

The gravity sensor test macro and the method for electronic installation
Technical field
The present invention relates to a kind of gravity sensor test macro and method of electronic installation.
Background technology
Gravity sensor can utilize the current location status of earth gravity field perceptional electronic device, like states such as upright placement and horizontal positioned.Present increasing electronic installation has all adopted gravity sensor, especially in equipment such as at present popular panel computer and smart mobile phone, thereby makes the electronic installation more and more intellectuality that becomes.Be engaged in the manufacturer that these electronic installations are produced, before product export, need can the gravity sensor in the electronic installation operate as normal be tested.When electronic installation was produced in batches, the method that the artificial counterweight power of traditional use inductor is tested was difficult to satisfy the demand of the quick shipment of product.Therefore, automatic test how to realize gravity sensor is that present manufacturing works have a problem to be solved.
Summary of the invention
In view of above content; Be necessary to provide a kind of gravity sensor test macro of electronic installation; This electronic installation is connected with a controller and is fixed on the wheelwork, and this controller is connected with this wheelwork, rotates to control this wheelwork.This system comprises: rotate control module; Be used for when beginning gravity sensor tested; On the display screen of electronic installation, show a test picture, and send a rotation command, to rotate a specified angle to an assigned direction through this controller control wheelwork to controller; The gravity detecting module is used to obtain the Gravity changer that said gravity sensor is sensed; The picture processing module be used for according to the Gravity changer of being sensed said test picture being handled, and the picture after will handling is presented on the display screen; And the test judge module, be used for the picture after the above-mentioned processing and a preset normal pictures are compared, judge according to the result who contrasts whether the function of said gravity sensor is normal.
Also be necessary to provide a kind of gravity sensor method of testing of electronic installation, this electronic installation is connected with a controller and is fixed on the wheelwork, and this controller is connected with this wheelwork, rotates to control this wheelwork.This method comprises: rotate controlled step; When beginning gravity sensor tested; On the display screen of electronic installation, show a test picture, and send a rotation command, to rotate a specified angle to an assigned direction through this controller control wheelwork to controller; Gravity detecting step is obtained the Gravity changer that said gravity sensor is sensed; The picture treatment step is handled said test picture according to the Gravity changer of being sensed, and the picture after will handling is presented on the display screen; The test determining step compares the picture after the above-mentioned processing and a preset normal pictures, judges according to the result who contrasts whether the function of said gravity sensor is normal.
Compared to prior art; The gravity sensor test macro and the method for said electronic installation can realize the automatic test of electronic installation gravity sensor, have improved the speed of production of electronic installation; Reduced the test duration, helped the demand of client the quick shipment of electronic installation.
Description of drawings
Fig. 1 is the synoptic diagram that the controller in the preferred embodiment of the present invention is connected with electronic installation and wheelwork.
Fig. 2 is that electronic installation is fixed on the synoptic diagram on the wheelwork in the preferred embodiment of the present invention.
Fig. 3 is the applied environment Organization Chart of the gravity sensor test macro preferred embodiment of electronic installation of the present invention.
Fig. 4 is the process flow diagram of the gravity sensor method of testing preferred embodiment of electronic installation of the present invention.
Fig. 5 is that a test picture is presented at the synoptic diagram on the display screen in the preferred embodiment of the present invention.
Fig. 6 is presented at the synoptic diagram on the display screen after said test picture is processed.
The main element symbol description
Electronic installation 1
Controller 2
Wheelwork 3
Test macro 10
Rotate control module 101
The gravity detecting module 102
The picture processing module 103
The test judge module 104
Normal pictures is provided with module 105
Gravity sensor 11
Storer 12
Processor 13
Display screen 14
Following embodiment will combine above-mentioned accompanying drawing to further specify the present invention.
Embodiment
As shown in Figure 1, be the synoptic diagram that the controller in the preferred embodiment of the present invention is connected with electronic installation and wheelwork.In the present embodiment, collocation uses controller 2 and wheelwork 3 to come the function of the gravity sensor 11 of electronic installation 1 is carried out automatic test.One end of said controller 2 is connected with electronic installation 1, and the other end is connected with wheelwork 3.Said controller 2 receives the steering order that electronic installation 1 sends, and rotates according to this control command control wheelwork 3.This controller 2 can be drive units such as servo motor.
As shown in Figure 2; When beginning the gravity sensor 11 of said electronic installation 1 tested; Electronic installation 1 is fixed on the wheelwork 3; Make electronic installation 1 can be along with the rotation of wheelwork 3 rotate simultaneously, and then the Gravity changer that electronic installation 1 is produced when rotating is tested to gravity sensor 11.
As shown in Figure 3, be the applied environment Organization Chart of the gravity sensor test macro preferred embodiment of electronic installation of the present invention.This gravity sensor test macro 10 (being designated hereinafter simply as " test macro 10 ") is applied in the electronic installation 1.This electronic installation 1 comprises gravity sensor 11, storer 12, processor 13 and display screen 14.In the present embodiment, electronic installation 1 can be, but be not limited to the electronic product of the said gravity sensor 11 of employing such as mobile phone, PDA(Personal Digital Assistant) and panel computer.
This test macro 10 comprises that rotating control module 101, gravity detecting module 102, picture processing module 103, test judge module 104 and normal pictures is provided with module 105.This test macro 10 can be stored in the storer 12, by the execution of processor 13 these test macros 10 of control, to realize the automatic test to said gravity sensor 11.
As shown in Figure 4, be the process flow diagram of the gravity sensor method of testing of electronic installation of the present invention.Below in conjunction with this Fig. 4 and Fig. 5 and Fig. 6, the method that said test macro 10 is tested said gravity sensor 11 is elaborated.
Step S01, when beginning gravity sensor 11 tested, said rotation control module 101 shows a test picture on display screen 14.
Step S02; Said rotation control module 101 is sent rotation command a to controller 2; To rotate a specified angle to an assigned direction through these controller 2 control wheelworks 3; For example, along counterclockwise horizontally rotating 90 degree (the Z axle with Fig. 2 is a turning axle, horizontally rotates 90 degree to the negative direction of Y axle).In the present embodiment, said rotation control module 101 can be sent to said rotation command in the controller 2 through the PORT COM that is connected with controller 2 in the electronic installation 1.For example, if electronic installation 1 is a panel computer, can send this rotation command through the communication serial ports that this panel computer provides.
Step S03, said gravity detecting module 102 obtains the Gravity changer that said gravity sensor 11 is sensed.
Step S04, said picture processing module 103 is handled said test picture according to the Gravity changer of being sensed, and the picture after will handling is presented on the display screen 14.Particularly, this picture processing module 103 is adjustable with picture processing program in the electronic installation 1, by the resolution of this picture processing program according to Gravity changer and display screen 14, with said test picture be treated to can adaptive this resolution picture.Fig. 5 and shown in Figure 6 for example, the picture M0 that shows among Fig. 5 is said test picture.After said electronic installation 1 horizontally rotates 90 degree along with wheelwork 3 along counter clockwise direction, promptly obtain said picture M1 after 103 pairs of these test pictures of said picture processing module M0 handles, and be presented on the display screen 14.
Step S05, said test judge module 104 picture and preset normal pictures after with above-mentioned processing compares, and judges according to the result of contrast whether the function of said gravity sensor 11 is normal.Particularly, if the picture after this is handled is identical with normal pictures, represent that then the function of this gravity sensor 11 is normal, test is passed through.If the picture after this is handled is different with normal pictures, then represent the dysfunction of this gravity sensor 11, test is not passed through.
In the present embodiment, can module 105 be set by said normal pictures and a corresponding picture be set as said normal pictures according to said test picture.This normal pictures can be set according to concrete testing process by the tester in advance.Said normal pictures is illustrated under the normally functioning situation of gravity sensor 11, when said electronic installation 1 when said assigned direction rotates said specified angle, after said test picture is adjusted, the picture that should on display screen 14, show.
In addition, this test judge module 104 will be presented at the test result of this gravity sensor 11 on the display screen 14, test result is informed the dependence test personnel.For example,, then on display screen 14, show " testing successfully ",, then on display screen 14, show " test crash " if test is not passed through if test is passed through.
Step S06, when test was accomplished, said rotation control module 101 was sent restore instruction a to controller 2, got back to an initial position through these controller 2 control wheelworks 3, the position before also promptly this wheelwork 3 rotates.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described; Although the present invention is specified with reference to preferred embodiment; Those of ordinary skill in the art is to be understood that; Can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and the scope of technical scheme of the present invention.

Claims (8)

1. the gravity sensor method of testing of an electronic installation; It is characterized in that this electronic installation is connected with a controller and is fixed on the wheelwork, this controller is connected with this wheelwork; Rotate to control this wheelwork, this method comprises:
Rotate controlled step; When beginning gravity sensor tested; On the display screen of electronic installation, show a test picture, and send a rotation command, to rotate a specified angle to an assigned direction through this controller control wheelwork to controller;
Gravity detecting step is obtained the Gravity changer that said gravity sensor is sensed;
The picture treatment step is handled said test picture according to the Gravity changer of being sensed, and the picture after will handling is presented on the display screen; And
The test determining step compares the picture after the above-mentioned processing and a preset normal pictures, judges according to the result who contrasts whether the function of said gravity sensor is normal.
2. the gravity sensor method of testing of electronic installation as claimed in claim 1 is characterized in that, this method also comprises:
Normal pictures is provided with step, a corresponding picture is set as said normal pictures according to said test picture.
3. the gravity sensor method of testing of electronic installation as claimed in claim 1 is characterized in that, said test determining step also comprises:
To be presented at the test result of gravity sensor on the said display screen.
4. the gravity sensor method of testing of electronic installation as claimed in claim 1 is characterized in that, this method also comprises step:
When the test of said gravity sensor is accomplished, send a restore instruction to controller, get back to an initial position through this controller control wheelwork.
5. the gravity sensor test macro of an electronic installation; It is characterized in that this electronic installation is connected with a controller and is fixed on the wheelwork, this controller is connected with this wheelwork; Rotate to control this wheelwork, this system comprises:
Rotate control module; Be used for when beginning gravity sensor tested; On the display screen of electronic installation, show a test picture, and send a rotation command, to rotate a specified angle to an assigned direction through this controller control wheelwork to controller;
The gravity detecting module is used to obtain the Gravity changer that said gravity sensor is sensed;
The picture processing module be used for according to the Gravity changer of being sensed said test picture being handled, and the picture after will handling is presented on the display screen; And
The test judge module is used for the picture after the above-mentioned processing and a preset normal pictures are compared, and judges according to the result who contrasts whether the function of said gravity sensor is normal.
6. the gravity sensor test macro of electronic installation as claimed in claim 5 is characterized in that, this system also comprises:
Normal pictures is provided with module, is used for a corresponding picture being set as said normal pictures according to said test picture.
7. the gravity sensor test macro of electronic installation as claimed in claim 5 is characterized in that, said test judge module also is used for the test result to gravity sensor is presented at said display screen.
8. the gravity sensor test macro of electronic installation as claimed in claim 5; It is characterized in that; Said rotation control module also is used for when the test of said gravity sensor is accomplished, sending a restore instruction to controller, gets back to an initial position through this controller control wheelwork.
CN2011101728915A 2011-06-24 2011-06-24 Gravity inductor test system and method for electronic device Pending CN102841830A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2011101728915A CN102841830A (en) 2011-06-24 2011-06-24 Gravity inductor test system and method for electronic device
TW100122555A TW201300976A (en) 2011-06-24 2011-06-28 System and method for testing G-sensor of electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101728915A CN102841830A (en) 2011-06-24 2011-06-24 Gravity inductor test system and method for electronic device

Publications (1)

Publication Number Publication Date
CN102841830A true CN102841830A (en) 2012-12-26

Family

ID=47369225

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101728915A Pending CN102841830A (en) 2011-06-24 2011-06-24 Gravity inductor test system and method for electronic device

Country Status (2)

Country Link
CN (1) CN102841830A (en)
TW (1) TW201300976A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331349A (en) * 2013-07-22 2015-02-04 鸿富锦精密工业(深圳)有限公司 Product mismatch detection system, device and method
CN104518924A (en) * 2013-10-03 2015-04-15 纬创资通股份有限公司 Automatic testing and result comparison method and system
CN105223631A (en) * 2015-09-29 2016-01-06 佰电科技(苏州)有限公司 A kind of test macro and method of testing thereof of testing gravity sensor function
CN106612356A (en) * 2016-11-21 2017-05-03 努比亚技术有限公司 Terminal gravity sensor test method and terminal gravity sensor test system
CN106650521A (en) * 2016-12-27 2017-05-10 张家港市欧微自动化研发有限公司 Test apparatus and test method used for testing two-dimensional code decoding algorithm
CN106776332A (en) * 2016-12-27 2017-05-31 张家港市欧微自动化研发有限公司 Test device and method of testing for testing Quick Response Code decoding algorithm
CN106778402A (en) * 2016-12-27 2017-05-31 张家港市欧微自动化研发有限公司 For the test device and method of testing of test-strips shape code decoding algorithm
CN106778403A (en) * 2016-12-27 2017-05-31 张家港市欧微自动化研发有限公司 For the test device and method of testing of test-strips shape code decoding algorithm
CN107508954A (en) * 2016-06-14 2017-12-22 展讯通信(上海)有限公司 For detecting the test device and method of mobile terminal screen rollover states
TWI694258B (en) * 2019-01-10 2020-05-21 鈺紳科技股份有限公司 Rotation test method of gravity sensor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202836A (en) * 2007-07-02 2008-06-18 深圳创维-Rgb电子有限公司 Electronic inductor and method of checking picture data
CN101616210A (en) * 2008-06-26 2009-12-30 深圳富泰宏精密工业有限公司 The sensing direction of touch-sensitive mobile phone system and method
CN101990034A (en) * 2009-08-07 2011-03-23 鸿富锦精密工业(深圳)有限公司 Image adjusting system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202836A (en) * 2007-07-02 2008-06-18 深圳创维-Rgb电子有限公司 Electronic inductor and method of checking picture data
CN101616210A (en) * 2008-06-26 2009-12-30 深圳富泰宏精密工业有限公司 The sensing direction of touch-sensitive mobile phone system and method
CN101990034A (en) * 2009-08-07 2011-03-23 鸿富锦精密工业(深圳)有限公司 Image adjusting system and method

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331349A (en) * 2013-07-22 2015-02-04 鸿富锦精密工业(深圳)有限公司 Product mismatch detection system, device and method
CN104518924A (en) * 2013-10-03 2015-04-15 纬创资通股份有限公司 Automatic testing and result comparison method and system
CN104518924B (en) * 2013-10-03 2018-11-16 纬创资通股份有限公司 Automatic testing and result comparison method and system
CN105223631A (en) * 2015-09-29 2016-01-06 佰电科技(苏州)有限公司 A kind of test macro and method of testing thereof of testing gravity sensor function
CN107508954A (en) * 2016-06-14 2017-12-22 展讯通信(上海)有限公司 For detecting the test device and method of mobile terminal screen rollover states
CN106612356B (en) * 2016-11-21 2019-05-10 努比亚技术有限公司 Terminal gravity sensor test method and system
CN106612356A (en) * 2016-11-21 2017-05-03 努比亚技术有限公司 Terminal gravity sensor test method and terminal gravity sensor test system
CN106778402A (en) * 2016-12-27 2017-05-31 张家港市欧微自动化研发有限公司 For the test device and method of testing of test-strips shape code decoding algorithm
CN106778403A (en) * 2016-12-27 2017-05-31 张家港市欧微自动化研发有限公司 For the test device and method of testing of test-strips shape code decoding algorithm
CN106776332A (en) * 2016-12-27 2017-05-31 张家港市欧微自动化研发有限公司 Test device and method of testing for testing Quick Response Code decoding algorithm
CN106778403B (en) * 2016-12-27 2018-08-07 深圳市双明达科技有限公司 Test device and test method for test-strips shape code decoding algorithm
CN106650521A (en) * 2016-12-27 2017-05-10 张家港市欧微自动化研发有限公司 Test apparatus and test method used for testing two-dimensional code decoding algorithm
CN106778402B (en) * 2016-12-27 2018-11-16 赣州东辰科技有限公司 Test device and test method for test-strips shape code decoding algorithm
CN106650521B (en) * 2016-12-27 2019-11-05 宁波市民卡运营管理有限公司 For testing the test device and test method of two dimensional code decoding algorithm
CN106776332B (en) * 2016-12-27 2020-02-14 华东江苏大数据交易中心股份有限公司 Testing device and testing method for testing two-dimensional code decoding algorithm
TWI694258B (en) * 2019-01-10 2020-05-21 鈺紳科技股份有限公司 Rotation test method of gravity sensor

Also Published As

Publication number Publication date
TW201300976A (en) 2013-01-01

Similar Documents

Publication Publication Date Title
CN102841830A (en) Gravity inductor test system and method for electronic device
CN102789322A (en) Screen picture rotation method and system
CN104243826B (en) A kind of method for controlling rotating camera to rotate and mobile terminal
CN102375660B (en) Electronic device and method for controlling user interface
CN107203196B (en) Industrial equipment detection system and method
CN101030982A (en) Apparatus and method for automatically adjusting display-screen content and direction
US20150002698A1 (en) Inclination angle compensation system and method for picture
CN201142204Y (en) Display equipment and digital photo frame with automatic image position adjustment function
CN103776369A (en) Test monitoring system and method
CN109026806A (en) Air sweeping equipment, control method and device thereof and fan
CN104598136A (en) Mobile device and display image rotating method of mobile device
CN104793855A (en) Display frame turning method and electronic device capable of turning display frame
CN109510531A (en) The driving method and its driver and computer readable storage medium of stepper motor
US20130328936A1 (en) Display apparatus and method for rotating displayed content
KR20150137676A (en) Apparatus for inspecting curved display panel
CN107065035B (en) A kind of geomagnetic sensor calibrating installation, method and mobile terminal
WO2021097809A1 (en) Method and device for determining abnormally mounted propeller in unmanned aerial vehicle (uav)
US8301415B2 (en) System and method for testing graphics card
CN103902195A (en) Automatic regulation system and method for display screen
CN104267742B (en) A kind of vertical origin calibrating method of ball machine and device
CN105700626A (en) Control method and electronic device
US9454381B2 (en) Method for controlling registration of input device in input handler instance, terminal and storage device
CN112689739A (en) Coaxiality detection method, device and system and rotating structure
JP2005258034A (en) Electric universal head
CN106454136A (en) Camera rotating device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121226