CN106405154A - Automatic calibration method and apparatus for sensors - Google Patents

Automatic calibration method and apparatus for sensors Download PDF

Info

Publication number
CN106405154A
CN106405154A CN201610712660.1A CN201610712660A CN106405154A CN 106405154 A CN106405154 A CN 106405154A CN 201610712660 A CN201610712660 A CN 201610712660A CN 106405154 A CN106405154 A CN 106405154A
Authority
CN
China
Prior art keywords
information
calibration platform
platform
calibration
horizontal
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
CN201610712660.1A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610712660.1A priority Critical patent/CN106405154A/en
Publication of CN106405154A publication Critical patent/CN106405154A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P21/00Testing or calibrating of apparatus or devices covered by the preceding groups

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention relates to an automatic calibration method and apparatus for sensors wherein the method comprises: obtaining the horizontal information of a calibration platform; based on the horizontal information, obtaining the adjustment information to adjust the calibration platform; and based on the adjustment information, adjusting the calibration platform. According to the invention, through the obtainment of the horizontal information and the adjustment information of a calibration platform, it is possible to make a sensor at a mobile terminal be in a horizontal state to the best; at such a state, through a sensor calibration program, the calibration value is written into the sensor. Therefore, errors from manual calibration can be avoided; and errors and disqualification rate for sensor calibration can be maximally reduced at the streamline for mobile terminals.

Description

