WO2023146092A1 - Image-based inertial sensor correction method and electronic device for performing same - Google Patents

Image-based inertial sensor correction method and electronic device for performing same Download PDF

Info

Publication number
WO2023146092A1
WO2023146092A1 PCT/KR2022/018601 KR2022018601W WO2023146092A1 WO 2023146092 A1 WO2023146092 A1 WO 2023146092A1 KR 2022018601 W KR2022018601 W KR 2022018601W WO 2023146092 A1 WO2023146092 A1 WO 2023146092A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
value
posture
coordinate system
inertial sensor
Prior art date
Application number
PCT/KR2022/018601
Other languages
French (fr)
Korean (ko)
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
Priority claimed from KR1020220014644A external-priority patent/KR20230114656A/en
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Publication of WO2023146092A1 publication Critical patent/WO2023146092A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/10Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
    • G01C21/12Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning
    • G01C21/16Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/10Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
    • G01C21/12Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning
    • G01C21/16Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation
    • G01C21/18Stabilised platforms, e.g. by gyroscope
    • 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

Definitions

  • the embodiments below relate to image-based inertial sensor calibration techniques.
  • An inertial sensor including at least one of an accelerometer, a gyroscope, and a geomagnetic field may be used together with a location sensor such as a global positioning system (GPS) to estimate position, posture, and direction information of the electronic device.
  • a location sensor such as a global positioning system (GPS) to estimate position, posture, and direction information of the electronic device.
  • GPS global positioning system
  • Sensors included in the electronic device may generate errors depending on the surrounding environment, and inertial sensors may generate accumulated errors over time when tracking the posture of the electronic device.
  • An image-based inertial sensor calibration method and an electronic device performing the method according to an embodiment may calibrate a posture determined based on an output of an inertial sensor and an inertial sensor using information included in an image.
  • An electronic device includes a camera acquiring an image, an inertial sensor detecting motion of the electronic device, a position sensor detecting a position of the electronic device when acquiring the image, and the camera, the inertial sensor, and the A processor controlling the position sensor may be included.
  • the processor detects a first position value of a target object in a first image obtained at a first time, and the first position value of the target object is detected based on the position value measured by the position sensor at the first time. 1 position value can be estimated.
  • the processor may determine posture correction data for correcting the posture of the electronic device determined through the inertial sensor based on a first difference between the detected first position value and the estimated first position value. .
  • An electronic device includes a camera acquiring an image, an inertial sensor detecting motion of the electronic device, a position sensor detecting a position of the electronic device when acquiring the image, and the camera, the inertial sensor, and the A processor controlling the position sensor may be included.
  • the processor detects a first position value of a target object from a first image obtained at a first time, and the first position value of the target object based on the position value measured by the position sensor at the first time. can be estimated.
  • the processor detects a second position value of a target object from a second image obtained at a second time, and the second position value of the target object is detected based on the position value measured by the position sensor at the second time. 2 position values can be estimated.
  • the processor performs the processing based on a first difference value between the detected first position value and the estimated first position value and a second difference value between the detected second position value and the estimated second position value.
  • Inertial sensor calibration data for calibrating the inertial sensor may be determined.
  • a method for calibrating an inertial sensor of an electronic device includes an operation of detecting a first position value of a target object from a first image obtained at a first time using a camera of the electronic device, An operation of estimating a first position value of the target object based on a position value measured by a position sensor of the electronic device at 1 hour, and a difference between the detected first position value and the estimated first position value An operation of determining posture correction data for correcting the posture of the electronic device determined through the inertial sensor based on the first difference value.
  • FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments.
  • FIG. 2 is a diagram for explaining an outline of a method of correcting a posture of an electronic device according to an exemplary embodiment.
  • FIG. 3 is a flowchart of a method of correcting a posture of an electronic device according to an exemplary embodiment.
  • FIG. 4 is a diagram for explaining a position value of a target object detected from an image acquired through a camera of an electronic device according to an embodiment.
  • FIG. 5 is a diagram for explaining an overview of a method of calibrating an inertial sensor of an electronic device according to an exemplary embodiment.
  • FIG. 6 is a flowchart of a method of calibrating an inertial sensor of an electronic device according to an embodiment.
  • FIG. 7 is a diagram for explaining position values of a target object detected from images obtained through a camera of an electronic device according to an exemplary embodiment.
  • FIG. 8 is a diagram for explaining a data flow of an electronic device according to an exemplary embodiment.
  • FIG. 1 is a block diagram of an electronic device 101 within a network environment 100, according to various embodiments.
  • an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or through a second network 199. It may communicate with at least one of the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • a first network 198 eg, a short-range wireless communication network
  • the server 108 e.g, a long-distance wireless communication network
  • the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio output module 155, a display module 160, an audio module 170, a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or the antenna module 197 may be included.
  • at least one of these components eg, the connection terminal 178) may be omitted or one or more other components may be added.
  • some of these components eg, sensor module 176, camera module 180, or antenna module 197) are integrated into a single component (eg, display module 160). It can be.
  • the processor 120 for example, executes software (eg, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, the processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 .
  • software eg, the program 140
  • the processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 .
  • the processor 120 may include a main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor).
  • a main processor 121 eg, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor.
  • NPU neural network processing unit
  • the secondary processor 123 may be implemented separately from or as part of the main processor 121 .
  • the secondary processor 123 may, for example, take the place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, running an application). ) state, together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states.
  • the auxiliary processor 123 eg, image signal processor or communication processor
  • the auxiliary processor 123 may include a hardware structure specialized for processing an artificial intelligence model.
  • AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where the artificial intelligence model is performed, or may be performed through a separate server (eg, the server 108).
  • the learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning or reinforcement learning, but in the above example Not limited.
  • the artificial intelligence model may include a plurality of artificial neural network layers.
  • Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the foregoing, but is not limited to the foregoing examples.
  • the artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.
  • the memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101 .
  • the data may include, for example, input data or output data for software (eg, program 140) and commands related thereto.
  • the memory 130 may include volatile memory 132 or non-volatile memory 134 .
  • the program 140 may be stored as software in the memory 130 and may include, for example, an operating system 142 , middleware 144 , or an application 146 .
  • the input module 150 may receive a command or data to be used by a component (eg, the processor 120) of the electronic device 101 from the outside of the electronic device 101 (eg, a user).
  • the input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
  • the sound output module 155 may output sound signals to the outside of the electronic device 101 .
  • the sound output module 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback.
  • a receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.
  • the display module 160 may visually provide information to the outside of the electronic device 101 (eg, a user).
  • the display module 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device.
  • the display module 160 may include a touch sensor set to detect a touch or a pressure sensor set to measure the intensity of force generated by the touch.
  • the audio module 170 may convert sound into an electrical signal or vice versa. According to one embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).
  • the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do.
  • the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a bio sensor, It may include a temperature sensor, humidity sensor, or light sensor.
  • the interface 177 may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device 101 to an external electronic device (eg, the electronic device 102).
  • the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card interface
  • audio interface audio interface
  • connection terminal 178 may include a connector through which the electronic device 101 may be physically connected to an external electronic device (eg, the electronic device 102).
  • the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 179 may convert electrical signals into mechanical stimuli (eg, vibration or motion) or electrical stimuli that a user may perceive through tactile or kinesthetic senses.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 may capture still images and moving images. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101 .
  • the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). Establishment and communication through the established communication channel may be supported.
  • the communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : a local area network (LAN) communication module or a power line communication module).
  • a corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, a legacy communication module).
  • the wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199.
  • IMSI International Mobile Subscriber Identifier
  • the wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology).
  • NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)).
  • eMBB enhanced mobile broadband
  • mMTC massive machine type communications
  • URLLC ultra-reliable and low latency
  • -latency communications can be supported.
  • the wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example.
  • the wireless communication module 192 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported.
  • the wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199).
  • the wireless communication module 192 is a peak data rate for eMBB realization (eg, 20 Gbps or more), a loss coverage for mMTC realization (eg, 164 dB or less), or a U-plane latency for URLLC realization (eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) may be supported.
  • eMBB peak data rate for eMBB realization
  • a loss coverage for mMTC realization eg, 164 dB or less
  • U-plane latency for URLLC realization eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less
  • the antenna module 197 may transmit or receive signals or power to the outside (eg, an external electronic device).
  • the antenna module 197 may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (eg, PCB).
  • the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is selected from the plurality of antennas by the communication module 190, for example. can be chosen A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna.
  • other components eg, a radio frequency integrated circuit (RFIC) may be additionally formed as a part of the antenna module 197 in addition to the radiator.
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • the mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • signal e.g. commands or data
  • commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 .
  • Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 .
  • all or part of operations executed in the electronic device 101 may be executed in one or more external electronic devices among the external electronic devices 102 , 104 , or 108 .
  • the electronic device 101 when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service by itself.
  • one or more external electronic devices may be requested to perform the function or at least part of the service.
  • One or more external electronic devices receiving the request may execute at least a part of the requested function or service or an additional function or service related to the request, and deliver the execution result to the electronic device 101 .
  • the electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed.
  • cloud computing distributed computing, mobile edge computing (MEC), or client-server computing technology may be used.
  • the electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing.
  • the external electronic device 104 may include an internet of things (IoT) device.
  • Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199 .
  • the electronic device 101 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
  • FIG. 2 is a diagram for explaining an outline of a method of correcting a posture of an electronic device according to an exemplary embodiment.
  • a location sensor such as an inertial measurement unit (IMU) including at least one of an accelerometer, a gyroscope, and a geomagnetic field, and a global positioning system (GPS) to estimate the position, posture, and orientation information of the electronic device 101.
  • IMU inertial measurement unit
  • GPS global positioning system
  • inertial sensors and position sensors may be included in sensor module 176 of FIG. 1 .
  • the inertial sensor may determine the attitude of the electronic device 101 using at least one of an accelerometer, a gyroscope, and a geomagnetic field.
  • the attitude of the electronic device 101 may include information about the roll, pitch, and yaw of the electronic device 101 .
  • An error may occur in the inertial sensor included in the electronic device 101 depending on the surrounding environment. Accumulated errors may occur over time when the inertial sensor tracks the posture of the electronic device 101 .
  • the electronic device 101 estimates the attitude of the electronic device 101 using the inertial sensor of the electronic device 101, there may be an error in the estimated attitude due to the error of the inertial sensor, and more accurate results may be obtained. correction may be required.
  • the electronic device 101 corrects the posture of the electronic device 101 using the image 205 acquired through the camera (eg, the camera module 180 of FIG. 1 ) of the electronic device 101 . can do.
  • the camera eg, the camera module 180 of FIG. 1
  • FIG. 2 a process of correcting a posture of the electronic device 101 using an image 205 acquired through a camera is briefly illustrated.
  • the electronic device 101 may detect the target object 220 in the image 205 and correct the posture of the electronic device 101 based on the detected location of the target object 220 .
  • the electronic device 101 includes a camera for acquiring the image 205, an inertial sensor for detecting the motion of the electronic device 101, and a location for detecting the position of the electronic device 101 when the image 205 is acquired. May contain sensors.
  • the electronic device 101 may obtain an image 205 using a camera.
  • the electronic device 101 may determine the posture of the electronic device 101 using a sensor of the electronic device 101 .
  • a direction 210 toward which the electronic device 101 is headed determined by using a sensor of the electronic device 101 on an image 205 obtained through a camera and an actual direction 215 toward which the electronic device 101 is headed this is shown
  • the direction 210 toward which the electronic device 101 faces may be a direction corresponding to the posture of the electronic device 101 determined using a sensor, and is the actual direction 215 toward which the electronic device 101 faces. may be a direction corresponding to the actual posture of the electronic device 101 . Due to the error of the sensor, there may be an error in the attitude of the electronic device 101 determined using the sensor.
  • the electronic device 101 may detect the target object 220 in the image 205 .
  • the target object 220 may be, for example, a celestial body.
  • the electronic device 101 detects the position value of the target object 220 from the image 205 and uses a position sensor such as GPS to acquire the position value of the target object 220 at the time when the corresponding image 205 is acquired. can be estimated.
  • the detected position value and the estimated position value of the target object 220 may be a position value on the horizontal coordinate system 225 including an altitude value and an azimuth value.
  • the electronic device 101 may determine posture correction data for correcting the posture of the electronic device 101 based on a difference value between the detected position value and the estimated position value of the corresponding target object 220 . there is.
  • the electronic device 101 may update the posture correction table based on the determined posture correction data.
  • the posture correction table may be a comparison table capable of correcting a difference between the posture of the electronic device 101 determined through the sensor and the actual posture of the electronic device 101 .
  • the electronic device 101 may correct the posture of the electronic device 101 using the posture correction table, and may determine a posture corresponding to the actual direction 215 toward which the electronic device 101 faces.
  • the electronic device 101 corrects the posture of the electronic device 101 using the image 205 obtained through the camera of the electronic device 101, thereby correcting the posture of the electronic device 101 at a low cost.
  • An accurate posture can be obtained by correcting, and the accuracy of the posture can be increased by repeatedly correcting using several images 205 acquired at different times.
  • the electronic device 101 may automatically acquire the image 205 without user input to determine posture correction data, thereby providing the user with an accurate posture even if the user is not aware of the posture correction process.
  • FIG. 3 is a flowchart of a method of correcting a posture of an electronic device according to an exemplary embodiment.
  • an electronic device 101 including a camera acquiring an image, an inertial sensor detecting motion of the electronic device 101, and a position sensor detecting the position of the electronic device 101 when acquiring an image is electronic
  • a flowchart of a method of correcting the attitude of the electronic device 101 determined by using the inertial sensor of the device 101 is shown.
  • the electronic device 101 may detect a target object from a first image obtained through a camera at a first time.
  • the target object may be a celestial body such as the sun, moon, or satellite.
  • the electronic device 101 may detect a first position value of the target object in the first image.
  • the detected first position value of the target object may be determined based on the angle of view of the camera and the central point of the image.
  • the electronic device 101 may detect the first position value of the target object from the center point of the image by using information about the angle of view of the camera.
  • the first location value may include an altitude value and a direction value.
  • a target object 405 detected in an image 400 obtained through a camera of the electronic device 101 is illustrated.
  • the electronic device 101 may detect the first position value of the target object 405 from the center of the image 400 using the angle of view of the camera. For example, in the example of FIG. 4 , the electronic device 101 uses the angle of view of the camera to a target object 405 having an elevation value 410 of 5.2 degrees and an azimuth value 415 of 20.3 degrees from the center of the image 400. It is possible to detect the first position value for
  • the electronic device 101 determines the location of the electronic device 101 at the first time based on the location of the electronic device 101 measured at the first time using the position sensor of the electronic device 101.
  • a first position value of the target object may be estimated.
  • the estimated first position value may be a position value on a horizontal coordinate system having the position of the electronic device 101 as an origin. For example, when the electronic device 101 can know the time at which the first image was captured and the location at which the first image was captured, the electronic device 101 determines the actual location of the target object based on the corresponding time and location.
  • a first position value corresponding to may be estimated.
  • the electronic device 101 may determine a first difference value between the first position value of the target object detected in operation 310 and the first position value estimated in operation 315. Based on the first difference value, the electronic device 101 may determine attitude correction data for correcting the attitude of the electronic device 101 determined using the inertial sensor.
  • the first difference value may be a value including an altitude value and a direction value.
  • the electronic device 101 may convert the first difference value into a value on the Cartesian coordinate system.
  • the electronic device 101 may convert the first difference value converted into a value on the Cartesian coordinate system into a value on the world coordinate system based on the attitude of the electronic device 101 determined through the inertial sensor at the first time.
  • the world coordinate system is a single geocentric coordinate system and may be an absolute coordinate system for displaying a location with the center of mass (geometric center) of the earth as the origin.
  • the world coordinate system may be a Cartesian coordinate system.
  • the attitude of the electronic device 101 determined based on the output of the inertial sensor may be determined on a world coordinate system.
  • the attitude of the electronic device 101 determined based on the output of the inertial sensor may be information indicating the degree of rotation of the electronic device 101 with respect to each axis of the world coordinate system.
  • the electronic device 101 Since the posture of the electronic device 101 indicates the degree of rotation of the electronic device 101 with respect to each axis of the world coordinate system, the electronic device 101 uses the posture and the first difference value converted to a value on the Cartesian coordinate system. can be converted to a value on the world coordinate system.
  • the electronic device 101 may convert the first difference value converted into a value on the Cartesian coordinate system into a value on the world coordinate system using Equations 1, 2, and 3, for example.
  • Equation 1 Equation 2, and Equation 3
  • x, y, and z are values of the x-axis, y-axis, and z-axis of the first difference value converted to a Cartesian coordinate system, and is the value of the x-axis, y-axis and z-axis on the world coordinate system, and Means the roll, pitch, and yaw of the electronic device 101 determined using the inertial sensor at the first time, respectively.
  • the electronic device 101 may convert the first difference value converted into a value on the world coordinate system into a first reference posture, which is the posture of the electronic device 101 on the world coordinate system. In an embodiment, the electronic device 101 may determine the reference posture of the electronic device 101 on the world coordinate system using Equations 4, 5, and 6.
  • Equation 4 Equation 5 and Equation 6, and are values of the x-axis, y-axis, and z-axis on the world coordinate system determined in Equations 1, 2, and 3, respectively, and is the first reference posture of the electronic device 101 on the world coordinate system.
  • the difference between the posture of the electronic device 101 determined at the first time using the inertial sensor and the first reference posture may mean an error included in the posture determined using the inertial sensor.
  • the electronic device 101 may determine posture correction data for correcting the posture according to a difference between the posture of the electronic device 101 determined using the inertial sensor and the reference posture.
  • the electronic device 101 may update the posture correction table based on the determined posture correction data.
  • the electronic device 101 may correct the posture by applying the posture correction table to the posture determined through the inertial sensor of the electronic device 101 .
  • Operations 305, 310, 315, 320 and 325 may be periodically and/or iteratively performed using images acquired at different times.
  • FIG. 5 is a diagram for explaining an overview of a method of calibrating an inertial sensor of an electronic device according to an exemplary embodiment.
  • the electronic device 101 corrects the inertial sensor 515 included in the electronic device 101 using images 505 obtained through a camera is briefly illustrated.
  • the electronic device 101 detects the target object 520 from the images 505 and determines the amount of change in the posture of the electronic device 101 based on the position of the target object 520 detected from the images 505.
  • the inertial sensor 515 may be calibrated based on the determined amount of change.
  • the inertial sensor 515 may include at least one of an accelerometer, a gyroscope, and a geomagnetic field.
  • the electronic device 101 calibrates the inertial sensor 515 using the images 505 acquired through the camera of the electronic device 101, thereby calibrating the inertial sensor 515 at a low cost to obtain accurate accuracy.
  • the posture can be obtained, and the accuracy of the posture can be increased by repeatedly calibrating the inertial sensor 515 using several images 505 acquired at different times.
  • the electronic device 101 may automatically acquire images 505 without user input to determine the inertial sensor 515 calibration data, thereby providing the user with an accurate posture even if the user does not recognize the inertial sensor 515 calibration process. can provide
  • the electronic device 101 may detect the target object 520 from the images 505 .
  • the target object 520 may be, for example, a celestial body.
  • the electronic device 101 detects the location values of the target object 520 from the images 505, and uses a location sensor such as GPS to acquire the corresponding images 505 of the target object 520 at the time.
  • Position values can be estimated.
  • the detected location values and the estimated location values of the target object 520 may be location values on a horizontal coordinate system 525 including an altitude value and an azimuth value.
  • the electronic device 101 provides inertial sensor 515 calibration data for calibrating the inertial sensor 515 based on difference values between detected position values and estimated position values of the corresponding target object 520 . can decide The electronic device 101 may update the inertial sensor 515 calibration table based on the inertial sensor 515 calibration data. The electronic device 101 may calibrate the inertial sensor 515 using the inertial sensor 515 calibration table and accurately determine the attitude of the electronic device 101 .
  • FIG. 6 is a flowchart of a method of calibrating an inertial sensor of an electronic device according to an embodiment.
  • an electronic device 101 including a camera for obtaining an image, an inertial sensor for detecting motion of the electronic device 101, and a position sensor for detecting the position of the electronic device 101 when acquiring an image are electronic devices 101
  • a flow diagram of a method for calibrating an inertial sensor of device 101 is shown.
  • the electronic device 101 may detect a target object from a first image acquired through a camera at a first time, and may detect a target object from a second image acquired through a camera at a second time.
  • the target object may be a celestial body such as the sun, moon, or satellite.
  • the electronic device 101 may detect a first position value of the target object in the first image and a second position value of the target object in the second image.
  • the detected first position value and the detected second position value of the target object may be determined based on the angle of view of the camera and the central point of the image.
  • the electronic device 101 may detect the first position value and the second position value of the target object by using view angle information of the camera from the center point of the image.
  • the first location value and the second location value may include an altitude value and a direction value.
  • a target object 710 detected from images acquired through a camera of the electronic device 101 is illustrated.
  • the electronic device 101 may detect the first position value and the second position value of the target object 710 from the center of the image using the angle of view of the camera. For example, in the first image of FIG. 7(A), the electronic device 101 uses the angle of view of the camera to set the target object 710 of an altitude value 715 of 5.2 degrees and an azimuth value 720 of 20.3 degrees from the center of the image. ) It is possible to detect the first position value for. In the second image of FIG. 7 (B) , the electronic device 101 provides an altitude value 725 of 7.5 degrees and a direction value 730 of 9.8 degrees from the center of the image using the angle of view of the camera for the target object 710 . 2 position values can be detected.
  • the electronic device 101 determines the location of the electronic device 101 at the first time based on the location of the electronic device 101 measured at the first time using the position sensor of the electronic device 101.
  • a first position value of the target object may be estimated.
  • the electronic device 101 may estimate the second position value of the target object at the second time based on the measured position of the electronic device 101 at the second time using the position sensor of the electronic device 101 .
  • the estimated first and second position values may be position values on a horizontal coordinate system having the position of the electronic device 101 as an origin.
  • the electronic device 101 determines the actual location of the target object based on the corresponding time and location.
  • a first position value corresponding to may be estimated.
  • the electronic device 101 determines a second image corresponding to the actual location of the target object based on the corresponding time and corresponding location. 2 position values can be estimated.
  • the electronic device 101 detects a first difference value between the first position value of the target object detected in operation 610 and the first position value estimated in operation 615, and in operation 610 A second difference value between the calculated second position value and the second position value estimated in operation 615 may be determined.
  • the first difference value and the second difference value may be values including an altitude value and a direction value.
  • the electronic device 101 may convert the first difference value and the second difference value into values on the Cartesian coordinate system.
  • the electronic device 101 may convert the first difference value converted into a value on the Cartesian coordinate system into a value on the world coordinate system based on the posture of the electronic device 101 at the first time.
  • the electronic device 101 may convert the second difference value converted into a value on the Cartesian coordinate system into a value on the world coordinate system based on the posture of the electronic device 101 at the second time.
  • the world coordinate system is a single geocentric coordinate system and may be an absolute coordinate system for displaying a location with the center of mass (geometric center) of the earth as the origin.
  • the world coordinate system may be a Cartesian coordinate system.
  • the attitude of the electronic device 101 determined through the inertial sensor may be determined on a world coordinate system.
  • the posture of the electronic device 101 determined through the inertial sensor may be information indicating the degree of rotation of the electronic device 101 with respect to each axis of the world coordinate system.
  • the electronic device 101 determines the electronic device 101 through the inertial sensor at the first time and the second time ( Using the posture of 101), the first difference value and the second difference value converted to values on the Cartesian coordinate system may be converted to values on the world coordinate system.
  • the electronic device 101 may convert the first difference value converted into a value on the Cartesian coordinate system into a value on the world coordinate system using Equations 1, 2, and 3, for example.
  • the electronic device 101 may convert the second difference value converted into a value on the Cartesian coordinate system into a value on the world coordinate system.
  • the electronic device 101 may convert the first difference value and the second difference value converted into values on the world coordinate system into a reference posture, which is the posture of the electronic device 101 on the world coordinate system. In an embodiment, the electronic device 101 may determine the first reference posture of the electronic device 101 on the world coordinate system using Equations 4, 5, and 6. Similarly, the electronic device 101 may convert the second difference value converted into a value on the world coordinate system into a second reference posture, which is the posture of the electronic device 101 on the world coordinate system.
  • the electronic device 101 may determine a change rate of the posture of the electronic device 101 between the first time and the second time based on the amount of change between the first reference posture and the second reference posture and the difference between the first time and the second time. there is.
  • the electronic device 101 may determine inertial sensor correction data based on the output value of the inertial sensor between the first time and the second time and the determined attitude change speed.
  • the attitude change speed may include information about accelerations and angular velocities of the x-axis, y-axis, and z-axis of the electronic device 101 on the world coordinate system between the first time and the second time.
  • the electronic device 101 calculates the angular velocity of the attitude change rate as the angular velocity of the x-axis, y-axis, and z-axis of the electronic device 101 on the world coordinate system output during the time between the first time and the second time through the gyroscope of the inertial sensor.
  • the inertial sensor calibration data can be determined.
  • the electronic device 101 calculates the acceleration of the attitude change rate as the x-axis, y-axis, and x-axis of the electronic device 101 on the world coordinate system output during the time between the first time and the second time through an accelerometer of an inertial sensor.
  • the inertial sensor calibration data can be determined.
  • the electronic device 101 may update the inertial sensor calibration table based on the determined inertial sensor calibration data.
  • the inertial sensor calibration table may be a comparison table capable of correcting a difference between a raw value before calibration of the inertial sensor and a true value.
  • the electronic device 101 may calibrate the inertial sensor by applying the inertial sensor calibration table to the inertial sensor of the electronic device 101 .
  • Operations 605, 610, 615, 620 and 625 may be periodically and/or iteratively performed using images acquired at different times.
  • the electronic device 101 may perform all of operations 305, 310, 315, 320, and 325 of FIG. 3 and operations 605, 610, 615, 620, and 625 of FIG. .
  • FIG. 8 is a diagram for explaining a data flow of an electronic device according to an exemplary embodiment.
  • inertial sensor 805 and position sensor 830 may be included in sensor module 176 of FIG. 1 .
  • the inertial sensor 805 includes an accelerometer 810, a gyroscope 815 and a magnetometer 820, where the accelerometer 810, the gyroscope 815 and the magnetometer 820 are calibrated prior to calibration.
  • Raw values 835, 840, and 845 may be output.
  • the electronic device 101 applies the inertial sensor correction table 850 to the low values 835, 840, and 845 of the accelerometer 810, the gyroscope 815, and the earth magnetometer 820, and corrects the corrected values.
  • the posture 860 of the electronic device 101 may be determined using the position 860 .
  • the inertial sensor correction table 850 includes an accelerometer correction table 851 applied to the accelerometer 810, a gyroscope correction table 853 applied to the gyroscope 815, and an earth magnetometer 820 applied to the inertial sensor correction table 850.
  • a geomagnetic field correction table 855 may be included.
  • the camera 825 may obtain images 865 and the position sensor 830 may output altitude, longitude, latitude, and time as the position 875 of the electronic device 101 .
  • the camera 825 may acquire a first image at a first time and a second image at a second time.
  • the electronic device 101 detects a target object (eg, the target object 710 of FIG. 7 ) using the first image and the second image acquired by the camera 825, and the first position value 870 of the target object. ) and the second position value 870 can be detected.
  • the electronic device 101 may estimate the first position value 880 and the second position value 880 of the target object at the first and second times using the output of the position sensor 830 .
  • the electronic device 101 determines a first difference value 885 between the detected first position value 870 and the estimated first position value 880, and determines the detected second position value 870 and the estimated first position value 880.
  • a second difference value 885 between the two position values 880 may be determined.
  • the electronic device 101 converts the first difference value 885 into a value 890 on the world coordinate system using the attitude 860 of the electronic device 101 determined using the inertial sensor 805 at the first time, and , the second difference value 885 may be converted into a value 890 on the world coordinate system using the posture 860 of the electronic device 101 determined using the inertial sensor 805 at the second time.
  • the electronic device 101 may determine a first reference posture and a second reference posture based on the first difference value 890 and the second difference value 890 converted into values on the world coordinate system.
  • the electronic device 101 may determine a change rate of the posture of the electronic device 101 between the first time and the second time based on the amount of change between the first reference posture and the second reference posture and the difference between the first time and the second time. there is.
  • the electronic device 101 calculates the change in attitude 860 of the electronic device 101 measured using the inertial sensor 805 between the first time and the second time and the first difference value 890 converted into a value on the world coordinate system. ) and the attitude change rate determined based on the second difference value 890 to determine the inertial sensor correction data 895 .
  • the electronic device 101 may update the inertial sensor calibration table 850 based on the determined inertial sensor calibration data 895 .
  • the electronic device 101 may calibrate the inertial sensor 805 by applying the inertial sensor calibration table 850 to the inertial sensor 805 of the electronic device 101 .
  • the electronic device 101 includes a camera 825 for obtaining an image, an inertial sensor 805 for detecting a motion of the electronic device 101, and a location for detecting the position of the electronic device 101 when acquiring an image. It includes a processor 120 that controls the sensor 830 and the camera 825, the inertial sensor 805, and the position sensor 830, the processor 120, the first time (time) obtained at the first time (time) The first position value of the target object is detected in 1 image, the first position value of the target object is estimated based on the position value measured by the position sensor 830 at the first time, and the detected first position value and Based on the first difference value between the estimated first position values, posture correction data for correcting the posture of the electronic device 101 determined through the inertial sensor 805 may be determined.
  • the processor 120 may detect the first position value based on information on the angle of view of the camera 825 and the center of the first image.
  • the processor 120 converts the first difference value on the horizontal coordinate system into a value on the world coordinate system based on the attitude of the electronic device 101 measured at the first time through the inertial sensor 805, and converts the value on the world coordinate system.
  • a first reference posture may be determined based on the first difference value converted to
  • posture correction data may be determined based on a difference between the first reference posture and the posture of the electronic device 101 measured at the first time.
  • the processor 120 converts the first difference value on the horizontal coordinate system into a value on the Cartesian coordinate system, and converts the first difference value converted into a value on the Cartesian coordinate system based on the posture of the electronic device 101 measured at the first time. It can be converted to a value in the world coordinate system.
  • the processor 120 may update the posture correction table based on the determined posture correction data.
  • the processor 120 may correct the posture of the electronic device 101 determined through the inertial sensor 805 based on the updated posture correction table.
  • the processor 120 detects a second position value of the target object from a second image obtained at a second time, and based on the position value measured by the position sensor 830 at the second time, the target object Estimating the second position value of the inertia based on the first difference value between the detected first position value and the estimated first position value and the second difference value between the detected second position value and the estimated second position value
  • Inertial sensor 805 calibration data for calibrating sensor 805 may be determined.
  • the processor 120 converts the first difference value on the horizontal coordinate system into a value on the world coordinate system based on the attitude of the electronic device 101 at the first time, and based on the first difference value converted into the value on the world coordinate system. to determine the first reference posture, and based on the posture of the electronic device 101 at the second time, the second difference value on the horizontal coordinate system is converted into a value on the world coordinate system, and the second difference converted into a value on the world coordinate system
  • a second reference posture is determined based on the value
  • a posture change rate between a first time and a second time is determined based on the first and second reference postures
  • an inertial sensor between the first time and the second time ( Correction data of the inertial sensor 805 may be determined based on the output value of 805 and the attitude change rate.
  • the processor 120 may update the inertial sensor calibration table 850 based on the determined inertial sensor 805 calibration data.
  • the processor 120 may calibrate the inertial sensor 805 based on the updated inertial sensor calibration table 850 .
  • the electronic device 101 includes a camera 825 for obtaining an image, an inertial sensor 805 for detecting a motion of the electronic device 101, and a location for detecting the position of the electronic device 101 when acquiring an image. It includes a processor 120 that controls the sensor 830 and the camera 825, the inertial sensor 805, and the position sensor 830, the processor 120, the first time (time) obtained at the first time (time) Detect the first position value of the target object in 1 image, estimate the first position value of the target object based on the position value measured by the position sensor 830 at the first time, and at the second time (time) The second position value of the target object is detected in the acquired second image, the second position value of the target object is estimated based on the position value measured by the position sensor 830 at a second time, and the detected first position value is determined. Inertial sensor 805 for calibrating the inertial sensor 805 based on a first difference value between the position value and the estimated first position value and a second difference value between the detected
  • the processor 120 detects a first position value based on the angle of view information of the camera 825 and the center of the first image, and detects a second position value based on the angle of view information of the camera 825 and the center of the second image. can be detected.
  • the processor 120 converts the first difference value on the horizontal coordinate system into a value on the world coordinate system based on the attitude of the electronic device 101 at the first time, and based on the first difference value converted into the value on the world coordinate system. to determine the first reference posture, and based on the posture of the electronic device 101 at the second time, the second difference value on the horizontal coordinate system is converted into a value on the world coordinate system, and the second difference converted into a value on the world coordinate system
  • a second reference posture is determined based on the value
  • a posture change rate between a first time and a second time is determined based on the first and second reference postures
  • an inertial sensor between the first time and the second time ( Correction data of the inertial sensor 805 may be determined based on the output value of 805 and the attitude change rate.
  • the processor 120 converts the first difference value on the horizontal coordinate system into a value on the Cartesian coordinate system, and converts the first difference value converted into a value on the Cartesian coordinate system based on the posture of the electronic device 101 at the first time into a world coordinate system. Converts the second difference value on the horizontal coordinate system into a value on the Cartesian coordinate system, and converts the second difference value converted into a value on the Cartesian coordinate system based on the posture of the electronic device 101 at the second time in the world coordinate system. can be converted to a value of
  • the processor 120 may update the inertial sensor calibration table 850 based on the determined inertial sensor 805 calibration data and calibrate the inertial sensor 805 based on the updated inertial sensor calibration table 850. there is.
  • a method for calibrating an inertial sensor 805 includes an operation of detecting a first position value of a target object from a first image acquired at a first time using a camera of an electronic device, and an electronic device at the first time. An operation of estimating a first position value of the target object based on the position value measured by the position sensor 830 of the device 101, and a first difference value between the detected first position value and the estimated first position value An operation of determining posture correction data for correcting the posture of the electronic device 101 determined through the inertial sensor 805 based on the .
  • the operation of determining the posture correction data includes an operation of converting the first difference value on the horizontal coordinate system into a value of the world coordinate system based on the posture of the electronic device 101 at the first time, and the operation of converting the first difference value into a value of the world coordinate system.
  • a method for correcting an inertial sensor 805 includes an operation of updating a posture correction table based on determined posture correction data, and an electronic device determined through the inertial sensor 805 based on the updated posture correction table ( 101) may further include an operation of correcting the posture.
  • a method for correcting an inertial sensor 805 includes an operation of detecting a second position value of a target object from a second image obtained at a second time using a camera, and a position sensor 830 at the second time. An operation of estimating a second position value of the target object based on a position value measured by ), and a first difference value between the detected first position value and the estimated first position value and the detected second position value and estimation An operation of determining correction data of the inertial sensor 805 for calibrating the inertial sensor 805 based on the second difference between the second position values may be further included.
  • Electronic devices may be devices of various types.
  • the electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a camera
  • a wearable device e.g., a smart bracelet
  • first, second, or first or secondary may simply be used to distinguish that component from other corresponding components, and may refer to that component in other respects (eg, importance or order) is not limited.
  • a (eg, first) component is said to be “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively.”
  • the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logical blocks, parts, or circuits.
  • a module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • a storage medium eg, internal memory 136 or external memory 138
  • a machine eg, electronic device 101
  • a processor eg, the processor 120
  • a device eg, the electronic device 101
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • the device-readable storage medium may be provided in the form of a non-transitory storage medium.
  • the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.
  • a signal e.g. electromagnetic wave
  • the method according to various embodiments disclosed in this document may be included and provided in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • a computer program product is distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play StoreTM) or on two user devices (e.g. It can be distributed (eg downloaded or uploaded) online, directly between smart phones.
  • a device-readable storage medium e.g. compact disc read only memory (CD-ROM)
  • an application store e.g. Play StoreTM
  • two user devices e.g. It can be distributed (eg downloaded or uploaded) online, directly between smart phones.
  • at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.
  • each component (eg, module or program) of the above-described components may include a single object or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. there is.
  • one or more components or operations among the aforementioned corresponding components may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg modules or programs
  • the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. .
  • the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.

Abstract

Disclosed are an image-based inertial sensor correction method and an electronic device for performing same. The electronic device comprises: a camera for acquiring an image; an inertial sensor for sensing movements of the electronic device; a position sensor for sensing the position of the electronic device at the time the image is acquired; and a processor for controlling the camera, the inertial sensor, and the position sensor. The processor may: detect a first position value of a target object from a first image acquired at a first time; estimate the first position value of the target object on the basis of the position value measured by the position sensor at the first time; and determine posture correction data for correcting the posture of the electronic device determined by means of the inertial sensor, the data being determined on the basis of a first difference value between the detected first position value and the estimated first position value.

Description

영상 기반 관성 센서 보정 방법 및 이를 수행하는 전자 장치Image-based inertial sensor calibration method and electronic device performing the same
아래 실시예들은 영상 기반 관성 센서 보정 기술에 관한 것이다.The embodiments below relate to image-based inertial sensor calibration techniques.
전자 장치의 위치, 자세 및 방향 정보를 추정하기 위해 가속도계, 자이로스코프 및 지자계 중 적어도 하나를 포함하는 관성 센서와 GPS(global positioning system)와 같은 위치 센서가 함께 사용될 수 있다.An inertial sensor including at least one of an accelerometer, a gyroscope, and a geomagnetic field may be used together with a location sensor such as a global positioning system (GPS) to estimate position, posture, and direction information of the electronic device.
전자 장치에 포함된 센서는 주변 환경에 따라 오차가 발생될 수 있고, 관성 센서는 전자 장치의 자세를 추적할 때에 시간이 지남에 따라 누적 오차가 발생할 수 있다.Sensors included in the electronic device may generate errors depending on the surrounding environment, and inertial sensors may generate accumulated errors over time when tracking the posture of the electronic device.
일 실시예에 따른 영상 기반 관성 센서 보정 방법 및 이를 수행하는 전자 장치는 영상에 포함된 정보를 이용하여 관성 센서의 출력에 기초하여 결정된 자세 및 관성 센서를 보정할 수 있다.An image-based inertial sensor calibration method and an electronic device performing the method according to an embodiment may calibrate a posture determined based on an output of an inertial sensor and an inertial sensor using information included in an image.
일 실시예에 따른 전자 장치는 영상을 획득하는 카메라, 상기 전자 장치의 움직임을 감지하는 관성 센서, 상기 영상 획득 시 상기 전자 장치의 위치를 감지하는 위치 센서, 및 상기 카메라, 상기 관성 센서, 및 상기 위치 센서를 제어하는 프로세서를 포함할 수 있다. 상기 프로세서는, 제1 시간(time)에서 획득된 제1 영상에서 타겟 객체의 제1 위치 값을 검출하고, 상기 제1 시간에서 상기 위치 센서에 의해 측정된 위치 값에 기초하여 상기 타겟 객체의 제1 위치 값을 추정할 수 이다. 상기 프로세서는, 상기 검출된 제1 위치 값과 상기 추정된 상기 제1 위치 값 간의 제1 차이 값에 기초하여 상기 관성 센서를 통해 결정된 상기 전자 장치의 자세를 보정하기 위한 자세 보정 데이터를 결정할 수 있다. An electronic device according to an embodiment includes a camera acquiring an image, an inertial sensor detecting motion of the electronic device, a position sensor detecting a position of the electronic device when acquiring the image, and the camera, the inertial sensor, and the A processor controlling the position sensor may be included. The processor detects a first position value of a target object in a first image obtained at a first time, and the first position value of the target object is detected based on the position value measured by the position sensor at the first time. 1 position value can be estimated. The processor may determine posture correction data for correcting the posture of the electronic device determined through the inertial sensor based on a first difference between the detected first position value and the estimated first position value. .
일 실시예에 따른 전자 장치는 영상을 획득하는 카메라, 상기 전자 장치의 움직임을 감지하는 관성 센서, 상기 영상 획득 시 상기 전자 장치의 위치를 감지하는 위치 센서, 및 상기 카메라, 상기 관성 센서, 및 상기 위치 센서를 제어하는 프로세서를 포함할 수 있다. 상기 프로세서는, 제1 시간에서 획득된 제1 영상에서 타겟 객체의 제1 위치 값을 검출하고, 상기 제1 시간에서 상기 위치 센서에 의해 측정된 위치 값에 기초하여 상기 타겟 객체의 제1 위치 값을 추정할 수 있다. 상기 프로세서는, 제2 시간(time)에서 획득된 제2 영상에서 타겟 객체의 제2 위치 값을 검출하고, 상기 제2 시간에서 상기 위치 센서에 의해 측정된 위치 값에 기초하여 상기 타겟 객체의 제2 위치 값을 추정할 수 있다. 상기 프로세서는, 상기 검출된 제1 위치 값과 상기 추정된 상기 제1 위치 값 간의 제1 차이 값 및 상기 검출된 제2 위치 값과 상기 추정된 제2 위치 값 간의 제2 차이 값에 기초하여 상기 관성 센서를 보정하기 위한 관성 센서 보정 데이터를 결정할 수 있다.An electronic device according to an embodiment includes a camera acquiring an image, an inertial sensor detecting motion of the electronic device, a position sensor detecting a position of the electronic device when acquiring the image, and the camera, the inertial sensor, and the A processor controlling the position sensor may be included. The processor detects a first position value of a target object from a first image obtained at a first time, and the first position value of the target object based on the position value measured by the position sensor at the first time. can be estimated. The processor detects a second position value of a target object from a second image obtained at a second time, and the second position value of the target object is detected based on the position value measured by the position sensor at the second time. 2 position values can be estimated. The processor performs the processing based on a first difference value between the detected first position value and the estimated first position value and a second difference value between the detected second position value and the estimated second position value. Inertial sensor calibration data for calibrating the inertial sensor may be determined.
일 실시예에 따른 전자 장치의 관성 센서를 보정하는 방법은 상기 전자 장치의 카메라를 이용하여 제1 시간(time)에서 획득된 제1 영상에서 타겟 객체의 제1 위치 값을 검출하는 동작, 상기 제1 시간에서 상기 전자 장치의 위치 센서에 의해 측정된 위치 값에 기초하여 상기 타겟 객체의 제1 위치 값을 추정하는 동작, 및 상기 검출된 제1 위치 값과 상기 추정된 상기 제1 위치 값 간의 제1 차이 값에 기초하여 상기 관성 센서를 통해 결정된 상기 전자 장치의 자세를 보정하기 위한 자세 보정 데이터를 결정하는 동작을 포함할 수 있다.A method for calibrating an inertial sensor of an electronic device according to an embodiment includes an operation of detecting a first position value of a target object from a first image obtained at a first time using a camera of the electronic device, An operation of estimating a first position value of the target object based on a position value measured by a position sensor of the electronic device at 1 hour, and a difference between the detected first position value and the estimated first position value An operation of determining posture correction data for correcting the posture of the electronic device determined through the inertial sensor based on the first difference value.
도 1은 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.1 is a block diagram of an electronic device in a network environment according to various embodiments.
도 2는 일 실시예 따른 전자 장치의 자세를 보정하는 방법의 개요를 설명하기 위한 도면이다.2 is a diagram for explaining an outline of a method of correcting a posture of an electronic device according to an exemplary embodiment.
도 3은 일 실시예 따른 전자 장치의 자세를 보정하는 방법의 흐름도이다.3 is a flowchart of a method of correcting a posture of an electronic device according to an exemplary embodiment.
도 4는 일 실시예에 따른 전자 장치의 카메라를 통해 획득된 영상에서 검출된 타겟 객체의 위치 값을 설명하기 위한 도면이다.4 is a diagram for explaining a position value of a target object detected from an image acquired through a camera of an electronic device according to an embodiment.
도 5는 일 실시예 따른 전자 장치의 관성 센서를 보정하는 방법의 개요를 설명하기 위한 도면이다.5 is a diagram for explaining an overview of a method of calibrating an inertial sensor of an electronic device according to an exemplary embodiment.
도 6은 일 실시예에 따른 전자 장치의 관성 센서를 보정하는 방법의 흐름도이다.6 is a flowchart of a method of calibrating an inertial sensor of an electronic device according to an embodiment.
도 7은 일 실시예에 따른 전자 장치의 카메라를 통해 획득된 영상들에서 검출된 타겟 객체의 위치 값들을 설명하기 위한 도면이다.7 is a diagram for explaining position values of a target object detected from images obtained through a camera of an electronic device according to an exemplary embodiment.
도 8은 일 실시예에 따른 전자 장치의 데이터 흐름을 설명하기 위한 도면이다.8 is a diagram for explaining a data flow of an electronic device according to an exemplary embodiment.
이하, 실시예들을 첨부된 도면들을 참조하여 상세하게 설명한다. 첨부 도면을 참조하여 설명함에 있어, 도면 부호에 관계없이 동일한 구성 요소는 동일한 참조 부호를 부여하고, 이에 대한 중복되는 설명은 생략하기로 한다.Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. In the description with reference to the accompanying drawings, the same reference numerals are given to the same components regardless of reference numerals, and overlapping descriptions thereof will be omitted.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an electronic device 101 within a network environment 100, according to various embodiments. Referring to FIG. 1 , in a network environment 100, an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or through a second network 199. It may communicate with at least one of the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio output module 155, a display module 160, an audio module 170, a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or the antenna module 197 may be included. In some embodiments, in the electronic device 101, at least one of these components (eg, the connection terminal 178) may be omitted or one or more other components may be added. In some embodiments, some of these components (eg, sensor module 176, camera module 180, or antenna module 197) are integrated into a single component (eg, display module 160). It can be.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, the processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 . According to one embodiment, the processor 120 may include a main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor). For example, when the electronic device 101 includes the main processor 121 and the auxiliary processor 123, the auxiliary processor 123 may use less power than the main processor 121 or be set to be specialized for a designated function. can The secondary processor 123 may be implemented separately from or as part of the main processor 121 .
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The secondary processor 123 may, for example, take the place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, running an application). ) state, together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to one embodiment, the auxiliary processor 123 (eg, image signal processor or communication processor) may be implemented as part of other functionally related components (eg, camera module 180 or communication module 190). there is. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where the artificial intelligence model is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning or reinforcement learning, but in the above example Not limited. The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the foregoing, but is not limited to the foregoing examples. The artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101 . The data may include, for example, input data or output data for software (eg, program 140) and commands related thereto. The memory 130 may include volatile memory 132 or non-volatile memory 134 .
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 and may include, for example, an operating system 142 , middleware 144 , or an application 146 .
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive a command or data to be used by a component (eg, the processor 120) of the electronic device 101 from the outside of the electronic device 101 (eg, a user). The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output sound signals to the outside of the electronic device 101 . The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. A receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 may visually provide information to the outside of the electronic device 101 (eg, a user). The display module 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module 160 may include a touch sensor set to detect a touch or a pressure sensor set to measure the intensity of force generated by the touch.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert sound into an electrical signal or vice versa. According to one embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do. According to one embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a bio sensor, It may include a temperature sensor, humidity sensor, or light sensor.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device 101 to an external electronic device (eg, the electronic device 102). According to one embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 may be physically connected to an external electronic device (eg, the electronic device 102). According to one embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert electrical signals into mechanical stimuli (eg, vibration or motion) or electrical stimuli that a user may perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to one embodiment, the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). Establishment and communication through the established communication channel may be supported. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : a local area network (LAN) communication module or a power line communication module). Among these communication modules, a corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, a legacy communication module). It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a telecommunications network such as a computer network (eg, a LAN or a WAN). These various types of communication modules may be integrated as one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips). The wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199. The electronic device 101 may be identified or authenticated.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology). NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)). -latency communications)) can be supported. The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported. The wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199). According to one embodiment, the wireless communication module 192 is a peak data rate for eMBB realization (eg, 20 Gbps or more), a loss coverage for mMTC realization (eg, 164 dB or less), or a U-plane latency for URLLC realization (eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) may be supported.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module 197 may transmit or receive signals or power to the outside (eg, an external electronic device). According to one embodiment, the antenna module 197 may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is selected from the plurality of antennas by the communication module 190, for example. can be chosen A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module 197 in addition to the radiator.
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( e.g. commands or data) can be exchanged with each other.
일실시예에 따르면, 명령 또는 데이터는 제2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.According to an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or part of operations executed in the electronic device 101 may be executed in one or more external electronic devices among the external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service by itself. Alternatively or additionally, one or more external electronic devices may be requested to perform the function or at least part of the service. One or more external electronic devices receiving the request may execute at least a part of the requested function or service or an additional function or service related to the request, and deliver the execution result to the electronic device 101 . The electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed. To this end, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an internet of things (IoT) device. Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199 . The electronic device 101 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
도 2는 일 실시예 따른 전자 장치의 자세를 보정하는 방법의 개요를 설명하기 위한 도면이다.2 is a diagram for explaining an outline of a method of correcting a posture of an electronic device according to an exemplary embodiment.
전자 장치(101)의 위치, 자세 및 방향 정보를 추정하기 위해 가속도계, 자이로스코프 및 지자계 중 적어도 하나를 포함하는 관성 센서(inertial measurement unit; IMU), 및 GPS(global positioning system)와 같은 위치 센서가 함께 사용될 수 있다. 예를 들어, 관성 센서 및 위치 센서는 도 1의 센서 모듈(176)에 포함될 수 있다.A location sensor such as an inertial measurement unit (IMU) including at least one of an accelerometer, a gyroscope, and a geomagnetic field, and a global positioning system (GPS) to estimate the position, posture, and orientation information of the electronic device 101. can be used together. For example, inertial sensors and position sensors may be included in sensor module 176 of FIG. 1 .
관성 센서는 가속도계, 자이로스코프 및 지자계 중 적어도 하나를 이용하여 전자 장치(101)의 자세를 결정할 수 있다. 전자 장치(101)의 자세는 전자 장치(101)의 롤(roll), 피치(ptich) 및 요(yaw)에 대한 정보를 포함할 수 있다.The inertial sensor may determine the attitude of the electronic device 101 using at least one of an accelerometer, a gyroscope, and a geomagnetic field. The attitude of the electronic device 101 may include information about the roll, pitch, and yaw of the electronic device 101 .
전자 장치(101)에 포함된 관성 센서에서는 주변 환경에 따라 오차가 발생될 수 있다. 관성 센서는 전자 장치(101)의 자세를 추적할 때에 시간이 지남에 따라 누적 오차가 발생할 수 있다. 전자 장치(101)가 전자 장치(101)의 관성 센서를 이용하여 전자 장치(101)의 자세를 추정하는 경우, 관성 센서의 오차로 인해 추정된 자세에 오차가 있을 수 있고, 보다 정확한 결과를 얻기 위해 보정이 필요할 수 있다.An error may occur in the inertial sensor included in the electronic device 101 depending on the surrounding environment. Accumulated errors may occur over time when the inertial sensor tracks the posture of the electronic device 101 . When the electronic device 101 estimates the attitude of the electronic device 101 using the inertial sensor of the electronic device 101, there may be an error in the estimated attitude due to the error of the inertial sensor, and more accurate results may be obtained. correction may be required.
일 실시예에서, 전자 장치(101)는 전자 장치(101)의 카메라(예: 도 1의 카메라 모듈(180))를 통해 획득된 영상(205)을 이용하여 전자 장치(101)의 자세를 보정할 수 있다. 도 2를 참조하면, 전자 장치(101)가 카메라를 통해 획득된 영상(205)을 이용하여 전자 장치(101)의 자세를 보정하는 과정이 간략하게 도시되어 있다. 전자 장치(101)는 영상(205)에서 타겟 객체(220)를 검출하고, 검출된 타겟 객체(220)의 위치에 기초하여 전자 장치(101)의 자세를 보정할 수 있다.In one embodiment, the electronic device 101 corrects the posture of the electronic device 101 using the image 205 acquired through the camera (eg, the camera module 180 of FIG. 1 ) of the electronic device 101 . can do. Referring to FIG. 2 , a process of correcting a posture of the electronic device 101 using an image 205 acquired through a camera is briefly illustrated. The electronic device 101 may detect the target object 220 in the image 205 and correct the posture of the electronic device 101 based on the detected location of the target object 220 .
일 실시예에서, 전자 장치(101)는 영상(205)을 획득하는 카메라, 전자 장치(101)의 움직임을 감지하는 관성 센서 및 영상(205) 획득 시 전자 장치(101)의 위치를 감지하는 위치 센서를 포함할 수 있다. In one embodiment, the electronic device 101 includes a camera for acquiring the image 205, an inertial sensor for detecting the motion of the electronic device 101, and a location for detecting the position of the electronic device 101 when the image 205 is acquired. May contain sensors.
전자 장치(101)는 카메라를 이용하여 영상(205)을 획득할 수 있다. 전자 장치(101)는 전자 장치(101)의 센서를 이용하여 전자 장치(101)의 자세를 결정할 수 있다. 도 2에서, 카메라를 통해 획득된 영상(205) 상에 전자 장치(101)의 센서를 이용하여 결정된 전자 장치(101)가 향하는 방향(210) 및 전자 장치(101)가 향하는 실제 방향(215)이 도시되어 있다. 전자 장치(101)가 향하는 방향(210)은 전자 장치(101)는 센서를 이용하여 결정된 전자 장치(101)의 자세에 대응되는 방향일 수 있고, 전자 장치(101)가 향하는 실제 방향(215)은 전자 장치(101)의 실제 자세에 대응되는 방향일 수 있다. 센서의 오차로 인해 센서를 이용하여 결정된 전자 장치(101)의 자세에 오차가 있을 수 있다.The electronic device 101 may obtain an image 205 using a camera. The electronic device 101 may determine the posture of the electronic device 101 using a sensor of the electronic device 101 . In FIG. 2 , a direction 210 toward which the electronic device 101 is headed determined by using a sensor of the electronic device 101 on an image 205 obtained through a camera and an actual direction 215 toward which the electronic device 101 is headed this is shown The direction 210 toward which the electronic device 101 faces may be a direction corresponding to the posture of the electronic device 101 determined using a sensor, and is the actual direction 215 toward which the electronic device 101 faces. may be a direction corresponding to the actual posture of the electronic device 101 . Due to the error of the sensor, there may be an error in the attitude of the electronic device 101 determined using the sensor.
일 실시예에서, 전자 장치(101)는 영상(205)에서 타겟 객체(220)를 검출할 수 있다. 타겟 객체(220)는, 예를 들어, 천체일 수 있다. 전자 장치(101)는 영상(205)에서 타겟 객체(220)의 위치 값을 검출하고, GPS와 같은 위치 센서를 이용하여 해당 영상(205)을 획득한 시간에 해당 타겟 객체(220)의 위치 값을 추정할 수 있다. 예를 들어, 타겟 객체(220)의 검출된 위치 값 및 추정된 위치 값은 고도(altitude) 값 및 방위(azimuth) 값을 포함하는 지평 좌표계(225) 상의 위치 값일 수 있다.In one embodiment, the electronic device 101 may detect the target object 220 in the image 205 . The target object 220 may be, for example, a celestial body. The electronic device 101 detects the position value of the target object 220 from the image 205 and uses a position sensor such as GPS to acquire the position value of the target object 220 at the time when the corresponding image 205 is acquired. can be estimated. For example, the detected position value and the estimated position value of the target object 220 may be a position value on the horizontal coordinate system 225 including an altitude value and an azimuth value.
일 실시예에서, 전자 장치(101)는 해당 타겟 객체(220)의 검출된 위치 값과 추정된 위치 값 간의 차이 값에 기초하여 전자 장치(101)의 자세를 보정하기 위한 자세 보정 데이터를 결정할 수 있다. 전자 장치(101)는 결정된 자세 보정 데이터에 기초하여 자세 보정 테이블을 업데이트할 수 있다. 자세 보정 테이블은 센서를 통해 결정된 전자 장치(101)의 자세와 전자 장치(101)의 실제 자세 사이 차이를 보정할 수 있는 비교 테이블일 수 있다. 전자 장치(101)는 자세 보정 테이블을 이용하여 전자 장치(101)의 자세를 보정할 수 있고, 전자 장치(101)가 향하는 실제 방향(215)에 대응되는 자세를 결정할 수 있다.In an embodiment, the electronic device 101 may determine posture correction data for correcting the posture of the electronic device 101 based on a difference value between the detected position value and the estimated position value of the corresponding target object 220 . there is. The electronic device 101 may update the posture correction table based on the determined posture correction data. The posture correction table may be a comparison table capable of correcting a difference between the posture of the electronic device 101 determined through the sensor and the actual posture of the electronic device 101 . The electronic device 101 may correct the posture of the electronic device 101 using the posture correction table, and may determine a posture corresponding to the actual direction 215 toward which the electronic device 101 faces.
일 실시예에서, 전자 장치(101)가 전자 장치(101)의 카메라를 통해 획득한 영상(205)을 이용하여 전자 장치(101)의 자세를 보정함으로써 적은 비용으로 전자 장치(101)의 자세를 보정하여 정확한 자세를 얻을 수 있으며, 서로 다른 시간에 획득된 여러 개의 영상(205)을 이용하여 반복적으로 보정함으로써 자세의 정확도를 높일 수 있다. 전자 장치(101)는 사용자 입력 없이 자동으로 영상(205)을 획득하여 자세 보정 데이터를 결정할 수 있고, 이로써 사용자가 자세 보정 과정을 인지하지 않더라도 사용자에게 정확한 자세를 제공할 수 있다.In an embodiment, the electronic device 101 corrects the posture of the electronic device 101 using the image 205 obtained through the camera of the electronic device 101, thereby correcting the posture of the electronic device 101 at a low cost. An accurate posture can be obtained by correcting, and the accuracy of the posture can be increased by repeatedly correcting using several images 205 acquired at different times. The electronic device 101 may automatically acquire the image 205 without user input to determine posture correction data, thereby providing the user with an accurate posture even if the user is not aware of the posture correction process.
이하, 도 3을 참조하여 전자 장치(101)의 자세 보정 방법에 대해 설명한다.Hereinafter, a posture correction method of the electronic device 101 will be described with reference to FIG. 3 .
도 3은 일 실시예 따른 전자 장치의 자세를 보정하는 방법의 흐름도이다.3 is a flowchart of a method of correcting a posture of an electronic device according to an exemplary embodiment.
도 3을 참조하면, 영상을 획득하는 카메라, 전자 장치(101)의 움직임을 감지하는 관성 센서 및 영상 획득 시 전자 장치(101)의 위치를 감지하는 위치 센서를 포함하는 전자 장치(101)가 전자 장치(101)의 관성 센서를 이용하여 결정된 전자 장치(101)의 자세를 보정하는 방법의 흐름도가 도시되어 있다.Referring to FIG. 3 , an electronic device 101 including a camera acquiring an image, an inertial sensor detecting motion of the electronic device 101, and a position sensor detecting the position of the electronic device 101 when acquiring an image is electronic A flowchart of a method of correcting the attitude of the electronic device 101 determined by using the inertial sensor of the device 101 is shown.
동작(305)에서, 전자 장치(101)는 제1 시간에 카메라를 통해 획득된 제1 영상에서 타겟 객체를 검출할 수 있다. 예를 들어, 타겟 객체는 태양, 달, 인공위성과 같은 천체일 수 있다.In operation 305, the electronic device 101 may detect a target object from a first image obtained through a camera at a first time. For example, the target object may be a celestial body such as the sun, moon, or satellite.
동작(310)에서, 전자 장치(101)는 제1 영상에서 타겟 객체의 제1 위치 값을 검출할 수 있다. 타겟 객체의 검출된 제1 위치 값은 카메라의 화각 및 영상의 중심점에 기초하여 결정될 수 있다. 예를 들어, 전자 장치(101)는 영상의 중심점으로부터 카메라의 화각 정보를 이용하여, 타겟 객체의 제1 위치 값을 검출할 수 있다. 제1 위치 값은 고도 값 및 방위 값을 포함할 수 있다.In operation 310, the electronic device 101 may detect a first position value of the target object in the first image. The detected first position value of the target object may be determined based on the angle of view of the camera and the central point of the image. For example, the electronic device 101 may detect the first position value of the target object from the center point of the image by using information about the angle of view of the camera. The first location value may include an altitude value and a direction value.
예를 들어, 도 4를 참조하면 전자 장치(101)의 카메라를 통해 획득된 영상(400)에서 검출된 타겟 객체(405)가 도시되어 있다.For example, referring to FIG. 4 , a target object 405 detected in an image 400 obtained through a camera of the electronic device 101 is illustrated.
전자 장치(101)는 카메라의 화각을 이용하여, 영상(400)의 중심으로부터 타겟 객체(405)의 제1 위치 값을 검출할 수 있다. 예를 들어, 전자 장치(101)는 도 4의 예에서, 카메라의 화각을 이용하여 영상(400)의 중심으로부터 고도 값(410) 5.2도 및 방위 값(415) 20.3도의 타겟 객체(405)에 대한 제1 위치 값을 검출할 수 있다.The electronic device 101 may detect the first position value of the target object 405 from the center of the image 400 using the angle of view of the camera. For example, in the example of FIG. 4 , the electronic device 101 uses the angle of view of the camera to a target object 405 having an elevation value 410 of 5.2 degrees and an azimuth value 415 of 20.3 degrees from the center of the image 400. It is possible to detect the first position value for
다시 도 3을 참조하면, 동작(315)에서, 전자 장치(101)는 전자 장치(101)의 위치 센서를 이용하여 제1 시간에 측정된 전자 장치(101)의 위치에 기초하여 제1 시간의 타겟 객체의 제1 위치 값을 추정할 수 있다. 추정된 제1 위치 값은 전자 장치(101)의 위치를 원점으로 하는 지평 좌표계 상의 위치 값일 수 있다. 예를 들어, 전자 장치(101)가 제1 영상을 촬영한 시간, 제1 영상을 촬영한 위치를 알 수 있는 경우, 전자 장치(101)는 해당 시간 및 해당 위치에 기초하여 타겟 객체의 실제 위치에 대응되는 제1 위치 값을 추정할 수 있다.Referring back to FIG. 3 , in operation 315, the electronic device 101 determines the location of the electronic device 101 at the first time based on the location of the electronic device 101 measured at the first time using the position sensor of the electronic device 101. A first position value of the target object may be estimated. The estimated first position value may be a position value on a horizontal coordinate system having the position of the electronic device 101 as an origin. For example, when the electronic device 101 can know the time at which the first image was captured and the location at which the first image was captured, the electronic device 101 determines the actual location of the target object based on the corresponding time and location. A first position value corresponding to may be estimated.
동작(320)에서, 전자 장치(101)는 타겟 객체의 동작(310)에서 검출된 제1 위치 값과 동작(315)에서 추정된 제1 위치 값 간 제1 차이 값을 결정할 수 있다. 전자 장치(101)는 제1 차이 값에 기초하여, 관성 센서를 이용하여 결정된 전자 장치(101)의 자세를 보정하기 위한 자세 보정 데이터를 결정할 수 있다.In operation 320, the electronic device 101 may determine a first difference value between the first position value of the target object detected in operation 310 and the first position value estimated in operation 315. Based on the first difference value, the electronic device 101 may determine attitude correction data for correcting the attitude of the electronic device 101 determined using the inertial sensor.
제1 차이 값은 고도 값 및 방위 값을 포함하는 값일 수 있다. 전자 장치(101)는 제1 차이 값을 직교 좌표계 상의 값으로 변환할 수 있다.The first difference value may be a value including an altitude value and a direction value. The electronic device 101 may convert the first difference value into a value on the Cartesian coordinate system.
일 실시예에서, 전자 장치(101)는 직교 좌표계 상의 값으로 변환된 제1 차이 값을 제1 시간에 관성 센서를 통해 결정된 전자 장치(101)의 자세에 기초하여 월드 좌표계의 값으로 변환할 수 있다. 월드 좌표계는 단일 지심 좌표계로서 지구의 질량 중심(지심)을 원점으로 위치를 표시하기 위한 절대 좌표 체계일 수 있다. 월드 좌표계는 직교 좌표계일 수 있다. 일 실시예에서, 관성 센서의 출력에 기초하여 결정된 전자 장치(101)의 자세는 월드 좌표계 상에서 결정된 것일 수 있다. 관성 센서의 출력에 기초하여 결정된 전자 장치(101)의 자세는 월드 좌표계의 각 축에 대해 전자 장치(101)가 회전한 정도를 나타내는 정보일 수 있다.In an embodiment, the electronic device 101 may convert the first difference value converted into a value on the Cartesian coordinate system into a value on the world coordinate system based on the attitude of the electronic device 101 determined through the inertial sensor at the first time. there is. The world coordinate system is a single geocentric coordinate system and may be an absolute coordinate system for displaying a location with the center of mass (geometric center) of the earth as the origin. The world coordinate system may be a Cartesian coordinate system. In an embodiment, the attitude of the electronic device 101 determined based on the output of the inertial sensor may be determined on a world coordinate system. The attitude of the electronic device 101 determined based on the output of the inertial sensor may be information indicating the degree of rotation of the electronic device 101 with respect to each axis of the world coordinate system.
전자 장치(101)의 자세가 월드 좌표계의 각 축에 대해 전자 장치(101)가 회전한 정도를 나타내므로, 전자 장치(101)는 자세를 이용하여, 직교 좌표계 상의 값으로 변환된 제1 차이 값을 월드 좌표계 상의 값으로 변환할 수 있다. 전자 장치(101)는, 예를 들어, 수학식 1, 수학식 2 및 수학식 3을 이용하여 직교 좌표계 상의 값으로 변환된 제1 차이 값을 월드 좌표계 상의 값으로 변환할 수 있다.Since the posture of the electronic device 101 indicates the degree of rotation of the electronic device 101 with respect to each axis of the world coordinate system, the electronic device 101 uses the posture and the first difference value converted to a value on the Cartesian coordinate system. can be converted to a value on the world coordinate system. The electronic device 101 may convert the first difference value converted into a value on the Cartesian coordinate system into a value on the world coordinate system using Equations 1, 2, and 3, for example.
Figure PCTKR2022018601-appb-img-000001
Figure PCTKR2022018601-appb-img-000001
Figure PCTKR2022018601-appb-img-000002
Figure PCTKR2022018601-appb-img-000002
Figure PCTKR2022018601-appb-img-000003
Figure PCTKR2022018601-appb-img-000003
수학식 1, 수학식 2 및 수학식 3에서, x, y 및 z는 직교 좌표계로 변환된 제1 차이 값의 x축, y축 및 z축의 값이고,
Figure PCTKR2022018601-appb-img-000004
Figure PCTKR2022018601-appb-img-000005
는 월드 좌표계 상의 x축, y축 및 z축의 값이고,
Figure PCTKR2022018601-appb-img-000006
Figure PCTKR2022018601-appb-img-000007
는 각각 제1 시간에 관성 센서를 이용하여 결정된 전자 장치(101)의 롤, 피치, 및 요를 의미한다.
In Equation 1, Equation 2, and Equation 3, x, y, and z are values of the x-axis, y-axis, and z-axis of the first difference value converted to a Cartesian coordinate system,
Figure PCTKR2022018601-appb-img-000004
and
Figure PCTKR2022018601-appb-img-000005
is the value of the x-axis, y-axis and z-axis on the world coordinate system,
Figure PCTKR2022018601-appb-img-000006
and
Figure PCTKR2022018601-appb-img-000007
Means the roll, pitch, and yaw of the electronic device 101 determined using the inertial sensor at the first time, respectively.
일 실시예에서, 전자 장치(101)는 월드 좌표계 상의 값으로 변환된 제1 차이 값을 월드 좌표계 상의 전자 장치(101)의 자세인 제1 기준 자세로 변환할 수 있다. 일 실시예에서, 전자 장치(101)는 수학식 4, 수학식 5 및 수학식 6을 이용하여 월드 좌표계 상의 전자 장치(101)의 기준 자세를 결정할 수 있다.In an embodiment, the electronic device 101 may convert the first difference value converted into a value on the world coordinate system into a first reference posture, which is the posture of the electronic device 101 on the world coordinate system. In an embodiment, the electronic device 101 may determine the reference posture of the electronic device 101 on the world coordinate system using Equations 4, 5, and 6.
Figure PCTKR2022018601-appb-img-000008
Figure PCTKR2022018601-appb-img-000008
Figure PCTKR2022018601-appb-img-000009
Figure PCTKR2022018601-appb-img-000009
Figure PCTKR2022018601-appb-img-000010
Figure PCTKR2022018601-appb-img-000010
수학식 4, 수학식 5 및 수학식 6에서,
Figure PCTKR2022018601-appb-img-000011
Figure PCTKR2022018601-appb-img-000012
는 각각 수학식 1, 수학식 2 및 수학식 3에서 결정된 월드 좌표계 상의 x축, y축 및 z축의 값이고,
Figure PCTKR2022018601-appb-img-000013
Figure PCTKR2022018601-appb-img-000014
는 월드 좌표계 상의 전자 장치(101)의 제1 기준 자세이다.
In Equation 4, Equation 5 and Equation 6,
Figure PCTKR2022018601-appb-img-000011
and
Figure PCTKR2022018601-appb-img-000012
are values of the x-axis, y-axis, and z-axis on the world coordinate system determined in Equations 1, 2, and 3, respectively,
Figure PCTKR2022018601-appb-img-000013
and
Figure PCTKR2022018601-appb-img-000014
is the first reference posture of the electronic device 101 on the world coordinate system.
전자 장치(101)는 관성 센서를 이용하여 제1 시간에 결정된 전자 장치(101)의 자세와 제1 기준 자세 사이 차이는 관성 센서를 이용하여 결정된 자세에 포함된 오차를 의미할 수 있다. 전자 장치(101)는 관성 센서를 이용하여 결정된 전자 장치(101)의 자세와 기준 자세 사이 차이에 따라 자세를 보정하기 위한 자세 보정 데이터를 결정할 수 있다.The difference between the posture of the electronic device 101 determined at the first time using the inertial sensor and the first reference posture may mean an error included in the posture determined using the inertial sensor. The electronic device 101 may determine posture correction data for correcting the posture according to a difference between the posture of the electronic device 101 determined using the inertial sensor and the reference posture.
동작(325)에서, 전자 장치(101)는 결정된 자세 보정 데이터에 기초하여 자세 보정 테이블을 업데이트할 수 있다. 일 실시예에서, 전자 장치(101)는 자세 보정 테이블을 전자 장치(101)의 관성 센서를 통해 결정된 자세에 적용되어 자세를 보정할 수 있다. 동작들(305, 310, 315, 320 및 325)은 다른 시간에 획득된 영상들을 이용하여 주기적으로 및/또는 반복적으로 수행될 수 있다.In operation 325, the electronic device 101 may update the posture correction table based on the determined posture correction data. In one embodiment, the electronic device 101 may correct the posture by applying the posture correction table to the posture determined through the inertial sensor of the electronic device 101 . Operations 305, 310, 315, 320 and 325 may be periodically and/or iteratively performed using images acquired at different times.
이하, 도 5를 참조하여 전자 장치가 복수의 영상들을 이용하여 관성 센서를 보정하는 방법에 대해 설명한다.Hereinafter, a method of calibrating an inertial sensor by an electronic device using a plurality of images will be described with reference to FIG. 5 .
도 5는 일 실시예 따른 전자 장치의 관성 센서를 보정하는 방법의 개요를 설명하기 위한 도면이다.5 is a diagram for explaining an overview of a method of calibrating an inertial sensor of an electronic device according to an exemplary embodiment.
도 5를 참조하면, 전자 장치(101)가 카메라를 통해 획득된 영상들(505)을 이용하여 전자 장치(101)에 포함된 관성 센서(515)를 보정하는 과정이 간략하게 도시되어 있다. 전자 장치(101)는 영상들(505)에서 타겟 객체(520)를 검출하고, 영상들(505)에서 검출된 타겟 객체(520)의 위치에 기초하여 전자 장치(101)의 자세의 변화량을 결정하고, 결정된 변화량에 기초하여 관성 센서(515)를 보정할 수 있다. 예를 들어, 관성 센서(515)는 가속도계, 자이로스코프 및 지자계 중 적어도 하나를 포함할 수 있다.Referring to FIG. 5 , a process in which the electronic device 101 corrects the inertial sensor 515 included in the electronic device 101 using images 505 obtained through a camera is briefly illustrated. The electronic device 101 detects the target object 520 from the images 505 and determines the amount of change in the posture of the electronic device 101 based on the position of the target object 520 detected from the images 505. And, the inertial sensor 515 may be calibrated based on the determined amount of change. For example, the inertial sensor 515 may include at least one of an accelerometer, a gyroscope, and a geomagnetic field.
일 실시예에서, 전자 장치(101)가 전자 장치(101)의 카메라를 통해 획득한 영상들(505)을 이용하여 관성 센서(515)를 보정함으로써 적은 비용으로 관성 센서(515)를 보정하여 정확한 자세를 얻을 수 있으며, 서로 다른 시간에 획득된 여러 개의 영상들(505)을 이용하여 관성 센서(515)를 반복적으로 보정함으로써 자세의 정확도를 높일 수 있다. 전자 장치(101)는 사용자 입력 없이 자동으로 영상들(505)을 획득하여 관성 센서(515) 보정 데이터를 결정할 수 있고, 이로써 사용자가 관성 센서(515) 보정 과정을 인지하지 않더라도 사용자에게 정확한 자세를 제공할 수 있다.In one embodiment, the electronic device 101 calibrates the inertial sensor 515 using the images 505 acquired through the camera of the electronic device 101, thereby calibrating the inertial sensor 515 at a low cost to obtain accurate accuracy. The posture can be obtained, and the accuracy of the posture can be increased by repeatedly calibrating the inertial sensor 515 using several images 505 acquired at different times. The electronic device 101 may automatically acquire images 505 without user input to determine the inertial sensor 515 calibration data, thereby providing the user with an accurate posture even if the user does not recognize the inertial sensor 515 calibration process. can provide
일 실시예에서, 전자 장치(101)는 영상들(505)에서 타겟 객체(520)를 검출할 수 있다. 타겟 객체(520)는, 예를 들어, 천체일 수 있다. 전자 장치(101)는 영상들(505)에서 타겟 객체(520)의 위치 값들을 검출하고, GPS와 같은 위치 센서를 이용하여 해당 영상들(505)을 획득한 시간에 해당 타겟 객체(520)의 위치 값들을 추정할 수 있다. 예를 들어, 타겟 객체(520)의 검출된 위치 값들 및 추정된 위치 값들은 고도(altitude) 값 및 방위(azimuth) 값을 포함하는 지평 좌표계(525) 상의 위치 값들일 수 있다.In one embodiment, the electronic device 101 may detect the target object 520 from the images 505 . The target object 520 may be, for example, a celestial body. The electronic device 101 detects the location values of the target object 520 from the images 505, and uses a location sensor such as GPS to acquire the corresponding images 505 of the target object 520 at the time. Position values can be estimated. For example, the detected location values and the estimated location values of the target object 520 may be location values on a horizontal coordinate system 525 including an altitude value and an azimuth value.
일 실시예에서, 전자 장치(101)는 해당 타겟 객체(520)의 검출된 위치 값들과 추정된 위치 값들 간의 차이 값들에 기초하여 관성 센서(515)를 보정하기 위한 관성 센서(515) 보정 데이터를 결정할 수 있다. 전자 장치(101)는 관성 센서(515) 보정 데이터에 기초하여 관성 센서(515) 보정 테이블을 업데이트할 수 있다. 전자 장치(101)는 관성 센서(515) 보정 테이블을 이용하여 관성 센서(515)를 보정할 수 있고, 전자 장치(101)의 자세를 정확하게 결정할 수 있다.In one embodiment, the electronic device 101 provides inertial sensor 515 calibration data for calibrating the inertial sensor 515 based on difference values between detected position values and estimated position values of the corresponding target object 520 . can decide The electronic device 101 may update the inertial sensor 515 calibration table based on the inertial sensor 515 calibration data. The electronic device 101 may calibrate the inertial sensor 515 using the inertial sensor 515 calibration table and accurately determine the attitude of the electronic device 101 .
이하, 도 6을 참조하여 전자 장치(101)의 관성 센서 보정 방법에 대해 설명한다.Hereinafter, a method of calibrating the inertial sensor of the electronic device 101 will be described with reference to FIG. 6 .
도 6은 일 실시예에 따른 전자 장치의 관성 센서를 보정하는 방법의 흐름도이다.6 is a flowchart of a method of calibrating an inertial sensor of an electronic device according to an embodiment.
도 6을 참조하면, 영상을 획득하는 카메라, 전자 장치(101)의 움직임을 감지하는 관성 센서 및 영상 획득 시 전자 장치(101)의 위치를 감지하는 위치 센서를 포함하는 전자 장치(101)가 전자 장치(101)의 관성 센서를 보정하는 방법의 흐름도가 도시되어 있다.Referring to FIG. 6 , an electronic device 101 including a camera for obtaining an image, an inertial sensor for detecting motion of the electronic device 101, and a position sensor for detecting the position of the electronic device 101 when acquiring an image are electronic devices 101 A flow diagram of a method for calibrating an inertial sensor of device 101 is shown.
동작(605)에서, 전자 장치(101)는 제1 시간에 카메라를 통해 획득된 제1 영상에서 타겟 객체를 검출하고, 제2 시간에 카메라를 통해 획득된 제2 영상에서 타겟 객체를 검출할 수 있다. 예를 들어, 타겟 객체는 태양, 달, 인공위성과 같은 천체일 수 있다.In operation 605, the electronic device 101 may detect a target object from a first image acquired through a camera at a first time, and may detect a target object from a second image acquired through a camera at a second time. there is. For example, the target object may be a celestial body such as the sun, moon, or satellite.
동작(610)에서, 전자 장치(101)는 제1 영상에서 타겟 객체의 제1 위치 값을 검출하고 제2 영상에서 타겟 객체의 제2 위치 값을 검출할 수 있다. 타겟 객체의 검출된 제1 위치 값 및 검출된 제2 위치 값은 카메라의 화각 및 영상의 중심점에 기초하여 결정될 수 있다. 예를 들어, 전자 장치(101)는 영상의 중심점으로부터 카메라의 화각 정보를 이용하여, 타겟 객체의 제1 위치 값 및 제2 위치 값을 검출할 수 있다. 제1 위치 값 및 제2 위치 값은 고도 값 및 방위 값을 포함할 수 있다.In operation 610, the electronic device 101 may detect a first position value of the target object in the first image and a second position value of the target object in the second image. The detected first position value and the detected second position value of the target object may be determined based on the angle of view of the camera and the central point of the image. For example, the electronic device 101 may detect the first position value and the second position value of the target object by using view angle information of the camera from the center point of the image. The first location value and the second location value may include an altitude value and a direction value.
예를 들어, 도 7을 참조하면 전자 장치(101)의 카메라를 통해 획득된 영상들에서 검출된 타겟 객체(710)가 도시되어 있다.For example, referring to FIG. 7 , a target object 710 detected from images acquired through a camera of the electronic device 101 is illustrated.
전자 장치(101)는 카메라의 화각을 이용하여, 영상의 중심으로부터 타겟 객체(710)의 제1 위치 값 및 제2 위치 값을 검출할 수 있다. 예를 들어, 전자 장치(101)는 도 7 (A)의 제1 영상에서, 카메라의 화각을 이용하여 영상의 중심으로부터 고도 값(715) 5.2도 및 방위 값(720) 20.3도의 타겟 객체(710)에 대한 제1 위치 값을 검출할 수 있다. 전자 장치(101)는 도 7 (B)의 제2 영상에서, 카메라의 화각을 이용하여 영상의 중심으로부터 고도 값(725) 7.5도 및 방위 값(730) 9.8도의 타겟 객체(710)에 대한 제2 위치 값을 검출할 수 있다.The electronic device 101 may detect the first position value and the second position value of the target object 710 from the center of the image using the angle of view of the camera. For example, in the first image of FIG. 7(A), the electronic device 101 uses the angle of view of the camera to set the target object 710 of an altitude value 715 of 5.2 degrees and an azimuth value 720 of 20.3 degrees from the center of the image. ) It is possible to detect the first position value for. In the second image of FIG. 7 (B) , the electronic device 101 provides an altitude value 725 of 7.5 degrees and a direction value 730 of 9.8 degrees from the center of the image using the angle of view of the camera for the target object 710 . 2 position values can be detected.
다시 도 6을 참조하면, 동작(615)에서, 전자 장치(101)는 전자 장치(101)의 위치 센서를 이용하여 제1 시간에 측정된 전자 장치(101)의 위치에 기초하여 제1 시간의 타겟 객체의 제1 위치 값을 추정할 수 있다. 전자 장치(101)는 전자 장치(101)의 위치 센서를 이용하여 제2 시간에 측정된 전자 장치(101)의 위치에 기초하여 제2 시간의 타겟 객체의 제2 위치 값을 추정할 수 있다. 추정된 제1 위치 값 및 제2 위치 값은 전자 장치(101)의 위치를 원점으로 하는 지평 좌표계 상의 위치 값일 수 있다. 예를 들어, 전자 장치(101)가 제1 영상을 촬영한 시간, 제1 영상을 촬영한 위치를 알 수 있는 경우, 전자 장치(101)는 해당 시간 및 해당 위치에 기초하여 타겟 객체의 실제 위치에 대응되는 제1 위치 값을 추정할 수 있다. 전자 장치(101)가 제2 영상을 촬영한 시간, 제2 영상을 촬영한 위치를 알 수 있는 경우, 전자 장치(101)는 해당 시간 및 해당 위치에 기초하여 타겟 객체의 실제 위치에 대응되는 제2 위치 값을 추정할 수 있다.Referring back to FIG. 6 , in operation 615, the electronic device 101 determines the location of the electronic device 101 at the first time based on the location of the electronic device 101 measured at the first time using the position sensor of the electronic device 101. A first position value of the target object may be estimated. The electronic device 101 may estimate the second position value of the target object at the second time based on the measured position of the electronic device 101 at the second time using the position sensor of the electronic device 101 . The estimated first and second position values may be position values on a horizontal coordinate system having the position of the electronic device 101 as an origin. For example, when the electronic device 101 can know the time at which the first image was captured and the location at which the first image was captured, the electronic device 101 determines the actual location of the target object based on the corresponding time and location. A first position value corresponding to may be estimated. When the electronic device 101 can know the time at which the second image was captured and the location at which the second image was captured, the electronic device 101 determines a second image corresponding to the actual location of the target object based on the corresponding time and corresponding location. 2 position values can be estimated.
동작(620)에서, 전자 장치(101)는 타겟 객체의 동작(610)에서 검출된 제1 위치 값과 동작(615)에서 추정된 제1 위치 값 간 제1 차이 값 및 동작(610)에서 검출된 제2 위치 값과 동작(615)에서 추정된 제2 위치 값 간 제2 차이 값을 결정할 수 있다.In operation 620, the electronic device 101 detects a first difference value between the first position value of the target object detected in operation 610 and the first position value estimated in operation 615, and in operation 610 A second difference value between the calculated second position value and the second position value estimated in operation 615 may be determined.
제1 차이 값 및 제2 차이 값은 고도 값 및 방위 값을 포함하는 값일 수 있다. 전자 장치(101)는 제1 차이 값 및 제2 차이 값을 직교 좌표계 상의 값으로 변환할 수 있다.The first difference value and the second difference value may be values including an altitude value and a direction value. The electronic device 101 may convert the first difference value and the second difference value into values on the Cartesian coordinate system.
일 실시예에서, 전자 장치(101)는 직교 좌표계 상의 값으로 변환된 제1 차이 값을 제1 시간의 전자 장치(101)의 자세에 기초하여 월드 좌표계의 값으로 변환할 수 있다. 전자 장치(101)는 직교 좌표계 상의 값으로 변환된 제2 차이 값을 제2 시간의 전자 장치(101)의 자세에 기초하여 월드 좌표계의 값으로 변환할 수 있다.In an embodiment, the electronic device 101 may convert the first difference value converted into a value on the Cartesian coordinate system into a value on the world coordinate system based on the posture of the electronic device 101 at the first time. The electronic device 101 may convert the second difference value converted into a value on the Cartesian coordinate system into a value on the world coordinate system based on the posture of the electronic device 101 at the second time.
월드 좌표계는 단일 지심 좌표계로서 지구의 질량 중심(지심)을 원점으로 위치를 표시하기 위한 절대 좌표 체계일 수 있다. 월드 좌표계는 직교 좌표계일 수 있다. 일 실시예에서, 관성 센서를 통해 결정된 전자 장치(101)의 자세는 월드 좌표계 상에서 결정된 것일 수 있다. 관성 센서를 통해 결정된 전자 장치(101)의 자세는 월드 좌표계의 각 축에 대해 전자 장치(101)가 회전한 정도를 나타내는 정보일 수 있다.The world coordinate system is a single geocentric coordinate system and may be an absolute coordinate system for displaying a location with the center of mass (geometric center) of the earth as the origin. The world coordinate system may be a Cartesian coordinate system. In one embodiment, the attitude of the electronic device 101 determined through the inertial sensor may be determined on a world coordinate system. The posture of the electronic device 101 determined through the inertial sensor may be information indicating the degree of rotation of the electronic device 101 with respect to each axis of the world coordinate system.
전자 장치(101)의 자세가 월드 좌표계의 각 축에 대해 전자 장치(101)가 회전한 정도를 나타내므로, 전자 장치(101)는 제1 시간 및 제2 시간에 관성 센서를 통해 결정된 전자 장치(101)의 자세를 이용하여, 직교 좌표계 상의 값으로 변환된 제1 차이 값 및 제2 차이 값을 월드 좌표계 상의 값으로 변환할 수 있다. 전자 장치(101)는, 예를 들어, 수학식 1, 수학식 2 및 수학식 3을 이용하여 직교 좌표계 상의 값으로 변환된 제1 차이 값을 월드 좌표계 상의 값으로 변환할 수 있다. 마찬가지로, 전자 장치(101)는 직교 좌표계 상의 값으로 변환된 제2 차이 값을 월드 좌표계 상의 값으로 변환할 수 있다.Since the posture of the electronic device 101 represents the degree of rotation of the electronic device 101 with respect to each axis of the world coordinate system, the electronic device 101 determines the electronic device 101 through the inertial sensor at the first time and the second time ( Using the posture of 101), the first difference value and the second difference value converted to values on the Cartesian coordinate system may be converted to values on the world coordinate system. The electronic device 101 may convert the first difference value converted into a value on the Cartesian coordinate system into a value on the world coordinate system using Equations 1, 2, and 3, for example. Similarly, the electronic device 101 may convert the second difference value converted into a value on the Cartesian coordinate system into a value on the world coordinate system.
일 실시예에서, 전자 장치(101)는 월드 좌표계 상의 값으로 변환된 제1 차이 값 및 제2 차이 값을 월드 좌표계 상의 전자 장치(101)의 자세인 기준 자세로 변환할 수 있다. 일 실시예에서, 전자 장치(101)는 수학식 4, 수학식 5 및 수학식 6을 이용하여 월드 좌표계 상의 전자 장치(101)의 제1 기준 자세를 결정할 수 있다. 마찬가지로, 전자 장치(101)는 월드 좌표계 상의 값으로 변환된 제2 차이 값을 월드 좌표계 상의 전자 장치(101)의 자세인 제2 기준 자세로 변환할 수 있다.In an embodiment, the electronic device 101 may convert the first difference value and the second difference value converted into values on the world coordinate system into a reference posture, which is the posture of the electronic device 101 on the world coordinate system. In an embodiment, the electronic device 101 may determine the first reference posture of the electronic device 101 on the world coordinate system using Equations 4, 5, and 6. Similarly, the electronic device 101 may convert the second difference value converted into a value on the world coordinate system into a second reference posture, which is the posture of the electronic device 101 on the world coordinate system.
전자 장치(101)는 제1 기준 자세와 제2 기준 자세 사이 변화량 및 제1 시간과 제2 시간 사이 차이에 기초하여 제1시간과 제2 시간 사이 전자 장치(101)의 자세 변화 속도를 결정할 수 있다.The electronic device 101 may determine a change rate of the posture of the electronic device 101 between the first time and the second time based on the amount of change between the first reference posture and the second reference posture and the difference between the first time and the second time. there is.
전자 장치(101)는 제1 시간과 제2 시간 사이 관성 센서의 출력 값과 결정된 자세 변화 속도에 기초하여 관성 센서 보정 데이터를 결정할 수 있다. 예를 들어, 자세 변화 속도는 제1 시간과 제2 시간 사이 월드 좌표계 상의 전자 장치(101)의 x축, y축 및 z축의 가속도 및 각속도에 대한 정보를 포함할 수 있다. 전자 장치(101)는 자세 변화 속도의 각속도를 관성 센서의 자이로스코프를 통해 제1 시간과 제2 시간 사이의 시간 동안 출력된 월드 좌표계 상의 전자 장치(101)의 x축, y축 및 z축의 각속도와 비교하여 관성 센서 보정 데이터를 결정할 수 있다. 예를 들어, 전자 장치(101)는 자세 변화 속도의 가속도를 관성 센서의 가속도계를 통해 제1 시간과 제2 시간 사이의 시간 동안 출력된 월드 좌표계 상의 전자 장치(101)의 x축, y축 및 z축의 가속도와 비교하여 관성 센서 보정 데이터를 결정할 수 있다.The electronic device 101 may determine inertial sensor correction data based on the output value of the inertial sensor between the first time and the second time and the determined attitude change speed. For example, the attitude change speed may include information about accelerations and angular velocities of the x-axis, y-axis, and z-axis of the electronic device 101 on the world coordinate system between the first time and the second time. The electronic device 101 calculates the angular velocity of the attitude change rate as the angular velocity of the x-axis, y-axis, and z-axis of the electronic device 101 on the world coordinate system output during the time between the first time and the second time through the gyroscope of the inertial sensor. By comparing with , the inertial sensor calibration data can be determined. For example, the electronic device 101 calculates the acceleration of the attitude change rate as the x-axis, y-axis, and x-axis of the electronic device 101 on the world coordinate system output during the time between the first time and the second time through an accelerometer of an inertial sensor. By comparing the z-axis acceleration, the inertial sensor calibration data can be determined.
동작(625)에서, 전자 장치(101)는 결정된 관성 센서 보정 데이터에 기초하여 관성 센서 보정 테이블을 업데이트할 수 있다. 관성 센서 보정 테이블은 관성 센서의 보정되기 전 로우 값(raw value)와 참 값(true value) 간 차이를 보정할 수 있는 비교 테이블일 수 있다. 일 실시예에서, 전자 장치(101)는 관성 센서 보정 테이블을 전자 장치(101)의 관성 센서에 적용하여 관성 센서를 보정할 수 있다. 동작들(605, 610, 615, 620 및 625)은 다른 시간에 획득된 영상들을 이용하여 주기적으로 및/또는 반복적으로 수행될 수 있다.In operation 625, the electronic device 101 may update the inertial sensor calibration table based on the determined inertial sensor calibration data. The inertial sensor calibration table may be a comparison table capable of correcting a difference between a raw value before calibration of the inertial sensor and a true value. In one embodiment, the electronic device 101 may calibrate the inertial sensor by applying the inertial sensor calibration table to the inertial sensor of the electronic device 101 . Operations 605, 610, 615, 620 and 625 may be periodically and/or iteratively performed using images acquired at different times.
일 실시예에서, 전자 장치(101)는 도 3의 동작들(305, 310, 315, 320 및 325) 및 도 6의 동작들(605, 610, 615, 620 및 625)을 모두 수행할 수 있다.In one embodiment, the electronic device 101 may perform all of operations 305, 310, 315, 320, and 325 of FIG. 3 and operations 605, 610, 615, 620, and 625 of FIG. .
도 8은 일 실시예에 따른 전자 장치의 데이터 흐름을 설명하기 위한 도면이다.8 is a diagram for explaining a data flow of an electronic device according to an exemplary embodiment.
도 8을 참조하면, 전자 장치(101)에 포함된 관성 센서(805), 카메라(825) 및 위치 센서(830)에서 출력된 값들을 이용하여 관성 센서 보정 테이블(850)을 업데이트하는 과정이 도시되어 있다. 예를 들어, 관성 센서(805) 및 위치 센서(830)은 도 1의 센서 모듈(176)에 포함될 수 있다.Referring to FIG. 8 , a process of updating an inertial sensor correction table 850 using values output from an inertial sensor 805, a camera 825, and a position sensor 830 included in the electronic device 101 is shown. has been For example, inertial sensor 805 and position sensor 830 may be included in sensor module 176 of FIG. 1 .
예를 들어, 관성 센서(805)는 가속도계(810), 자이로스코프(815) 및 지자계(820)를 포함하고, 가속도계(810), 자이로스코프(815) 및 지자계(820)는 보정되기 전의 로우 값(raw value)(835, 840, 845)을 출력할 수 있다. 전자 장치(101)는 관성 센서 보정 테이블(850)을 가속도계(810), 자이로스코프(815) 및 지자계(820)의 로우 값(835, 840, 845)에 적용하여 보정하고, 보정된 값을 이용하여 전자 장치(101)의 자세(860)를 결정할 수 있다. 예를 들어, 관성 센서 보정 테이블(850)은 가속도계(810)에 적용되는 가속도계 보정 테이블(851), 자이로스코프(815)에 적용되는 자이로스코프 보정 테이블(853), 지자계(820)에 적용되는 지자계 보정 테이블(855)을 포함할 수 있다.For example, the inertial sensor 805 includes an accelerometer 810, a gyroscope 815 and a magnetometer 820, where the accelerometer 810, the gyroscope 815 and the magnetometer 820 are calibrated prior to calibration. Raw values 835, 840, and 845 may be output. The electronic device 101 applies the inertial sensor correction table 850 to the low values 835, 840, and 845 of the accelerometer 810, the gyroscope 815, and the earth magnetometer 820, and corrects the corrected values. The posture 860 of the electronic device 101 may be determined using the position 860 . For example, the inertial sensor correction table 850 includes an accelerometer correction table 851 applied to the accelerometer 810, a gyroscope correction table 853 applied to the gyroscope 815, and an earth magnetometer 820 applied to the inertial sensor correction table 850. A geomagnetic field correction table 855 may be included.
카메라(825)는 영상들(865)을 획득하고, 위치 센서(830)는 전자 장치(101)의 위치(875)로서 고도, 경도, 위도 및 시간을 출력할 수 있다. 예를 들어, 카메라(825)는 제1 시간에 제1 영상을 획득하고, 제2 시간에 제2 영상을 획득할 수 있다. 전자 장치(101)는 카메라(825)에서 획득된 제1 영상 및 제2 영상을 이용하여 타겟 객체(예: 도 7의 타겟 객체(710))를 검출하고, 타겟 객체의 제1 위치 값(870) 및 제2 위치 값(870)을 검출할 수 있다. 전자 장치(101)는 위치 센서(830)의 출력을 이용하여 제1 시간 및 제2 시간의 타겟 객체의 제1 위치 값(880) 및 제2 위치 값(880)을 추정할 수 있다.The camera 825 may obtain images 865 and the position sensor 830 may output altitude, longitude, latitude, and time as the position 875 of the electronic device 101 . For example, the camera 825 may acquire a first image at a first time and a second image at a second time. The electronic device 101 detects a target object (eg, the target object 710 of FIG. 7 ) using the first image and the second image acquired by the camera 825, and the first position value 870 of the target object. ) and the second position value 870 can be detected. The electronic device 101 may estimate the first position value 880 and the second position value 880 of the target object at the first and second times using the output of the position sensor 830 .
전자 장치(101)는 검출된 제1 위치 값(870)과 추정된 제1 위치 값(880) 간 제1 차이 값(885)을 결정하고, 검출된 제2 위치 값(870)과 추정된 제2 위치 값(880) 간 제2 차이 값(885)을 결정할 수 있다. 전자 장치(101)는 제1 시간에 관성 센서(805)를 이용하여 결정된 전자 장치(101)의 자세(860)를 이용하여 제1 차이 값(885)을 월드 좌표계 상의 값(890)으로 변환하고, 제2 시간에 관성 센서(805)를 이용하여 결정된 전자 장치(101)의 자세(860)를 이용하여 제2 차이 값(885)을 월드 좌표계 상의 값(890)으로 변환할 수 있다.The electronic device 101 determines a first difference value 885 between the detected first position value 870 and the estimated first position value 880, and determines the detected second position value 870 and the estimated first position value 880. A second difference value 885 between the two position values 880 may be determined. The electronic device 101 converts the first difference value 885 into a value 890 on the world coordinate system using the attitude 860 of the electronic device 101 determined using the inertial sensor 805 at the first time, and , the second difference value 885 may be converted into a value 890 on the world coordinate system using the posture 860 of the electronic device 101 determined using the inertial sensor 805 at the second time.
전자 장치(101)는 월드 좌표계 상의 값으로 변환된 제1 차이 값(890) 및 제2 차이 값(890)에 기초하여 제1 기준 자세 및 제2 기준 자세를 결정할 수 있다. 전자 장치(101)는 제1 기준 자세와 제2 기준 자세 사이 변화량 및 제1 시간과 제2 시간 사이 차이에 기초하여 제1시간과 제2 시간 사이 전자 장치(101)의 자세 변화 속도를 결정할 수 있다.The electronic device 101 may determine a first reference posture and a second reference posture based on the first difference value 890 and the second difference value 890 converted into values on the world coordinate system. The electronic device 101 may determine a change rate of the posture of the electronic device 101 between the first time and the second time based on the amount of change between the first reference posture and the second reference posture and the difference between the first time and the second time. there is.
전자 장치(101)는 제1 시간과 제2 시간 사이 관성 센서(805)를 이용하여 측정된 전자 장치(101)의 자세(860)의 변화와 월드 좌표계 상의 값으로 변환된 제1 차이 값(890) 및 제2 차이 값(890)에 기초하여 결정된 자세 변화 속도를 비교하여 관성 센서 보정 데이터(895)를 결정할 수 있다.The electronic device 101 calculates the change in attitude 860 of the electronic device 101 measured using the inertial sensor 805 between the first time and the second time and the first difference value 890 converted into a value on the world coordinate system. ) and the attitude change rate determined based on the second difference value 890 to determine the inertial sensor correction data 895 .
전자 장치(101)는 결정된 관성 센서 보정 데이터(895)에 기초하여 관성 센서 보정 테이블(850)을 업데이트할 수 있다. 일 실시예에서, 전자 장치(101)는 관성 센서 보정 테이블(850)을 전자 장치(101)의 관성 센서(805)에 적용하여 관성 센서(805)를 보정할 수 있다.The electronic device 101 may update the inertial sensor calibration table 850 based on the determined inertial sensor calibration data 895 . In an embodiment, the electronic device 101 may calibrate the inertial sensor 805 by applying the inertial sensor calibration table 850 to the inertial sensor 805 of the electronic device 101 .
일 실시예에 따른 전자 장치(101)는 영상을 획득하는 카메라(825), 전자 장치(101)의 움직임을 감지하는 관성 센서(805), 영상 획득 시 전자 장치(101)의 위치를 감지하는 위치 센서(830), 및 카메라(825), 관성 센서(805), 및 위치 센서(830)를 제어하는 프로세서(120)를 포함하고, 프로세서(120)는, 제1 시간(time)에서 획득된 제1 영상에서 타겟 객체의 제1 위치 값을 검출하고, 제1 시간에서 위치 센서(830)에 의해 측정된 위치 값에 기초하여 타겟 객체의 제1 위치 값을 추정하고, 검출된 제1 위치 값과 추정된 제1 위치 값 간의 제1 차이 값에 기초하여 관성 센서(805)를 통해 결정된 전자 장치(101)의 자세를 보정하기 위한 자세 보정 데이터를 결정할 수 있다.The electronic device 101 according to an embodiment includes a camera 825 for obtaining an image, an inertial sensor 805 for detecting a motion of the electronic device 101, and a location for detecting the position of the electronic device 101 when acquiring an image. It includes a processor 120 that controls the sensor 830 and the camera 825, the inertial sensor 805, and the position sensor 830, the processor 120, the first time (time) obtained at the first time (time) The first position value of the target object is detected in 1 image, the first position value of the target object is estimated based on the position value measured by the position sensor 830 at the first time, and the detected first position value and Based on the first difference value between the estimated first position values, posture correction data for correcting the posture of the electronic device 101 determined through the inertial sensor 805 may be determined.
프로세서(120)는, 카메라(825)의 화각 정보와 제1 영상의 중심에 기초하여 제1 위치 값을 검출할 수 있다.The processor 120 may detect the first position value based on information on the angle of view of the camera 825 and the center of the first image.
프로세서(120)는, 관성 센서(805)를 통해 제1 시간에 측정된 전자 장치(101)의 자세에 기초하여, 지평 좌표계 상의 제1 차이 값을 월드 좌표계의 값으로 변환하고, 월드 좌표계의 값으로 변환된 제1 차이 값에 기초하여 제1 기준 자세를 결정하고, 제1 기준 자세와 제1 시간에 측정된 전자 장치(101)의 자세 간 차이에 기초하여 자세 보정 데이터를 결정할 수 있다.The processor 120 converts the first difference value on the horizontal coordinate system into a value on the world coordinate system based on the attitude of the electronic device 101 measured at the first time through the inertial sensor 805, and converts the value on the world coordinate system. A first reference posture may be determined based on the first difference value converted to , and posture correction data may be determined based on a difference between the first reference posture and the posture of the electronic device 101 measured at the first time.
프로세서(120)는, 지평 좌표계 상의 제1 차이 값을 직교 좌표계 상의 값으로 변환하고, 제1 시간에 측정된 전자 장치(101)의 자세에 기초하여 직교 좌표계의 값으로 변환된 제1 차이 값을 월드 좌표계의 값으로 변환할 수 있다.The processor 120 converts the first difference value on the horizontal coordinate system into a value on the Cartesian coordinate system, and converts the first difference value converted into a value on the Cartesian coordinate system based on the posture of the electronic device 101 measured at the first time. It can be converted to a value in the world coordinate system.
프로세서(120)는, 결정된 자세 보정 데이터에 기초하여, 자세 보정 테이블을 업데이트할 수 있다.The processor 120 may update the posture correction table based on the determined posture correction data.
프로세서(120)는, 업데이트된 자세 보정 테이블에 기초하여 관성 센서(805)를 통해 결정되는 전자 장치(101)의 자세를 보정할 수 있다.The processor 120 may correct the posture of the electronic device 101 determined through the inertial sensor 805 based on the updated posture correction table.
프로세서(120)는, 제2 시간(time)에서 획득된 제2 영상에서 타겟 객체의 제2 위치 값을 검출하고, 제2 시간에서 위치 센서(830)에 의해 측정된 위치 값에 기초하여 타겟 객체의 제2 위치 값을 추정하고, 검출된 제1 위치 값과 추정된 제1 위치 값 간의 제1 차이 값 및 검출된 제2 위치 값과 추정된 제2 위치 값 간의 제2 차이 값에 기초하여 관성 센서(805)를 보정하기 위한 관성 센서(805) 보정 데이터를 결정할 수 있다.The processor 120 detects a second position value of the target object from a second image obtained at a second time, and based on the position value measured by the position sensor 830 at the second time, the target object Estimating the second position value of the inertia based on the first difference value between the detected first position value and the estimated first position value and the second difference value between the detected second position value and the estimated second position value Inertial sensor 805 calibration data for calibrating sensor 805 may be determined.
프로세서(120)는, 제1 시간의 전자 장치(101)의 자세에 기초하여, 지평 좌표계 상의 제1 차이 값을 월드 좌표계의 값으로 변환하고, 월드 좌표계의 값으로 변환된 제1 차이 값에 기초하여 제1 기준 자세를 결정하고, 제2 시간의 전자 장치(101)의 자세에 기초하여, 지평 좌표계 상의 제2 차이 값을 월드 좌표계의 값으로 변환하고, 월드 좌표계의 값으로 변환된 제2 차이 값에 기초하여 제2 기준 자세를 결정하고, 제1 기준 자세와 제2 기준 자세에 기초하여 제1 시간과 제2 시간 사이 자세 변화 속도를 결정하고, 제1 시간과 제2 시간 사이 관성 센서(805)의 출력 값과 자세 변화 속도에 기초하여 관성 센서(805) 보정 데이터를 결정할 수 있다.The processor 120 converts the first difference value on the horizontal coordinate system into a value on the world coordinate system based on the attitude of the electronic device 101 at the first time, and based on the first difference value converted into the value on the world coordinate system. to determine the first reference posture, and based on the posture of the electronic device 101 at the second time, the second difference value on the horizontal coordinate system is converted into a value on the world coordinate system, and the second difference converted into a value on the world coordinate system A second reference posture is determined based on the value, a posture change rate between a first time and a second time is determined based on the first and second reference postures, and an inertial sensor between the first time and the second time ( Correction data of the inertial sensor 805 may be determined based on the output value of 805 and the attitude change rate.
프로세서(120)는, 결정된 관성 센서(805) 보정 데이터에 기초하여, 관성 센서 보정 테이블(850)을 업데이트할 수 있다.The processor 120 may update the inertial sensor calibration table 850 based on the determined inertial sensor 805 calibration data.
프로세서(120)는, 업데이트된 관성 센서 보정 테이블(850)에 기초하여 관성 센서(805)를 보정할 수 있다.The processor 120 may calibrate the inertial sensor 805 based on the updated inertial sensor calibration table 850 .
일 실시예에 따른 전자 장치(101)는 영상을 획득하는 카메라(825), 전자 장치(101)의 움직임을 감지하는 관성 센서(805), 영상 획득 시 전자 장치(101)의 위치를 감지하는 위치 센서(830), 및 카메라(825), 관성 센서(805), 및 위치 센서(830)를 제어하는 프로세서(120)를 포함하고, 프로세서(120)는, 제1 시간(time)에서 획득된 제1 영상에서 타겟 객체의 제1 위치 값을 검출하고, 제1 시간에서 위치 센서(830)에 의해 측정된 위치 값에 기초하여 타겟 객체의 제1 위치 값을 추정하고, 제2 시간(time)에서 획득된 제2 영상에서 타겟 객체의 제2 위치 값을 검출하고, 제2 시간에서 위치 센서(830)에 의해 측정된 위치 값에 기초하여 타겟 객체의 제2 위치 값을 추정하고, 검출된 제1 위치 값과 추정된 제1 위치 값 간의 제1 차이 값 및 검출된 제2 위치 값과 추정된 제2 위치 값 간의 제2 차이 값에 기초하여 관성 센서(805)를 보정하기 위한 관성 센서(805) 보정 데이터를 결정할 수 있다.The electronic device 101 according to an embodiment includes a camera 825 for obtaining an image, an inertial sensor 805 for detecting a motion of the electronic device 101, and a location for detecting the position of the electronic device 101 when acquiring an image. It includes a processor 120 that controls the sensor 830 and the camera 825, the inertial sensor 805, and the position sensor 830, the processor 120, the first time (time) obtained at the first time (time) Detect the first position value of the target object in 1 image, estimate the first position value of the target object based on the position value measured by the position sensor 830 at the first time, and at the second time (time) The second position value of the target object is detected in the acquired second image, the second position value of the target object is estimated based on the position value measured by the position sensor 830 at a second time, and the detected first position value is determined. Inertial sensor 805 for calibrating the inertial sensor 805 based on a first difference value between the position value and the estimated first position value and a second difference value between the detected second position value and the estimated second position value Calibration data can be determined.
프로세서(120)는, 카메라(825)의 화각 정보와 제1 영상의 중심에 기초하여 제1 위치 값을 검출하고, 카메라(825)의 화각 정보와 제2 영상의 중심에 기초하여 제2 위치 값을 검출할 수 있다.The processor 120 detects a first position value based on the angle of view information of the camera 825 and the center of the first image, and detects a second position value based on the angle of view information of the camera 825 and the center of the second image. can be detected.
프로세서(120)는, 제1 시간의 전자 장치(101)의 자세에 기초하여, 지평 좌표계 상의 제1 차이 값을 월드 좌표계의 값으로 변환하고, 월드 좌표계의 값으로 변환된 제1 차이 값에 기초하여 제1 기준 자세를 결정하고, 제2 시간의 전자 장치(101)의 자세에 기초하여, 지평 좌표계 상의 제2 차이 값을 월드 좌표계의 값으로 변환하고, 월드 좌표계의 값으로 변환된 제2 차이 값에 기초하여 제2 기준 자세를 결정하고, 제1 기준 자세와 제2 기준 자세에 기초하여 제1 시간과 제2 시간 사이 자세 변화 속도를 결정하고, 제1 시간과 제2 시간 사이 관성 센서(805)의 출력 값과 자세 변화 속도에 기초하여 관성 센서(805) 보정 데이터를 결정할 수 있다.The processor 120 converts the first difference value on the horizontal coordinate system into a value on the world coordinate system based on the attitude of the electronic device 101 at the first time, and based on the first difference value converted into the value on the world coordinate system. to determine the first reference posture, and based on the posture of the electronic device 101 at the second time, the second difference value on the horizontal coordinate system is converted into a value on the world coordinate system, and the second difference converted into a value on the world coordinate system A second reference posture is determined based on the value, a posture change rate between a first time and a second time is determined based on the first and second reference postures, and an inertial sensor between the first time and the second time ( Correction data of the inertial sensor 805 may be determined based on the output value of 805 and the attitude change rate.
프로세서(120)는, 지평 좌표계 상의 제1 차이 값을 직교 좌표계 상의 값으로 변환하고, 제1 시간의 전자 장치(101)의 자세에 기초하여 직교 좌표계의 값으로 변환된 제1 차이 값을 월드 좌표계의 값으로 변환하고, 지평 좌표계 상의 제2 차이 값을 직교 좌표계 상의 값으로 변환하고, 제2 시간의 전자 장치(101)의 자세에 기초하여 직교 좌표계의 값으로 변환된 제2 차이 값을 월드 좌표계의 값으로 변환할 수 있다.The processor 120 converts the first difference value on the horizontal coordinate system into a value on the Cartesian coordinate system, and converts the first difference value converted into a value on the Cartesian coordinate system based on the posture of the electronic device 101 at the first time into a world coordinate system. Converts the second difference value on the horizontal coordinate system into a value on the Cartesian coordinate system, and converts the second difference value converted into a value on the Cartesian coordinate system based on the posture of the electronic device 101 at the second time in the world coordinate system. can be converted to a value of
프로세서(120)는, 결정된 관성 센서(805) 보정 데이터에 기초하여, 관성 센서 보정 테이블(850)을 업데이트하고, 업데이트된 관성 센서 보정 테이블(850)에 기초하여 관성 센서(805)를 보정할 수 있다.The processor 120 may update the inertial sensor calibration table 850 based on the determined inertial sensor 805 calibration data and calibrate the inertial sensor 805 based on the updated inertial sensor calibration table 850. there is.
일 실시예에 따른 관성 센서(805) 보정 방법은 전자 장치의 카메라를 이용하여 제1 시간(time)에서 획득된 제1 영상에서 타겟 객체의 제1 위치 값을 검출하는 동작, 제1 시간에서 전자 장치(101)의 위치 센서(830)에 의해 측정된 위치 값에 기초하여 타겟 객체의 제1 위치 값을 추정하는 동작, 및 검출된 제1 위치 값과 추정된 제1 위치 값 간의 제1 차이 값에 기초하여 관성 센서(805)를 통해 결정된 전자 장치(101)의 자세를 보정하기 위한 자세 보정 데이터를 결정하는 동작을 포함할 수 있다.A method for calibrating an inertial sensor 805 according to an embodiment includes an operation of detecting a first position value of a target object from a first image acquired at a first time using a camera of an electronic device, and an electronic device at the first time. An operation of estimating a first position value of the target object based on the position value measured by the position sensor 830 of the device 101, and a first difference value between the detected first position value and the estimated first position value An operation of determining posture correction data for correcting the posture of the electronic device 101 determined through the inertial sensor 805 based on the .
자세 보정 데이터를 결정하는 동작은, 제1 시간의 전자 장치(101)의 자세에 기초하여, 지평 좌표계 상의 제1 차이 값을 월드 좌표계의 값으로 변환하는 동작, 월드 좌표계의 값으로 변환된 제1 차이 값에 기초하여 제1 기준 자세를 결정하는 동작, 및 제1 기준 자세와 제1 시간의 전자 장치(101)의 자세의 차이에 기초하여 자세 보정 데이터를 결정하는 동작을 포함할 수 있다.The operation of determining the posture correction data includes an operation of converting the first difference value on the horizontal coordinate system into a value of the world coordinate system based on the posture of the electronic device 101 at the first time, and the operation of converting the first difference value into a value of the world coordinate system. An operation of determining a first reference posture based on the difference value, and an operation of determining posture correction data based on a difference between the first reference posture and the posture of the electronic device 101 at the first time.
일 실시예에 따른 관성 센서(805) 보정 방법은 결정된 자세 보정 데이터에 기초하여, 자세 보정 테이블을 업데이트하는 동작, 및 업데이트된 자세 보정 테이블에 기초하여 관성 센서(805)를 통해 결정되는 전자 장치(101)의 자세를 보정하는 동작을 더 포함할 수 있다.A method for correcting an inertial sensor 805 according to an embodiment includes an operation of updating a posture correction table based on determined posture correction data, and an electronic device determined through the inertial sensor 805 based on the updated posture correction table ( 101) may further include an operation of correcting the posture.
일 실시예에 따른 관성 센서(805) 보정 방법은 카메라를 이용하여 제2 시간(time)에서 획득된 제2 영상에서 타겟 객체의 제2 위치 값을 검출하는 동작, 제2 시간에서 위치 센서(830)에 의해 측정된 위치 값에 기초하여 타겟 객체의 제2 위치 값을 추정하는 동작, 및 검출된 제1 위치 값과 추정된 제1 위치 값 간의 제1 차이 값 및 검출된 제2 위치 값과 추정된 제2 위치 값 간의 제2 차이 값에 기초하여 관성 센서(805)를 보정하기 위한 관성 센서(805) 보정 데이터를 결정하는 동작을 더 포함할 수 있다.A method for correcting an inertial sensor 805 according to an embodiment includes an operation of detecting a second position value of a target object from a second image obtained at a second time using a camera, and a position sensor 830 at the second time. An operation of estimating a second position value of the target object based on a position value measured by ), and a first difference value between the detected first position value and the estimated first position value and the detected second position value and estimation An operation of determining correction data of the inertial sensor 805 for calibrating the inertial sensor 805 based on the second difference between the second position values may be further included.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various types. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. An electronic device according to an embodiment of the present document is not limited to the aforementioned devices.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제1", "제2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제1) 구성요소가 다른(예: 제2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, like reference numbers may be used for like or related elements. The singular form of a noun corresponding to an item may include one item or a plurality of items, unless the relevant context clearly dictates otherwise. In this document, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A Each of the phrases such as "at least one of , B, or C" may include any one of the items listed together in that phrase, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may simply be used to distinguish that component from other corresponding components, and may refer to that component in other respects (eg, importance or order) is not limited. A (eg, first) component is said to be "coupled" or "connected" to another (eg, second) component, with or without the terms "functionally" or "communicatively." When mentioned, it means that the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logical blocks, parts, or circuits. can be used as A module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document provide one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). It may be implemented as software (eg, the program 140) including them. For example, a processor (eg, the processor 120 ) of a device (eg, the electronic device 101 ) may call at least one command among one or more instructions stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' only means that the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities. A computer program product is distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play Store™) or on two user devices (e.g. It can be distributed (eg downloaded or uploaded) online, directly between smart phones. In the case of online distribution, at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the above-described components may include a single object or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. there is. According to various embodiments, one or more components or operations among the aforementioned corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. . According to various embodiments, the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.

