WO2017113381A1 - Method for determining calibration parameter and mobile device - Google Patents

Method for determining calibration parameter and mobile device Download PDF

Info

Publication number
WO2017113381A1
WO2017113381A1 PCT/CN2015/100298 CN2015100298W WO2017113381A1 WO 2017113381 A1 WO2017113381 A1 WO 2017113381A1 CN 2015100298 W CN2015100298 W CN 2015100298W WO 2017113381 A1 WO2017113381 A1 WO 2017113381A1
Authority
WO
WIPO (PCT)
Prior art keywords
output data
sensor
mobile device
calibrated
static
Prior art date
Application number
PCT/CN2015/100298
Other languages
French (fr)
Chinese (zh)
Inventor
王宇
卢恒惠
王雷
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2015/100298 priority Critical patent/WO2017113381A1/en
Priority to CN201580079572.6A priority patent/CN107532900A/en
Publication of WO2017113381A1 publication Critical patent/WO2017113381A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C17/00Compasses; Devices for ascertaining true or magnetic north for navigation or surveying purposes
    • G01C17/38Testing, calibrating, or compensating of compasses
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C25/00Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L25/00Testing or calibrating of apparatus for measuring force, torque, work, mechanical power, or mechanical efficiency
    • 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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass

Definitions

  • the present invention relates to the field of mobile device technologies, and in particular, to a method for determining calibration parameters and a mobile device.
  • the techniques related to user motion are widely used in mobile devices.
  • the implementation effects of these technologies depend on the accuracy of the sensor output signals.
  • the main factors affecting the accuracy of the output signal include: the zero point of each axis drifts with time, the zero point of each axis drifts with temperature and the sensitivity coefficient of each axis drifts with temperature.
  • the sensor is real-time calibrated and temperature compensated without changing the existing sensors in the mobile device.
  • the application provides a method for determining calibration parameters and a mobile device for improving calibration parameters and temperature
  • the degree of correlation reduces the adverse effects of temperature changes on sensor calibration parameters.
  • a method for determining a calibration parameter for use in a mobile device having a sensor to be calibrated, the method comprising:
  • the mobile device acquires at least three different sets of output data of the sensors to be calibrated collected in a temperature range; wherein the acquired at least three sets of different output data are all when the mobile device is in a static or quasi-static state Calibrate the output data of the sensor; quasi-statically indicates a motion state that is close to static and whose motion amplitude is controlled within a small range;
  • the mobile device determines calibration parameters used by the sensor to be calibrated in the temperature range according to the obtained at least three different sets of output data.
  • the mobile device calculates a calibration parameter based on a plurality of sets of output data of the acceleration sensor collected in a temperature range of 20 ° C to 22 ° C, and moves when the ambient temperature is between 20 ° C and 22 ° C, such as 21.2 ° C.
  • the device uses this calibration parameter to calibrate the acceleration sensor.
  • the method further includes:
  • the preset application If it is determined that the preset application is invoked, collecting a set of output data of the sensor to be calibrated, and recording an ambient temperature when the set of output data is collected and an attitude angle of the mobile device; wherein When the preset application is invoked, the posture of the mobile device may remain unchanged for a set duration; for example, the preset application may be a receiving a phone program, reading a short message program, or the like;
  • At least three different sets of output data acquired by the mobile device have the same temperature range, and the corresponding attitude angle ranges are different.
  • the calibration parameters of the calculated sensors are generally similar when the ambient temperature is similar, a plurality of similar ambient temperatures are classified into a temperature range, and subsequent calculations are based on a plurality of sets of output data in a temperature range.
  • the calibration parameters used internally can reduce unnecessary calculations on the one hand, and can reduce the number of sensor output data collected at individual ambient temperatures without calculating the calibration parameters.
  • the output data of the sensor may be the same or similar when the attitude angles are close, the output data of the same or similar can be regarded as a group of data substantially, so that a plurality of similar attitude angles are returned.
  • the subsequent one temperature range and one attitude angle range only map and store a set of output data, which can avoid the output of the sensor output data collected in a certain temperature range is larger than three groups but substantially different.
  • the number of data is less than three groups and the calibration parameters cannot be calculated.
  • the mobile device is always static or quasi-static within a set duration after the application is invoked, and can be implemented as follows:
  • the mobile device Determining, if the maximum value and the variance value of the output signal of the acceleration sensor on the mobile device are not greater than a preset maximum threshold value and a variance value threshold, respectively, within a set duration after the application is invoked
  • the mobile device is always static or quasi-static; or
  • the maximum value and the variance value of the output signal of the acceleration sensor on the mobile device are not greater than a preset first maximum threshold value and a first variance value, respectively, within a set duration after the application is invoked Determining that the maximum value and the variance value of the output signal of the gyroscope on the mobile device are not greater than a preset second maximum threshold and a second variance threshold, respectively, determining that the mobile device is always in a static state or Quasi-static.
  • determining the calibration parameters based on the output data can be implemented as follows:
  • the output data is substituted into a calibration formula to obtain a zero point and a sensitivity coefficient of the sensor to be calibrated;
  • the output data and the factory value of the sensitivity coefficient of the sensor to be calibrated are substituted into the calibration formula to obtain the to-be-calibrated transmission. a zero point of the sensor; or, the output data and the factory value of the zero point of the sensor to be calibrated are substituted into the calibration formula to obtain a sensitivity coefficient of the sensor to be calibrated;
  • n the order of the calibration formula
  • N1 and N2 are positively correlated with n, and N1>N2, N1 and N2 are integers greater than zero.
  • K i i and B when the number of acquired output data is less than 12 groups but not less than 3 groups, the calibration parameters can be The factory values of one of B and B are taken as known quantities, and the known V and the output data of less than 12 sets are substituted into the first-order calibration formula to obtain another unknown calibration parameter.
  • the senor to be calibrated is any of the following types of sensors: an acceleration sensor, a gyroscope, a magnetic field sensor, an electric field sensor, and a pressure sensor.
  • a mobile device having a sensor to be calibrated, the mobile device having the functionality to implement the above method.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules or units corresponding to the functions described above.
  • the mobile device includes:
  • An acquiring unit configured to acquire at least three different sets of output data of the to-be-calibrated sensor collected in a temperature range; the at least three sets of different output data are collected when the mobile device is in a static or quasi-static state
  • the quasi-static state indicates a motion state in which the motion amplitude is less than a preset value
  • a determining unit configured to determine, according to the at least three sets of different output data, calibration parameters used by the to-be-calibrated sensor in the temperature range.
  • the mobile device includes a memory, a bus system, and at least one processor, and the memory and the at least one processor are connected to each other by a bus system;
  • the at least one processor is configured to acquire at least three different sets of output data of the to-be-calibrated sensor collected in a temperature range; the at least three sets of different output data are in a static state of the mobile device or Collected in quasi-static state; the quasi-static indicates a motion state whose motion amplitude is less than a preset value; and determines calibration parameters used by the sensor to be calibrated in the temperature range according to the at least three sets of different output data .
  • the mobile device includes a memory, a bus system, and at least one processor, and the memory and the at least one processor are connected to each other by a bus, where the memory stores one or more programs,
  • the one or more programs include instructions that, when executed by the mobile device, cause the mobile device to perform the method of any of the first aspects.
  • the present application provides a computer readable storage medium storing one or more programs, the one or more programs including instructions that, when executed by an electronic device, cause the electronic device to perform a first Any of the implementations of the aspects.
  • the correlation between the calibration parameters and the temperature is improved, the error caused by the temperature drift of the sensor is reduced, and the measurement accuracy of the sensor is improved.
  • 1 is a flow chart of a method for determining calibration parameters provided by the present application
  • FIG. 2 is a schematic structural diagram of a mobile device provided by the present application.
  • FIG. 3 is a schematic structural diagram of a mobile phone provided by the present application.
  • the present application provides a method for determining calibration parameters and a mobile device, based on at least three different sets of output data of a sensor to be calibrated collected by a mobile device in a temperature range, and calculating calibration parameters, which are used only in this
  • the calibration of the sensor in the temperature range improves the correlation between the calibration parameters and the temperature, reduces the error caused by the temperature drift of the sensor, and improves the measurement accuracy of the sensor.
  • the technical solution provided by the present application may be used to determine calibration parameters for sensors on a mobile device, where the mobile device may be a mobile phone, a tablet computer, or some wearable device such as a smart watch, a sports bracelet, or the like.
  • the sensor to be calibrated may be any type of triaxial vector sensor, for example, the following types of sensors: acceleration sensors, gyroscopes, magnetic field sensors, electric field sensors, and pressure sensors.
  • FIG. 1 is a flow chart of a method for determining calibration parameters of a mobile device sensor provided by the present application, the method comprising the following steps:
  • Step 101 The mobile device acquires at least three different sets of output data of the sensors to be calibrated collected in a temperature range; the at least three sets of different output data are collected when the mobile device is static or quasi-static
  • the quasi-static state indicates a motion state in which the motion amplitude is less than a preset value.
  • Step 102 The mobile device determines, according to the at least three sets of different output data, calibration parameters used by the to-be-calibrated sensor in the temperature range.
  • the manual calibration mode is a way for the user to manually provide different postures in the calibration process to obtain the output data of the sensor in different postures of the mobile device, for example, when calibrating the magnetic field sensor, prompting the user to slowly Rotate the terminal screen or hold the terminal to draw an "8" shape in the air.
  • the present application provides a trigger mechanism for automatically collecting sensor output data in different postures.
  • the mobile device can trigger the collection of sensor output data according to a set period, or trigger the collection of sensor output data when it detects that a preset application is called.
  • the gesture of the mobile device may remain unchanged for a set duration when the preset application is invoked. For example, the user's gesture of the mobile device may remain fixed for a certain period of time in a scene of answering a call, reading a text message, taking a photo focus, opening a web browser, searching for a wireless signal, etc., therefore, the call program can be answered, the short message program can be opened, and the photo can be taken.
  • Applications such as the focus program, open web browser program, search for wireless signal programs, etc. are pre-configured as applications that can trigger sensor output data collection.
  • the mobile device When the mobile device is called, it is possible to maintain a fixed number of applications for a certain period of time. This application is only described by taking the above application as an example, and does not constitute a limitation on the present application.
  • the process of collecting the sensor data and the calculation process of the calibration parameters are not strictly sequential, and the two can be performed simultaneously.
  • the mobile device After triggering the collection of sensor data, the mobile device reads a set of outputs of the sensor to be calibrated Data, and recording the ambient temperature at which the set of output data is read and the attitude angle of the mobile device.
  • the ambient temperature can be obtained by a temperature sensor
  • the attitude angle can be obtained by an acceleration sensor, a gyroscope and a magnetic field sensor.
  • the so-called attitude angle refers to the Euler angle of the local coordinate system of the mobile device (ie, the local coordinate system) relative to the reference coordinate system (ie, the inertial coordinate system).
  • the Euler angle is a set of independent angular parameters, which are by the nutation angle and rotation. The angle of advance and the angle of rotation.
  • the mobile device may determine, according to a preset division rule, a temperature range to which the recorded ambient temperature belongs, and determine a range of posture angles to which the recorded posture angle belongs. For example, it can be specified that all ambient temperatures within 20 degrees Celsius (unit: °C) to 22 °C belong to a temperature range [20-22]. For another example, it is possible to specify that all the attitude angles of the nutation angle, the precession angle, and the rotation angle between 0 degrees (unit: °) and 15 degrees belong to one attitude angle range [0 to 15_0 to 15_0 to 15].
  • the calibration parameters of the calculated sensors are generally similar when the ambient temperature is similar, a plurality of similar ambient temperatures are classified into a temperature range, and subsequent calculations are based on a plurality of sets of output data in a temperature range.
  • the calibration parameters used internally can reduce unnecessary calculations on the one hand, and can reduce the number of sensor output data collected at individual ambient temperatures without calculating the calibration parameters.
  • the output data of the sensor may be the same or similar when the attitude angles are close, the output data of the same or similar can be regarded as a group of data substantially, so that a plurality of similar attitude angles are returned.
  • the subsequent one temperature range and one attitude angle range only correspond to a set of output data, which can avoid the occurrence of output data of the sensor that is collected in a certain temperature range is larger than three groups but substantially different.
  • the number of measurements is less than three groups and the calibration parameters cannot be calculated.
  • the mobile device After collecting the set of output data, the mobile device needs to determine the set duration after the collection of the sensor output data is triggered according to the set period, or the collection of the sensor output data is triggered when the application is called. Whether the mobile device is always static or quasi-static during the set duration. If so, the set of output data is stored; otherwise, the set of output data is discarded.
  • the stored set of output data has a corresponding relationship with the determined temperature range and attitude angle range.
  • the temperature range and attitude angle range can be used as sensor outputs.
  • the identification of the data is stored together, for example, by means of a structure.
  • the mobile device saves the latest output data and discards the saved output data.
  • the application may configure an effective duration for the set of output data to indicate validity of the set of output data, from configuring the set of output data.
  • the effective duration after the valid duration, the set of output data is deleted, thereby reducing the error caused by the zero drift of each axis of the sensor to be calibrated and improving the accuracy of the calibration parameters.
  • At least three sets of different output data acquired by the mobile device have the same temperature range, and the corresponding attitude angle ranges are different.
  • the static judgment or the quasi-static judgment can be realized by an acceleration sensor or by an acceleration sensor together with the gyroscope.
  • the so-called static refers to a state of complete static;
  • the so-called quasi-static refers to a state of motion that is close but not completely static, and the amplitude of motion is controlled within a small range.
  • Static or quasi-static judgments mainly include the following processes:
  • the high-pass filtering of the original signal output by the acceleration sensor is performed within a set time period after the collection of the sensor output data is triggered according to the set period, or within the set time period after the application is called, and the gravity acceleration is An acceleration static component is filtered from the original signal to obtain an acceleration component of the acceleration sensor's original signal due to motion.
  • the original signal output from the gyroscope is also high-pass filtered to obtain the angular velocity dynamic component of the original gyroscope signal due to motion.
  • the high-pass filtered signal of the acceleration sensor and the gyroscope can be smoothed, and the available techniques include low-pass filtering, median filtering, and mean filtering.
  • the smoothed signal of the acceleration sensor and the gyroscope may be rectified to invert the negative half-axis portion of the signal waveform output by the acceleration sensor and the gyroscope to the positive half-axis.
  • the gyroscope is further included, in addition to comparing the maximum value and the variance value of the output signal of the extracted acceleration sensor to the preset first maximum threshold and the first variance threshold respectively, And comparing the maximum value and the variance value of the output signal of the extracted gyroscope to the preset second maximum threshold and the second variance threshold respectively, if the output of the acceleration sensor on the mobile device.
  • the maximum value and the variance value of the signal are not greater than the preset first maximum threshold and the first variance threshold, respectively, and the maximum and variance values of the output signals of the gyroscope on the mobile device are not greater than
  • the second maximum threshold and the second variance threshold are set to determine that the mobile device is always static or quasi-static.
  • the mobile device After obtaining the output data, the mobile device substitutes the output data into the following three-axis sensor calibration formula, and the numerically iterative method can be used to obtain the calibration parameters K i i and/or B of the sensor to be calibrated.
  • the triaxial component vector sum of the theoretical values of the physical quantities of the acceleration sensor output is the gravitational acceleration, ie:
  • the triaxial component vector of the theoretical value of the physical quantity of the magnetic field sensor output is the typical value of the magnetic induction of the earth's surface;
  • the triaxial component vector sum of the theoretical value of the physical quantity of the gyroscope output is zero;
  • the sum of the three-axis component vectors of the theoretical values of the physical quantities of the pressure sensor output is a standard atmospheric pressure.
  • the physical quantity outputted by each sensor under quasi-static state also approximates the numerical relationship of the theoretical values of the physical quantities output by the respective sensors under the above static conditions.
  • k i_XY , k i_XZ , k i_YX , k i_YZ , k i_ZX , k i_ZY are the cross-axis coupling sensitivity coefficients of the sensor to be calibrated when the order of the calibration formula is i
  • k i_XX , k i_YY , k i_ZZ are calibration formulas respectively
  • n the order of the calibration formula.
  • N1 and N2 are positively correlated with n, and N1>N2, and N1 and N2 are integers greater than zero.
  • the first calibration parameter calculation program may be performed, and the output data is substituted into the calibration formula (1) to obtain the zero point of the sensor to be calibrated. Sensitivity factor. In practical applications, the more the output data is substituted, the more accurate the calibration parameters are.
  • a second calibration parameter calculation program may be performed, and the output data and the factory value of the sensitivity coefficient of the sensor to be calibrated are substituted into the above Calibration formula (1) obtains the zero point of the sensor to be calibrated.
  • the output data and the factory value of the zero point of the sensor to be calibrated are substituted into the calibration formula (1) to obtain the sensitivity coefficient of the sensor to be calibrated.
  • the calibration parameter calculated last time in history may be used, or the sensor factory calibration parameter may be used, or the user may be prompted to manually calibrate the sensor.
  • the calibration parameters can be stored in a fixed storage medium and the temperature range to which the calibration parameters are applied is marked.
  • the specific storage medium may be hardware, such as a memory, an electrically erasable programmable read-only memory (EEPROM), a magnetic disk, or a flash memory.
  • EEPROM electrically erasable programmable read-only memory
  • the present application refers to a storage medium area in which calibration parameters are stored as a parameter pool.
  • each sensor calibration parameter marked by the corresponding temperature range in the parameter pool may be read as an initial calibration parameter of each sensor according to the current ambient temperature.
  • the mobile device can trigger the collection of the sensor output data through the above trigger mechanism, and update the output data satisfying the static or quasi-static judgment to the memory.
  • the mobile device can trigger the execution of steps 101-102, based on the new output data and the other temperature stored in the memory that is the same as the temperature range marked by the new output data.
  • Data get new calibration parameters, and update the new calibration parameters to the parameter pool.
  • the application called to the sensor detects whether the parameter pool is updated periodically or in real time during the running process. If the parameter pool has an update of the calibration parameter, the latest one is extracted from the parameter pool.
  • the updated calibration parameters are used as new calibration parameters for the sensor; if the parameter pool is not updated, the current calibration parameters continue to be used.
  • the present application provides a mobile device 200 for implementing the function of the mobile device in the method for determining a calibration parameter, for determining a calibration parameter of a sensor to be calibrated located on the mobile device 200.
  • the mobile device includes:
  • the acquiring unit 201 is configured to acquire at least three different sets of output data of the to-be-calibrated sensor collected in a temperature range; the at least three sets of different output data are static or quasi-static at the mobile device 200 Collected; the quasi-static indicates a motion state in which the motion amplitude is less than a preset value.
  • the determining unit 202 is configured to determine, according to the at least three sets of different output data, calibration parameters used by the to-be-calibrated sensor in the temperature range.
  • the mobile device 200 may further include:
  • the collecting unit 203 is configured to collect a set of output data of the sensor to be calibrated when determining that the preset application is invoked, and record an ambient temperature and a posture of the mobile device when collecting the set of output data And determining a temperature range to which the ambient temperature belongs, and determining a range of attitude angles to which the attitude angle belongs.
  • the posture of the mobile device 200 may remain unchanged for a set period of time.
  • the determining unit 204 is configured to determine whether the mobile device 200 is always static or quasi-static within a set duration after the application is invoked.
  • the storage unit 205 is configured to store the set of output data when the mobile device 200 is always in a static or quasi-static state within the set duration after the determining unit 204 determines that the application is invoked.
  • the temperature ranges corresponding to the at least three sets of different output data acquired by the acquiring unit 201 are the same, and the corresponding attitude angle ranges are different.
  • the determining unit 204 when determining that the mobile device is always in a static or quasi-static state within a set duration after the application is invoked, specifically includes: setting after the application is invoked Within the duration, if the output signal of the acceleration sensor on the mobile device 200 is the largest If the value and the variance value are not greater than the preset maximum threshold and the variance threshold, respectively, determining that the mobile device 200 is always static or quasi-static; or, within a set duration after the application is invoked, If the maximum value and the variance value of the output signal of the acceleration sensor on the mobile device 200 are not greater than a preset first maximum threshold and a first variance threshold, respectively, and the gyroscope on the mobile device 200 The maximum value and the variance value of the output signal are not greater than the preset second maximum threshold and the second variance threshold, respectively, and it is determined that the mobile device 200 is always static or quasi-static.
  • the determining unit 202 when determining the calibration parameter according to the output data, specifically includes:
  • the output data is substituted into a calibration formula to obtain a zero point and a sensitivity coefficient of the sensor to be calibrated;
  • the output data and the factory value of the sensitivity coefficient of the sensor to be calibrated are substituted into the calibration formula to obtain a sensitivity coefficient of the sensor to be calibrated.
  • n the order of the calibration formula
  • N1 and N2 are positively correlated with n, and N1>N2, N1 and N2 are integers greater than zero.
  • the mobile device 200 may further include:
  • a deleting unit 206 configured to configure, after the storing unit 205 stores the set of output data, an effective duration for the set of output data; from configuring the effective duration for the set of output data, after passing After the valid duration, the set of output data is deleted.
  • the senor to be calibrated may be any one of the following types of sensors: an acceleration sensor, a gyroscope, a magnetic field sensor, an electric field sensor, and a pressure sensor.
  • the division of the unit in the embodiment of the present invention is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • the functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the application also provides a mobile device comprising a memory, a bus system and at least one processor, the memory and the at least one processor being connected by the bus system.
  • Storing one or more programs in the memory the one or more programs including instructions that, when executed by the mobile device, cause the mobile device to perform a method of determining a calibration parameter in any of the above-described cases .
  • FIG. 3 is a block diagram showing a part of the structure of the mobile phone 300 related to the present application.
  • the mobile phone 300 includes an RF (Radio Frequency) circuit 310, a memory 320, an input unit 330, a display unit 340, a sensor 350, an audio circuit 360, and a WiFi (wireless fidelity) module. 370, processor 380, and power supply 390 and the like.
  • RF Radio Frequency
  • the structure of the handset shown in FIG. 3 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
  • the components of the mobile phone 300 will be specifically described below with reference to FIG. 3:
  • the RF circuit 310 can be used for transmitting and receiving information or during a call, and receiving and transmitting the signal. Specifically, after receiving the downlink information of the base station, the processor 380 processes the data. In addition, the uplink data is designed to be sent to the base station.
  • the RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier, a low noise amplifier), a duplexer, and the like.
  • RF circuitry 310 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division). Multiple Access (code division multiple access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service) : Short message service) and so on.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division
  • Multiple Access code division multiple access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • e-mail Short Messaging Service
  • SMS Short Messaging Service
  • the memory 320 can be used to store software programs and modules, and the processor 380 executes various functional applications and data processing of the mobile phone 300 by running software programs and modules stored in the memory 320.
  • the memory 320 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored. Data created according to the use of the mobile phone 300 (such as audio data, phone book, etc.).
  • memory 320 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 330 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the handset 300.
  • the input unit 330 may include a touch panel 331 and other input devices 332.
  • the touch panel 331 also referred to as a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 331 or near the touch panel 331 Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 331 can include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user and detects the touch
  • the signal brought by the operation transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, sends it to the processor 380, and can receive the signal from the processor 380. Command and execute it.
  • the touch panel 331 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 330 may also include other input devices 332.
  • other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 340 can be used to display information input by the user or information provided to the user and various menus of the mobile phone 300.
  • the display unit 340 may include a display panel 341.
  • the display panel 341 may be configured in the form of an LCD (Liquid Crystal Display) or an OLED (Organic Light-Emitting Diode).
  • the touch panel 331 can cover the display panel 341. When the touch panel 331 detects a touch operation on or near it, the touch panel 331 transmits to the processor 380 to determine the type of the touch event, and then the processor 380 according to the touch event. The type provides a corresponding visual output on display panel 341.
  • touch panel 331 and the display panel 341 are used as two independent components to implement the input and input functions of the mobile phone 300 in FIG. 3, in some cases, the touch panel 331 may be integrated with the display panel 341. The input and output functions of the mobile phone 300 are implemented.
  • the handset 300 can also include at least one type of sensor 350, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 341 according to the brightness of the ambient light, and the proximity sensor may close the display panel 341 when the mobile phone 300 moves to the ear. / or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile phone 300 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
  • the audio circuit 360, the speaker 361, and the microphone 362 can provide a sound between the user and the mobile phone 300. Frequency interface.
  • the audio circuit 360 can transmit the converted electrical data of the received audio data to the speaker 361 for conversion to the sound signal output by the speaker 361; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, by the audio circuit 360. After receiving, it is converted to audio data, and the audio data is output to the RF circuit 308 for transmission to, for example, another mobile phone, or the audio data is output to the memory 320 for further processing.
  • WiFi is a short-range wireless transmission technology
  • the mobile phone 300 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 370, which provides wireless broadband Internet access for users.
  • FIG. 3 shows the WiFi module 370, it can be understood that it does not belong to the essential configuration of the mobile phone 300, and may be omitted as needed within the scope of not changing the essence of the invention.
  • Processor 380 is the control center of handset 300, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in memory 320, and recalling data stored in memory 320, The various functions and processing data of the mobile phone 300 are performed to perform overall monitoring of the mobile phone.
  • the processor 380 may include one or more processing units; preferably, the processor 380 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 380.
  • the handset 300 also includes a power source 390 (such as a battery) that powers the various components.
  • a power source 390 such as a battery
  • the power source can be logically coupled to the processor 380 via a power management system to manage functions such as charging, discharging, and power consumption through the power management system.
  • the mobile phone 300 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the processor 380 executes a program stored in the memory 320, triggering the mobile phone 300 to perform the following operations:
  • the memory 320 is further configured to store output data of the sensor 350 to be calibrated, and calibration parameters obtained by the processor 380.
  • the processor 380 can also perform other operations performed by the obtaining unit 201, the determining unit 202, the collecting unit 203, the determining unit 204, and the deleting unit 206 shown in FIG. 2, and the memory 320 can also execute the map. Other operations performed by the storage unit 205 shown in 2. For the sake of brevity, it will not be repeated here.
  • the present application also provides a computer readable storage medium storing one or more programs, the one or more programs including instructions that, when executed by an electronic device, cause the electronic device to perform any of the above The method of determining the calibration parameters in a case.
  • the mobile device may trigger the collection process of the sensor output data when the mobile device may keep the static or quasi-static application opened for a certain period of time when the call is detected. Updating the sensor output data reduces the number of manual calibrations by the user and improves the user experience; and based on at least three different sets of sensor output data collected over a temperature range, the calibration parameters are obtained, and the obtained calibration parameters are dedicated to The calibration of the sensor in this temperature range improves the correlation between calibration parameters and temperature, reduces the error caused by the zero drift and temperature drift of the sensor, and improves the measurement accuracy of the sensor.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