The automatic calibrating method of sensor and device
Technical field
The embodiment of the present disclosure is related to field of mobile terminals, and more particularly, to a kind of use electrolevel is carried out on production line The method and device of mobile terminal acceleration transducer calibration.
Background technology
At present, more and more intelligentized mobile terminal has obtained quick development, and closely bound up with the life of people, leads to Cross mobile terminal and achieve the activities such as amusement, shopping, social communication.
All carry various types of sensors in intelligentized mobile terminal, such as acceleration transducer, direction sensor with And gyro sensor etc., most common of which for acceleration transducer, it can be used for testing the real-time acceleration of mobile terminal Degree, the upset for control of playing, system or screen and compass etc. are applied.Intrinsic mistake due to acceleration sensor chip Difference, pcb board (Printed Circuit Board) assemble equal error for die stress and mobile terminal, lead to mobile whole During end horizontal positioned (screen is upwards), the return value of three axles of acceleration transducer and standard value have deviation it is impossible to reach standard Value (x=0, y=0, z=9.8m/s2) calibrated it is therefore desirable to mobile terminal be placed on horizontal plane before dispatching from the factory, will be partially Difference compensates by the method for software.Mobile terminal when therefore calibrating places whether whether level is accurate for calibration result Most important.
In factory-assembled, calibration steps is to be manually entered acceleration Calibration interface to mobile terminal, by mobile terminal at present It is placed on the platform of producing line, click on manually and calibrated.Operated due to artificial, and the not level of producing line platform is it may appear that move The larger situation of dynamic terminal acceleration calibration value deviation.Thus user can be led to using during application relevant with acceleration, occur relatively Big error, affects Consumer's Experience.
Content of the invention
The disclosure provides a kind of automatic calibrating method of sensor and device, to realize reducing to greatest extent mobile whole To error during pick up calibration in the production line at end, realize more intelligent prosthetic calibration process on duty.
In a first aspect, the embodiment of the present disclosure provides a kind of automatic calibrating method of sensor, methods described includes:
Obtain the horizontal information of calibration platform;
Obtain the adjustment information for adjusting described calibration platform according to described horizontal information;
According to described adjustment information, described calibration platform is adjusted.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:
In conjunction with the other hand, in a kind of implementation being likely to occur on the other hand, obtain calibration platform described Horizontal information after, also include:
Whether the horizontal information of detection described calibration platform is included in predetermined threshold value;
When described horizontal information is contained in described predetermined threshold value, obtained for described in adjusting according to described horizontal information The adjustment information of calibration platform;
When described horizontal information is not included in described predetermined threshold value, also include step:
Obtain the offset orientation information of described calibration platform;
According to described offset orientation information, described calibration platform is adjusted, receives the level feedback of calibration platform simultaneously Information;
When the horizontal information that the horizontal feedback information receiving is described calibration platform is contained within described predetermined threshold value, End step.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:By obtaining the water of calibration platform Ordinary mail breath and adjustment information make the sensor of mobile terminal to greatest extent close to horizontality, pass through to pass under this horizontality Calibration value is write sensor by sensor calibration procedure, it is to avoid artificial operation that manual calibration is likely to occur, shake, calibration platform are not The problems such as level occur it is achieved that reduce to greatest extent in mobile terminal production line pick up calibration deviation and Fraction defective.
In conjunction with the other hand, in a kind of implementation being likely to occur on the other hand, according to described adjustment information pair After described calibration platform is adjusted, methods described also includes:
Whether detection described calibration platform produces movable information;
When described calibration platform produces movable information, reacquire horizontal information and the adjustment letter of described calibration platform Breath is to be adjusted to described calibration platform;
When described calibration platform does not produce movable information, keep the current state of described calibration platform.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:Complete once making calibration platform After the adjustment of horizontality, in the case of not producing movable information need not to calibration platform frequently be adjusted it is ensured that The longer service life of calibration platform.
In conjunction with the other hand, in a kind of implementation being likely to occur on the other hand, according to described adjustment information pair After described calibration platform is adjusted, methods described also includes:
Obtain calibration value;
Described calibration value is written in the mobile terminal with described calibration platform parallel placed on described calibration platform, So that described mobile terminal is entered with the calibration of line sensor.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:Complete horizontal in calibration platform After the adjustment of state, from the sensor calibration process of computer terminal, acquisition calibration value is written in mobile terminal and senses accordingly It is achieved that passing through more intelligentized calibration process in device, it is to avoid the second order error that manual calibration is brought.
In conjunction with the other hand, in a kind of implementation being likely to occur on the other hand, described acquisition calibrates platform Before horizontal information, also include:
It is connected with setting up communication with the mobile terminal of described calibration platform parallel on described calibration platform.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:Setting up communication connection makes calibration move The parameters detecting in dynamic terminal such as horizontal information etc. can send in advance to control end, in some actual production situations To installation cost can be saved.
Second aspect, the disclosure additionally provides a kind of self-checking device of sensor, and described device includes:
First acquisition module, is arranged to obtain the horizontal information of calibration platform;
Second acquisition module, is arranged to obtain the adjustment for adjusting described calibration platform according to described horizontal information Information;
Adjusting module, is arranged to according to described adjustment information, described calibration platform is adjusted.
In conjunction with the other hand, in a kind of possible embodiment on the other hand, described device also includes:
Detection module, is arranged to detect whether the horizontal information of described calibration platform is included in predetermined threshold value;
When the horizontal information that described detection module detects is contained in described predetermined threshold value, described second acquisition of execution Module;
When described state the horizontal information that detection module detects and be not included in described predetermined threshold value when, also include:
Offset orientation acquisition module, is arranged to obtain the offset orientation information of described calibration platform;
Adjustment and receiver module, are arranged to according to described offset orientation information, described calibration platform is adjusted, Receive the horizontal feedback information of calibration platform simultaneously;
Responder module, is arranged to the horizontal information when the horizontal feedback information receiving is described calibration platform and is contained in When within described predetermined threshold value, end step.
In conjunction with the other hand, in a kind of possible embodiment on the other hand, described device also includes:
Movable information detection module, is arranged to detect whether described calibration platform produces movable information;
When described movable information detection module detects described calibration platform and produces movable information, re-execute first and obtain Delivery block, the second acquisition module and adjusting module;
When described movable information detection module detects described calibration platform and do not produce movable information, keep described calibration The current state of platform.
In conjunction with the other hand, in a kind of possible embodiment on the other hand, described device also includes:
Calibration value acquisition module, is arranged to obtain calibration value;
Programming module, is arranged to be written in described calibration value place on described calibration platform flat with described calibration In the parallel mobile terminal of platform, so that described mobile terminal is entered with the calibration of line sensor.
In conjunction with the other hand, in a kind of possible embodiment on the other hand, described device also includes:
Set up communication module, be arranged to build with the mobile terminal of described calibration platform parallel on platform with described calibration Vertical communication connects.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the enforcement meeting the disclosure Example, and be used for explaining the principle of the disclosure together with specification.
Fig. 1 is a kind of flow chart of the automatic calibrating method of sensor according to an exemplary embodiment.
Fig. 2 is a kind of overall flow figure of the automatic calibrating method of sensor according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of the automatic calibrating method of sensor according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of the self-checking device of sensor according to an exemplary embodiment.
Fig. 5 is a kind of entire block diagram of the self-checking device of sensor according to an exemplary embodiment.
Fig. 6 is a kind of frame of the device of automatic calibrating method realizing sensor according to an exemplary embodiment Figure.
Specific embodiment
With reference to the accompanying drawings and examples the disclosure is described in further detail.It is understood that this place is retouched The specific embodiment stated is used only for explaining the disclosure, rather than restriction of this disclosure.It also should be noted that, in order to just The part related to the disclosure rather than entire infrastructure is illustrate only in description, accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The process described as flow chart or method.Although each step is described as in flow chart the process of order, therein permitted Multi-step can be implemented concurrently, concomitantly or simultaneously.Additionally, the order of each step can be rearranged, when its operation When completing, described process can be terminated, it is also possible to have the other steps being not included in accompanying drawing.Process can correspond to In method, function, code, subroutine, subprogram etc..
It relates to a kind of automatic calibrating method of sensor and device, it mainly applies to the production stream of mobile terminal Need on waterline, in the scene that sensor such as acceleration transducer is calibrated, can put by mobile terminal is placed in one Put mobile terminal and make mobile terminal and calibrate on the calibration platform of platform parallel and make mobile terminal pass through communication interface and school Quasi-ordering is kept in communication connection, the horizontal information of adjustment calibration platform make error that may be present regulation preset range it Interior it is ensured that the level of the sensor of mobile terminal, pass through sensor calibration process under this level conditions and write calibration value to pass The calibration of the sensor to mobile terminal is achieved it is achieved that reducing to greatest extent in production line in the firmware of sensor The deviation of pick up calibration and fraction defective.
The embodiment of the present disclosure is applicable on the calibration platform with electrolevel to the mobile terminal placed thereon In the situation calibrated, wherein control and can be held by fixing control device on calibration platform in the level to calibration platform OK, wherein this device can be realized by software and/or hardware, or by the meter being connected with the adjusting module communication of calibration platform Calculate generator terminal to control, a kind of flow chart of the automatic calibrating method of sensor that Fig. 1 provides for the embodiment of the present disclosure, as shown in figure 1, Methods described specifically includes following steps:
In step 110, obtain the horizontal information of calibration platform;
Described calibration platform for holding movable terminal in production line and is used for the sensor of mobile terminal especially It is the calibration of acceleration transducer, mobile terminal can be positioned in the groove on described calibration platform, the planar shaped of this groove Shape matches with the outward appearance of mobile terminal so that corresponding mobile terminal can be flat in groove, and mobile terminal is flat on groove The relevant parameter that when interior, the sensor of this mobile terminal detects is identical with calibration platform now.
The horizontal information of described calibration platform can be detected by an electrolevel and obtain, by this electrolevel is solid Due to described calibration platform, and make the detection faces of electrolevel be maintained at same dimension with the horizontal plane of described calibration platform to be At least on two parallel surfaces, the reading data of described electrolevel is the horizontal information of described calibration platform, and it is main Include the angle of inclination parameter of this calibration platform.
Electrolevel generally has a pedestal measuring surface, measures tested surface relatively by the equilibrium principle that electric capacity is put The measuring appliance of horizontal plane tiny inclination angle, the difference according to precision its can realize percentage level and thousand classification tiny inclination angles survey Amount, it can show by pointer that it can be by described during motion it is also possible to pass through numerical monitor measured value When sensor equably tilts, numeral instruction being capable of correspondingly changes in balance.
In the step 120, the adjustment information for adjusting described calibration platform is obtained according to described horizontal information;
Obtain described calibration platform horizontal information after, according in this horizontal information with regard to the inclination angle of this calibration platform Degree, obtains corresponding adjustment information.
Wherein, corresponding adjustment information can be calculated by the horizontal information obtaining by default algorithm, this is pre- If algorithm can be stored in corresponding server or computer terminal, or mobile terminal is (different from the mobile end being calibrated End, can realize the application of default algorithm by way of installing software in this mobile terminal), described adjustment information is according to institute State horizontal information to draw, usually, be opposed in described horizontal information and adjustment information, for example, described horizontal information is Lean forward+3 °, its adjustment information is generally -3 ° of hypsokinesis.
In step 130, according to described adjustment information, described calibration platform is adjusted.
When being specifically adjusted to described calibration platform, can be realized by pose adjustment motor, this pose adjustment motor The level being fixed on described calibration platform and can be used for by described calibration platform realized by this pose adjustment motor controls, according to institute State the difference of calibration platform, the installation site of described pose adjustment motor and installation number etc. all can be according to practical situation Different and be varied from.
In a kind of feasible embodiment, described pose adjustment motor is receiving the adjustment information of computer terminal transmission When, select the steering of motor, rotating speed, rotate step number etc. according to this adjustment information, finally to make described calibration platform reach water Level state or close to horizontality.
The result of adjustment is so that described calibration platform is up to the standard state or close to horizontality, so that in this school Mobile terminal on quasi- platform and its sensor are also at a horizontality or close under horizontality, and then by sensing Reduce error to the sensor of this mobile terminal when device calibration procedure calibrates for error.
In another kind of implement scene of disclosure exemplary embodiment, as shown in Fig. 2 calibrating platform in described acquisition Also include during adjustment to calibration platform after horizontal information choosing whether to continue adjustment according to judged result or stopping Adjustment, so that adjustment process can stop according to feedback information in time, is unlikely to be in course of adjustment due to pose adjustment horse The effect of inertia that reaches and deviate final adjustment result, this process comprises the steps:
In step 140, whether the horizontal information of detection described calibration platform is included in predetermined threshold value;
For example, described predetermined threshold value is to lean forward [- 3 ° ,+3 °], when the horizontal information of described calibration platform is to lean forward+2 °, I.e. the horizontal information of described calibration platform is contained in described predetermined threshold value, and the horizontal information working as described calibration platform is to lean forward When+4 °, whether that is, the horizontal information of described calibration platform is not included in described predetermined threshold value, comprised according to described horizontal information Difference in predetermined threshold value, it can trigger different set-up procedures.
Described predetermined threshold value can default in the pose adjustment motor of described calibration platform according to actual production situation, or Person is sealed in the sensor calibration process of computer terminal, and can be varied from the difference of application scenarios, therefore simultaneously Not limited to this.
When described horizontal information is contained in described predetermined threshold value, carry out step 120~130, believed according to described level Breath obtains the adjustment information for adjusting described calibration platform, and it is flat that adjustment information is sent to the calibration of taking of pose adjustment motor Platform is made adjustment action.
When described horizontal information is not included in described predetermined threshold value, then need the deviation first to described calibration platform Orientation carries out the fine setting of angle etc. further according to adjustment information to calibration platform after carrying out larger adjustment in orientation, and this process can Comprise the steps:
In step 150, obtain the offset orientation information of described calibration platform;
Described calibration platform is different according to specific production line environment when deviateing, and it might have multiple angles Deviate, for example, tilt to offside direction from both direction simultaneously, now by the side of the offset orientation information obtaining calibration platform Formula can be decomposed to offset orientation information exactly, in order to pose adjustment motor according to the offset orientation letter after decomposing Breath, is divided into and once or twice with Shangdi from corresponding angle, described calibration platform being adjusted, so that described calibration platform Can be finally reached or close to level.
In a step 160, according to described offset orientation information, described calibration platform is adjusted, receives calibration flat simultaneously The horizontal feedback information of platform;
According to described offset orientation information, or some sub- adjustment information being become by described offset orientation information decomposition, press Corresponding angle according to sub- adjustment information is adjusted to described calibration platform, enables to according to each sub- adjustment information decomposed Rapidly described calibration platform is adjusted, the horizontal reverse of described calibration platform during each adjustment, can be received simultaneously Feedforward information, each described horizontal feedback information can be the feedback letter of sensor on the calibration platform of each sub- adjustment information decomposed Cease or the feedback result during adjustment in each sub- adjustment information decomposed, described horizontal feedback information is permissible Reflect on the whole or calibrate during decomposing the horizontal information of platform.
When receiving described horizontal feedback information can in time according to this horizontal feedback information to described calibration platform Adjustment process make change, so that final adjustment result reaches or close to level.
In step 170, when receive horizontal feedback information be described calibration platform horizontal information be contained in described pre- If when within threshold value, end step or carry out step 120~130.
Receive horizontal feedback information reach predetermined threshold value comprise within the scope of when, show to described calibration platform side Position adjustment process terminates, and now can terminate orientation adjustment step and enter to described angle adjustment, that is, enter step 110~130.
Before the described horizontal information obtaining calibration platform, also include:
In step 100, it is connected with setting up to communicate with the mobile terminal of described calibration platform parallel on described calibration platform.
When realizing to calibration operation by the sensor calibration process on computer terminal, USB (Universal can be passed through Serial Bus, general connection bus) connecting line makes the sensor calibration process that described mobile terminal is connected to computer terminal, builds After vertical communication connects, mobile terminal can receive the calibration value of sensor calibration process transmission, that is, pass through the method for software to sensing The error that device is likely to occur compensates.
After setting up communication and connecting, the step that disclosure exemplary embodiment includes error compensation, this process can be wrapped Include following steps:
In step 180, obtain calibration value;
Described calibration value be computer terminal that may be present sensor calibration process in obtain.
In step 190, by described calibration value be written in described calibration platform on place with described calibration platform parallel Mobile terminal in, so that described mobile terminal is entered with the calibration of line sensor.
In the range of the horizontal information making described calibration platform includes positioned at predetermined threshold value, that is, it is up to the standard or close Under horizontality, described calibration value is write in mobile terminal, so that the sensor in mobile terminal is completed to it before dispatching from the factory The compensation of error is so that the error of mobile terminal and fraction defective substantially reduce.
After described calibration platform adjustment completes, you can to each movement passed through in production line on this calibration platform Sensor in terminal is calibrated, and can calibrate the horizontal information of platform to be readjusted, not described in periodic detection Reach the periodic detection time and calibrate platform when making certain action, be then now also required to carry out a new round to calibration platform Calibration operation, as shown in figure 3, this process may include following steps:
In the step 310, whether detection described calibration platform produces movable information;
Described calibration platform arranges an acceleration transducer or displacement transducer, detects in corresponding sensor Displacement parameter or acceleration parameter when changing, you can to judge that described calibration platform creates movable information.
Described calibration platform arranges an acceleration transducer or displacement transducer and computer terminal that may be present Set up communication between sensor calibration process to connect, change in the relevant parameter of acceleration transducer or displacement transducer When, described sensor calibration process can be learnt.
In step 320, when described calibration platform produces movable information, reacquire the level letter of described calibration platform Breath and adjustment information are to be adjusted to described calibration platform;
When described calibration platform produces movable information, re-start step 110~130.
In a step 330, when described calibration platform does not produce movable information, keep the current shape of described calibration platform State.
Described calibration platform does not produce movable information, you can continue to pass through this calibration platform in production line to process Each mobile terminal or each mobile terminal in sensor carry out error compensation and calibration.
Described sensor calibration process can be controller, arranges and be fixed on described calibration platform it is also possible to be installed on Computer center or server etc., are easy to the heart or server in a computer and described calibration platform are operated.
A kind of signaling process figure/structural representation of the self-checking device of sensor that Fig. 4 provides for the embodiment of the present disclosure Figure, this device can be realized by software and/or hardware, is usually integrated in mobile terminal, can pass through the automatic calibration of sensor Method is realizing.As illustrated, the present embodiment can be based on above-described embodiment, there is provided a kind of automatic calibration of sensor Device, it mainly includes the first acquisition module 410, the second acquisition module 420 and adjusting module 430.
First acquisition module 410 therein, is arranged to obtain the horizontal information of calibration platform;
Second acquisition module 420 therein, is arranged to be obtained for adjusting described calibration according to described horizontal information The adjustment information of platform;
Adjusting module 430 therein, is arranged to according to described adjustment information, described calibration platform is adjusted.
In another kind of implement scene of disclosure exemplary embodiment, as shown in figure 5, described device also includes:
Detection module 510, is arranged to detect whether the horizontal information of described calibration platform is included in predetermined threshold value;
When the horizontal information that described detection module detects is contained in described predetermined threshold value, described second acquisition of execution Module 420;
When described state the horizontal information that detection module detects and be not included in described predetermined threshold value when, also include:
Offset orientation acquisition module 520, is arranged to obtain the offset orientation information of described calibration platform;
Adjustment and receiver module 530, are arranged to according to described offset orientation information, described calibration platform be adjusted Whole, receive the horizontal feedback information of calibration platform simultaneously;
Responder module 540, is arranged to the horizontal information bag being described calibration platform when the horizontal feedback information receiving When being contained within described predetermined threshold value, end step or execute described first acquisition module 410.
In another kind of implement scene of disclosure exemplary embodiment, described device also includes:
Movable information detection module 550, is arranged to detect whether described calibration platform produces movable information;
When described movable information detection module detects described calibration platform and produces movable information, re-execute first and obtain Delivery block 410, the second acquisition module 420 and adjusting module 430;
When described movable information detection module detects described calibration platform and do not produce movable information, keep described calibration The current state of platform.
In another kind of implement scene of disclosure exemplary embodiment, described device also includes:
Calibration value acquisition module 560, is arranged to obtain calibration value;
Programming module 570, be arranged to by described calibration value be written in described calibration platform on place with described school In the mobile terminal of quasi- platform parallel, so that described mobile terminal is entered with the calibration of line sensor.
In another kind of implement scene of disclosure exemplary embodiment, described device also includes:
Set up communication module 580, be arranged to calibrate the mobile end with described calibration platform parallel on platform with described End is set up communication and is connected.
The self-checking device of the sensor providing in above-described embodiment can perform in the disclosure and carried in any embodiment For sensor automatic calibrating method, possess the execution corresponding functional module of the method and beneficial effect, not in above-mentioned enforcement The ins and outs describing in detail in example, can be found in the automatic calibrating method of the sensor provided in disclosure any embodiment.
It will be appreciated that, the disclosure also extends to be suitable for the computer program that the disclosure tries out, particularly Computer program on carrier or in carrier.Program can be compiled with source code, object code, code intermediate source and such as part The form of the object code of the form translated, or it is suitable for shape used in realization according to the disclosed method with any other Formula.Also it will be noted that, such program is likely to be of many different frame design.For example, realize the side according to the disclosure Functional program code of method or system may be subdivided into one or more subroutine.
For being obvious for technical personnel in these subroutine intermediate distribution functional many different modes. Subroutine can be collectively stored in an executable file, thus forming self-contained program.Such executable file can To include computer executable instructions, such as processor instruction and/or interpreter instruction (for example, Java interpreter instruction).Can Alternatively, one or more or all subroutines of subroutine may be stored at least one external library file, and And statically or dynamically (for example at runtime) links with main program.Main program contains at least one of subroutine At least one call.Subroutine can also be included to function call each other.It is related to the embodiment bag of computer program Include the computer executable instructions of each step of process step corresponding at least one of illustrated method method.These refer to Order can be subdivided into subroutine and/or be stored in one or more possible static state or the file of dynamic link.
The embodiment that another is related to computer program include corresponding in illustrated system and/or product at least The computer executable instructions of each device in the device of.These instructions can be subdivided into subroutine and/or be stored In the file of one or more possible static state or dynamic link.
The carrier of computer program can be any entity or the device that can deliver program.For example, carrier can wrap Containing storage medium, such as (ROM such as CDROM or semiconductor ROM) or magnetic recording media (such as floppy disk or hard disk).Enter One step ground, carrier can be the carrier that can transmit, such as electricity or optical signalling, its can via cable or optical cable, or Person passes through radio or other means transmission.When program is embodied as such signal, carrier can be by such cable Or device forms.Alternatively, carrier can be the integrated circuit being wherein embedded with program, and described integrated circuit is suitable for holding Row correlation technique, or for used by the execution of correlation technique.
Should be noted that, embodiment mentioned above is to illustrate the disclosure, rather than limits the disclosure, and this The technical staff in field is possible to design many alternate embodiments, without departing from scope of the following claims.In power During profit requires, any reference symbol being placed between round parentheses is not to be read as being limitations on claims.Verb " bag Include " and its paradigmatic using being not excluded for depositing of element in addition to those recorded in the claims or step ?.Article " one " before element or " one " are not excluded for the presence of a plurality of such elements.The disclosure can be passed through Including the hardware of several visibly different assemblies, and realized by properly programmed computer.Enumerating several devices In device claim, several in these devices can be embodied by the same item of hardware.In mutually different appurtenance Profit states in requiring that the fact merely of some measures is not intended that the combination of these measures can not be used to benefit.
If desired, difference in functionality discussed herein can execute with different order execution and/or simultaneously with one another. In addition if desired, one or more functions described above can be optional or can be combined.
If desired, each step is not limited to the execution sequence in each embodiment, different step as discussed above Can execute with different order execution and/or simultaneously with one another.Additionally, in other embodiments, one or many described above Individual step can be optional or can be combined.
Although various aspects of the disclosure is given in the independent claim, the other side of the disclosure includes being derived from The feature of described embodiment and/or have independent claims the dependent claims of feature combination, and not only It is the combination being clearly given in claim.
It should be noted herein that although the foregoing describing the example embodiment of the disclosure, but these descriptions are not Should be understood in a limiting sense.On the contrary, can carry out several changing and modifications will without departing from such as appended right The scope of the present disclosure defined in asking.
Will be appreciated by those skilled in the art that each module in the device of the embodiment of the present disclosure can be with general meter Calculate device to realize, each module can concentrate in single computing device or the group of networks of computing device composition, and the disclosure is real Apply the method that the device in example corresponds in previous embodiment, it can be realized by executable program code it is also possible to lead to Cross the mode of integrated circuit combination to realize, therefore the disclosure is not limited to specific hardware or software and its combination.
Will be appreciated by those skilled in the art that each module in the device of the embodiment of the present disclosure can be with general shifting Realizing, each module can concentrate in single mobile terminal or the device combination of mobile terminal composition dynamic terminal, the disclosure Device in embodiment corresponds to the method in previous embodiment, and it can be realized by editing executable program code, Can be realized by way of integrated circuit combination, therefore the disclosure is not limited to specific hardware or software and its knot Close.
Fig. 6 is the device of a kind of method of automatic calibration for realizing sensor according to an exemplary embodiment 800 block diagram.For example, device 800 can be mobile phone, computer, digital broadcast terminal, messaging device, game control Platform processed, board device, medical treatment device, body-building device, personal digital assistant etc..
With reference to Fig. 6, device 800 can include following one or more assemblies:Process assembly 802, memory 804, power supply Assembly 806, multimedia groupware 808, audio-frequency assembly 810, input/output (I/O) interface 812, sensor cluster 814, Yi Jitong Letter assembly 816.
The integrated operation of the usual control device 800 of process assembly 802, such as with display, call, data communication, phase Machine operation and record operate associated operation.Process assembly 802 can include one or more processors 820 and refer to execute Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 802 can include one or more modules, just Interaction between process assembly 802 and other assemblies.For example, process assembly 802 can include multi-media module, many to facilitate Interaction between media component 808 and process assembly 802.
Memory 804 is configured to store various types of data to support the operation in device 800.The showing of these data Example includes the instruction for any application program of operation or method on device 800, contact data, telephone book data, disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or Nonvolatile memory devices or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides power supply for the various assemblies of device 800.Power supply module 806 can include power management system System, one or more power supplys, and other generate, manage and distribute, with for device 800, the assembly that power supply is associated.
Multimedia groupware 808 includes the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sensing touch or sliding action Border, but also detection and described touch or slide related duration and pressure.In certain embodiments, many matchmakers Body assembly 808 includes a front-facing camera and/or post-positioned pick-up head.When device 800 is in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and Post-positioned pick-up head can be the optical lens system of a fixation or have focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured to output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is joined It is set to reception external audio signal.The audio signal being received can be further stored in memory 804 or via communication set Part 816 sends.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
, for providing interface between process assembly 802 and peripheral interface module, above-mentioned peripheral interface module can for I/O interface 812 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, for providing the state of various aspects to comment for device 800 Estimate.For example, sensor cluster 814 can detect/the closed mode of opening of device 800, and the relative positioning of assembly is for example described Assembly is display and the keypad of device 800, and sensor cluster 814 can be with detection means 800 or 800 1 assemblies of device Position change, user is presence or absence of with what device 800 contacted, device 800 orientation or acceleration/deceleration and device 800 Temperature change.Sensor cluster 814 can include proximity transducer, is configured to the detection when not having any physical contact The presence of object nearby.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for becoming Use as in application.In certain embodiments, this sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other devices.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary enforcement In example, communication component 816 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, described communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example As, RF identification (RFID) technology can be based in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, Bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, device 800 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing device (DSPD), programmable logic components (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic building bricks are realized, for executing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided As included the memory 804 instructing, above-mentioned instruction can be executed by the processor 820 of device 800 to complete said method.For example, Described non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Note, above are only preferred embodiment and institute's application technology principle of the disclosure.It will be appreciated by those skilled in the art that The disclosure is not limited to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute the protection domain without departing from the disclosure.Therefore although being carried out to the disclosure by above example It is described in further detail, but the disclosure is not limited only to above example, in the case of conceive without departing from the disclosure, also Other Equivalent embodiments more can be included, and the scope of the present disclosure is determined by scope of the appended claims.

Claims (10)

1. a kind of automatic calibrating method of sensor is it is characterised in that methods described includes:
Obtain the horizontal information of calibration platform;
Obtain the adjustment information for adjusting described calibration platform according to described horizontal information;
According to described adjustment information, described calibration platform is adjusted.
2. method according to claim 1 is it is characterised in that after the described horizontal information obtaining calibration platform, go back Including:
Whether the horizontal information of detection described calibration platform is included in predetermined threshold value;
When described horizontal information is contained in described predetermined threshold value, obtained for adjusting described calibration according to described horizontal information The adjustment information of platform;
When described horizontal information is not included in described predetermined threshold value, also include step:
Obtain the offset orientation information of described calibration platform;
According to described offset orientation information, described calibration platform is adjusted, receives the horizontal feedback letter of calibration platform simultaneously Breath;
When the horizontal information that the horizontal feedback information receiving is described calibration platform is contained within described predetermined threshold value, terminate Step.
3. method according to claim 1 is it is characterised in that adjust to described calibration platform according to described adjustment information After whole, methods described also includes:
Whether detection described calibration platform produces movable information;
When described calibration platform produces movable information, reacquire the described calibration horizontal information of platform and adjustment information with Described calibration platform is adjusted;
When described calibration platform does not produce movable information, keep the current state of described calibration platform.
4. method according to claim 1 is it is characterised in that adjust to described calibration platform according to described adjustment information After whole, methods described also includes:
Obtain calibration value;
Described calibration value is written in the mobile terminal with described calibration platform parallel placed on described calibration platform, with right Described mobile terminal enters the calibration of line sensor.
5. the method according to claim 1 or 4 is it is characterised in that before the horizontal information of described acquisition calibration platform, go back Including:
It is connected with setting up communication with the mobile terminal of described calibration platform parallel on described calibration platform.
6. a kind of self-checking device of sensor is it is characterised in that described device includes:
First acquisition module, is arranged to obtain the horizontal information of calibration platform;
Second acquisition module, is arranged to obtain the adjustment letter for adjusting described calibration platform according to described horizontal information Breath;
Adjusting module, is arranged to according to described adjustment information, described calibration platform is adjusted.
7. device according to claim 6 is it is characterised in that described device also includes:
Detection module, is arranged to detect whether the horizontal information of described calibration platform is included in predetermined threshold value;
When the horizontal information that described detection module detects is contained in described predetermined threshold value, the described second acquisition mould of execution Block;
When described state the horizontal information that detection module detects and be not included in described predetermined threshold value when, also include:
Offset orientation acquisition module, is arranged to obtain the offset orientation information of described calibration platform;
Adjustment and receiver module, are arranged to according to described offset orientation information, described calibration platform is adjusted, simultaneously Receive the horizontal feedback information of calibration platform;
Responder module, being arranged to when the horizontal feedback information receiving is described in the described horizontal information calibrating platform is contained in When within predetermined threshold value, end step.
8. device according to claim 6 is it is characterised in that described device also includes:
Movable information detection module, is arranged to detect whether described calibration platform produces movable information;
When described movable information detection module detects described calibration platform and produces movable information, re-execute the first acquisition mould Block, the second acquisition module and adjusting module;
When described movable information detection module detects described calibration platform and do not produce movable information, keep described calibration platform Current state.
9. device according to claim 6 is it is characterised in that described device also includes:
Calibration value acquisition module, is arranged to obtain calibration value;
Programming module, be arranged to by described calibration value be written in described calibration platform on place with described calibration platform put down In the mobile terminal of row, so that described mobile terminal is entered with the calibration of line sensor.
10. the device according to claim 6 or 9 is it is characterised in that described device also includes:
Set up communication module, be arranged to logical with the mobile terminal foundation of described calibration platform parallel with described calibration platform News connect.
CN201610712660.1A 2016-08-23 2016-08-23 Automatic calibration method and apparatus for sensors Pending CN106405154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610712660.1A CN106405154A (en) 2016-08-23 2016-08-23 Automatic calibration method and apparatus for sensors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610712660.1A CN106405154A (en) 2016-08-23 2016-08-23 Automatic calibration method and apparatus for sensors

Publications (1)

Publication Number Publication Date
CN106405154A true CN106405154A (en) 2017-02-15

Family

ID=58004682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610712660.1A Pending CN106405154A (en) 2016-08-23 2016-08-23 Automatic calibration method and apparatus for sensors

Country Status (1)

Country Link
CN (1) CN106405154A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107796386A (en) * 2017-10-26 2018-03-13 深圳多哚新技术有限责任公司 Helmet pcb board deficient levels detection method and system
CN107941463A (en) * 2017-10-26 2018-04-20 深圳多哚新技术有限责任公司 Helmet deficient levels detection method and system
CN108759892A (en) * 2018-06-08 2018-11-06 Oppo(重庆)智能科技有限公司 Sensor calibrating method, electronic device and computer readable storage medium
CN109263301A (en) * 2018-08-09 2019-01-25 深圳弘锐精密数码喷印设备有限公司 Method, apparatus, computer installation and the readable storage medium storing program for executing of the calibration of pcb board
CN109521941A (en) * 2018-10-25 2019-03-26 西安闻泰电子科技有限公司 Data sampling device and method
CN110412658A (en) * 2019-07-11 2019-11-05 西安天和防务技术股份有限公司 Stroke position correction device, method, computer equipment and storage medium
CN111111807A (en) * 2019-12-30 2020-05-08 武昌船舶重工集团有限公司 Ship experiment platform
CN111595359A (en) * 2020-05-18 2020-08-28 深圳市施罗德工业集团有限公司 Periscope angle calibration method and device and periscope system
CN112212882A (en) * 2019-07-09 2021-01-12 北京小米移动软件有限公司 Calibration device and calibration method for mobile terminal MEMS inertial sensor
CN112734092A (en) * 2020-12-30 2021-04-30 驭势科技(北京)有限公司 Calibration method, device, equipment and storage medium
CN116182798A (en) * 2023-04-24 2023-05-30 如果新能源科技(江苏)股份有限公司 Detection system and method for determining a horizontal attitude of a vehicle

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101881626A (en) * 2010-06-04 2010-11-10 上海市七宝中学 Self-correcting horizontal loading device
CN103399175A (en) * 2013-07-11 2013-11-20 广东欧珀移动通信有限公司 Acceleration sensor calibrating method and mobile terminal
CN104482951A (en) * 2014-12-30 2015-04-01 北方民族大学 Automatic horizontal adjusting device
CN205353122U (en) * 2016-02-03 2016-06-29 上海自仪泰雷兹交通自动化系统有限公司 A testing platform for acceleration sensor performance
CN105783847A (en) * 2014-12-23 2016-07-20 丹东华通测控有限公司 Angular displacement sensor calibration device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101881626A (en) * 2010-06-04 2010-11-10 上海市七宝中学 Self-correcting horizontal loading device
CN103399175A (en) * 2013-07-11 2013-11-20 广东欧珀移动通信有限公司 Acceleration sensor calibrating method and mobile terminal
CN105783847A (en) * 2014-12-23 2016-07-20 丹东华通测控有限公司 Angular displacement sensor calibration device
CN104482951A (en) * 2014-12-30 2015-04-01 北方民族大学 Automatic horizontal adjusting device
CN205353122U (en) * 2016-02-03 2016-06-29 上海自仪泰雷兹交通自动化系统有限公司 A testing platform for acceleration sensor performance

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107941463A (en) * 2017-10-26 2018-04-20 深圳多哚新技术有限责任公司 Helmet deficient levels detection method and system
CN107796386A (en) * 2017-10-26 2018-03-13 深圳多哚新技术有限责任公司 Helmet pcb board deficient levels detection method and system
CN108759892A (en) * 2018-06-08 2018-11-06 Oppo(重庆)智能科技有限公司 Sensor calibrating method, electronic device and computer readable storage medium
CN109263301A (en) * 2018-08-09 2019-01-25 深圳弘锐精密数码喷印设备有限公司 Method, apparatus, computer installation and the readable storage medium storing program for executing of the calibration of pcb board
CN109521941A (en) * 2018-10-25 2019-03-26 西安闻泰电子科技有限公司 Data sampling device and method
CN112212882A (en) * 2019-07-09 2021-01-12 北京小米移动软件有限公司 Calibration device and calibration method for mobile terminal MEMS inertial sensor
CN110412658A (en) * 2019-07-11 2019-11-05 西安天和防务技术股份有限公司 Stroke position correction device, method, computer equipment and storage medium
CN110412658B (en) * 2019-07-11 2021-06-11 西安天和防务技术股份有限公司 Travel position correction device, travel position correction method, computer equipment and storage medium
CN111111807A (en) * 2019-12-30 2020-05-08 武昌船舶重工集团有限公司 Ship experiment platform
CN111111807B (en) * 2019-12-30 2021-11-30 武昌船舶重工集团有限公司 Ship experiment platform
CN111595359A (en) * 2020-05-18 2020-08-28 深圳市施罗德工业集团有限公司 Periscope angle calibration method and device and periscope system
CN112734092A (en) * 2020-12-30 2021-04-30 驭势科技(北京)有限公司 Calibration method, device, equipment and storage medium
CN112734092B (en) * 2020-12-30 2023-07-18 驭势科技(北京)有限公司 Calibration method, device, equipment and storage medium
CN116182798A (en) * 2023-04-24 2023-05-30 如果新能源科技(江苏)股份有限公司 Detection system and method for determining a horizontal attitude of a vehicle

Similar Documents

Publication Publication Date Title
CN106405154A (en) Automatic calibration method and apparatus for sensors
US10321495B2 (en) Disambiguation of target devices using ambient signal data
CN107576321A (en) Determine the method, device and mobile terminal of magnetic azimuth
CN105828281A (en) Device connection method and device
CN104038882A (en) Loudspeaker debugging model calibration method and loudspeaker debugging method and device
CN103973979A (en) Method and device for configuring shooting parameters
CN104034309A (en) Angle measurement method, angle measurement device and terminal
KR20200076169A (en) Electronic device for recommending a play content and operating method thereof
CN106878558A (en) Dropproof based reminding method and device
CN108156026A (en) Intercom configuration method and device
CN105279499A (en) Age recognition method and device
CN104464674B (en) Liquid crystal display method of adjustment and device
CN108042230A (en) Toothbrush control method, device and readable storage medium storing program for executing
CN106339695A (en) Face similarity detection method, device and terminal
CN107226052A (en) Method of adjustment, device and the smart machine of vehicle drive data
CN105862321A (en) Parameter adjusting method and device
CN107515749A (en) Starting-up method, device and the electronic equipment of electronic equipment
CN106658587A (en) Network status prompting method and apparatus
CN104299582B (en) backlight adjusting method and device
CN104881342B (en) terminal test method and device
CN106532367A (en) Power consumption warning method and device of smart socket
CN106502522A (en) The method of controlling operation thereof and device of mobile terminal
CN106303896A (en) The method and apparatus playing audio frequency
CN106454684A (en) Multimedia playing control method and device
CN106792500A (en) information output method and device, wearable 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170215

RJ01 Rejection of invention patent application after publication