Claims (15)

  1. 전자 장치(101)에 있어서,In the electronic device 101,
    영상을 획득하는 카메라(825);a camera 825 to obtain an image;
    상기 전자 장치(101)의 움직임을 감지하는 관성 센서(805);an inertial sensor 805 for detecting motion of the electronic device 101;
    상기 영상 획득 시 상기 전자 장치(101)의 위치를 감지하는 위치 센서(830); 및a position sensor 830 for detecting the position of the electronic device 101 when the image is acquired; and
    상기 카메라(825), 상기 관성 센서(805), 및 상기 위치 센서(830)를 제어하는 프로세서(120)를 포함하고,A processor 120 controlling the camera 825, the inertial sensor 805, and the position sensor 830,
    상기 프로세서(120)는,The processor 120,
    제1 시간(time)에서 획득된 제1 영상에서 타겟 객체의 제1 위치 값을 검출하고,Detecting a first position value of a target object in a first image obtained at a first time,
    상기 제1 시간에서 상기 위치 센서(830)에 의해 측정된 위치 값에 기초하여 상기 타겟 객체의 제1 위치 값을 추정하고,Estimating a first position value of the target object based on a position value measured by the position sensor 830 at the first time;
    상기 검출된 제1 위치 값과 상기 추정된 상기 제1 위치 값 간의 제1 차이 값에 기초하여 상기 관성 센서(805)를 통해 결정된 상기 전자 장치(101)의 자세를 보정하기 위한 자세 보정 데이터를 결정하는, 전자 장치(101).Determine posture correction data for correcting the posture of the electronic device 101 determined through the inertial sensor 805 based on a first difference between the detected first position value and the estimated first position value To, the electronic device 101.
  2. 제1항에 있어서,According to claim 1,
    상기 프로세서(120)는,The processor 120,
    상기 카메라(825)의 화각 정보와 상기 제1 영상의 중심에 기초하여 상기 제1 위치 값을 검출하는, 전자 장치(101).The electronic device (101) detecting the first position value based on the view angle information of the camera (825) and the center of the first image.
  3. 제1항 또는 제2항에 있어서,According to claim 1 or 2,
    상기 프로세서(120)는,The processor 120,
    상기 관성 센서(805)를 통해 상기 제1 시간에 측정된 상기 전자 장치(101)의 자세에 기초하여, 지평 좌표계 상의 상기 제1 차이 값을 월드 좌표계의 값으로 변환하고,Based on the posture of the electronic device 101 measured at the first time through the inertial sensor 805, converting the first difference value on the horizontal coordinate system into a value on the world coordinate system,
    상기 월드 좌표계의 값으로 변환된 제1 차이 값에 기초하여 제1 기준 자세를 결정하고,Determine a first reference posture based on a first difference value converted to a value of the world coordinate system;
    상기 제1 기준 자세와 상기 제1 시간에 측정된 상기 전자 장치(101)의 자세 간 차이에 기초하여 상기 자세 보정 데이터를 결정하는, 전자 장치(101).The electronic device 101 determining the posture correction data based on a difference between the first reference posture and the posture of the electronic device 101 measured at the first time.
  4. 제3항에 있어서,According to claim 3,
    상기 프로세서(120)는,The processor 120,
    상기 지평 좌표계 상의 상기 제1 차이 값을 직교 좌표계 상의 값으로 변환하고,converting the first difference value on the horizontal coordinate system into a value on the Cartesian coordinate system;
    상기 제1 시간에 측정된 상기 전자 장치(101)의 자세에 기초하여 상기 직교 좌표계의 값으로 변환된 제1 차이 값을 상기 월드 좌표계의 값으로 변환하는, 전자 장치(101).The electronic device 101 converts a first difference value converted into a value of the Cartesian coordinate system into a value of the world coordinate system based on the posture of the electronic device 101 measured at the first time.
  5. 제1항 내지 제4항 중 어느 한 항에 있어서,According to any one of claims 1 to 4,
    상기 프로세서(120)는,The processor 120,
    상기 결정된 자세 보정 데이터에 기초하여, 자세 보정 테이블을 업데이트하고, Based on the determined posture correction data, updating a posture correction table;
    상기 업데이트된 자세 보정 테이블에 기초하여 상기 관성 센서(805)를 통해 결정되는 상기 전자 장치(101)의 자세를 보정하는, 전자 장치(101).The electronic device 101 correcting the posture of the electronic device 101 determined through the inertial sensor 805 based on the updated posture correction table.
  6. 제1항 내지 제5항 중 어느 한 항에 있어서,According to any one of claims 1 to 5,
    상기 프로세서(120)는,The processor 120,
    제2 시간(time)에서 획득된 제2 영상에서 타겟 객체의 제2 위치 값을 검출하고,Detecting a second position value of a target object in a second image obtained at a second time,
    상기 제2 시간에서 상기 위치 센서(830)에 의해 측정된 위치 값에 기초하여 상기 타겟 객체의 제2 위치 값을 추정하고,Estimating a second position value of the target object based on the position value measured by the position sensor 830 at the second time;
    상기 검출된 제1 위치 값과 상기 추정된 상기 제1 위치 값 간의 제1 차이 값 및 상기 검출된 제2 위치 값과 상기 추정된 제2 위치 값 간의 제2 차이 값에 기초하여 상기 관성 센서(805)를 보정하기 위한 관성 센서 보정 데이터를 결정하는, 전자 장치(101).The inertial sensor 805 is based on a first difference value between the detected first position value and the estimated first position value and a second difference value between the detected second position value and the estimated second position value. ), the electronic device 101 for determining inertial sensor correction data for correcting.
  7. 제6항에 있어서,According to claim 6,
    상기 프로세서(120)는,The processor 120,
    상기 제1 시간의 상기 전자 장치(101)의 자세에 기초하여, 지평 좌표계 상의 상기 제1 차이 값을 월드 좌표계의 값으로 변환하고,Based on the posture of the electronic device 101 at the first time, converting the first difference value on a horizontal coordinate system into a value on a world coordinate system;
    상기 월드 좌표계의 값으로 변환된 제1 차이 값에 기초하여 제1 기준 자세를 결정하고,Determine a first reference posture based on a first difference value converted to a value of the world coordinate system;
    상기 제2 시간의 상기 전자 장치(101)의 자세에 기초하여, 지평 좌표계 상의 상기 제2 차이 값을 월드 좌표계의 값으로 변환하고,Based on the posture of the electronic device 101 at the second time, converting the second difference value on the horizontal coordinate system into a value on the world coordinate system;
    상기 월드 좌표계의 값으로 변환된 제2 차이 값에 기초하여 제2 기준 자세를 결정하고,Determine a second reference posture based on a second difference value converted to a value of the world coordinate system;
    상기 제1 기준 자세와 상기 제2 기준 자세에 기초하여 상기 제1 시간과 상기 제2 시간 사이 자세 변화 속도를 결정하고,determining a posture change rate between the first time and the second time based on the first reference posture and the second reference posture;
    상기 제1 시간과 상기 제2 시간 사이 상기 관성 센서(805)의 출력 값과 상기 자세 변화 속도에 기초하여 상기 관성 센서 보정 데이터를 결정하는, 전자 장치(101).The electronic device 101 which determines the inertial sensor correction data based on the output value of the inertial sensor 805 and the attitude change rate between the first time and the second time.
  8. 제6항 또는 제7항에 있어서,According to claim 6 or 7,
    상기 프로세서(120)는,The processor 120,
    상기 결정된 관성 센서 보정 데이터에 기초하여, 관성 센서 보정 테이블을 업데이트하고,Based on the determined inertial sensor calibration data, an inertial sensor calibration table is updated;
    상기 업데이트된 관성 센서 보정 테이블에 기초하여 상기 관성 센서(805)를 보정하는, 전자 장치(101).The electronic device 101 for correcting the inertial sensor 805 based on the updated inertial sensor calibration table.
  9. 전자 장치(101)에 있어서,In the electronic device 101,
    영상을 획득하는 카메라(825);a camera 825 to obtain an image;
    상기 전자 장치(101)의 움직임을 감지하는 관성 센서(805);an inertial sensor 805 for detecting motion of the electronic device 101;
    상기 영상 획득 시 상기 전자 장치(101)의 위치를 감지하는 위치 센서(830); 및a position sensor 830 for detecting the position of the electronic device 101 when the image is acquired; and
    상기 카메라(825), 상기 관성 센서(805), 및 상기 위치 센서(830)를 제어하는 프로세서(120)를 포함하고,A processor 120 controlling the camera 825, the inertial sensor 805, and the position sensor 830,
    상기 프로세서(120)는,The processor 120,
    제1 시간(time)에서 획득된 제1 영상에서 타겟 객체의 제1 위치 값을 검출하고,Detecting a first position value of a target object in a first image obtained at a first time,
    상기 제1 시간에서 상기 위치 센서(830)에 의해 측정된 위치 값에 기초하여 상기 타겟 객체의 제1 위치 값을 추정하고,Estimating a first position value of the target object based on a position value measured by the position sensor 830 at the first time;
    제2 시간(time)에서 획득된 제2 영상에서 타겟 객체의 제2 위치 값을 검출하고,Detecting a second position value of a target object in a second image obtained at a second time,
    상기 제2 시간에서 상기 위치 센서(830)에 의해 측정된 위치 값에 기초하여 상기 타겟 객체의 제2 위치 값을 추정하고,Estimating a second position value of the target object based on the position value measured by the position sensor 830 at the second time;
    상기 검출된 제1 위치 값과 상기 추정된 상기 제1 위치 값 간의 제1 차이 값 및 상기 검출된 제2 위치 값과 상기 추정된 제2 위치 값 간의 제2 차이 값에 기초하여 상기 관성 센서(805)를 보정하기 위한 관성 센서 보정 데이터를 결정하는, 전자 장치(101).The inertial sensor 805 is based on a first difference value between the detected first position value and the estimated first position value and a second difference value between the detected second position value and the estimated second position value. ), the electronic device 101 for determining inertial sensor correction data for correcting.
  10. 제9항에 있어서,According to claim 9,
    상기 프로세서(120)는,The processor 120,
    상기 카메라(825)의 화각 정보와 상기 제1 영상의 중심에 기초하여 상기 제1 위치 값을 검출하고,Detecting the first position value based on information on the angle of view of the camera 825 and the center of the first image;
    상기 카메라(825)의 화각 정보와 상기 제2 영상의 중심에 기초하여 상기 제2 위치 값을 검출하는, 전자 장치(101).The electronic device (101) detecting the second position value based on the view angle information of the camera (825) and the center of the second image.
  11. 제9항 또는 제10항에 있어서,The method of claim 9 or 10,
    상기 프로세서(120)는,The processor 120,
    상기 제1 시간의 상기 전자 장치(101)의 자세에 기초하여, 지평 좌표계 상의 상기 제1 차이 값을 월드 좌표계의 값으로 변환하고,Based on the posture of the electronic device 101 at the first time, converting the first difference value on a horizontal coordinate system into a value on a world coordinate system;
    상기 월드 좌표계의 값으로 변환된 제1 차이 값에 기초하여 제1 기준 자세를 결정하고,Determine a first reference posture based on a first difference value converted to a value of the world coordinate system;
    상기 제2 시간의 상기 전자 장치(101)의 자세에 기초하여, 지평 좌표계 상의 상기 제2 차이 값을 월드 좌표계의 값으로 변환하고,Based on the posture of the electronic device 101 at the second time, converting the second difference value on the horizontal coordinate system into a value on the world coordinate system;
    상기 월드 좌표계의 값으로 변환된 제2 차이 값에 기초하여 제2 기준 자세를 결정하고,Determine a second reference posture based on a second difference value converted to a value of the world coordinate system;
    상기 제1 기준 자세와 상기 제2 기준 자세에 기초하여 상기 제1 시간과 상기 제2 시간 사이 자세 변화 속도를 결정하고,determining a posture change rate between the first time and the second time based on the first reference posture and the second reference posture;
    상기 제1 시간과 상기 제2 시간 사이 상기 관성 센서(805)의 출력 값과 상기 자세 변화 속도에 기초하여 상기 관성 센서 보정 데이터를 결정하는, 전자 장치(101).The electronic device 101 which determines the inertial sensor correction data based on the output value of the inertial sensor 805 and the attitude change rate between the first time and the second time.
  12. 제11항에 있어서,According to claim 11,
    상기 프로세서(120)는,The processor 120,
    상기 지평 좌표계 상의 상기 제1 차이 값을 직교 좌표계 상의 값으로 변환하고,converting the first difference value on the horizontal coordinate system into a value on the Cartesian coordinate system;
    상기 제1 시간의 상기 전자 장치(101)의 자세에 기초하여 상기 직교 좌표계의 값으로 변환된 제1 차이 값을 상기 월드 좌표계의 값으로 변환하고,Converting a first difference value converted to a value of the Cartesian coordinate system into a value of the world coordinate system based on the attitude of the electronic device 101 at the first time;
    상기 지평 좌표계 상의 상기 제2 차이 값을 직교 좌표계 상의 값으로 변환하고,converting the second difference value on the horizontal coordinate system into a value on the Cartesian coordinate system;
    상기 제2 시간의 상기 전자 장치(101)의 자세에 기초하여 상기 직교 좌표계의 값으로 변환된 제2 차이 값을 상기 월드 좌표계의 값으로 변환하는, 전자 장치(101).The electronic device 101 converts a second difference value converted into a value of the Cartesian coordinate system into a value of the world coordinate system based on the attitude of the electronic device 101 at the second time.
  13. 제9항 내지 제12항 중 어느 한 항에 있어서,According to any one of claims 9 to 12,
    상기 프로세서(120)는,The processor 120,
    상기 결정된 관성 센서 보정 데이터에 기초하여, 관성 센서 보정 테이블을 업데이트하고,Based on the determined inertial sensor calibration data, an inertial sensor calibration table is updated;
    상기 업데이트된 관성 센서 보정 테이블에 기초하여 상기 관성 센서(805)를 보정하는, 전자 장치(101).The electronic device 101 for correcting the inertial sensor 805 based on the updated inertial sensor calibration table.
  14. 전자 장치(101)의 관성 센서(805)를 보정하는 방법에 있어서,In the method for calibrating the inertial sensor 805 of the electronic device 101,
    상기 전자 장치(101)의 카메라(825)를 이용하여 제1 시간(time)에서 획득된 제1 영상에서 타겟 객체의 제1 위치 값을 검출하는 동작;detecting a first position value of a target object from a first image obtained at a first time using the camera 825 of the electronic device 101;
    상기 제1 시간에서 상기 전자 장치(101)의 위치 센서(830)에 의해 측정된 위치 값에 기초하여 상기 타겟 객체의 제1 위치 값을 추정하는 동작; 및estimating a first position value of the target object based on a position value measured by the position sensor 830 of the electronic device 101 at the first time; and
    상기 검출된 제1 위치 값과 상기 추정된 상기 제1 위치 값 간의 제1 차이 값에 기초하여 상기 관성 센서(805)를 통해 결정된 상기 전자 장치(101)의 자세를 보정하기 위한 자세 보정 데이터를 결정하는 동작Determine posture correction data for correcting the posture of the electronic device 101 determined through the inertial sensor 805 based on a first difference between the detected first position value and the estimated first position value action to do
    을 포함하는, 방법.Including, how.
  15. 제14항에 있어서,According to claim 14,
    상기 결정된 자세 보정 데이터에 기초하여, 자세 보정 테이블을 업데이트하는 동작; 및updating a posture correction table based on the determined posture correction data; and
    상기 업데이트된 자세 보정 테이블에 기초하여 상기 관성 센서(805)를 통해 결정되는 상기 전자 장치(101)의 자세를 보정하는 동작을 더 포함하고,Further comprising correcting the posture of the electronic device 101 determined through the inertial sensor 805 based on the updated posture correction table,
    상기 자세 보정 데이터를 결정하는 동작은,The operation of determining the posture correction data,
    상기 제1 시간의 상기 전자 장치(101)의 자세에 기초하여, 지평 좌표계 상의 상기 제1 차이 값을 월드 좌표계의 값으로 변환하는 동작;converting the first difference value on a horizontal coordinate system into a value on a world coordinate system based on the posture of the electronic device 101 at the first time;
    상기 월드 좌표계의 값으로 변환된 제1 차이 값에 기초하여 제1 기준 자세를 결정하는 동작; 및determining a first reference posture based on a first difference value converted into a value of the world coordinate system; and
    상기 제1 기준 자세와 상기 제1 시간의 상기 전자 장치(101)의 자세의 차이에 기초하여 상기 자세 보정 데이터를 결정하는 동작Determining the posture correction data based on the difference between the first reference posture and the posture of the electronic device 101 at the first time
    을 포함하는, 방법.Including, how.