A method for determining a calibration parameter and a mobile device. The method is applied to a mobile device comprising a sensor to be calibrated, is used for increasing a correlation between the calibration parameter and the temperature and reducing errors of the sensor caused by temperature drift. The method comprises: obtaining at least three different groups of output data of a sensor to be calibrated collected in a temperature range, wherein the at least three different groups of output data are collected when the mobile device is in a static or quasi-static state, and the quasi-static state indicates a motion state in which the motion amplitude is less than a preset value; and determining, according to the at least three different groups of output data, the calibration parameter used by the sensor to be calibrated in the temperature range.

Description

一种确定校准参数方法和移动设备Method for determining calibration parameters and mobile device 技术领域Technical field
本发明涉及移动设备技术领域,尤其涉及一种确定校准参数方法和移动设备。The present invention relates to the field of mobile device technologies, and in particular, to a method for determining calibration parameters and a mobile device.
背景技术Background technique
航位推算、运动状态识别等与用户运动相关的技术在移动设备中的应用广泛,这些技术的实现效果依赖于传感器输出信号的准确性。而对于移动设备上的传感器而言,影响其输出信号准确性的主要因素包括:各轴的零点随时间漂移,各轴的零点随温度漂移以及各轴的灵敏度系数随温度漂移。The techniques related to user motion, such as dead reckoning and motion state recognition, are widely used in mobile devices. The implementation effects of these technologies depend on the accuracy of the sensor output signals. For sensors on mobile devices, the main factors affecting the accuracy of the output signal include: the zero point of each axis drifts with time, the zero point of each axis drifts with temperature and the sensitivity coefficient of each axis drifts with temperature.
由于传感器各轴的零点漂移和温度漂移,将会导致传感器的输出信号出现较大误差,从而严重影响用户体验。为了减小误差,增强传感器输出信号的可靠性,可以有以下两种方式:Due to the zero drift and temperature drift of each axis of the sensor, the output signal of the sensor will have a large error, which will seriously affect the user experience. In order to reduce the error and enhance the reliability of the sensor output signal, there are two ways:
一、采用精度和稳定性更高的传感器。但选择这种器件往往会带来成本提高、尺寸增大等其他代价。First, the use of sensors with higher precision and stability. However, the choice of such a device often leads to other costs such as increased cost and increased size.
二、在不更改移动设备设备中既有传感器的前提下,对传感器进行实时校准并进行温度补偿。Second, the sensor is real-time calibrated and temperature compensated without changing the existing sensors in the mobile device.
目前有一种针对三轴加速度传感器的Z轴校准方法,这种方法在已知X轴和Y轴的灵敏度系数和零偏的情况下,通过将移动设备三个静止姿态下的传感器数据代入特定的方程,可以求解得到Z轴的灵敏度系数和零偏,从而达到校准加速度传感器的Z轴的灵敏度系数和零偏的目的。There is currently a Z-axis calibration method for three-axis accelerometers. This method is based on the sensitivity coefficient and zero offset of the X-axis and Y-axis, by substituting the sensor data in the three stationary poses of the mobile device into a specific The equation can be solved to obtain the sensitivity coefficient and zero offset of the Z-axis, so as to achieve the purpose of calibrating the sensitivity coefficient and zero-bias of the Z-axis of the acceleration sensor.
但这种方法得到的校准参数在实际应用过程中仍存在较为明显的温度漂移,并不准确。However, the calibration parameters obtained by this method still have obvious temperature drift in the actual application process, which is not accurate.
发明内容Summary of the invention
本申请提供一种确定校准参数方法和移动设备,用以提高校准参数和温 度的相关性,减小温度变化对传感器校准参数产生的不良影响。The application provides a method for determining calibration parameters and a mobile device for improving calibration parameters and temperature The degree of correlation reduces the adverse effects of temperature changes on sensor calibration parameters.
第一方面,提供了一种确定校准参数方法,应用于具有待校准传感器的移动设备,方法包括:In a first aspect, a method for determining a calibration parameter is provided for use in a mobile device having a sensor to be calibrated, the method comprising:
移动设备获取在一个温度范围内收集到的待校准传感器的至少三组不同的输出数据;其中,获取的至少三组不同的输出数据都是在所述移动设备处于静态或准静态时所述待校准传感器的输出数据;准静态表示一种接近静态、运动幅度控制在一个较小范围内的运动状态;The mobile device acquires at least three different sets of output data of the sensors to be calibrated collected in a temperature range; wherein the acquired at least three sets of different output data are all when the mobile device is in a static or quasi-static state Calibrate the output data of the sensor; quasi-statically indicates a motion state that is close to static and whose motion amplitude is controlled within a small range;
然后,移动设备根据获取的至少三组不同的输出数据,确定所述待校准传感器在所述温度范围内使用的校准参数。Then, the mobile device determines calibration parameters used by the sensor to be calibrated in the temperature range according to the obtained at least three different sets of output data.
例如,移动设备基于在20℃-22℃这一温度范围内收集到的加速度传感器的多组输出数据,计算得到一校准参数,当环境温度在20℃-22℃内,如21.2℃时,移动设备便使用这一校准参数来校准加速度传感器。For example, the mobile device calculates a calibration parameter based on a plurality of sets of output data of the acceleration sensor collected in a temperature range of 20 ° C to 22 ° C, and moves when the ambient temperature is between 20 ° C and 22 ° C, such as 21.2 ° C. The device uses this calibration parameter to calibrate the acceleration sensor.
通过上述方式,在每个特定的温度范围内使用特定的校准参数,可以提高校准参数和温度的相关性。In this way, the correlation between calibration parameters and temperature can be improved by using specific calibration parameters for each specific temperature range.
在一个可能的设计中,所述方法还包括:In one possible design, the method further includes:
若确定预设的应用程序被调用,则收集所述待校准传感器的一组输出数据,并记录在收集所述一组输出数据时的环境温度和所述移动设备的姿态角;其中,所述预设的应用程序被调用时所述移动设备的姿态有可能在设定时长内保持不变;例如,所述预设的应用程序可以是接听电话程序、阅读短信程序等;If it is determined that the preset application is invoked, collecting a set of output data of the sensor to be calibrated, and recording an ambient temperature when the set of output data is collected and an attitude angle of the mobile device; wherein When the preset application is invoked, the posture of the mobile device may remain unchanged for a set duration; for example, the preset application may be a receiving a phone program, reading a short message program, or the like;
确定所述环境温度所属的温度范围,以及确定所述姿态角所属的姿态角范围;Determining a temperature range to which the ambient temperature belongs, and determining a range of attitude angles to which the attitude angle belongs;
若确定所述应用程序被调用后的设定时长内所述移动设备始终处于静态或准静态,则存储所述一组输出数据;所述一组输出数据与确定的所述温度范围和所述姿态角范围存在对应关系。And storing the set of output data if the mobile device is always static or quasi-static within a set duration after the application is invoked; the set of output data and the determined temperature range and the There is a correspondence between the attitude angle ranges.
在一个可能的设计中,移动设备获取到的至少三组不同的输出数据所对应的温度范围相同,对应的姿态角范围不同。 In one possible design, at least three different sets of output data acquired by the mobile device have the same temperature range, and the corresponding attitude angle ranges are different.
由于环境温度相近时,计算得到的传感器的校准参数一般也是相近的,因此将相近的多个环境温度归入一个温度范围,后续基于一个温度范围内的多组输出数据计算得到在这一温度范围内使用的校准参数,一方面可以减少不必要的运算,另一方面也可以减少出现因个别环境温度下收集的传感器输出数据的数量不够而无法计算校准参数的情况。另外,由于在环境温度相近的前提下,姿态角相近时传感器的输出数据可能会相同或相近,而相同或相近的输出数据实质上可以认为是一组数据,因此将相近的多个姿态角归入一个姿态角范围,后续一个温度范围和一个姿态角范围只映射存储一组输出数据,可以避免出现虽然在某个温度范围内收集到的传感器输出数据的数量大于三组但实质上不同的输出数据的数量小于三组而无法计算出校准参数的情况。Since the calibration parameters of the calculated sensors are generally similar when the ambient temperature is similar, a plurality of similar ambient temperatures are classified into a temperature range, and subsequent calculations are based on a plurality of sets of output data in a temperature range. The calibration parameters used internally can reduce unnecessary calculations on the one hand, and can reduce the number of sensor output data collected at individual ambient temperatures without calculating the calibration parameters. In addition, since the output data of the sensor may be the same or similar when the attitude angles are close, the output data of the same or similar can be regarded as a group of data substantially, so that a plurality of similar attitude angles are returned. Entering an attitude angle range, the subsequent one temperature range and one attitude angle range only map and store a set of output data, which can avoid the output of the sensor output data collected in a certain temperature range is larger than three groups but substantially different. The number of data is less than three groups and the calibration parameters cannot be calculated.
在一个可能的设计中,确定所述应用程序被调用后的设定时长内所述移动设备始终处于静态或准静态,可以通过如下方式实现:In a possible design, it is determined that the mobile device is always static or quasi-static within a set duration after the application is invoked, and can be implemented as follows:
在所述应用程序被调用后的设定时长内,若所述移动设备上的加速度传感器的输出信号的最大值和方差值分别不大于预设的最大值阈值和方差值阈值,则确定所述移动设备始终处于静态或准静态;或Determining, if the maximum value and the variance value of the output signal of the acceleration sensor on the mobile device are not greater than a preset maximum threshold value and a variance value threshold, respectively, within a set duration after the application is invoked The mobile device is always static or quasi-static; or
在所述应用程序被调用后的设定时长内,若所述移动设备上的加速度传感器的输出信号的最大值和方差值分别不大于预设的第一最大值阈值和第一方差值阈值,以及所述移动设备上的陀螺仪的输出信号的最大值和方差值分别不大于预设的第二最大值阈值和第二方差值阈值,则确定所述移动设备始终处于静态或准静态。If the maximum value and the variance value of the output signal of the acceleration sensor on the mobile device are not greater than a preset first maximum threshold value and a first variance value, respectively, within a set duration after the application is invoked Determining that the maximum value and the variance value of the output signal of the gyroscope on the mobile device are not greater than a preset second maximum threshold and a second variance threshold, respectively, determining that the mobile device is always in a static state or Quasi-static.
在一个可能的设计中,根据所述输出数据确定校准参数,可以通过如下方式实现:In one possible design, determining the calibration parameters based on the output data can be implemented as follows:
若所述输出数据的数量不小于N1,则将所述输出数据代入校准公式,得到所述待校准传感器的零点和灵敏度系数;If the number of the output data is not less than N1, the output data is substituted into a calibration formula to obtain a zero point and a sensitivity coefficient of the sensor to be calibrated;
若所述输出数据的数量小于N1但不小于N2,则将所述输出数据和所述待校准传感器的灵敏度系数的出厂值代入所述校准公式,得到所述待校准传 感器的零点;或,将所述输出数据和所述待校准传感器的零点的出厂值代入所述校准公式,得到所述待校准传感器的灵敏度系数;If the number of the output data is less than N1 but not less than N2, the output data and the factory value of the sensitivity coefficient of the sensor to be calibrated are substituted into the calibration formula to obtain the to-be-calibrated transmission. a zero point of the sensor; or, the output data and the factory value of the zero point of the sensor to be calibrated are substituted into the calibration formula to obtain a sensitivity coefficient of the sensor to be calibrated;
其中,所述校准公式为
Figure PCTCN2015100298-appb-000001
Wherein the calibration formula is
Figure PCTCN2015100298-appb-000001
V表示所述待校准传感器在静态下输出的物理量理论值,V=[VX VY VZ]TV represents the theoretical value of the physical quantity outputted by the sensor to be calibrated under static conditions, V=[V X V Y V Z ] T ;
Figure PCTCN2015100298-appb-000002
表示所述待校准传感器的输出数据,
Figure PCTCN2015100298-appb-000003
Figure PCTCN2015100298-appb-000002
Representing the output data of the sensor to be calibrated,
Figure PCTCN2015100298-appb-000003
Figure PCTCN2015100298-appb-000004
表示所述待校准传感器的灵敏度系数,
Figure PCTCN2015100298-appb-000005
Figure PCTCN2015100298-appb-000004
Representing the sensitivity coefficient of the sensor to be calibrated,
Figure PCTCN2015100298-appb-000005
B表示所述待校准传感器的零点,B=[bX bY bZ]TB represents the zero point of the sensor to be calibrated, B = [b X b Y b Z ] T ;
n表示所述校准公式的阶数;n represents the order of the calibration formula;
N1和N2与n成正相关,且N1>N2,N1和N2为大于0的整数。N1 and N2 are positively correlated with n, and N1>N2, N1 and N2 are integers greater than zero.
在一个可能的设计中,当上述校准公式中的n=1时,所述校准公式可以简化为:In a possible design, when n=1 in the above calibration formula, the calibration formula can be simplified as:
Figure PCTCN2015100298-appb-000006
Figure PCTCN2015100298-appb-000006
N1=12,N2=3;即,当获取到的输出数据的数量不少于12组时,可以根据这不少于12组的输出数据和已知的V,代入一阶校准公式得到校准参数Ki i和B;当获取到的输出数据的数量少于12组但不少于3组时,可以将校准参数
Figure PCTCN2015100298-appb-000007
和B中的其中一个的出厂值当作已知量,与已知的V和这少于12组的输出数据,代入一阶校准公式得到另一个未知的校准参数。
N1=12, N2=3; that is, when the number of acquired output data is not less than 12 groups, the calibration parameters can be obtained by substituting the first-order calibration formula according to the output data of not less than 12 groups and the known V. K i i and B; when the number of acquired output data is less than 12 groups but not less than 3 groups, the calibration parameters can be
Figure PCTCN2015100298-appb-000007
The factory values of one of B and B are taken as known quantities, and the known V and the output data of less than 12 sets are substituted into the first-order calibration formula to obtain another unknown calibration parameter.
在一个可能的设计中,在存储所述一组输出数据之后,可以通过如下方式实现:In one possible design, after storing the set of output data, it can be implemented as follows:
为所述一组输出数据配置一个有效时长;Configuring an effective duration for the set of output data;
从为所述一组输出数据配置所述有效时长起,在经过所述有效时长后, 删除所述一组输出数据。From configuring the effective duration for the set of output data, after the valid duration Delete the set of output data.
如此,可以保证输出数据的时效性,减少待校准传感器各轴的零点随时间漂移带来的误差。In this way, the timeliness of the output data can be guaranteed, and the error caused by the drift of the zero point of each axis of the sensor to be calibrated with time can be reduced.
在一个可能的设计中,所述待校准传感器为以下类型的传感器中的任一个:加速度传感器、陀螺仪、磁场传感器、电场传感器和压力传感器。In one possible design, the sensor to be calibrated is any of the following types of sensors: an acceleration sensor, a gyroscope, a magnetic field sensor, an electric field sensor, and a pressure sensor.
第二方面,提供了一种移动设备,所述移动设备具有待校准传感器,所述移动设备具有实现上述方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块或单元。In a second aspect, a mobile device is provided having a sensor to be calibrated, the mobile device having the functionality to implement the above method. The functions may be implemented by hardware or by corresponding software implemented by hardware. The hardware or software includes one or more modules or units corresponding to the functions described above.
一种可能的实现方式中,所述移动设备包括:In a possible implementation manner, the mobile device includes:
获取单元,用于获取在一个温度范围内收集到的所述待校准传感器的至少三组不同的输出数据;所述至少三组不同的输出数据为在所述移动设备处于静态或准静态时收集到的;所述准静态表示运动幅度小于预设值的运动状态;An acquiring unit, configured to acquire at least three different sets of output data of the to-be-calibrated sensor collected in a temperature range; the at least three sets of different output data are collected when the mobile device is in a static or quasi-static state The quasi-static state indicates a motion state in which the motion amplitude is less than a preset value;
确定单元,用于根据所述至少三组不同的输出数据,确定所述待校准传感器在所述温度范围内使用的校准参数。And a determining unit, configured to determine, according to the at least three sets of different output data, calibration parameters used by the to-be-calibrated sensor in the temperature range.
另一种可能的实现方式中,所述移动设备包括存储器、总线系统和至少一个处理器,所述存储器和所述至少一个处理器之间通过总线系统相互连接;其中In another possible implementation, the mobile device includes a memory, a bus system, and at least one processor, and the memory and the at least one processor are connected to each other by a bus system;
所述至少一个处理器,用于获取在一个温度范围内收集到的所述待校准传感器的至少三组不同的输出数据;所述至少三组不同的输出数据为在所述移动设备处于静态或准静态时收集到的;所述准静态表示运动幅度小于预设值的运动状态;以及根据所述至少三组不同的输出数据,确定所述待校准传感器在所述温度范围内使用的校准参数。The at least one processor is configured to acquire at least three different sets of output data of the to-be-calibrated sensor collected in a temperature range; the at least three sets of different output data are in a static state of the mobile device or Collected in quasi-static state; the quasi-static indicates a motion state whose motion amplitude is less than a preset value; and determines calibration parameters used by the sensor to be calibrated in the temperature range according to the at least three sets of different output data .
所述存储器中存放程序,以及在所述移动设备处于静态或准静态时收集到所述待校准传感器的输出数据和所述处理器得到的校准参数,所述至少一个处理器通过执行该程序,实现上述第一方面任一种方法。 Storing a program in the memory, and collecting output data of the sensor to be calibrated and calibration parameters obtained by the processor when the mobile device is static or quasi-static, the at least one processor executing the program, A method of any of the above first aspects is implemented.
另一种可能的设计,所述移动设备包括存储器、总线系统和至少一个处理器,所述存储器和所述至少一个处理器之间通过总线相互连接,所述存储器中存储一个或多个程序,所述一个或多个程序包括指令,所述指令当被所述移动设备执行时使所述移动设备执行如第一方面中的任意一种所述的方法。In another possible design, the mobile device includes a memory, a bus system, and at least one processor, and the memory and the at least one processor are connected to each other by a bus, where the memory stores one or more programs, The one or more programs include instructions that, when executed by the mobile device, cause the mobile device to perform the method of any of the first aspects.
第三方面,本申请提供了一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被电子设备执行时使所述电子设备执行第一方面中的任意一种实现方式。In a third aspect, the present application provides a computer readable storage medium storing one or more programs, the one or more programs including instructions that, when executed by an electronic device, cause the electronic device to perform a first Any of the implementations of the aspects.
利用本申请提供的方案,提高了校准参数和温度的相关性,减小了传感器因为温度漂移带来的误差,提高了传感器的测量精度。By using the solution provided by the present application, the correlation between the calibration parameters and the temperature is improved, the error caused by the temperature drift of the sensor is reduced, and the measurement accuracy of the sensor is improved.
附图说明DRAWINGS
图1为本申请提供的一种确定校准参数方法的流程图;1 is a flow chart of a method for determining calibration parameters provided by the present application;
图2为本申请提供的一种移动设备的结构示意图;2 is a schematic structural diagram of a mobile device provided by the present application;
图3为本申请提供的一种手机的结构示意图。FIG. 3 is a schematic structural diagram of a mobile phone provided by the present application.
具体实施方式detailed description
本申请提供了一种确定校准参数方法和移动设备,基于移动设备在一个温度范围内收集到的待校准传感器的至少三组不同的输出数据,计算得到校准参数,这个校准参数只用于在这个温度范围内传感器的校准,提高了校准参数和温度的相关性,减小了传感器因为温度漂移带来的误差,提高了传感器的测量精度。The present application provides a method for determining calibration parameters and a mobile device, based on at least three different sets of output data of a sensor to be calibrated collected by a mobile device in a temperature range, and calculating calibration parameters, which are used only in this The calibration of the sensor in the temperature range improves the correlation between the calibration parameters and the temperature, reduces the error caused by the temperature drift of the sensor, and improves the measurement accuracy of the sensor.
本申请提供的技术方案可以用于为移动设备上的传感器确定校准参数,其中,移动设备可以是手机,平板电脑,或智能手表、运动手环等一些可穿戴设备等。待校准传感器可以是任何类型的三轴矢量传感器,例如,可以是以下类型的传感器:加速度传感器、陀螺仪、磁场传感器、电场传感器和压力传感器等。 The technical solution provided by the present application may be used to determine calibration parameters for sensors on a mobile device, where the mobile device may be a mobile phone, a tablet computer, or some wearable device such as a smart watch, a sports bracelet, or the like. The sensor to be calibrated may be any type of triaxial vector sensor, for example, the following types of sensors: acceleration sensors, gyroscopes, magnetic field sensors, electric field sensors, and pressure sensors.
下面结合说明书附图和各实施例对本发明技术方案进行说明。The technical solutions of the present invention will be described below in conjunction with the drawings and the embodiments.
图1所示为本申请提供的确定移动设备传感器的校准参数的方法流程图,所述方法包括如下步骤:FIG. 1 is a flow chart of a method for determining calibration parameters of a mobile device sensor provided by the present application, the method comprising the following steps:
步骤101:移动设备获取在一个温度范围内收集到的待校准传感器的至少三组不同的输出数据;所述至少三组不同的输出数据为在所述移动设备处于静态或准静态时收集到的;所述准静态表示运动幅度小于预设值的运动状态。Step 101: The mobile device acquires at least three different sets of output data of the sensors to be calibrated collected in a temperature range; the at least three sets of different output data are collected when the mobile device is static or quasi-static The quasi-static state indicates a motion state in which the motion amplitude is less than a preset value.
步骤102:所述移动设备根据所述至少三组不同的输出数据,确定所述待校准传感器在所述温度范围内使用的校准参数。Step 102: The mobile device determines, according to the at least three sets of different output data, calibration parameters used by the to-be-calibrated sensor in the temperature range.
计算传感器的校准参数需要获取移动设备在不同姿态下的传感器的输出数据。手动校准方式是一种令用户在校准过程中按照要求提示,人为地提供不同姿态,从而获取到移动设备在不同姿态下的传感器的输出数据的方式,例如在校准磁场传感器时,提示用户慢慢地旋转终端屏幕或拿着终端在空中划一个“8”字形。Calculating the calibration parameters of the sensor requires obtaining the output data of the sensor of the mobile device in different postures. The manual calibration mode is a way for the user to manually provide different postures in the calibration process to obtain the output data of the sensor in different postures of the mobile device, for example, when calibrating the magnetic field sensor, prompting the user to slowly Rotate the terminal screen or hold the terminal to draw an "8" shape in the air.
为了减少用户操作,提高用户体验,本申请提供了一种自动收集不同姿态下传感器输出数据的触发机制。移动设备可以按照设定周期触发对传感器输出数据的收集,也可以在检测到预设的应用程序被调用时触发对传感器输出数据的收集。其中,所述预设的应用程序被调用时所述移动设备的姿态在设定时长内有可能保持不变。例如,用户在接听电话、阅读短信、拍照对焦、打开网络浏览器、搜索无线信号等场景下移动设备的姿态在一定时间内有可能保持固定,因此,可以将接听电话程序、打开短信程序、拍照对焦程序、打开网络浏览器程序、搜索无线信号程序等应用程序预先设置为可以触发传感器输出数据收集的应用程序。这类被调用时移动设备有可能在一定时间内保持姿态固定的应用程序较多,本申请仅以上述应用程序为例进行说明,不构成对本申请的限定。In order to reduce user operations and improve user experience, the present application provides a trigger mechanism for automatically collecting sensor output data in different postures. The mobile device can trigger the collection of sensor output data according to a set period, or trigger the collection of sensor output data when it detects that a preset application is called. The gesture of the mobile device may remain unchanged for a set duration when the preset application is invoked. For example, the user's gesture of the mobile device may remain fixed for a certain period of time in a scene of answering a call, reading a text message, taking a photo focus, opening a web browser, searching for a wireless signal, etc., therefore, the call program can be answered, the short message program can be opened, and the photo can be taken. Applications such as the focus program, open web browser program, search for wireless signal programs, etc. are pre-configured as applications that can trigger sensor output data collection. When the mobile device is called, it is possible to maintain a fixed number of applications for a certain period of time. This application is only described by taking the above application as an example, and does not constitute a limitation on the present application.
本申请中,传感器数据的收集过程和校准参数的计算过程没有严格的先后顺序,二者可以同时进行。In the present application, the process of collecting the sensor data and the calculation process of the calibration parameters are not strictly sequential, and the two can be performed simultaneously.
在触发对传感器数据的收集后,移动设备读取待校准传感器的一组输出 数据,并记录在读取所述一组输出数据时的环境温度和所述移动设备的姿态角。其中,环境温度可以通过温度传感器获得;姿态角可以通过加速度传感器、陀螺仪和磁场传感器获得。所谓姿态角,是指移动设备的局部坐标系(即本地坐标系)相对于参考坐标系(即惯性坐标系)的欧拉角,欧拉角为一组独立角参量,由章动角、旋进角和自转角组成。After triggering the collection of sensor data, the mobile device reads a set of outputs of the sensor to be calibrated Data, and recording the ambient temperature at which the set of output data is read and the attitude angle of the mobile device. Among them, the ambient temperature can be obtained by a temperature sensor; the attitude angle can be obtained by an acceleration sensor, a gyroscope and a magnetic field sensor. The so-called attitude angle refers to the Euler angle of the local coordinate system of the mobile device (ie, the local coordinate system) relative to the reference coordinate system (ie, the inertial coordinate system). The Euler angle is a set of independent angular parameters, which are by the nutation angle and rotation. The angle of advance and the angle of rotation.
然后,移动设备可以根据预设的划分规则,确定记录的所述环境温度所属的温度范围,以及确定记录的所述姿态角所属的姿态角范围。例如,可以规定20摄氏度(单位:℃)至22℃内的所有环境温度属于一个温度范围[20~22]。又例如,可以规定章动角、旋进角和自转角均在0度(单位:°)与15°之间的所有姿态角属于一个姿态角范围[0~15_0~15_0~15]。由于环境温度相近时,计算得到的传感器的校准参数一般也是相近的,因此将相近的多个环境温度归入一个温度范围,后续基于一个温度范围内的多组输出数据计算得到在这一温度范围内使用的校准参数,一方面可以减少不必要的运算,另一方面也可以减少出现因个别环境温度下收集的传感器输出数据的数量不够而无法计算校准参数的情况。另外,由于在环境温度相近的前提下,姿态角相近时传感器的输出数据可能会相同或相近,而相同或相近的输出数据实质上可以认为是一组数据,因此将相近的多个姿态角归入一个姿态角范围,后续一个温度范围和一个姿态角范围只对应一组输出数据,可以避免出现虽然在某个温度范围内收集到的传感器输出数据的数量大于三组但实质上不同的输出数据的数量小于三组而无法计算出校准参数的情况。Then, the mobile device may determine, according to a preset division rule, a temperature range to which the recorded ambient temperature belongs, and determine a range of posture angles to which the recorded posture angle belongs. For example, it can be specified that all ambient temperatures within 20 degrees Celsius (unit: °C) to 22 °C belong to a temperature range [20-22]. For another example, it is possible to specify that all the attitude angles of the nutation angle, the precession angle, and the rotation angle between 0 degrees (unit: °) and 15 degrees belong to one attitude angle range [0 to 15_0 to 15_0 to 15]. Since the calibration parameters of the calculated sensors are generally similar when the ambient temperature is similar, a plurality of similar ambient temperatures are classified into a temperature range, and subsequent calculations are based on a plurality of sets of output data in a temperature range. The calibration parameters used internally can reduce unnecessary calculations on the one hand, and can reduce the number of sensor output data collected at individual ambient temperatures without calculating the calibration parameters. In addition, since the output data of the sensor may be the same or similar when the attitude angles are close, the output data of the same or similar can be regarded as a group of data substantially, so that a plurality of similar attitude angles are returned. Entering a range of attitude angles, the subsequent one temperature range and one attitude angle range only correspond to a set of output data, which can avoid the occurrence of output data of the sensor that is collected in a certain temperature range is larger than three groups but substantially different. The number of measurements is less than three groups and the calibration parameters cannot be calculated.
在收集到所述一组输出数据后,移动设备需要确定在按照设定周期触发对传感器输出数据的收集后的设定时长内,或是在所述应用程序被调用触发对传感器输出数据的收集后的设定时长内,所述移动设备是否始终处于静态或准静态。若是,则存储所述一组输出数据;否则,便将所述一组输出数据丢弃。After collecting the set of output data, the mobile device needs to determine the set duration after the collection of the sensor output data is triggered according to the set period, or the collection of the sensor output data is triggered when the application is called. Whether the mobile device is always static or quasi-static during the set duration. If so, the set of output data is stored; otherwise, the set of output data is discarded.
其中,存储的所述一组输出数据与上述确定的温度范围和姿态角范围存在着对应关系。实际应用中,可以将温度范围和姿态角范围作为传感器输出 数据的标识,将三者一同存储,例如,可以通过结构体的方式存储。The stored set of output data has a corresponding relationship with the determined temperature range and attitude angle range. In practical applications, the temperature range and attitude angle range can be used as sensor outputs. The identification of the data is stored together, for example, by means of a structure.
若准备更新的传感器输出数据与已经保存的一组输出数据对应的温度范围和姿态角范围均相同,则移动设备保存最新的输出数据,丢弃已经保存的输出数据。If the temperature range and the attitude angle range corresponding to the saved set of output data are the same, the mobile device saves the latest output data and discards the saved output data.
可选的,本申请在存储所述一组输出数据之后,可以为所述一组输出数据配置一个有效时长来表示所述一组输出数据的有效性,从为所述一组输出数据配置所述有效时长起,在经过所述有效时长后,便删除所述一组输出数据,从而可以减少待校准传感器各轴的零点随时间漂移带来的误差,提高校准参数的准确性。Optionally, after storing the set of output data, the application may configure an effective duration for the set of output data to indicate validity of the set of output data, from configuring the set of output data. After the effective duration, after the valid duration, the set of output data is deleted, thereby reducing the error caused by the zero drift of each axis of the sensor to be calibrated and improving the accuracy of the calibration parameters.
相应的,移动设备获取到的至少三组不同的输出数据对应的温度范围相同,对应的姿态角范围不同。Correspondingly, at least three sets of different output data acquired by the mobile device have the same temperature range, and the corresponding attitude angle ranges are different.
本申请中,静态判断或准静态判断可以通过加速度传感器实现,或是通过加速度传感器与陀螺仪一同实现。所谓静态,是指一种完全静止的状态;所谓准静态,是指一种接近但并非完全静止,运动幅度控制在一个较小范围内的运动状态。In the present application, the static judgment or the quasi-static judgment can be realized by an acceleration sensor or by an acceleration sensor together with the gyroscope. The so-called static refers to a state of complete static; the so-called quasi-static refers to a state of motion that is close but not completely static, and the amplitude of motion is controlled within a small range.
静态或准静态的判断主要包括以下过程:Static or quasi-static judgments mainly include the following processes:
第一,信号调理过程。First, the signal conditioning process.
在按照设定周期触发对传感器输出数据的收集后的设定时长内,或是在所述应用程序被调用后的设定时长内,对加速度传感器输出的原始信号进行高通滤波,将重力加速度这一加速度静态分量从原始信号中滤除,得到加速度传感器原始信号中由于运动产生的加速度动态分量。同理,若是还包括陀螺仪,则同样对陀螺仪输出的原始信号进行高通滤波,得到陀螺仪原始信号中由于运动产生的角速度动态分量。The high-pass filtering of the original signal output by the acceleration sensor is performed within a set time period after the collection of the sensor output data is triggered according to the set period, or within the set time period after the application is called, and the gravity acceleration is An acceleration static component is filtered from the original signal to obtain an acceleration component of the acceleration sensor's original signal due to motion. Similarly, if the gyroscope is also included, the original signal output from the gyroscope is also high-pass filtered to obtain the angular velocity dynamic component of the original gyroscope signal due to motion.
可选的,还可以对加速度传感器和陀螺仪经过高通滤波后的信号进行平滑,可用的技术手段包括低通滤波、中值滤波和均值滤波等。Optionally, the high-pass filtered signal of the acceleration sensor and the gyroscope can be smoothed, and the available techniques include low-pass filtering, median filtering, and mean filtering.
可选的,还可以对加速度传感器和陀螺仪经过平滑后的信号进行整流,从而将加速度传感器和陀螺仪输出的信号波形的负半轴部分翻转至正半轴。 Optionally, the smoothed signal of the acceleration sensor and the gyroscope may be rectified to invert the negative half-axis portion of the signal waveform output by the acceleration sensor and the gyroscope to the positive half-axis.
第二,统计信号提取过程。Second, the statistical signal extraction process.
提取经过上述信号调理过程后的加速度传感器输出信号的最大值和方差值。同理,若是还包括陀螺仪,则同样提取经过上述信号调理过程后的陀螺仪输出信号的最大值和方差值。Extracting the maximum value and the variance value of the acceleration sensor output signal after the above signal conditioning process. Similarly, if the gyroscope is also included, the maximum value and the variance value of the gyroscope output signal after the above signal conditioning process are also extracted.
第三,信号判决过程。Third, the signal decision process.
将上述提取的加速度传感器的输出信号的最大值和方差值,分别与预设的最大值阈值和方差值阈值作比较,若加速度传感器的输出信号的最大值不大于预设的最大值阈值,且加速度传感器的输出信号的方差值不大于预设的方差值阈值,则确定所述移动设备始终处于静态或准静态。Comparing the maximum value and the variance value of the output signal of the extracted acceleration sensor to a preset maximum threshold value and a variance value threshold respectively, if the maximum value of the output signal of the acceleration sensor is not greater than a preset maximum threshold value And the variance value of the output signal of the acceleration sensor is not greater than the preset variance value threshold, then it is determined that the mobile device is always static or quasi-static.
同理,若还包括陀螺仪,则除了将上述提取的加速度传感器的输出信号的最大值和方差值,分别与预设的第一最大值阈值和第一方差值阈值作比较之外,还要将上述提取的陀螺仪的输出信号的最大值和方差值,分别与预设的第二最大值阈值和第二方差值阈值作比较,若所述移动设备上的加速度传感器的输出信号的最大值和方差值分别不大于预设的第一最大值阈值和第一方差值阈值,以及所述移动设备上的陀螺仪的输出信号的最大值和方差值分别不大于预设的第二最大值阈值和第二方差值阈值,则确定所述移动设备始终处于静态或准静态。Similarly, if the gyroscope is further included, in addition to comparing the maximum value and the variance value of the output signal of the extracted acceleration sensor to the preset first maximum threshold and the first variance threshold respectively, And comparing the maximum value and the variance value of the output signal of the extracted gyroscope to the preset second maximum threshold and the second variance threshold respectively, if the output of the acceleration sensor on the mobile device The maximum value and the variance value of the signal are not greater than the preset first maximum threshold and the first variance threshold, respectively, and the maximum and variance values of the output signals of the gyroscope on the mobile device are not greater than The second maximum threshold and the second variance threshold are set to determine that the mobile device is always static or quasi-static.
移动设备在获取到输出数据后,将输出数据代入下述三轴传感器校准公式,通过数值迭代方法可以求解得到待校准传感器的校准参数Ki i和/或B。After obtaining the output data, the mobile device substitutes the output data into the following three-axis sensor calibration formula, and the numerically iterative method can be used to obtain the calibration parameters K i i and/or B of the sensor to be calibrated.
Figure PCTCN2015100298-appb-000008
公式(1)
Figure PCTCN2015100298-appb-000008
Formula 1)
其中,V表示所述待校准传感器在静态下输出的物理量理论值,V=[VX VY VZ]TWherein, V represents the theoretical value of the physical quantity outputted by the sensor to be calibrated under static state, V=[V X V Y V Z ] T .
举例来说,在静态下,加速度传感器输出的物理量理论值的三轴分量矢量和为重力加速度,即:
Figure PCTCN2015100298-appb-000009
磁场传感器输出的物理量理论值的三轴分量矢量和为地球表面的磁感应强度典型值;陀螺仪输出的物理量 理论值的三轴分量矢量和为零;电场传感器输出的物理量理论值的三轴分量矢量和为地球表面的电场强度典型值;压力传感器输出的物理量理论值的三轴分量矢量和为一个标准大气压。在准静态下各传感器输出的物理量也近似满足上述静态条件下各传感器输出的物理量理论值的数值关系。
For example, under static conditions, the triaxial component vector sum of the theoretical values of the physical quantities of the acceleration sensor output is the gravitational acceleration, ie:
Figure PCTCN2015100298-appb-000009
The triaxial component vector of the theoretical value of the physical quantity of the magnetic field sensor output is the typical value of the magnetic induction of the earth's surface; the triaxial component vector sum of the theoretical value of the physical quantity of the gyroscope output is zero; the triaxial component vector of the theoretical value of the physical quantity output by the electric field sensor And the typical value of the electric field strength for the earth's surface; the sum of the three-axis component vectors of the theoretical values of the physical quantities of the pressure sensor output is a standard atmospheric pressure. The physical quantity outputted by each sensor under quasi-static state also approximates the numerical relationship of the theoretical values of the physical quantities output by the respective sensors under the above static conditions.
Figure PCTCN2015100298-appb-000010
表示所述待校准传感器的输出数据,
Figure PCTCN2015100298-appb-000011
Figure PCTCN2015100298-appb-000010
Representing the output data of the sensor to be calibrated,
Figure PCTCN2015100298-appb-000011
Figure PCTCN2015100298-appb-000012
表示所述待校准传感器的灵敏度系数,
Figure PCTCN2015100298-appb-000013
其中,ki_XY、ki_XZ、ki_YX、ki_YZ、ki_ZX、ki_ZY为校准公式的阶数为i时待校准传感器的跨轴耦合灵敏度系数,ki_XX、ki_YY、ki_ZZ分别为校准公式的阶数为i时待校准传感器的X轴、Y轴和Z轴的灵敏度系数。
Figure PCTCN2015100298-appb-000012
Representing the sensitivity coefficient of the sensor to be calibrated,
Figure PCTCN2015100298-appb-000013
Where k i_XY , k i_XZ , k i_YX , k i_YZ , k i_ZX , k i_ZY are the cross-axis coupling sensitivity coefficients of the sensor to be calibrated when the order of the calibration formula is i, k i_XX , k i_YY , k i_ZZ are calibration formulas respectively The sensitivity coefficient of the X-axis, Y-axis, and Z-axis of the sensor to be calibrated when the order is i.
B表示所述待校准传感器的零点,B=[bX bY bZ]TB represents the zero point of the sensor to be calibrated, B = [b X b Y b Z ] T .
n表示所述校准公式的阶数。n represents the order of the calibration formula.
由上述校准公式可知,在已知V=[VX VY VZ]T
Figure PCTCN2015100298-appb-000014
的前提下,同时求解出校准参数
Figure PCTCN2015100298-appb-000015
和B。至少需要N1组
Figure PCTCN2015100298-appb-000016
值;在已知V=[VX VY VZ]T
Figure PCTCN2015100298-appb-000017
以及
Figure PCTCN2015100298-appb-000018
和B中其中一个校准参数的情况下,求解出另一个校准参数至少需要N2组
Figure PCTCN2015100298-appb-000019
值。其中,N1和N2与n成正相关,且N1>N2,N1和N2为大于0的整数。
It can be seen from the above calibration formula that V=[V X V Y V Z ] T and
Figure PCTCN2015100298-appb-000014
Under the premise of solving the calibration parameters at the same time
Figure PCTCN2015100298-appb-000015
And B. Need at least N1 group
Figure PCTCN2015100298-appb-000016
Value; known as V=[V X V Y V Z ] T and
Figure PCTCN2015100298-appb-000017
as well as
Figure PCTCN2015100298-appb-000018
In the case of one of the calibration parameters of B and B, at least another N2 group is required to solve another calibration parameter.
Figure PCTCN2015100298-appb-000019
value. Wherein N1 and N2 are positively correlated with n, and N1>N2, and N1 and N2 are integers greater than zero.
以一阶校准公式为例,当n=1时,上述校准公式(1)可以简化为:Taking the first-order calibration formula as an example, when n=1, the above calibration formula (1) can be simplified as:
Figure PCTCN2015100298-appb-000020
公式(2)
Figure PCTCN2015100298-appb-000020
Formula (2)
在已知V=[VX VY VZ]T
Figure PCTCN2015100298-appb-000021
的前提下,至少需要12组
Figure PCTCN2015100298-appb-000022
值才能同时求解出
Figure PCTCN2015100298-appb-000023
和B。已知V=[VX VY VZ]T
Figure PCTCN2015100298-appb-000024
以及
Figure PCTCN2015100298-appb-000025
和B中其中一个校准参数的情况下,求解出另一个校准参数至少需要3组
Figure PCTCN2015100298-appb-000026
值。
Knowing that V = [V X V Y V Z ] T and
Figure PCTCN2015100298-appb-000021
Under the premise, at least 12 groups are required.
Figure PCTCN2015100298-appb-000022
Value can be solved at the same time
Figure PCTCN2015100298-appb-000023
And B. It is known that V=[V X V Y V Z ] T and
Figure PCTCN2015100298-appb-000024
as well as
Figure PCTCN2015100298-appb-000025
In the case of one of the calibration parameters of B and B, at least 3 sets are needed to solve another calibration parameter.
Figure PCTCN2015100298-appb-000026
value.
若存储的某一温度范围内有效的输出数据的数量不小于N1,则可以进行第一校准参数计算程序,将所述输出数据代入上述校准公式(1),得到所述待校准传感器的零点和灵敏度系数。实际应用中,代入的输出数据的数量越多,得到的校准参数越准确。If the number of valid output data in a certain temperature range is not less than N1, the first calibration parameter calculation program may be performed, and the output data is substituted into the calibration formula (1) to obtain the zero point of the sensor to be calibrated. Sensitivity factor. In practical applications, the more the output data is substituted, the more accurate the calibration parameters are.
若存储的某一温度范围内有效的输出数据的数量小于N1但不小于N2,则可以进行第二校准参数计算程序,将所述输出数据和所述待校准传感器的灵敏度系数的出厂值代入上述校准公式(1),得到所述待校准传感器的零点。或是,将所述输出数据和所述待校准传感器的零点的出厂值代入上述校准公式(1),得到所述待校准传感器的灵敏度系数。If the number of valid output data in a certain temperature range is less than N1 but not less than N2, a second calibration parameter calculation program may be performed, and the output data and the factory value of the sensitivity coefficient of the sensor to be calibrated are substituted into the above Calibration formula (1) obtains the zero point of the sensor to be calibrated. Alternatively, the output data and the factory value of the zero point of the sensor to be calibrated are substituted into the calibration formula (1) to obtain the sensitivity coefficient of the sensor to be calibrated.
若存储的某一温度范围内有效的输出数据的数量小于N2时,则可以采用历史上最近一次计算出的校准参数,或是采用传感器出厂校准参数,或是提示用户手动校准传感器。If the number of valid output data in a stored temperature range is less than N2, the calibration parameter calculated last time in history may be used, or the sensor factory calibration parameter may be used, or the user may be prompted to manually calibrate the sensor.
移动设备计算得到校准参数后,可以将校准参数存放在固定的存储介质中,同时标记该校准参数适用的温度范围。其中,具体的存储介质可以是内存、带电可擦写可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称:EEPROM)、磁盘、闪存等具有信息存储功能的硬件。为了便于说明,本申请将存储校准参数的存储介区域称为参数池。After the mobile device calculates the calibration parameters, the calibration parameters can be stored in a fixed storage medium and the temperature range to which the calibration parameters are applied is marked. The specific storage medium may be hardware, such as a memory, an electrically erasable programmable read-only memory (EEPROM), a magnetic disk, or a flash memory. For ease of explanation, the present application refers to a storage medium area in which calibration parameters are stored as a parameter pool.
可选的,当调用到传感器的应用程序启动后,可以根据当前的环境温度,读取参数池中对应温度范围所标记的各传感器校准参数作为各传感器的初始校准参数。在应用程序运行的过程中,移动设备可以通过上述触发机制触发对传感器输出数据的收集,并将满足静态或准静态判断的输出数据更新至存储器。当有新的传感器输出数据更新到存储器时,移动设备可以触发步骤101-步骤102的执行,根据该新的输出数据以及存储器中已存储的与该新的输出数据所标记的温度范围相同的其他数据,得到新的校准参数,并将新的校准参数更新至参数池。调用到传感器的应用程序在运行过程中定时或实时地检测参数池是否有更新,如果参数池有校准参数的更新,则从参数池提取最近一 次更新的校准参数作为传感器新的校准参数;如果参数池没有更新,则继续使用当前的校准参数。Optionally, after the application called to the sensor is started, each sensor calibration parameter marked by the corresponding temperature range in the parameter pool may be read as an initial calibration parameter of each sensor according to the current ambient temperature. During the running of the application, the mobile device can trigger the collection of the sensor output data through the above trigger mechanism, and update the output data satisfying the static or quasi-static judgment to the memory. When new sensor output data is updated to the memory, the mobile device can trigger the execution of steps 101-102, based on the new output data and the other temperature stored in the memory that is the same as the temperature range marked by the new output data. Data, get new calibration parameters, and update the new calibration parameters to the parameter pool. The application called to the sensor detects whether the parameter pool is updated periodically or in real time during the running process. If the parameter pool has an update of the calibration parameter, the latest one is extracted from the parameter pool. The updated calibration parameters are used as new calibration parameters for the sensor; if the parameter pool is not updated, the current calibration parameters continue to be used.
基于本申请上述提供的确定校准参数方法,本申请提供一种移动设备200,用于实现上述确定校准参数方法中移动设备的功能,用于确定位于所述移动设备200上的待校准传感器的校准参数,如图2所示,所述移动设备包括:Based on the method for determining a calibration parameter provided by the present application, the present application provides a mobile device 200 for implementing the function of the mobile device in the method for determining a calibration parameter, for determining a calibration parameter of a sensor to be calibrated located on the mobile device 200. As shown in FIG. 2, the mobile device includes:
获取单元201,用于获取在一个温度范围内收集到的所述待校准传感器的至少三组不同的输出数据;所述至少三组不同的输出数据为在所述移动设备200处于静态或准静态时收集到的;所述准静态表示运动幅度小于预设值的运动状态。The acquiring unit 201 is configured to acquire at least three different sets of output data of the to-be-calibrated sensor collected in a temperature range; the at least three sets of different output data are static or quasi-static at the mobile device 200 Collected; the quasi-static indicates a motion state in which the motion amplitude is less than a preset value.
确定单元202,用于根据所述至少三组不同的输出数据,确定所述待校准传感器在所述温度范围内使用的校准参数。The determining unit 202 is configured to determine, according to the at least three sets of different output data, calibration parameters used by the to-be-calibrated sensor in the temperature range.
可选的,所述移动设备200还可以包括:Optionally, the mobile device 200 may further include:
收集单元203,用于在确定预设的应用程序被调用时,收集所述待校准传感器的一组输出数据,以及记录在收集所述一组输出数据时的环境温度和所述移动设备的姿态角;以及确定所述环境温度所属的温度范围,以及确定所述姿态角所属的姿态角范围。所述预设的应用程序被调用时所述移动设备200的姿态有可能在设定时长内保持不变。The collecting unit 203 is configured to collect a set of output data of the sensor to be calibrated when determining that the preset application is invoked, and record an ambient temperature and a posture of the mobile device when collecting the set of output data And determining a temperature range to which the ambient temperature belongs, and determining a range of attitude angles to which the attitude angle belongs. When the preset application is called, the posture of the mobile device 200 may remain unchanged for a set period of time.
判断单元204,用于确定所述应用程序被调用后的设定时长内所述移动设备200是否始终处于静态或准静态。The determining unit 204 is configured to determine whether the mobile device 200 is always static or quasi-static within a set duration after the application is invoked.
存储单元205,用于在所述判断单元204确定所述应用程序被调用后的设定时长内所述移动设备200始终处于静态或准静态时,存储所述一组输出数据。The storage unit 205 is configured to store the set of output data when the mobile device 200 is always in a static or quasi-static state within the set duration after the determining unit 204 determines that the application is invoked.
相应的,所述获取单元201获取到的所述至少三组不同的输出数据对应的温度范围相同,对应的姿态角范围不同。Correspondingly, the temperature ranges corresponding to the at least three sets of different output data acquired by the acquiring unit 201 are the same, and the corresponding attitude angle ranges are different.
可选的,所述判断单元204,在确定所述应用程序被调用后的设定时长内所述移动设备始终处于静态或准静态时,具体包括:在所述应用程序被调用后的设定时长内,若所述移动设备200上的加速度传感器的输出信号的最大 值和方差值分别不大于预设的最大值阈值和方差值阈值,则确定所述移动设备200始终处于静态或准静态;或者,在所述应用程序被调用后的设定时长内,若所述移动设备200上的加速度传感器的输出信号的最大值和方差值分别不大于预设的第一最大值阈值和第一方差值阈值,以及所述移动设备200上的陀螺仪的输出信号的最大值和方差值分别不大于预设的第二最大值阈值和第二方差值阈值,则确定所述移动设备200始终处于静态或准静态。Optionally, the determining unit 204, when determining that the mobile device is always in a static or quasi-static state within a set duration after the application is invoked, specifically includes: setting after the application is invoked Within the duration, if the output signal of the acceleration sensor on the mobile device 200 is the largest If the value and the variance value are not greater than the preset maximum threshold and the variance threshold, respectively, determining that the mobile device 200 is always static or quasi-static; or, within a set duration after the application is invoked, If the maximum value and the variance value of the output signal of the acceleration sensor on the mobile device 200 are not greater than a preset first maximum threshold and a first variance threshold, respectively, and the gyroscope on the mobile device 200 The maximum value and the variance value of the output signal are not greater than the preset second maximum threshold and the second variance threshold, respectively, and it is determined that the mobile device 200 is always static or quasi-static.
可选的,所述确定单元202,在根据所述输出数据确定校准参数时,具体包括:Optionally, the determining unit 202, when determining the calibration parameter according to the output data, specifically includes:
若所述输出数据的数量不小于N1,则将所述输出数据代入校准公式,得到所述待校准传感器的零点和灵敏度系数;If the number of the output data is not less than N1, the output data is substituted into a calibration formula to obtain a zero point and a sensitivity coefficient of the sensor to be calibrated;
若所述输出数据的数量小于N1但不小于N2,则将所述输出数据和所述待校准传感器的灵敏度系数的出厂值代入所述校准公式,得到所述待校准传感器的零点;或,将所述输出数据和所述待校准传感器的零点的出厂值代入所述校准公式,得到所述待校准传感器的灵敏度系数。If the number of the output data is less than N1 but not less than N2, substitute the output data and the factory value of the sensitivity coefficient of the sensor to be calibrated into the calibration formula to obtain a zero point of the sensor to be calibrated; or, The output data and the factory value of the zero point of the sensor to be calibrated are substituted into the calibration formula to obtain a sensitivity coefficient of the sensor to be calibrated.
其中,所述校准公式为
Figure PCTCN2015100298-appb-000027
Wherein the calibration formula is
Figure PCTCN2015100298-appb-000027
V表示所述待校准传感器在静态下输出的物理量理论值,V=[VX VY VZ]TV represents the theoretical value of the physical quantity outputted by the sensor to be calibrated under static conditions, V=[V X V Y V Z ] T ;
Figure PCTCN2015100298-appb-000028
表示所述待校准传感器的输出数据,
Figure PCTCN2015100298-appb-000029
Figure PCTCN2015100298-appb-000028
Representing the output data of the sensor to be calibrated,
Figure PCTCN2015100298-appb-000029
Figure PCTCN2015100298-appb-000030
表示所述待校准传感器的灵敏度系数,
Figure PCTCN2015100298-appb-000031
Figure PCTCN2015100298-appb-000030
Representing the sensitivity coefficient of the sensor to be calibrated,
Figure PCTCN2015100298-appb-000031
B表示所述待校准传感器的零点,B=[bX bY bZ]TB represents the zero point of the sensor to be calibrated, B = [b X b Y b Z ] T ;
n表示所述校准公式的阶数;n represents the order of the calibration formula;
N1和N2与n成正相关,且N1>N2,N1和N2为大于0的整数。N1 and N2 are positively correlated with n, and N1>N2, N1 and N2 are integers greater than zero.
可选的,当n=1时,所述校准公式可以简化为: Alternatively, when n=1, the calibration formula can be simplified as:
Figure PCTCN2015100298-appb-000032
Figure PCTCN2015100298-appb-000032
此时,N1=12,N2=3。At this time, N1=12 and N2=3.
可选的,所述移动设备200还可以包括:Optionally, the mobile device 200 may further include:
删除单元206,用于在所述存储单元205存储所述一组输出数据之后,为所述一组输出数据配置一个有效时长;从为所述一组输出数据配置所述有效时长起,在经过所述有效时长后,删除所述一组输出数据。a deleting unit 206, configured to configure, after the storing unit 205 stores the set of output data, an effective duration for the set of output data; from configuring the effective duration for the set of output data, after passing After the valid duration, the set of output data is deleted.
可选的,所述待校准传感器可以为以下类型的传感器中的任一个:加速度传感器、陀螺仪、磁场传感器、电场传感器和压力传感器。Optionally, the sensor to be calibrated may be any one of the following types of sensors: an acceleration sensor, a gyroscope, a magnetic field sensor, an electric field sensor, and a pressure sensor.
需要说明的是,本发明实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。在本申请的实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。It should be noted that the division of the unit in the embodiment of the present invention is schematic, and is only a logical function division, and the actual implementation may have another division manner. The functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
本申请还提供一种移动设备,包括存储器、总线系统和至少一个处理器,所述存储器和所述至少一个处理器通过所述总线系统相连。The application also provides a mobile device comprising a memory, a bus system and at least one processor, the memory and the at least one processor being connected by the bus system.
所述存储器中存储一个或多个程序,所述一个或多个程序包括指令,所述指令当被所述移动设备执行时使所述移动设备执行上述任意一种情况下的确定校准参数方法方法。Storing one or more programs in the memory, the one or more programs including instructions that, when executed by the mobile device, cause the mobile device to perform a method of determining a calibration parameter in any of the above-described cases .
现以移动设备为手机为例,图3示出的是与本申请相关的手机300的部分结构的框图。参考图3,手机300包括、RF(Radio Frequency,简称:射频)电路310、存储器320、输入单元330、显示单元340、传感器350、音频电路360、WiFi(wireless fidelity,简称:无线保真)模块370、处理器380、以及电源390等部件。本领域技术人员可以理解,图3中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。 Taking a mobile device as a mobile phone as an example, FIG. 3 is a block diagram showing a part of the structure of the mobile phone 300 related to the present application. Referring to FIG. 3, the mobile phone 300 includes an RF (Radio Frequency) circuit 310, a memory 320, an input unit 330, a display unit 340, a sensor 350, an audio circuit 360, and a WiFi (wireless fidelity) module. 370, processor 380, and power supply 390 and the like. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 3 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
下面结合图3对手机300的各个构成部件进行具体的介绍:The components of the mobile phone 300 will be specifically described below with reference to FIG. 3:
RF电路310可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器380处理;另外,将设计上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、LNA(Low Noise Amplifier,简称:低噪声放大器)、双工器等。此外,RF电路310还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,简称:通用分组无线服务)、CDMA(Code Division Multiple Access,简称:码分多址)、WCDMA(Wideband Code Division Multiple Access,简称:宽带码分多址)、LTE(Long Term Evolution,简称:长期演进)、电子邮件、SMS(Short Messaging Service,简称:短消息服务)等。The RF circuit 310 can be used for transmitting and receiving information or during a call, and receiving and transmitting the signal. Specifically, after receiving the downlink information of the base station, the processor 380 processes the data. In addition, the uplink data is designed to be sent to the base station. Generally, the RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier, a low noise amplifier), a duplexer, and the like. In addition, RF circuitry 310 can also communicate with the network and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division). Multiple Access (code division multiple access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service) : Short message service) and so on.
存储器320可用于存储软件程序以及模块,处理器380通过运行存储在存储器320的软件程序以及模块,从而执行手机300的各种功能应用以及数据处理。存储器320可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图象播放功能等)等;存储数据区可存储根据手机300的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器320可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 320 can be used to store software programs and modules, and the processor 380 executes various functional applications and data processing of the mobile phone 300 by running software programs and modules stored in the memory 320. The memory 320 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored. Data created according to the use of the mobile phone 300 (such as audio data, phone book, etc.). Moreover, memory 320 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元330可用于接收输入的数字或字符信息,以及产生与手机300的用户设置以及功能控制有关的键信号输入。具体地,输入单元330可包括触控面板331以及其他输入设备332。触控面板331,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板331上或在触控面板331附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板331可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸 操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器380,并能接收处理器380发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板331。除了触控面板331,输入单元330还可以包括其他输入设备332。具体地,其他输入设备332可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 330 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the handset 300. Specifically, the input unit 330 may include a touch panel 331 and other input devices 332. The touch panel 331 , also referred to as a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 331 or near the touch panel 331 Operation), and drive the corresponding connecting device according to a preset program. Optionally, the touch panel 331 can include two parts: a touch detection device and a touch controller. Wherein the touch detection device detects the touch orientation of the user and detects the touch The signal brought by the operation transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, sends it to the processor 380, and can receive the signal from the processor 380. Command and execute it. In addition, the touch panel 331 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 331, the input unit 330 may also include other input devices 332. In particular, other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元340可用于显示由用户输入的信息或提供给用户的信息以及手机300的各种菜单。显示单元340可包括显示面板341,可选的,可以采用LCD(Liquid Crystal Display,简称:液晶显示器)、OLED(Organic Light-Emitting Diode,简称:有机发光二极管)等形式来配置显示面板341。进一步的,触控面板331可覆盖显示面板341,当触控面板331检测到在其上或附近的触摸操作后,传送给处理器380以确定触摸事件的类型,随后处理器380根据触摸事件的类型在显示面板341上提供相应的视觉输出。虽然在图3中,触控面板331与显示面板341是作为两个独立的部件来实现手机300的输入和输入功能,但是在某些情况中,可以将触控面板331与显示面板341集成而实现手机300的输入和输出功能。The display unit 340 can be used to display information input by the user or information provided to the user and various menus of the mobile phone 300. The display unit 340 may include a display panel 341. Alternatively, the display panel 341 may be configured in the form of an LCD (Liquid Crystal Display) or an OLED (Organic Light-Emitting Diode). Further, the touch panel 331 can cover the display panel 341. When the touch panel 331 detects a touch operation on or near it, the touch panel 331 transmits to the processor 380 to determine the type of the touch event, and then the processor 380 according to the touch event. The type provides a corresponding visual output on display panel 341. Although the touch panel 331 and the display panel 341 are used as two independent components to implement the input and input functions of the mobile phone 300 in FIG. 3, in some cases, the touch panel 331 may be integrated with the display panel 341. The input and output functions of the mobile phone 300 are implemented.
手机300还可包括至少一种传感器350,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板341的亮度,接近传感器可在手机300移动到耳边时,关闭显示面板341和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机300还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset 300 can also include at least one type of sensor 350, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 341 according to the brightness of the ambient light, and the proximity sensor may close the display panel 341 when the mobile phone 300 moves to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone 300 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
音频电路360、扬声器361,麦克风362可提供用户与手机300之间的音 频接口。音频电路360可将接收到的音频数据转换后的电信号,传输到扬声器361,由扬声器361转换为声音信号输出;另一方面,麦克风362将收集的声音信号转换为电信号,由音频电路360接收后转换为音频数据,再将音频数据输出至RF电路308以发送给比如另一手机,或者将音频数据输出至存储器320以便进一步处理。The audio circuit 360, the speaker 361, and the microphone 362 can provide a sound between the user and the mobile phone 300. Frequency interface. The audio circuit 360 can transmit the converted electrical data of the received audio data to the speaker 361 for conversion to the sound signal output by the speaker 361; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, by the audio circuit 360. After receiving, it is converted to audio data, and the audio data is output to the RF circuit 308 for transmission to, for example, another mobile phone, or the audio data is output to the memory 320 for further processing.
WiFi属于短距离无线传输技术,手机300通过WiFi模块370可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图3示出了WiFi模块370,但是可以理解的是,其并不属于手机300的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology, and the mobile phone 300 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 370, which provides wireless broadband Internet access for users. Although FIG. 3 shows the WiFi module 370, it can be understood that it does not belong to the essential configuration of the mobile phone 300, and may be omitted as needed within the scope of not changing the essence of the invention.
处理器380是手机300的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器320内的软件程序和/或模块,以及调用存储在存储器320内的数据,执行手机300的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器380可包括一个或多个处理单元;优选的,处理器380可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器380中。 Processor 380 is the control center of handset 300, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in memory 320, and recalling data stored in memory 320, The various functions and processing data of the mobile phone 300 are performed to perform overall monitoring of the mobile phone. Optionally, the processor 380 may include one or more processing units; preferably, the processor 380 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 380.
手机300还包括给各个部件供电的电源390(比如电池),优选的,电源可以通过电源管理系统与处理器380逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗等功能。The handset 300 also includes a power source 390 (such as a battery) that powers the various components. Preferably, the power source can be logically coupled to the processor 380 via a power management system to manage functions such as charging, discharging, and power consumption through the power management system.
尽管未示出,手机300还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone 300 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
在本申请中,为完成上述确定校准参数方法,所述处理器380执行存储器320所存放的程序,触发手机300执行以下操作:In the present application, in order to complete the above-described method of determining calibration parameters, the processor 380 executes a program stored in the memory 320, triggering the mobile phone 300 to perform the following operations:
获取在一个温度范围内收集到的所述待校准传感器350的至少三组不同的输出数据;所述至少三组不同的输出数据为在所述手机300处于静态或准静态时收集到的;所述准静态表示运动幅度小于预设值的运动状态;根据所述至少三组不同的输出数据,确定所述待校准传感器350在所述温度范围内 使用的校准参数。Obtaining at least three different sets of output data of the to-be-calibrated sensor 350 collected over a temperature range; the at least three sets of different output data are collected when the mobile phone 300 is in a static or quasi-static state; Defining a static state of motion indicating that the motion amplitude is less than a preset value; determining, according to the at least three sets of different output data, that the sensor to be calibrated 350 is within the temperature range The calibration parameters used.
所述存储器320还用于存储所述待校准传感器350的输出数据,以及所述处理器380得到的校准参数。The memory 320 is further configured to store output data of the sensor 350 to be calibrated, and calibration parameters obtained by the processor 380.
作为一种可能的设计,处理器380还可以执行图2中所示的获取单元201、确定单元202、收集单元203、判断单元204和删除单元206所执行的其他操作,存储器320还可以执行图2中所示的存储单元205所执行的其他操作。为了简洁,在此不再赘述。As a possible design, the processor 380 can also perform other operations performed by the obtaining unit 201, the determining unit 202, the collecting unit 203, the determining unit 204, and the deleting unit 206 shown in FIG. 2, and the memory 320 can also execute the map. Other operations performed by the storage unit 205 shown in 2. For the sake of brevity, it will not be repeated here.
此处未尽之细节可参考上述图1所示确定校准参数方法中对于移动设备的描述,在此不再赘述。For details of the details in the above, refer to the description of the mobile device in the method for determining the calibration parameters shown in FIG. 1 , and details are not described herein again.
此外,本申请还提供了一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被电子设备执行时使所述电子设备执行上述任意一种情况下的确定校准参数方法。Moreover, the present application also provides a computer readable storage medium storing one or more programs, the one or more programs including instructions that, when executed by an electronic device, cause the electronic device to perform any of the above The method of determining the calibration parameters in a case.
综上所述,本申请提供的技术方案中,移动设备可以在检测到调用时移动设备有可能在一定时间内保持静态或准静态的应用程序被打开时,触发传感器输出数据的收集流程,实时更新传感器输出数据,减少了用户手动校准的次数,提高了用户体验;并基于在一个温度范围内收集到的至少三组不同的传感器输出数据,得到校准参数,将得到的校准参数专门用于在这个温度范围内传感器的校准,提高了校准参数和温度的相关性,减少了传感器因为零点漂移和温度漂移带来的误差,提高了传感器的测量精度。In summary, in the technical solution provided by the present application, the mobile device may trigger the collection process of the sensor output data when the mobile device may keep the static or quasi-static application opened for a certain period of time when the call is detected. Updating the sensor output data reduces the number of manual calibrations by the user and improves the user experience; and based on at least three different sets of sensor output data collected over a temperature range, the calibration parameters are obtained, and the obtained calibration parameters are dedicated to The calibration of the sensor in this temperature range improves the correlation between calibration parameters and temperature, reduces the error caused by the zero drift and temperature drift of the sensor, and improves the measurement accuracy of the sensor.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程 和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each of the processes and/or blocks in the flowcharts and/or block diagrams, and the flows in the flowcharts and/or block diagrams can be implemented by computer program instructions. And/or a combination of boxes. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While the preferred embodiment of the invention has been described, it will be understood that Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and
显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 It is apparent that those skilled in the art can make various modifications and variations to the embodiments of the invention without departing from the spirit and scope of the embodiments of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the embodiments of the invention.

Claims (16)

  1. 一种确定校准参数方法,应用于具有待校准传感器的移动设备,其特征在于,包括:A method for determining a calibration parameter, applied to a mobile device having a sensor to be calibrated, comprising:
    获取在一个温度范围内收集到的所述待校准传感器的至少三组不同的输出数据;所述至少三组不同的输出数据为在所述移动设备处于静态或准静态时收集到的;所述准静态表示运动幅度小于预设值的运动状态;Obtaining at least three different sets of output data of the sensor to be calibrated collected over a temperature range; the at least three sets of different output data being collected when the mobile device is static or quasi-static; Quasi-static means a motion state whose motion amplitude is less than a preset value;
    根据所述至少三组不同的输出数据,确定所述待校准传感器在所述温度范围内使用的校准参数。Determining calibration parameters used by the sensor to be calibrated within the temperature range based on the at least three different sets of output data.
  2. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 wherein the method further comprises:
    若确定预设的应用程序被调用,则收集所述待校准传感器的一组输出数据,并记录在收集所述一组输出数据时的环境温度和所述移动设备的姿态角;If it is determined that the preset application is invoked, collecting a set of output data of the sensor to be calibrated, and recording an ambient temperature when the set of output data is collected and an attitude angle of the mobile device;
    确定所述环境温度所属的温度范围,以及确定所述姿态角所属的姿态角范围;Determining a temperature range to which the ambient temperature belongs, and determining a range of attitude angles to which the attitude angle belongs;
    若确定所述应用程序被调用后的设定时长内所述移动设备始终处于静态或准静态,则存储所述一组输出数据;所述一组输出数据与确定的所述温度范围和所述姿态角范围存在对应关系。And storing the set of output data if the mobile device is always static or quasi-static within a set duration after the application is invoked; the set of output data and the determined temperature range and the There is a correspondence between the attitude angle ranges.
  3. 如权利要求1或2所述的方法,其特征在于,所述至少三组不同的输出数据对应的温度范围相同,对应的姿态角范围不同。The method according to claim 1 or 2, wherein the at least three sets of different output data have the same temperature range and the corresponding attitude angle ranges are different.
  4. 如权利要求2或3所述的方法,其特征在于,确定所述应用程序被调用后的设定时长内所述移动设备始终处于静态或准静态,包括:The method according to claim 2 or 3, wherein the mobile device is always in a static or quasi-static state within a set duration after the application is called, including:
    在所述应用程序被调用后的设定时长内,若所述移动设备上的加速度传感器的输出信号的最大值和方差值分别不大于预设的最大值阈值和方差值阈值,则确定所述移动设备始终处于静态或准静态;或Determining, if the maximum value and the variance value of the output signal of the acceleration sensor on the mobile device are not greater than a preset maximum threshold value and a variance value threshold, respectively, within a set duration after the application is invoked The mobile device is always static or quasi-static; or
    在所述应用程序被调用后的设定时长内,若所述移动设备上的加速度传感器的输出信号的最大值和方差值分别不大于预设的第一最大值阈值和第一方差值阈值,以及所述移动设备上的陀螺仪的输出信号的最大值和方差值分 别不大于预设的第二最大值阈值和第二方差值阈值,则确定所述移动设备始终处于静态或准静态。If the maximum value and the variance value of the output signal of the acceleration sensor on the mobile device are not greater than a preset first maximum threshold value and a first variance value, respectively, within a set duration after the application is invoked a threshold, and a maximum value and a variance value of the output signal of the gyroscope on the mobile device If it is not greater than the preset second maximum threshold and the second variance threshold, it is determined that the mobile device is always static or quasi-static.
  5. 如权利要求1-4中任一项所述的方法,其特征在于,根据所述输出数据,确定校准参数,包括:The method according to any one of claims 1 to 4, wherein determining calibration parameters based on the output data comprises:
    若所述输出数据的数量不小于N1,则将所述输出数据代入校准公式,得到所述待校准传感器的零点和灵敏度系数;If the number of the output data is not less than N1, the output data is substituted into a calibration formula to obtain a zero point and a sensitivity coefficient of the sensor to be calibrated;
    若所述输出数据的数量小于N1但不小于N2,则将所述输出数据和所述待校准传感器的灵敏度系数的出厂值代入所述校准公式,得到所述待校准传感器的零点;或,将所述输出数据和所述待校准传感器的零点的出厂值代入所述校准公式,得到所述待校准传感器的灵敏度系数;If the number of the output data is less than N1 but not less than N2, substitute the output data and the factory value of the sensitivity coefficient of the sensor to be calibrated into the calibration formula to obtain a zero point of the sensor to be calibrated; or, And outputting the output data and the factory value of the zero point of the sensor to be calibrated into the calibration formula to obtain a sensitivity coefficient of the sensor to be calibrated;
    其中,所述校准公式为
    Figure PCTCN2015100298-appb-100001
    Wherein the calibration formula is
    Figure PCTCN2015100298-appb-100001
    V表示所述待校准传感器在静态下输出的物理量理论值,V=[VX VY VZ]TV represents the theoretical value of the physical quantity outputted by the sensor to be calibrated under static conditions, V=[V X V Y V Z ] T ;
    Figure PCTCN2015100298-appb-100002
    表示所述待校准传感器的输出数据,
    Figure PCTCN2015100298-appb-100003
    Figure PCTCN2015100298-appb-100002
    Representing the output data of the sensor to be calibrated,
    Figure PCTCN2015100298-appb-100003
    Figure PCTCN2015100298-appb-100004
    表示所述待校准传感器的灵敏度系数,
    Figure PCTCN2015100298-appb-100005
    Figure PCTCN2015100298-appb-100004
    Representing the sensitivity coefficient of the sensor to be calibrated,
    Figure PCTCN2015100298-appb-100005
    B表示所述待校准传感器的零点,B=[bX bY bZ]TB represents the zero point of the sensor to be calibrated, B = [b X b Y b Z ] T ;
    n表示所述校准公式的阶数;n represents the order of the calibration formula;
    N1和N2与n成正相关,且N1>N2,N1和N2为大于0的整数。N1 and N2 are positively correlated with n, and N1>N2, N1 and N2 are integers greater than zero.
  6. 如权利要求5所述的方法,其特征在于,当n=1时,所述校准公式为:The method of claim 5 wherein when n = 1, the calibration formula is:
    Figure PCTCN2015100298-appb-100006
    Figure PCTCN2015100298-appb-100006
    N1=12,N2=3。N1=12, N2=3.
  7. 如权利要求2-4中任一项所述的方法,其特征在于,在存储所述一组 输出数据之后,所述方法还包括:A method according to any one of claims 2 to 4, wherein said set of said After outputting the data, the method further includes:
    为所述一组输出数据配置一个有效时长;Configuring an effective duration for the set of output data;
    从为所述一组输出数据配置所述有效时长起,在经过所述有效时长后,删除所述一组输出数据。From the configuration of the valid duration for the set of output data, the set of output data is deleted after the valid duration has elapsed.
  8. 一种移动设备,其特征在于,所述移动设备具有待校准传感器,所述移动设备包括:A mobile device, characterized in that the mobile device has a sensor to be calibrated, and the mobile device comprises:
    获取单元,用于获取在一个温度范围内收集到的所述待校准传感器的至少三组不同的输出数据;所述至少三组不同的输出数据为在所述移动设备处于静态或准静态时收集到的;所述准静态表示运动幅度小于预设值的运动状态;An acquiring unit, configured to acquire at least three different sets of output data of the to-be-calibrated sensor collected in a temperature range; the at least three sets of different output data are collected when the mobile device is in a static or quasi-static state The quasi-static state indicates a motion state in which the motion amplitude is less than a preset value;
    确定单元,用于根据所述至少三组不同的输出数据,确定所述待校准传感器在所述温度范围内使用的校准参数。And a determining unit, configured to determine, according to the at least three sets of different output data, calibration parameters used by the to-be-calibrated sensor in the temperature range.
  9. 如权利要求8所述的移动设备,其特征在于,所述移动设备还包括:The mobile device of claim 8, wherein the mobile device further comprises:
    收集单元,用于在确定预设的应用程序被调用时,收集所述待校准传感器的一组输出数据,并记录在收集所述一组输出数据时的环境温度和所述移动设备的姿态角;确定所述环境温度所属的温度范围,以及确定所述姿态角所属的姿态角范围;a collecting unit, configured to collect a set of output data of the sensor to be calibrated when determining that the preset application is invoked, and record an ambient temperature when the set of output data is collected and an attitude angle of the mobile device Determining a temperature range to which the ambient temperature belongs, and determining a range of attitude angles to which the attitude angle belongs;
    判断单元,用于确定所述应用程序被调用后的设定时长内所述移动设备是否始终处于静态或准静态;a determining unit, configured to determine whether the mobile device is always static or quasi-static within a set duration after the application is invoked;
    存储单元,用于在所述判断单元确定所述应用程序被调用后的设定时长内所述移动设备始终处于静态或准静态时,存储所述一组输出数据;所述一组输出数据与确定的所述温度范围和所述姿态角范围存在对应关系。a storage unit, configured to store the set of output data when the mobile device is always in a static or quasi-static state within a set duration after the determining unit is determined to be invoked; the set of output data and There is a corresponding relationship between the determined temperature range and the attitude angle range.
  10. 如权利要求8或9所述的移动设备,其特征在于,所述获取单元获取到的所述至少三组不同的输出数据对应的温度范围相同,对应的姿态角范围不同。The mobile device according to claim 8 or 9, wherein the at least three sets of different output data acquired by the acquiring unit have the same temperature range, and the corresponding posture angle ranges are different.
  11. 如权利要求9或10所述的移动设备,其特征在于,所述判断单元,在确定所述应用程序被调用后的设定时长内所述移动设备始终处于静态或准 静态时,具体包括:The mobile device according to claim 9 or 10, wherein the judging unit is always in a static or quasi-regular state within a set duration after determining that the application is called. When static, it specifically includes:
    在所述应用程序被调用后的设定时长内,若所述移动设备上的加速度传感器的输出信号的最大值和方差值分别不大于预设的最大值阈值和方差值阈值,则确定所述移动设备始终处于静态或准静态;或Determining, if the maximum value and the variance value of the output signal of the acceleration sensor on the mobile device are not greater than a preset maximum threshold value and a variance value threshold, respectively, within a set duration after the application is invoked The mobile device is always static or quasi-static; or
    在所述应用程序被调用后的设定时长内,若所述移动设备上的加速度传感器的输出信号的最大值和方差值分别不大于预设的第一最大值阈值和第一方差值阈值,以及所述移动设备上的陀螺仪的输出信号的最大值和方差值分别不大于预设的第二最大值阈值和第二方差值阈值,则确定所述移动设备始终处于静态或准静态。If the maximum value and the variance value of the output signal of the acceleration sensor on the mobile device are not greater than a preset first maximum threshold value and a first variance value, respectively, within a set duration after the application is invoked Determining that the maximum value and the variance value of the output signal of the gyroscope on the mobile device are not greater than a preset second maximum threshold and a second variance threshold, respectively, determining that the mobile device is always in a static state or Quasi-static.
  12. 如权利要求8-11中任一项所述的移动设备,其特征在于,所述确定单元,在根据所述输出数据确定校准参数时,具体包括:The mobile device according to any one of claims 8 to 11, wherein the determining unit, when determining the calibration parameter according to the output data, specifically includes:
    若所述输出数据的数量不小于N1,则将所述输出数据代入校准公式,得到所述待校准传感器的零点和灵敏度系数;If the number of the output data is not less than N1, the output data is substituted into a calibration formula to obtain a zero point and a sensitivity coefficient of the sensor to be calibrated;
    若所述输出数据的数量小于N1但不小于N2,则将所述输出数据和所述待校准传感器的灵敏度系数的出厂值代入所述校准公式,得到所述待校准传感器的零点;或,将所述输出数据和所述待校准传感器的零点的出厂值代入所述校准公式,得到所述待校准传感器的灵敏度系数;If the number of the output data is less than N1 but not less than N2, substitute the output data and the factory value of the sensitivity coefficient of the sensor to be calibrated into the calibration formula to obtain a zero point of the sensor to be calibrated; or, And outputting the output data and the factory value of the zero point of the sensor to be calibrated into the calibration formula to obtain a sensitivity coefficient of the sensor to be calibrated;
    其中,所述校准公式为
    Figure PCTCN2015100298-appb-100007
    Wherein the calibration formula is
    Figure PCTCN2015100298-appb-100007
    V表示所述待校准传感器在静态下输出的物理量理论值,V=[VX VY VZ]TV represents the theoretical value of the physical quantity outputted by the sensor to be calibrated under static state, V=[V X V Y V Z ] T ;
    Figure PCTCN2015100298-appb-100008
    表示所述待校准传感器的输出数据,
    Figure PCTCN2015100298-appb-100009
    Figure PCTCN2015100298-appb-100008
    Representing the output data of the sensor to be calibrated,
    Figure PCTCN2015100298-appb-100009
    Figure PCTCN2015100298-appb-100010
    表示所述待校准传感器的灵敏度系数,
    Figure PCTCN2015100298-appb-100011
    Figure PCTCN2015100298-appb-100010
    Representing the sensitivity coefficient of the sensor to be calibrated,
    Figure PCTCN2015100298-appb-100011
    B表示所述待校准传感器的零点,B=[bX bY bZ]TB represents the zero point of the sensor to be calibrated, B = [b X b Y b Z ] T ;
    n表示所述校准公式的阶数; n represents the order of the calibration formula;
    N1和N2与n成正相关,且N1>N2,N1和N2为大于0的整数。N1 and N2 are positively correlated with n, and N1>N2, N1 and N2 are integers greater than zero.
  13. 如权利要求12所述的移动设备,其特征在于,当n=1时,所述校准公式为:The mobile device of claim 12 wherein when n = 1, the calibration formula is:
    Figure PCTCN2015100298-appb-100012
    Figure PCTCN2015100298-appb-100012
    N1=12,N2=3。N1=12, N2=3.
  14. 如权利要求9-11中任一项所述的移动设备,其特征在于,所述移动设备还包括:The mobile device of any of claims 9-11, wherein the mobile device further comprises:
    删除单元,用于在所述存储单元存储所述一组输出数据之后,为所述一组输出数据配置一个有效时长;从为所述一组输出数据配置所述有效时长起,在经过所述有效时长后,删除所述一组输出数据。a deleting unit, configured to configure, after the storing unit stores the set of output data, an effective duration for the set of output data; from configuring the valid duration for the set of output data, after After a valid period of time, the set of output data is deleted.
  15. 一种移动设备,其特征在于,包括存储器、总线系统和至少一个处理器,所述存储器和所述至少一个处理器通过所述总线系统相连;A mobile device, comprising: a memory, a bus system, and at least one processor, wherein the memory and the at least one processor are connected by the bus system;
    所述存储器中存储一个或多个程序,所述一个或多个程序包括指令,所述指令当被所述移动设备执行时使所述移动设备执行如权利要求1至7任一项所述的方法。One or more programs are stored in the memory, the one or more programs including instructions that, when executed by the mobile device, cause the mobile device to perform the method of any one of claims 1 to method.
  16. 一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被电子设备执行时使所述电子设备执行根据权利要求1至7任一项所述方法。 A computer readable storage medium storing one or more programs, the one or more programs comprising instructions that, when executed by an electronic device, cause the electronic device to perform according to any one of claims 1 to Method.