PCT/KR2022/018601 2022-01-25 2022-11-23 Image-based inertial sensor correction method and electronic device for performing same WO2023146092A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR10-2022-0010760 2022-01-25
KR20220010760 2022-01-25
KR10-2022-0014644 2022-02-04
KR1020220014644A KR20230114656A (en) 2022-01-25 2022-02-04 Image-based inertial sensor calibration method and electronic apparatus performing the same

Publications (1)

Publication Number Publication Date
WO2023146092A1 true WO2023146092A1 (en) 2023-08-03

Family

ID=87472250

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2022/018601 WO2023146092A1 (en) 2022-01-25 2022-11-23 Image-based inertial sensor correction method and electronic device for performing same

Country Status (1)

Country Link
WO (1) WO2023146092A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100761011B1 (en) * 2006-05-30 2007-09-21 학교법인 인하학원 Aiding inertial navigation system using a camera type sun sensor and method there of
JP2012167940A (en) * 2011-02-10 2012-09-06 Kokusai Kogyo Co Ltd Method, program and device for determining posture of movable boy
KR101183866B1 (en) * 2011-04-20 2012-09-19 서울시립대학교 산학협력단 Apparatus and method for real-time position and attitude determination based on integration of gps, ins and image at
KR101211703B1 (en) * 2010-10-15 2012-12-12 인하대학교 산학협력단 Calibration method of the magnetometer error using a line of sight vector and the integrated navigation system using the same
KR20130031280A (en) * 2010-05-07 2013-03-28 퀄컴 인코포레이티드 Orientation sensor calibration

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100761011B1 (en) * 2006-05-30 2007-09-21 학교법인 인하학원 Aiding inertial navigation system using a camera type sun sensor and method there of
KR20130031280A (en) * 2010-05-07 2013-03-28 퀄컴 인코포레이티드 Orientation sensor calibration
KR101211703B1 (en) * 2010-10-15 2012-12-12 인하대학교 산학협력단 Calibration method of the magnetometer error using a line of sight vector and the integrated navigation system using the same
JP2012167940A (en) * 2011-02-10 2012-09-06 Kokusai Kogyo Co Ltd Method, program and device for determining posture of movable boy
KR101183866B1 (en) * 2011-04-20 2012-09-19 서울시립대학교 산학협력단 Apparatus and method for real-time position and attitude determination based on integration of gps, ins and image at