PCT/CN2015/100298 2015-12-31 2015-12-31 Method for determining calibration parameter and mobile device WO2017113381A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2015/100298 WO2017113381A1 (en) 2015-12-31 2015-12-31 Method for determining calibration parameter and mobile device
CN201580079572.6A CN107532900A (en) 2015-12-31 2015-12-31 One kind determines calibration parameter method and mobile device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/100298 WO2017113381A1 (en) 2015-12-31 2015-12-31 Method for determining calibration parameter and mobile device

Publications (1)

Publication Number Publication Date
WO2017113381A1 true WO2017113381A1 (en) 2017-07-06

Family

ID=59224261

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/100298 WO2017113381A1 (en) 2015-12-31 2015-12-31 Method for determining calibration parameter and mobile device

Country Status (2)

Country Link
CN (1) CN107532900A (en)
WO (1) WO2017113381A1 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108362840A (en) * 2018-04-20 2018-08-03 天津澜禹笙环保科技有限公司 Online detection device based on environment malodor monitoring electronic nose remote reverse control
CN111207856A (en) * 2019-12-27 2020-05-29 广东德诚科教有限公司 Method, device and equipment for acquiring accuracy of measured temperature and readable storage medium
CN112104862A (en) * 2020-08-19 2020-12-18 惠州市德赛西威汽车电子股份有限公司 Vehicle-mounted multimedia proximity induction calibration method and system
CN112518651A (en) * 2019-09-18 2021-03-19 霍夫曼工程服务有限公司 Calibratable tool, calibration system, and method of operating a calibratable tool
CN112781641A (en) * 2020-12-01 2021-05-11 西安中星测控有限公司 Wireless calibration device and method for sensor
CN112902988A (en) * 2021-03-12 2021-06-04 Oppo广东移动通信有限公司 Parameter calibration method, device, terminal and storage medium
CN113074768A (en) * 2021-03-30 2021-07-06 宁夏计量质量检验检测研究院 Dynamic and static continuous calibration method for eddy current sensor
CN113340525A (en) * 2021-06-07 2021-09-03 安徽工业大学 Method for acquiring working characteristic parameters of piezoelectric pressure sensor for implementing quasi-static calibration
CN113447871A (en) * 2021-06-24 2021-09-28 北京海博思创科技股份有限公司 Calibration method and device
CN113928327A (en) * 2021-09-29 2022-01-14 深圳市麦谷科技有限公司 Three-emergency event detection method and system
CN114236289A (en) * 2021-12-17 2022-03-25 北京唐智科技发展有限公司 Sensor normalization calibration method and system
CN115326241A (en) * 2022-08-16 2022-11-11 安徽金大仪器有限公司 Automatic calibration system and method for temperature transmitter
CN115951289A (en) * 2023-02-20 2023-04-11 重庆云宸新能源科技有限公司 Current sensor zero calibration system and method and electric automobile

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI128841B (en) * 2018-03-22 2021-01-15 Univ Helsinki Sensor calibration
CN109521941A (en) * 2018-10-25 2019-03-26 西安闻泰电子科技有限公司 Data sampling device and method
CN111596236A (en) * 2020-06-11 2020-08-28 赛卓电子科技(上海)有限公司 Magnetic field sensor with sensitivity correction and offset correction functions and implementation method
CN112378398B (en) * 2020-11-12 2023-03-17 展讯通信(上海)有限公司 Method, device and equipment for determining attitude of terminal equipment
CN112656986A (en) * 2020-12-29 2021-04-16 东莞市李群自动化技术有限公司 Robot-based sterilization method, apparatus, device, and medium
CN113804232A (en) * 2021-08-20 2021-12-17 深圳市撰文科技有限公司 Sensor calibration method and device and terminal equipment
WO2023070440A1 (en) * 2021-10-28 2023-05-04 华为技术有限公司 Calibration method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110264393A1 (en) * 2010-04-27 2011-10-27 Dong An System and method for calibrating a three-axis accelerometer
CN103063228A (en) * 2012-12-25 2013-04-24 深圳市欧克蓝科技有限公司 Gyroscope static calibration method
US20140088906A1 (en) * 2012-09-25 2014-03-27 John M. Wilson Inertial Sensor Bias Estimation by Flipping
CN103837750A (en) * 2012-11-22 2014-06-04 中国科学院电子学研究所 Temperature drift and time drift real-time difference compensation method for electric-field sensor

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2914975B1 (en) * 2012-11-05 2019-03-06 The Chancellor, Masters and Scholars of The University of Oxford Extrinsic calibration of imaging sensing devices and 2d lidars mounted on transportable apparatus
CN103076037B (en) * 2013-01-09 2016-02-10 苏州世力源科技有限公司 Can the method for on-line calibration sensor
CN103149395B (en) * 2013-03-01 2015-09-23 天津大学 A kind of temperature compensation for multi-channel analog acquisition card

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110264393A1 (en) * 2010-04-27 2011-10-27 Dong An System and method for calibrating a three-axis accelerometer
US20140088906A1 (en) * 2012-09-25 2014-03-27 John M. Wilson Inertial Sensor Bias Estimation by Flipping
CN103837750A (en) * 2012-11-22 2014-06-04 中国科学院电子学研究所 Temperature drift and time drift real-time difference compensation method for electric-field sensor
CN103063228A (en) * 2012-12-25 2013-04-24 深圳市欧克蓝科技有限公司 Gyroscope static calibration method

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108362840A (en) * 2018-04-20 2018-08-03 天津澜禹笙环保科技有限公司 Online detection device based on environment malodor monitoring electronic nose remote reverse control
CN112518651A (en) * 2019-09-18 2021-03-19 霍夫曼工程服务有限公司 Calibratable tool, calibration system, and method of operating a calibratable tool
CN111207856B (en) * 2019-12-27 2022-11-15 广东德诚科教有限公司 Method, device and equipment for acquiring accuracy of measured temperature and readable storage medium
CN111207856A (en) * 2019-12-27 2020-05-29 广东德诚科教有限公司 Method, device and equipment for acquiring accuracy of measured temperature and readable storage medium
CN112104862A (en) * 2020-08-19 2020-12-18 惠州市德赛西威汽车电子股份有限公司 Vehicle-mounted multimedia proximity induction calibration method and system
CN112104862B (en) * 2020-08-19 2023-09-01 惠州市德赛西威汽车电子股份有限公司 Vehicle-mounted multimedia proximity induction calibration method and system
CN112781641A (en) * 2020-12-01 2021-05-11 西安中星测控有限公司 Wireless calibration device and method for sensor
CN112902988A (en) * 2021-03-12 2021-06-04 Oppo广东移动通信有限公司 Parameter calibration method, device, terminal and storage medium
CN113074768A (en) * 2021-03-30 2021-07-06 宁夏计量质量检验检测研究院 Dynamic and static continuous calibration method for eddy current sensor
CN113074768B (en) * 2021-03-30 2023-05-09 宁夏计量质量检验检测研究院 Dynamic and static continuous calibration method for electric vortex sensor
CN113340525A (en) * 2021-06-07 2021-09-03 安徽工业大学 Method for acquiring working characteristic parameters of piezoelectric pressure sensor for implementing quasi-static calibration
CN113340525B (en) * 2021-06-07 2022-08-23 安徽工业大学 Method for acquiring working characteristic parameters of piezoelectric pressure sensor for implementing quasi-static calibration
CN113447871A (en) * 2021-06-24 2021-09-28 北京海博思创科技股份有限公司 Calibration method and device
CN113928327A (en) * 2021-09-29 2022-01-14 深圳市麦谷科技有限公司 Three-emergency event detection method and system
CN113928327B (en) * 2021-09-29 2024-04-05 深圳市麦谷科技有限公司 Method and system for detecting three emergency events
CN114236289A (en) * 2021-12-17 2022-03-25 北京唐智科技发展有限公司 Sensor normalization calibration method and system
CN115326241A (en) * 2022-08-16 2022-11-11 安徽金大仪器有限公司 Automatic calibration system and method for temperature transmitter
CN115951289A (en) * 2023-02-20 2023-04-11 重庆云宸新能源科技有限公司 Current sensor zero calibration system and method and electric automobile

Also Published As

Publication number Publication date
CN107532900A (en) 2018-01-02

Similar Documents

Publication Publication Date Title
WO2017113381A1 (en) Method for determining calibration parameter and mobile device
CN109241765B (en) Mobile terminal and method and device for managing authority of application program
CN108600546B (en) Environment light detection method and mobile terminal
US20210329526A1 (en) Terminal Behavior Triggering Method and Terminal
US10663521B2 (en) Method and device for ascertaining required charging time
WO2018166204A1 (en) Method for controlling fingerprint recognition module, and mobile terminal and storage medium
CN108984066B (en) Application icon display method and mobile terminal
CN111651030B (en) Sensor detection method and device, storage medium and mobile terminal
CN110456923B (en) Gesture sensing data processing method and electronic equipment
CN107277364B (en) Shooting method, mobile terminal and computer readable storage medium
CN109141355B (en) Relative height measuring method based on multiple sensors and wearable equipment
CN108196701B (en) Method and device for determining posture and VR equipment
WO2016155527A1 (en) Streaming media alignment method, device and storage medium
CN109948311B (en) Screen unlocking method and device
CN109860743B (en) Charging method and terminal equipment
CN108228357B (en) Memory cleaning method and mobile terminal
CN112964613B (en) Determination method, device and terminal for mass transfer parameters of shale reservoir
CN114706135A (en) Magnetic field intensity compensation method and device, storage medium and mobile terminal
CN111947808B (en) Body temperature detection method, mobile terminal and computer readable storage medium
CN114279425A (en) Compass precision improving method, terminal and computer readable storage medium
WO2016119616A1 (en) User terminal dialing method and user terminal
WO2015027950A1 (en) Stereophonic sound recording method, apparatus, and terminal
CN108255930B (en) Data cleaning method of mobile terminal and mobile terminal
US20140366094A1 (en) Communication method, communication apparatus and terminal
CN107454253B (en) Method for starting Global Positioning System (GPS) and mobile terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15912005

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15912005

Country of ref document: EP

Kind code of ref document: A1