Similar Documents

Publication Publication Date Title
WO2021025420A1 (en) Method for determining position in vehicle using vehicle movement and apparatus therefor
WO2021025272A1 (en) Foldable electronic device for detecting folding angle and operating method thereof
WO2022010156A1 (en) Method for calibrating geomagnetic sensor of electronic device and electronic device thereof
WO2023146092A1 (en) Image-based inertial sensor correction method and electronic device for performing same
WO2023043083A1 (en) Chamber for measuring antenna performance, system comprising same, and method for operating same
WO2023008677A1 (en) Electronic device, and input coordinate prediction method
WO2022169085A1 (en) Electronic device and method for maintaining imaging composition in electronic device
WO2022191471A1 (en) Electronic device for identifying moving direction of electronic device, and operating method for electronic device
WO2022260290A1 (en) Device and method for correcting magnetic field data
WO2023146091A1 (en) Electronic device having flexible display
WO2023075250A1 (en) Electronic device and method for providing three-dimensional map
WO2023018014A1 (en) Method for tracking position of target device, and electronic device and position tracking server for performing the method
WO2022119366A1 (en) Electronic device comprising antenna
KR20230114656A (en) Image-based inertial sensor calibration method and electronic apparatus performing the same
WO2022103047A1 (en) Electronic device having coupling groove
WO2022145926A1 (en) Electronic device and method for correcting sensor data of electronic device
WO2023085724A1 (en) Electronic device and method for adjusting luminance of display on basis of angle formed with earbud, and non-transitory computer-readable storage medium
WO2024080549A1 (en) Electronic device for location detection, and method for operating same
WO2023140656A1 (en) Electronic device for detecting location by using geomagnetic data, and control method therefor
WO2022173164A1 (en) Method and electronic device for displaying ar object
WO2022196996A1 (en) Electronic device for detecting location by using geomagnetic data, and control method therefor
WO2022191444A1 (en) Method for determining step length of user by using motion sensor and gps module of electronic device, and electronic device for same
WO2022154479A1 (en) Electronic device for measuring posture of user and method therefor
WO2022060058A1 (en) Electronic device and server for determining user's position-related information
WO2023068549A1 (en) Electronic device using external device, and operating method therefor

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: 22924345

Country of ref document: EP

Kind code of ref document: A1