WO2024205095A1 - Electronic device, and method for controlling crystal oscillator of electronic device - Google Patents
Electronic device, and method for controlling crystal oscillator of electronic device Download PDFInfo
- Publication number
- WO2024205095A1 WO2024205095A1 PCT/KR2024/003370 KR2024003370W WO2024205095A1 WO 2024205095 A1 WO2024205095 A1 WO 2024205095A1 KR 2024003370 W KR2024003370 W KR 2024003370W WO 2024205095 A1 WO2024205095 A1 WO 2024205095A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- temperature
- value
- function
- electronic device
- coefficient
- Prior art date
Links
- 239000013078 crystal Substances 0.000 title claims abstract description 122
- 238000000034 method Methods 0.000 title claims description 57
- 230000008859 change Effects 0.000 claims abstract description 40
- 230000006870 function Effects 0.000 claims description 190
- 230000008569 process Effects 0.000 claims description 19
- 230000007423 decrease Effects 0.000 claims description 9
- 238000012360 testing method Methods 0.000 claims description 6
- 230000003247 decreasing effect Effects 0.000 claims description 5
- 238000004891 communication Methods 0.000 description 80
- 230000001413 cellular effect Effects 0.000 description 9
- 230000010267 cellular communication Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 238000003860 storage Methods 0.000 description 8
- 238000013528 artificial neural network Methods 0.000 description 7
- 230000000052 comparative effect Effects 0.000 description 7
- 239000010453 quartz Substances 0.000 description 7
- VYPSYNLAJGMNEJ-UHFFFAOYSA-N silicon dioxide Inorganic materials O=[Si]=O VYPSYNLAJGMNEJ-UHFFFAOYSA-N 0.000 description 7
- 230000005611 electricity Effects 0.000 description 6
- 230000004044 response Effects 0.000 description 6
- 238000013473 artificial intelligence Methods 0.000 description 5
- 238000004519 manufacturing process Methods 0.000 description 5
- 238000010295 mobile communication Methods 0.000 description 5
- 238000004590 computer program Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000010355 oscillation Effects 0.000 description 4
- 238000012937 correction Methods 0.000 description 3
- 230000007613 environmental effect Effects 0.000 description 3
- 230000032683 aging Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 2
- 238000013527 convolutional neural network Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000306 recurrent effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000012888 cubic function Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003155 kinesthetic effect Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000002787 reinforcement Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 230000000638 stimulation Effects 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03B—GENERATION OF OSCILLATIONS, DIRECTLY OR BY FREQUENCY-CHANGING, BY CIRCUITS EMPLOYING ACTIVE ELEMENTS WHICH OPERATE IN A NON-SWITCHING MANNER; GENERATION OF NOISE BY SUCH CIRCUITS
- H03B5/00—Generation of oscillations using amplifier with regenerative feedback from output to input
- H03B5/02—Details
- H03B5/04—Modifications of generator to compensate for variations in physical values, e.g. power supply, load, temperature
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03B—GENERATION OF OSCILLATIONS, DIRECTLY OR BY FREQUENCY-CHANGING, BY CIRCUITS EMPLOYING ACTIVE ELEMENTS WHICH OPERATE IN A NON-SWITCHING MANNER; GENERATION OF NOISE BY SUCH CIRCUITS
- H03B5/00—Generation of oscillations using amplifier with regenerative feedback from output to input
- H03B5/30—Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element being electromechanical resonator
- H03B5/32—Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element being electromechanical resonator being a piezoelectric resonator
Definitions
- This article is about electronic devices, and for example how they control their crystal oscillators (XOs) under certain conditions (e.g., sleep mode).
- XOs crystal oscillators
- a crystal oscillator is an electronic oscillator circuit that uses the mechanical resonance of a vibrating crystal of piezoelectric material to generate an electrical signal with a specific frequency.
- the most common type of piezoelectric resonator used is a quartz resonator, so the oscillator circuit called a quartz resonator is called a crystal oscillator.
- TCXOs temperature compensated crystal oscillators
- DCXOs digitally compensated crystal oscillators
- a temperature compensated crystal oscillator (TCXO) uses analog frequency compensation dictated by an analog voltage generated by a temperature sensor to adjust a voltage variable capacitor.
- a digitally compensated crystal oscillator (DCXO) can correct the frequency using a digitally controlled capacitor bank.
- Wireless communication devices may require an accurate timing source for stable communication and system operation.
- Crystal Quadrat Crystal Unit, expressed as XTAL
- OSC oscillator
- OSC quartz crystal oscillator and refers to an electronic oscillator circuit that uses a crystal to generate a reference frequency.
- OSC oscillator
- a device that uses the piezoelectric effect to generate electricity when pressure is applied by inserting a crystal and an oscillation circuit into one CAN and vibrates when electricity is applied.
- the crystal can be made to vibrate constantly through an appropriate control circuit, and this vibration can be detected and used as a clock for a digital circuit and a reference clock for a PLL in an RF circuit.
- Types of OSC include TCXO (Temperature-Compensated Crystal Oscillator), VCXO (Voltage-Controlled Crystal Oscillator), and VCTCXO (Voltage-Controlled Temperature-Compensated Crystal Oscillator).
- TCXO Tempoture-Compensated Crystal Oscillator
- VCXO Voltage-Controlled Crystal Oscillator
- VCTCXO Voltage-Controlled Temperature-Compensated Crystal Oscillator
- Crystals have the characteristic of vibrating at a certain frequency according to the load capacitance set at the design stage. Crystals also have the characteristic of causing frequency deviation depending on the surrounding temperature and pressure. Crystals have an initial error during the crystal production process, and the initial error can be compensated for by adjusting the load capacitance value of the oscillation circuit IC for accurate resonance.
- the XO used below can mean a crystal oscillator.
- XO stands for quartz crystal oscillator.
- XO can utilize the piezoelectric effect, which generates electricity when pressure is applied and vibrates when electricity is applied.
- An electronic device can check the frequency of a signal broadcast by a base station by changing the frequency of a reference signal used in the operation of changing a signal broadcast by a base station into a baseband signal for frequency synchronization within a pre-specified range using automatic frequency control (AFC).
- AFC automatic frequency control
- the frequency of the reference signal may be different from the intended frequency.
- the DCXO may generate a clock different from the reference clock for generating the reference frequency, so that a transceiver designed to generate a reference signal based on the reference clock of the DCXO may generate a signal having a frequency different from the intended frequency.
- a situation may arise where the clock transmitted to the transceiver is different from the reference clock.
- the electronic device must find the optimized load capacitance for the mounted XO to generate the set frequency.
- the set frequency may mean the frequency at which the electronic device can generate a stable clock. If the optimized load capacitance for the XO mounted on the electronic device is not found and an error occurs in the early stage of the process, it may be difficult for the electronic device to generate a stable clock.
- XO can have different frequencies depending on the surrounding temperature.
- the relationship between the frequency error occurring in XO and the temperature is called the FT function, and the FT function can be expressed as shown in the mathematical expression 1 below.
- f represents the correction frequency of the independent variables C0, C1, C2, and C3, and t0 is the initial temperature change (or inflection temperature / inflection point, in some cases t0 has a variation and is the zero temperature or the initial temperature of the calibration process). t0 may vary depending on the manufacturing process of the crystal.
- the value of mathematical expression 1 can be determined as C0.
- the value of f(t) can mean the error of the frequency.
- the value of f(t) can be determined by the coefficient C0.
- the frequency error can be reduced as the coefficient C0 approaches 0.
- the frequency error can be reduced by adjusting the coefficients (C0, C1, C2, C3) of other FT functions.
- the coefficients of the FT function can have values at which field calibration is continuously performed through communication with the base station when the sample is connected to the receiver.
- the coefficients of the FT function can have different values depending on the temperature of the sample.
- t0 represents an inflection point and can represent an inflection point of a graph on the FT function.
- calibration coarse calibration
- XO can be performed.
- a clock generator can have different load capitance values in the active and sleep states.
- the clock generator can control the load capitance for the XO to achieve optimal resonance based on the trim value. If the trim value changes, the load capitance value of the clock generator changes, which may make it difficult to control the XO to achieve optimal resonance. If it is difficult for the XO to achieve optimal resonance, an error may occur in the frequency generated by the clock generator.
- An electronic device can have a trim value determined in the active state. The load capitance value may change when the electronic device changes to the sleep state. If the trim value determined in the active state is used as is, it may be difficult to control the XO to achieve optimal resonance.
- An electronic device can store trim values in memory so that a clock generator can generate a constant frequency when in a sleep state rather than an active state.
- Methods and electronic devices for reducing XO errors are intended to present a method for maintaining optimal load capacitance even in a sleep state and a method for optimizing the coefficients of an FT function in a situation where disappointment cannot be accessed.
- An electronic device may include a processor, a crystal oscillator (XO) that generates a reference clock for generating a signal having a reference frequency, and a memory.
- the processor may determine a trim value so that the clock generator can constantly generate a frequency in a sleep mode, apply the determined trim value based on the clock generator entering the sleep mode, perform calibration while the clock generator is in the sleep mode, determine a control coefficient that makes a frequency error of the crystal oscillator less than or equal to a threshold value, store the determined control coefficient value in the memory, and change the control coefficient to the control coefficient value determined in the sleep mode based on the state of the clock generator switching from an active mode to a sleep mode.
- XO crystal oscillator
- a method for controlling a crystal oscillator (XO) of an electronic device may include an operation of performing calibration while a clock generator is in a sleep mode, an operation of determining a control coefficient that causes a frequency error of the crystal oscillator to be expressed along the y-axis and become less than or equal to a threshold value, an operation of storing the determined control coefficient value in a memory, and an operation of changing the control coefficient to the determined control coefficient value while in the sleep mode based on a state of the clock generator being switched from an active mode to a sleep mode.
- an electronic device may provide a method for maintaining an optimal load capacitance even in a sleep state and a method for optimizing the coefficients of an FT function in a situation where a failure cannot be accessed.
- the sleep state may be a state different from an active state.
- the sleep state may include, for example, a situation where the electronic device is in airplane mode.
- a method and electronic device for reducing XO error propose a method of securing the values of coefficients to be used during sleep through separate coarse calibration, thereby maintaining load capacitance even in a sleep state.
- FIG. 1 is a block diagram of an electronic device within a network environment according to various embodiments.
- Figure 2 is a circuit diagram showing an XO and a clock generator according to a comparative example.
- FIG. 3A is a diagram illustrating an electronic device and a base station according to one embodiment.
- FIG. 3b is a block diagram of an electronic device according to one embodiment.
- Figure 4 is a graph showing the initial process error according to a comparative example.
- FIG. 5 illustrates a first embodiment in which the coefficients of the FT function can be updated according to temperature when the electronic device is in a sleep state.
- FIG. 6 illustrates a second embodiment in which the coefficients of the FT function can be updated according to temperature when the electronic device is in a sleep state.
- FIG. 7 is a flowchart illustrating a method for controlling a crystal oscillator (XO) of an electronic device according to one embodiment.
- XO crystal oscillator
- FIG. 8 is a flowchart illustrating a method for controlling a crystal oscillator (XO) of an electronic device according to one embodiment.
- XO crystal oscillator
- FIG. 1 is a block diagram of an electronic device (101) in a network environment (100) according to various embodiments.
- the electronic device (101) may communicate with the electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of the electronic device (104) or the server (108) via a second network (199) (e.g., a long-range wireless communication network).
- the electronic device (101) may communicate with the electronic device (104) via the server (108).
- the electronic device (101) may include 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), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197).
- the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added.
- some of these components e.g., the sensor module (176), the camera module (180), or the antenna module (197) may be integrated into one component (e.g., the display module (160)).
- the processor (120) may control at least one other component (e.g., a hardware or software component) of an electronic device (101) connected to the processor (120) by executing, for example, software (e.g., a program (140)), and may perform various data processing or calculations.
- the processor (120) may store a command or data received from another component (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the command or data stored in the volatile memory (132), and store result data in a nonvolatile memory (134).
- the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (121).
- a main processor (121) e.g., a central processing unit or an application processor
- an auxiliary processor (123) e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor
- the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function.
- the auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
- the auxiliary processor (123) may control at least a portion of functions or states associated with at least one of the components of the electronic device (101) (e.g., the display module (160), the sensor module (176), or the communication module (190)), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state.
- the auxiliary processor (123) e.g., an image signal processor or a communication processor
- the auxiliary processor (123) may include a hardware structure specialized for processing artificial intelligence models.
- the artificial intelligence models may be generated through machine learning. Such learning may be performed, for example, in the electronic device (101) itself on which the artificial intelligence model is executed, or may be performed through a separate server (e.g., server (108)).
- the learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above.
- the artificial intelligence model may include a plurality of artificial neural network layers.
- the artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), deep Q-networks, or a combination of two or more of the above, but is not limited to the examples described above.
- the artificial intelligence model may additionally or alternatively include a software structure.
- the memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101).
- the data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto.
- the memory (130) can include volatile memory (132) or nonvolatile memory (134).
- the program (140) may be stored as software in memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
- the input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101).
- the input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
- the audio output module (155) can output an audio signal to the outside of the electronic device (101).
- the audio output module (155) can include, for example, a speaker or a receiver.
- the speaker can be used for general purposes such as multimedia playback or recording playback.
- the receiver can be used to receive an incoming call. According to one embodiment, the receiver can be implemented separately from the speaker or as a part thereof.
- the display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101).
- the display module (160) can include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device.
- the display module (160) can include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.
- the audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can obtain sound through an input module (150), or output sound through an audio output module (155), or an external electronic device (e.g., an electronic device (102)) (e.g., a speaker or a headphone) directly or wirelessly connected to the electronic device (101).
- an electronic device e.g., an electronic device (102)
- a speaker or a headphone directly or wirelessly connected to the electronic device (101).
- the sensor module (176) can detect an operating state (e.g., power or temperature) of the electronic device (101) or an external environmental state (e.g., user state) and generate an electrical signal or data value corresponding to the detected state.
- the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
- the interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., 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
- connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., 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 (e.g., a headphone connector).
- the haptic module (179) can convert an electrical signal into a mechanical stimulus (e.g., vibration or movement) or an electrical stimulus that a user can perceive through a tactile or kinesthetic sense.
- the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
- the camera module (180) can capture still images and moving images.
- the camera module (180) can include one or more lenses, image sensors, image signal processors, or flashes.
- the power management module (188) can manage power supplied to the electronic device (101).
- the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
- PMIC power management integrated circuit
- the battery (189) can power at least one component of the electronic device (101).
- the battery (189) can include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
- the communication module (190) may support establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., the electronic device (102), the electronic device (104), or the server (108)), and performance of communication through the established communication channel.
- the communication module (190) may operate independently from the processor (120) (e.g., the application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication.
- the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a GNSS (global navigation satellite system) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module or a power line communication module).
- a wireless communication module (192) e.g., a cellular communication module, a short-range wireless communication module, or a GNSS (global navigation satellite system) communication module
- a wired communication module (194) e.g., a local area network (LAN) communication module or a power line communication module.
- a corresponding communication module may communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)).
- a first network (198) e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)
- a second network (199) e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)
- a computer network e.g.,
- the wireless communication module (192) may use subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196) to identify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199).
- subscriber information e.g., an international mobile subscriber identity (IMSI)
- IMSI international mobile subscriber identity
- the wireless communication module (192) can support a 5G network and next-generation communication technology after a 4G network, for example, NR access technology (new radio access technology).
- the NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), terminal power minimization and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)).
- eMBB enhanced mobile broadband
- mMTC massive machine type communications
- URLLC ultra-reliable and low-latency communications
- the wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate.
- a high-frequency band e.g., mmWave band
- the wireless communication module (192) may support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna.
- the wireless communication module (192) may support various requirements specified in an electronic device (101), an external electronic device (e.g., an electronic device (104)), or a network system (e.g., a second network (199)).
- the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL) each, or 1 ms or less for round trip) for URLLC realization.
- a peak data rate e.g., 20 Gbps or more
- a loss coverage e.g., 164 dB or less
- U-plane latency e.g., 0.5 ms or less for downlink (DL) and uplink (UL) each, or 1 ms or less for round trip
- the antenna module (197) can transmit or receive signals or power to or from the outside (e.g., an external electronic device).
- the antenna module (197) can include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB).
- the antenna module (197) can include a plurality of antennas (e.g., an array antenna).
- 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) can be selected from the plurality of antennas by, for example, the communication module (190).
- a signal or power can be transmitted or received between the communication module (190) and the external electronic device through the selected at least one antenna.
- another component e.g., a radio frequency integrated circuit (RFIC)
- RFIC radio frequency integrated circuit
- the antenna module (197) may form a mmWave antenna module.
- the mmWave antenna module may include a printed circuit board, an RFIC positioned on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) positioned on or adjacent a second side (e.g., a top side or a side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.
- a first side e.g., a bottom side
- a plurality of antennas e.g., an array antenna
- At least some of the above components may be connected to each other and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)).
- peripheral devices e.g., a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)).
- GPIO general purpose input and output
- SPI serial peripheral interface
- MIPI mobile industry processor interface
- commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199).
- Each of the external electronic devices (102, or 104) may be the same or a different type of device as the electronic device (101).
- all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of executing the function or service itself or in addition, request one or more external electronic devices to perform at least a part of the function or service.
- One or more external electronic devices that have received 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 transmit the result of the execution to the electronic device (101).
- the electronic device (101) may provide the result, as is or additionally processed, as at least a part of a response to the request.
- cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example.
- the electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example.
- the external electronic device (104) may include an IoT (Internet of Things) device.
- the server (108) may be an intelligent server using machine learning and/or a neural network.
- the external electronic device (104) or the server (108) may be included in the second network (199).
- the electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
- Electronic devices may be devices of various forms.
- the electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliance devices.
- portable communication devices e.g., smartphones
- computer devices e.g., portable multimedia devices
- portable medical devices e.g., cameras
- wearable devices e.g., portable medical devices, cameras
- home appliance devices e.g., portable communication devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliance devices.
- Electronic devices according to embodiments of this document are not limited to the above-described devices.
- first, second, or first or second may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order).
- a component e.g., a first
- another component e.g., a second
- functionally e.g., a third component
- module used in various embodiments of this document may include a unit implemented in hardware, software or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example.
- a module may be an integrally configured component or a minimum unit of the component or a part thereof that performs one or more functions.
- a module may be implemented in the form of an application-specific integrated circuit (ASIC).
- ASIC application-specific integrated circuit
- Various embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)).
- a processor e.g., a processor (120)
- the machine e.g., an electronic device (101)
- the one or more instructions may include code generated by a compiler or code executable by an interpreter.
- the machine-readable storage medium may be provided in the form of a non-transitory storage medium.
- 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
- the method according to various embodiments disclosed in the present document may be provided as included in a computer program product.
- the computer program product may be traded between a seller and a buyer as a commodity.
- the computer program product may be distributed in the form of a machine-readable storage medium (e.g., a compact disc read only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play StoreTM) or directly between two user devices (e.g., smart phones).
- an application store e.g., Play StoreTM
- at least a part of the computer program product may be at least temporarily stored or temporarily generated in a machine-readable storage medium, such as a memory of a manufacturer's server, a server of an application store, or an intermediary server.
- each component e.g., a module or a program of the above-described components may include a single or multiple entities, and some of the multiple entities may be separately arranged in other components.
- one or more components or operations of the above-described components may be omitted, or one or more other components or operations may be added.
- the multiple components e.g., a module or a program
- the integrated component may perform one or more functions of each of the multiple components identically or similarly to those performed by the corresponding component of the multiple components before the integration.
- the operations performed by the module, program, or other component may be executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
- Figure 2 is a circuit diagram showing an XO and a clock generator according to a comparative example.
- An electronic device may include an XO (210) and a clock generator (220).
- Wireless communication devices may require a source that provides accurate timing for a stable communication environment and system environment.
- a crystal oscillator (Quartz Crystal Unit, XTAL) may refer to a resonator that generates an oscillation frequency using an externally applied electrical signal.
- An oscillator (OSC) may refer to a circuit that uses a crystal oscillator to generate a reference frequency.
- An oscillator (OSC) can generate a signal by using the piezoelectric effect that generates electricity when pressure is applied and vibrates when electricity is applied conversely.
- An oscillator (OSC) can control a crystal to vibrate at a constant frequency using a circuit.
- An oscillator (OSC) can use the vibration generated by the crystal as a clock for a digital circuit.
- a crystal can vibrate at a constant frequency according to the load capacitance set at the design stage. There may be an initial error in the process stage, and in order for the signal to have the intended frequency, the electronic device can compensate for the initial error of the crystal by adjusting the value of the load capacitance of the oscillator circuit.
- the crystal may be used as the term crystal oscillator (XO) (210).
- the clock generator (220) can generate a clock at a constant frequency.
- the frequency of the generated clock can be determined by the value of the load capacitance.
- the value of the load capacitance can vary depending on the values of C_tune (222) and C_status (224).
- C_status(224) may include a capacitance value determined according to a trim value of a crystal oscillator (XO)(210).
- C_tune(222) may include a capacitance value that is adjusted to maintain a constant load capacitance value in response to a change in C_status(224).
- a clock generator(220) may require a load capacitance value of 5pF to generate a constant clock.
- the electronic device may control C_tune(222) to have a value of 2pF.
- C_status(224) may change to 3.5pF, the electronic device may control C_tune(222) to have a value of 1.5pF.
- the value of C_status(224) may be different when the clock generator is enabled and when it is in sleep state.
- the clock generator may have difficulty generating a constant clock.
- a factory tuning calibration can be performed on a crystal oscillator (XO).
- the tuning calibration can be used to determine the nominal frequency offset around C0 and t0 in the above equation (1).
- f represents the crystal frequencies of the independent variables C0, C1, C2, and C3, and
- t0 represents the initial temperature change (or inflection temperature / inflection point, in some cases ⁇ 0 has a variation and can be the zero temperature or the initial temperature of the calibration process).
- t0 can vary slightly from product to product due to the manufacturing process of the crystal.
- the tuning value of C0 can be set to zero and thus removed from the temperature curve formula.
- a general correction model can be a third-degree polynomial with five variables along with four independent variables as shown in Equation 1 above.
- T0 is the initial temperature change (or inflection temperature / inflection point, in some cases t0 has a variation and is the zero temperature or the initial temperature of the calibration process). to may have some differences due to the manufacturing process.
- the optimal load capacitance value may include a value that controls the clock generator (220) to generate a constant frequency. If the coefficients of the FT function cannot be changed, the clock generator (220) may not have an optimal load capacitance value, making it difficult to generate a constant frequency.
- FIG. 3a is a diagram illustrating an electronic device and a base station according to one embodiment of the present document.
- the base station (310) may be a base station supporting the first cellular communication.
- the first cellular communication may mean any one of various cellular communication methods that the electronic device (300) can support.
- the first cellular communication may be any one of the 5th generation mobile communication methods (e.g., a communication method using FR1, which is a band below 6 GHz, or a communication method using FR2, which is a frequency band above 6 GHz).
- the base station (210) may be a base station that outputs a signal of the first frequency band (e.g., a frequency band above 6 GHz).
- the electronic device (220) can perform registration on a cellular network and transmit and/or receive various data with an external electronic device (e.g., the electronic device (104) of FIG. 1) via a base station (310).
- an external electronic device e.g., the electronic device (104) of FIG. 1
- a base station 310
- the electronic device (300) may search for a base station (310) included in the cellular network in order to attempt to register with the cellular network, and as the search for the base station (310) is completed, perform a registration procedure with the cellular network through the base station (310).
- the electronic device (300) can receive a SS/PBCH block (synchronization signal/physical broadcast channel block) broadcast by the base station (310) before registering with the cellular network.
- the SS/PBCH block is data required when the electronic device (300) searches for the base station (310) to which it will be connected, and the SS/PBCH block can be broadcast by the base station (310) at a designated period (e.g., 20 ms).
- the electronic device (300) can decode the SS/PBCH block and synchronize with the base station (310) based on the signal obtained through the decoding.
- the electronic device (300) can obtain a master information block (MIB) through a physical broadcast channel (PBCH) included in the SS/PBCH block.
- the electronic device (300) can obtain identification information (or physical identification information) of the base station (310), information related to a paging message, and/or a system frame number of the SS/PBCH block through the master information block.
- MIB master information block
- PBCH physical broadcast channel
- the electronic device (300) can obtain identification information (or physical identification information) of the base station (310), information related to a paging message, and/or a system frame number of the SS/PBCH block through the master information block.
- the electronic device (300) can connect to the base station (310) based on the acquired information and perform synchronization of the downlink with the base station (310).
- the electronic device (300) can perform random access to perform synchronization of the uplink with the base station (310), and when the random access procedure is completed, can perform a registration procedure with the cellular network. After the electronic device (300) is registered with the cellular network, it can transmit or receive data to or from an external electronic device (104).
- the procedures described above may be procedures implemented on the premise that the electronic device (300) performs a search for the base station (310).
- the electronic device (300) may perform a procedure for discovering a signal (e.g., SS/PBCH) broadcast by the base station (310) in a pre-designated frequency band.
- the electronic device (300) may check the characteristics of the signal broadcast by the base station (310) (e.g., frequency band of the signal, carrier frequency) and perform frequency synchronization to match the frequency of the signal broadcast by the base station (310) with the frequency of a reference signal used in a communication circuit of the electronic device (300).
- Frequency synchronization is an essential procedure for converting a signal broadcast by the base station (310) into a baseband signal. Frequency synchronization is described in detail in FIG. 3.
- FIG. 3 is a block diagram of an electronic device according to one embodiment of the present document.
- the electronic device (300) may include a communication processor (330), a clock generator (335), XO (crystal oscillators) (340), a transceiver (350), and/or an antenna (360).
- the XO may include an X-TAL (crystal or passive oscillator).
- the communication processor (320) may receive or transmit control data or user data via cellular wireless communication (e.g., 2nd generation mobile communication, 3rd generation mobile communication, 4th generation mobile communication, and/or 5th generation mobile communication).
- the communication processor (320) may establish a cellular communication connection with a base station (e.g., the base station (310) of FIG. 2) via the control data, and may transmit data received from an application processor (e.g., the processor (120) of FIG. 1) to the base station via the established cellular communication, or transmit data received from the base station to the application processor (120).
- the transceiver (350) may perform various operations for processing a signal received from the communication processor (320). For example, the transceiver (350) may perform a modulation operation on a signal received from the communication processor (320). For example, the transceiver (350) may perform a frequency modulation operation for converting a baseband signal into a radio frequency (RF) signal used for cellular communication.
- RF radio frequency
- the transceiver (350) may also perform a demodulation operation on a signal received from the outside through the antenna (360). For example, the transceiver (350) may perform a frequency demodulation operation that converts a radio frequency (RF) signal into a baseband signal.
- RF radio frequency
- the transceiver (350) may include a mixer (351) that converts the frequency of a signal transmitted by a base station (310) having a radio frequency (RF) into a baseband signal based on the difference between a signal received through an antenna (360) and a reference signal output by a local oscillator.
- a mixer 351 that converts the frequency of a signal transmitted by a base station (310) having a radio frequency (RF) into a baseband signal based on the difference between a signal received through an antenna (360) and a reference signal output by a local oscillator.
- the transceiver (350) may include a local oscillator (353) that transmits a reference signal to the mixer (351) and a PLL (phase locked loop (355) that maintains the frequency of the reference signal output by the local oscillator (353) within a certain range.
- a local oscillator 353 that transmits a reference signal to the mixer (351)
- a PLL phase locked loop
- the crystal oscillator (XO) (340) may include a crystal element that vibrates at a specific frequency corresponding to the voltage applied by the communication processor (320).
- the frequency band of the vibration of the crystal element may vary depending on the temperature. Therefore, the XO (340) may adjust the frequency band of the signal by using an element having different impedance depending on the temperature value.
- the XO (340) may function as a reference clock so that a signal used by the transceiver (350) has a designated frequency band.
- the transceiver (350) may generate a signal of a required frequency band (e.g., a reference frequency) based on the reference clock, and may convert a signal received through the antenna (360) into a baseband signal.
- the communication processor (320) may perform a series of operations to check the characteristics of a signal broadcast by the base station (310) in order to search for the base station (310).
- the communication processor (320) may control the XO (340) to generate a reference clock having a reference frequency obtained in various ways (e.g., checking carrier frequency information corresponding to channels supported by a network that is stored in advance on the electronic device (300).
- the communication processor (320) may control the transceiver (350) to generate a signal having a reference frequency by using the reference clock generated by the XO (340).
- the transceiver (350) may control the PLL (355) and the local oscillator (353) to generate a signal having a reference frequency by using the reference clock.
- the communication processor (320) can control the transceiver (350) to convert a signal received through the antenna (360) into a baseband signal based on a signal having a reference frequency.
- the transceiver (350) can generate a baseband signal by down converting a signal received through the antenna (360) using a signal having a reference frequency output from a local oscillator (353).
- the communication processor (320) can receive a baseband signal transmitted by the transceiver (350) and decode the received signal.
- the communication processor (330) can determine that the search for the base station (310) is successful when it confirms that the information obtained through decoding is information (e.g., MIB or SIB) required for connection with the base station (210).
- the communication processor (320) can determine that the search for the base station (310) is failed when it confirms that the decoding of the received signal fails or that the information obtained through decoding is not information (e.g., MIB or SIB) required for connection with the base station (310).
- the frequency of the signal broadcast by the base station (310) and the frequency of the signal used by the transceiver (350) may not match.
- the frequency of the signal broadcast by the base station (310) may change due to the Doppler effect, and due to the aging of the base station (310), the frequency of the signal broadcast by the base station (310) may be different from a pre-specified frequency.
- the electronic device (300) may support AFC (automatic frequency control) in consideration of the above phenomenon.
- AFC may mean a function of changing the frequency (e.g., 2.6 GHz) of a signal generated by the transceiver (350) within a pre-specified range (e.g., 5 ppm; 2.599974 GHz to 2.6000026 GHz).
- the communication processor (320) can change the frequency of a reference signal used in an operation of changing a signal broadcast by the base station (310) into a baseband signal through the antenna (360) while checking the frequency of the signal broadcast by the base station (310).
- the communication processor (320) can change the signal broadcast by the base station (310) into a baseband signal by using a reference signal having a frequency changed within a specified range, and if decoding is successful, can determine the changed frequency as the frequency of the signal broadcast by the base station (310).
- the XO (340) may include a crystal element that vibrates at a reference frequency based on the control of the communication processor (320).
- the frequency band of the vibration of the crystal element may vary depending on the temperature.
- the XO (340) may transmit a temperature value measured by an internal temperature sensor to the communication processor (320).
- the communication processor (320) may transmit a signal for controlling a separate element for compensating for the frequency that varies depending on the temperature to the XO (340).
- the XO (340) may compensate for the frequency band of the signal by using an element having different impedance depending on the temperature based on the control of the communication processor (330).
- the clock generator (330) may generate a reference clock so that a signal used by the transceiver (350) has a designated frequency band.
- the transceiver (350) can generate a signal of a required frequency band (e.g., a reference frequency) based on a clock generated on a clock generator (330) and convert a signal received through an antenna (360) into a baseband signal.
- a required frequency band e.g., a reference frequency
- Figure 4 is a graph showing the initial process error according to a comparative example.
- the crystal oscillator (XO) may require initial error calibration to be used as a source of accurate clock.
- the frequency generated by the crystal oscillator (XO) may vary depending on the ambient temperature.
- the relationship between the frequency error generated in the crystal oscillator (XO) and temperature can be called the FT Curve and can be expressed by mathematical equation 1.
- the coefficients of the FT function (C0, C1, C2, C3) can change as the electronic device continues to perform calibration through communication with the base station.
- the calibration can be performed at the process stage, and the coefficients can be optimized for the temperature of the sample (e.g., crystal) during this process.
- the crystal oscillator (XO) can find the load capacitance that can achieve the optimal resonance by adjusting the values for the coefficients.
- the coefficients of the optimized FT function calculated at a specific temperature (e.g., room temperature) can be applied as reference values during calibration.
- the first situation is that the coefficient values of the FT function in the active state of the clock generator and the coefficient values of the FT function in the sleep state when the clock generator is inactive may be different from each other.
- the sleep state may be a different state from the active state.
- the sleep state may include, for example, a situation in which the electronic device (101) is in airplane mode. If the coefficient values in the sleep state are different from the coefficient values in the active state, the crystal oscillator (XO) may have difficulty in generating an optimized load capacitance. If the crystal oscillator (XO) does not have an optimized load capacitance, an error may occur when generating a frequency.
- the second situation is that when the clock generator is in a sleep state, the coefficients of the FT function cannot be calibrated, so it is difficult to update the coefficients of the optimal FT function according to the temperature change.
- the clock generator may not be able to update the coefficients. If the coefficients cannot be updated when the ambient temperature changes, the crystal oscillator (XO) may generate an error when generating the frequency.
- the electronic device may not be able to perform normal wake-up operations due to an error in the normal clock.
- the electronic device may not be able to perform normal wake-up operations due to an error in the normal clock.
- a motor if a call comes in while in a sleep state, it may not vibrate due to a malfunction.
- Wi-Fi a periodic search operation is performed to find an AP when connecting, but normal searching may be difficult due to an error in the clock.
- An electronic device can provide a method for maintaining an optimized load capacitance in a sleep state and optimizing the coefficients of an FT function according to temperature changes.
- FIG. 5 illustrates a first embodiment in which the coefficients of the FT function can be updated according to temperature when the electronic device is in a sleep state.
- a processor can perform calibration of coefficients of an FT function based on the electronic device (e.g., electronic device (101) of FIG. 1) entering a sleep mode. Although described in this document as being performed by the processor (120), it may also be performed by at least one component (e.g., communication processor) of the electronic device (e.g., electronic device (101) of FIG. 1). The processor (120) can determine calibrated coefficient values and reduce a frequency error occurring on an XO by using the coefficient values determined in the sleep mode.
- the processor (120) can store a table in which coefficient values according to temperature change are described for each model before mass production in a memory (e.g., memory (130) of FIG. 1).
- the processor (120) can fix a trim value at room temperature (approximately 25 degrees) and perform calibration while changing the temperature.
- the trim value may be a value for determining the period of a clock signal.
- the processor (120) can control the output so that the period of the clock signal on the crystal oscillator (XO) becomes constant by using the trim value.
- the processor (120) can perform calibration while changing the temperature to determine coefficients (e.g., C0, C1, C2, C3) for reducing the frequency error of the crystal oscillator (XO).
- the coefficients (e.g., C0, C1, C2, C3) may mean coefficients of an FT function, and the FT function has been described by mathematical expression 1.
- the coefficients (C0, C1, C2, C3) of the FT function may change as the electronic device continues to perform calibration through communication with the base station.
- the calibration may be performed at the process stage, and the coefficients optimized for the temperature of the sample (e.g., crystal) may be determined during this process.
- the processor (120) may find the load capacitance for which the crystal oscillator (XO) can optimally resonate while adjusting the coefficient values of the FT function.
- the optimized coefficients calculated at room temperature may be applied as reference values during calibration.
- the optimal coefficient value obtained through the calibration of the crystal oscillator (XO) at 30 degrees can be expressed as SLEEP_C0_30.
- SLEEP means sleep state
- C0 means the type of coefficient
- 30 can mean the temperature in Celsius. This can be confirmed through the table described in Figure 510.
- the processor (120) can determine an offset value to be applied when the temperature of the electronic device (101) is 30 degrees.
- the offset value can mean the difference between the value of SLEEP_C0_30 and the SLEEP_C0 value obtained at room temperature. In this way, the offset value can be determined for each temperature by comparing the coefficient value of a specific temperature (e.g., 30 degrees) and the room temperature.
- the processor (120) can store the determined offset value for each temperature on the memory (130).
- the processor (120) can determine the offset value (C0_offset_30) by calculating the difference between the value of SLEEP_C0_30 and the SLEEP_C0 value obtained at room temperature.
- the processor (120) can determine the offset value (C0_offset_30) by calculating the difference between the value of SLEEP_C0_30 and the SLEEP_C0 value obtained at room temperature.
- the temperature of the electronic device (101) is 30 degrees, but this is only an example, and the temperature of the electronic device (101) may vary depending on the situation.
- the processor (120) may determine coefficients of an FT function for reducing a frequency error occurring on a crystal oscillator by performing calibration at a first temperature during a product test process, and may determine coefficients of an FT function for reducing a frequency error occurring on a crystal oscillator by performing calibration at a second temperature different from the first temperature.
- the processor (120) may compare coefficients of an FT function at the first temperature and coefficients of an FT function at the second temperature to determine a difference value as an offset, store the determined offset value on the memory (130), and determine coefficients of an FT function for reducing a frequency error occurring on a crystal oscillator when the electronic device (101) is in a sleep mode based on a trim value when the electronic device (101) is in a sleep mode, an external temperature, and the determined offset value. Reducing the error here could mean making the value of the FT function approach zero. Or reducing the error could mean making the absolute value of the value of the FT function smaller.
- the processor (120) may determine an offset value at the second temperature stored in the memory (130) based on the external temperature of the electronic device being the second temperature, add the offset value at the second temperature and the coefficient of the FT function of the first temperature to determine a coefficient of the FT function at the second temperature, and apply the coefficient of the FT function at the second temperature, which is determined based on the temperature of the electronic device (101) being the second temperature and the electronic device being in a sleep state, to the crystal oscillator.
- the processor (120) may perform calibration at a third temperature different from the second temperature to determine coefficients of an FT function for reducing a frequency error occurring on a crystal oscillator, compare the coefficients of the FT function at the first temperature with the coefficients of the FT function at the third temperature to determine an offset, and store the determined offset value on the memory (130).
- the processor (120) may apply the coefficients of the FT function at the third temperature, which are determined based on the temperature of the electronic device (101) being the third temperature and in a sleep state, to the crystal oscillator.
- FIG. 6 illustrates a second embodiment in which the coefficients of the FT function can be updated according to temperature when the electronic device is in a sleep state.
- a processor may store, in a memory (e.g., memory (130) of FIG. 1), how coefficients of an FT function change according to temperature change during calibration while a clock generator is active.
- the processor (120) may determine a change value of the coefficients in a sleep state based on the change value of the stored coefficients of the FT function.
- an electronic device may update the coefficients of the FT function according to the temperature while the clock generator is active.
- the coefficients of the FT function may be difficult to update in the sleep state.
- the processor (120) can update the coefficient change value when the clock generator is in a sleep state based on the coefficient change value of the FT function according to the temperature change when the clock generator is in an active state.
- the processor (120) can update the coefficients of the FT function according to temperature change.
- the processor (120) can determine an offset value for each coefficient of the FT function. This has been described in Fig. 5.
- SLEEP means a sleep state
- C0 means a type of coefficient
- 30 means a temperature in degrees Celsius.
- the processor (120) can determine an offset value to be applied when the temperature of the electronic device (101) is 30 degrees.
- the offset value can mean a difference between the value of SLEEP_C0_30 and the SLEEP_C0 value obtained at room temperature. In this way, the offset value can be determined for each temperature by comparing the coefficient values of a specific temperature (e.g., 30 degrees) and room temperature.
- the processor (120) can store the determined offset values for each temperature on the memory (130).
- the offset value may be C0_offset_X. This may be determined as a value obtained by subtracting Active_C0 from Active_C0_X. Active may indicate that the electronic device (101) or the clock generator is activated. C0 may indicate a coefficient of an FT function. X may indicate a temperature, and if no indication is provided, it may mean room temperature. In this manner, the processor (120) may determine an offset value for each temperature and coefficient.
- the processor (120) can use the coefficient value and offset value of the FT function determined when the electronic device (101) or the clock generator is in the sleep state based on the active state.
- the processor (120) can use the coefficient value and offset value of the FT function determined when the active state to determine the coefficient value and offset value of the FT function in the sleep state.
- the offset value may be C0_offset_X. This may be determined as a value obtained by subtracting Sleep_C0 from Sleep_C0_X.
- Sleep may indicate that the electronic device (101) or the clock generator is in a sleep state.
- C0 may indicate a coefficient of an FT function.
- X may indicate a temperature, and if there is no indication, it may mean room temperature.
- Sleep_C0 may indicate a coefficient value of an FT function at room temperature.
- Sleep_C0_X may indicate a coefficient value of an FT function when the temperature is X.
- the processor (120) may determine an offset value for each temperature and coefficient.
- the offset value may be C0_offset_Y. This may be determined as a value obtained by subtracting Sleep_C0 from Sleep_C0_Y.
- Sleep may indicate that the electronic device (101) or the clock generator is in a sleep state.
- C0 may indicate a coefficient of an FT function.
- Y may indicate a temperature, and if there is no indication, it may mean room temperature. In this way, the processor (120) may determine an offset value for each temperature and coefficient. Y may indicate a different temperature than X.
- the processor (120) may measure a first temperature (e.g., X degrees) at which the coefficient value of the FT function changes beyond a specified first level based on the coefficient value of the FT function at room temperature.
- the processor (120) may apply the coefficient value of the FT function measured when the electronic device is in an active state as the coefficient value of the FT function in the sleep state based on the external temperature of the electronic device (101) being measured as the first temperature when the electronic device is in a sleep state. This is as described in Figure 632.
- the processor (120) may measure a first temperature (e.g., Y degrees) at which the coefficient value of the FT function changes to exceed a specified second level based on the coefficient value of the FT function at room temperature.
- the processor (120) may apply the coefficient value of the FT function measured when the electronic device (101) is in an active state, based on the external temperature of the electronic device (101) being measured as the second temperature when the electronic device is in a sleep state, as the coefficient value of the FT function in the sleep state. This is as described in Figure 634.
- the first temperature and the second temperature are not preset values and may mean temperatures at which the coefficient of the FT function changes.
- the temperature at which the coefficient of the FT function changes to exceed the first level may be determined as the first temperature.
- the temperature at which the coefficient of the FT function changes by more than a second level (e.g., 40% relative to room temperature) can be determined as the second temperature.
- the first level and the second level are only examples and may vary depending on the settings.
- FIG. 7 is a flowchart illustrating a method for controlling a crystal oscillator (XO) of an electronic device according to one embodiment.
- XO crystal oscillator
- FIG. 7 can be implemented based on instructions that can be stored in a computer recording medium or memory (e.g., memory (130) of FIG. 1).
- the illustrated method can be executed by an electronic device (e.g., electronic device (101) of FIG. 1) described above through FIGS. 1 to 6, and the technical features described above will be omitted below.
- the order of each operation of FIG. 7 can be changed, some operations can be omitted, and some operations can be performed simultaneously.
- a processor may determine a trim value for controlling a crystal oscillator (XO) to oscillate at a constant frequency in response to a load capacitance of a clock generation circuit while the electronic device (101) is in a sleep mode.
- the trim value is a value related to the characteristics of a sample, and whether the XO has an optimal load capacitance may be determined based on the trim value.
- the electronic device (101) may further include an oscillator configured to output an oscillator clock signal whose period is determined according to a trim value, and a clock counter configured to count the oscillator clock signal for a reference time.
- the processor (120) may decrease the count value by gradually increasing the trim value when the count value is greater than a target count value, and may increase the count value by gradually decreasing the trim value when the count value is less than or equal to the target count value.
- the oscillator may output the oscillator clock signal having a shorter period as the input trim value decreases.
- the processor (120) may determine a trim value corresponding to the count value exceeding the target count value as the final trim value in the sleep state.
- the processor (120) may determine a trim value corresponding to the count value below the target count value as the final trim value in the sleep state.
- the processor (120) can store the determined trim value in the memory (130).
- the determined trim value may mean a value that controls the crystal oscillator (XO) to vibrate at a constant frequency in a sleep mode rather than an active state.
- the oscillator can output an oscillator clock signal having a period determined according to the stored final trim value.
- the processor (120) may apply a trim value determined based on the state of the electronic device transitioning from an active mode to a sleep mode.
- the processor (120) can store coefficient values of an FT function to be applied on a crystal oscillator in response to a temperature change in the memory (130).
- the processor (120) may determine coefficients of an FT function between frequency and temperature to reduce frequency errors occurring on a crystal oscillator by performing calibration at a first temperature during a product test process, and may determine coefficients of an FT function to reduce frequency errors occurring on a crystal oscillator by performing calibration at a second temperature different from the first temperature.
- the processor (120) can compare the coefficient of the FT function of the first temperature with the coefficient of the FT function of the second temperature to determine an offset, and store the determined offset value on the memory (130).
- the processor (120) can determine the coefficient of the FT function for reducing a frequency error occurring on a crystal oscillator when the electronic device is in a sleep mode based on the trim value, the external temperature, and the determined offset value when the electronic device is in a sleep mode.
- the processor (120) may apply the coefficient values of the FT function determined based on the state of the clock generator switching from active mode to sleep mode.
- the processor (120) can determine a coefficient that makes the value of an FT function, in which the frequency error of a crystal oscillator is described along the y-axis and the temperature is described along the x-axis, become 0 in order to reduce the frequency error.
- the processor (120) can reduce the frequency error by applying a coefficient that makes the function value of an FT function, in which the frequency error is described along the y-axis and the temperature is described along the x-axis, become 0.
- the processor (120) may perform calibration according to a temperature change in the electronic device (101) in an active state, measure a change in a coefficient of an FT function according to a temperature change, measure a first temperature at which a coefficient value of an FT function changes beyond a specified first level based on a coefficient value of the FT function at room temperature, and store the measured first temperature in the memory (130).
- the processor (120) may determine whether the electronic device (101) is in a sleep state and whether an external temperature of the electronic device (101) is measured as a first temperature.
- the processor (120) may apply a coefficient value of the FT function measured when the electronic device (101) is in an active state as a coefficient value of the FT function in the sleep state.
- the processor (120) may perform calibration according to a temperature change in the electronic device (101) in an active state, measure a change in a coefficient of an FT function according to a temperature change, measure a second temperature at which a coefficient value of an FT function changes beyond a designated second level based on a coefficient value of the FT function at room temperature, and store the measured second temperature in the memory (130).
- the processor (120) may determine whether the electronic device (101) is in a sleep state and whether an external temperature of the electronic device (101) is measured as a second temperature.
- the processor (120) may apply a coefficient value of the FT function measured when the electronic device (101) is in an active state as a coefficient value of the FT function in the sleep state.
- the processor (120) determines coefficients of an FT function between frequency and temperature to reduce a frequency error occurring on a crystal oscillator by performing calibration at a first temperature during a product test process, determines coefficients of an FT function to reduce a frequency error occurring on a crystal oscillator by performing calibration at a second temperature different from the first temperature, determines an offset by comparing the coefficients of the FT function at the first temperature and the coefficients of the FT function at the second temperature, stores the determined offset value in a memory, and determines a coefficient that makes the value of the FT function between frequency error and temperature 0 based on the external temperature and the determined offset value when the clock generator is in a sleep mode.
- the processor (120) checks an offset value at a second temperature stored in a memory based on the external temperature of the electronic device being the second temperature, adds the offset value at the second temperature and a coefficient of the FT function of the first temperature to determine a coefficient of the FT function at the second temperature, and uses the coefficient of the FT function at the second temperature determined based on the temperature of the electronic device being the second temperature and the clock generator being in a sleep state to make the value of the FT function between the frequency error and the temperature become 0.
- the processor (120) determines coefficients of an FT function for reducing a frequency error occurring in a crystal oscillator by performing calibration at a third temperature different from a second temperature, compares the coefficients of the FT function at the first temperature with the coefficients of the FT function at the third temperature to determine an offset, stores the determined offset value in a memory, and uses the coefficients of the FT function at the third temperature determined based on the temperature of the electronic device being the third temperature and the clock generator being in a sleep state to make the value of the FT function between the frequency error and the temperature 0.
- FIG. 8 is a flowchart illustrating a method for controlling a crystal oscillator (XO) of an electronic device according to one embodiment.
- XO crystal oscillator
- FIG. 8 may be implemented based on instructions that may be stored in a computer recording medium or memory (e.g., memory (130) of FIG. 1).
- the illustrated method (800) may be executed by an electronic device (e.g., electronic device (101) of FIG. 1) described above through FIGS. 1 to 6, and the technical features described above will be omitted below.
- the order of each operation of FIG. 7 may be changed, some operations may be omitted, and some operations may be performed simultaneously.
- a processor may determine whether a clock generator is in a sleep state.
- the sleep state may be a different state from an active state.
- the sleep state may include, for example, a situation in which the electronic device (101) is in airplane mode.
- the processor (120) may determine a trim value to apply when in a sleep state based on whether the state of the electronic device (101) is in a sleep state.
- the processor (120) can determine a trim value that controls the crystal oscillator (XO) to vibrate at a constant frequency in response to the load capacitance of the clock generation circuit while the electronic device (101) is in sleep mode.
- the electronic device (101) may further include an oscillator configured to output an oscillator clock signal whose period is determined according to a trim value, and a clock counter configured to count the oscillator clock signal for a reference time.
- the processor (120) may decrease the count value by gradually increasing the trim value when the count value is greater than a target count value, and may increase the count value by gradually decreasing the trim value when the count value is less than or equal to the target count value.
- the oscillator may output an oscillator clock signal having a shorter period as an input trim value decreases.
- the processor (120) may determine a trim value corresponding to the count value exceeding the target count value as the final trim value in the sleep state.
- the processor (120) may determine a trim value corresponding to the count value below the target count value as the final trim value in the sleep state.
- the processor (120) may check the temperature of the electronic device (101) when in a sleep state and update the coefficients of the FT function.
- the processor (120) can determine the coefficients of the FT function to be applied when the electronic device (101) is in a sleep state.
- the FT function can represent the relationship between the frequency error occurring in the crystal oscillator (XO) and the temperature.
- the processor (120) may apply coefficients of the compensated FT function to the crystal oscillator (XO) so that the crystal oscillator (XO) can oscillate at a constant frequency.
- the processor (120) may determine the trim values to apply and the coefficients of the calibrated FT function when the electronic device (101) is in an active state based on the state not being in a sleep state.
- the processor (120) may apply coefficients of the compensated FT function to the crystal oscillator (XO) so that the crystal oscillator (XO) can oscillate at a constant frequency.
- An electronic device may include a processor, a crystal oscillator (XO) that generates a reference clock for generating a signal having a reference frequency, and a memory.
- the processor may determine a trim value so that the clock generator can constantly generate a frequency in a sleep mode, apply the determined trim value based on the clock generator entering the sleep mode, perform calibration while the clock generator is in the sleep mode, determine a control coefficient that makes a frequency error of the crystal oscillator less than or equal to a threshold value, store the determined control coefficient value in the memory, and change the control coefficient to the control coefficient value determined in the sleep mode based on the state of the clock generator switching from an active mode to a sleep mode.
- XO crystal oscillator
- the processor determines coefficients of an FT function between frequency and temperature during a product test process to reduce a frequency error occurring on a crystal oscillator by performing calibration at a first temperature, determines coefficients of an FT function to reduce a frequency error occurring on the crystal oscillator by performing calibration at a second temperature different from the first temperature, determines an offset by comparing the coefficients of the FT function at the first temperature and the coefficients of the FT function at the second temperature, stores the determined offset value in a memory, and determines a coefficient that makes a frequency error value described on the y-axis and a temperature described on the x-axis become 0 based on an external temperature and the determined offset value when the clock generator is in a sleep mode, and changes the coefficients of the FT function to the determined values.
- the processor determines an offset value at a second temperature stored in a memory based on the external temperature of the electronic device being the second temperature, adds the offset value at the second temperature and a coefficient of the FT function at the first temperature to determine a coefficient of the FT function at the second temperature, and uses the coefficient of the FT function at the second temperature determined based on the temperature of the electronic device being the second temperature and the clock generator being in a sleep state to make the value of the FT function between the frequency error and the temperature become 0.
- the processor determines coefficients of an FT function for reducing a frequency error occurring in a crystal oscillator by performing calibration at a third temperature different from a second temperature, compares the coefficients of the FT function at the first temperature with the coefficients of the FT function at the third temperature to determine an offset, stores the determined offset value in a memory, and uses the coefficients of the FT function at the third temperature determined based on the temperature of the electronic device being the third temperature and the clock generator being in a sleep state to make the frequency error and the value of the FT function between the temperatures 0.
- the processor performs calibration according to temperature change when the clock generator is in an active state, measures a change in a coefficient of an FT function according to the temperature change, measures a first temperature at which a coefficient value of the FT function changes by exceeding a first level specified based on a coefficient value of the FT function at room temperature and stores the measured first temperature in a memory, and uses the coefficient value of the FT function measured when the clock generator is in an active state based on the external temperature of the electronic device being measured as the first temperature when the clock generator is in a sleep state to make the value of the FT function between the frequency error and the temperature become 0.
- the processor measures a second temperature at which a coefficient value of the FT function changes beyond a designated second level based on a coefficient value of the FT function at room temperature and stores the measured second temperature in a memory, and when the clock generator is in an active state based on an external temperature of the electronic device measured as the second temperature in a sleep state, the processor can reduce a frequency error occurring in a crystal oscillator (XO) by using the measured coefficient value of the FT function.
- XO crystal oscillator
- the electronic device further includes an oscillator configured to output an oscillator clock signal, a period of which is determined according to a trim value, and a clock counter configured to count the oscillator clock signal for a reference time, wherein the processor can decrease the count value by gradually increasing the trim value when the count value is greater than a target count value, and can increase the count value by gradually decreasing the trim value when the count value is less than or equal to the target count value.
- the oscillator can output an oscillator clock signal having a shorter period as the input trim value becomes smaller.
- the processor may determine a trim value corresponding to the count value exceeding the target count value as a final trim value in the sleep state, and when the count value decreases and is less than the target count value, the processor may determine a trim value corresponding to the count value less than the target count value as the final trim value in the sleep state.
- the processor can store the determined final trim value in memory, and the oscillator can output an oscillator clock signal having a period determined according to the stored final trim value.
- a method for controlling a crystal oscillator (XO) of an electronic device may include an operation of performing calibration while a clock generator is in a sleep mode, an operation of determining a control coefficient that causes a frequency error of the crystal oscillator to be expressed along the y-axis and become less than or equal to a threshold value, an operation of storing the determined control coefficient value in a memory, and an operation of changing the control coefficient to the determined control coefficient value while in the sleep mode based on a state of the clock generator being switched from an active mode to a sleep mode.
Landscapes
- Oscillators With Electromechanical Resonators (AREA)
Abstract
Description
본 문서는 전자 장치에 관한 것이며, 예를 들어 전자 장치가 특정한 상황(예: 휴면 상태(sleep mode))에서 수정 발진기(XO)를 제어하는 방법에 대한 것이다.This article is about electronic devices, and for example how they control their crystal oscillators (XOs) under certain conditions (e.g., sleep mode).
통신 시스템은, 특정 주파수를 갖는 신호를 생성하기 위해서, 일반적으로 부정확한 수정 진동자(quartz crystals)보다 더 정확하고 안정한 주파수를 갖는 수정 발진기(crystal oscillator)를 필요로 한다. 수정 발진기는 압전 물질(piezoelectric material)의 진동 수정 (vibrating crystal)의 기계적 공진을 사용하여 특정 주파수의 전기 신호를 생성하는 전자 발진 회로다. 사용되는 가장 일반적인 유형의 압전 공진기는 수정 진동자이므로 수정 진동자라고 불리는 발진기 회로를 수정 발진기라고 한다.Communication systems generally require crystal oscillators, which have more accurate and stable frequencies than inaccurate quartz crystals, to generate signals with specific frequencies. A crystal oscillator is an electronic oscillator circuit that uses the mechanical resonance of a vibrating crystal of piezoelectric material to generate an electrical signal with a specific frequency. The most common type of piezoelectric resonator used is a quartz resonator, so the oscillator circuit called a quartz resonator is called a crystal oscillator.
온도, 습도, 압력 및 진동의 환경적 변화는 수정 진동자의 공진 주파수를 변화시킬 수 있다. 수정 발진기의 주파수 변화를 줄이거나 개선하기 위한 환경 변화를 극복하기 위해 온도 보상 수정 발진기(Temperature compensated crystal oscillator, TCXO) 및 디지털 보상 수정 발진기(Digital compensated crystal oscillator, DCXO)와 같은 일반적인 솔루션이 활용된다. 온도 보상 수정 발진기(TCXO)는 온도 센서로 생성된 아날로그 전압에 의해 지시된 아날로그 주파수 보정을 사용하여 전압 가변 커패시터를 조정한다. 디지털 보상 수정 발진기(DCXO)는 디지털 방식으로 제어되는 커패시터 뱅크(capacitor bank)를 사용하여 주파수를 정정할 수 있다.Environmental changes in temperature, humidity, pressure, and vibration can change the resonant frequency of a crystal oscillator. To overcome environmental changes and reduce or improve the frequency shift of a crystal oscillator, common solutions are temperature compensated crystal oscillators (TCXOs) and digitally compensated crystal oscillators (DCXOs). A temperature compensated crystal oscillator (TCXO) uses analog frequency compensation dictated by an analog voltage generated by a temperature sensor to adjust a voltage variable capacitor. A digitally compensated crystal oscillator (DCXO) can correct the frequency using a digitally controlled capacitor bank.
무선 통신 기기들은 안정적인 통신과 system 운용을 위하여 정확한 timing source 가 필요할 수 있다. crystal(수정진동자 또는 Quartz Crystal Unit, XTAL 로 표현)는 외부에서 인가되는 전기적 신호를 이용하여 발진 주파수를 생성하는 공진자를 의미한다. 또한 OSC(오실레이터)는 quartz crystal oscillator 를 나타내며 기준 주파수를 발생시키기 위하여 크리스탈(crystal)을 사용하는 전자 oscillator 회로를 의미한다. OSC(오실레이터)는 크리스탈(crystal)과 발진 회로를 하나의 CAN 에 집어 넣고 압력을 가하면 전기가 발생되고 반대로 전기를 가하면 진동을 하는 압전 효과를 이용하는 장치를 의미한다. 적절한 제어 회로를 통해 크리스탈을 일정하게 진동하게 만들 수 있으며 이러한 진동을 감지하여 디지털 회로의 clock 및 RF 회로 내 PLL의 reference clock으로 사용할 수 있다. OSC 의 종류로는 TCXO (Temperature-Compensated Crystal Oscillator), VCXO (Voltage-Controlled Crystal Oscillator), VCTCXO (Voltage-Controlled Temperature-Compensated Crystal Oscillator)가있다. 최근에는 가격 경쟁력 차원에서 crystal 과 발진 회로 IC(예: PMK package)를 별도로 사용하는 구조를 많이 사용하고 있다.Wireless communication devices may require an accurate timing source for stable communication and system operation. Crystal (Quartz Crystal Unit, expressed as XTAL) refers to a resonator that generates an oscillation frequency using an externally applied electrical signal. In addition, OSC (oscillator) refers to a quartz crystal oscillator and refers to an electronic oscillator circuit that uses a crystal to generate a reference frequency. OSC (oscillator) refers to a device that uses the piezoelectric effect to generate electricity when pressure is applied by inserting a crystal and an oscillation circuit into one CAN and vibrates when electricity is applied. The crystal can be made to vibrate constantly through an appropriate control circuit, and this vibration can be detected and used as a clock for a digital circuit and a reference clock for a PLL in an RF circuit. Types of OSC include TCXO (Temperature-Compensated Crystal Oscillator), VCXO (Voltage-Controlled Crystal Oscillator), and VCTCXO (Voltage-Controlled Temperature-Compensated Crystal Oscillator). Recently, for price competitiveness, a structure that uses crystal and oscillator circuit IC (e.g. PMK package) separately is being widely used.
크리스탈(crystal)은 설계 단계에서 설정된 load capacitance 에 따라 일정한 주파수로 진동을 하는 특성이 있다. 또한 크리스탈(crystal)은 주변의 온도 및 압력에 따라 주파수 편차가 발생하는 특징이 있다. 크리스탈(crystal)은, 크리스탈의 생산 과정에서 initial error 가 존재하며 정확한 공진을 위하여 발진 회로 IC의 load capacitance 의 값을 조절하여 initial error를 보상할 수 있다.Crystals have the characteristic of vibrating at a certain frequency according to the load capacitance set at the design stage. Crystals also have the characteristic of causing frequency deviation depending on the surrounding temperature and pressure. Crystals have an initial error during the crystal production process, and the initial error can be compensated for by adjusting the load capacitance value of the oscillation circuit IC for accurate resonance.
이하에서 사용되는 XO는 수정 발진기(crystal oscillator)를 의미할 수 있다. XO는 quartz crystal oscillator를 의미한다. XO는 압력을 가하면 전기가 발생되고 반대로 전기를 가하면 진동을 하는 압전 효과를 이용할 수 있다.The XO used below can mean a crystal oscillator. XO stands for quartz crystal oscillator. XO can utilize the piezoelectric effect, which generates electricity when pressure is applied and vibrates when electricity is applied.
전자 장치는 주파수 동기화를 위해서, 기지국이 브로드캐스팅하는 신호를 기저대역의 신호로 변경하는 동작에서, 이용되는 기준 신호의 주파수를 AFC(automatic frequency control)을 이용하여 미리 지정된 범위 내에서 변경하면서, 기지국이 브로드캐스팅하는 신호의 주파수를 확인할 수 있다.An electronic device can check the frequency of a signal broadcast by a base station by changing the frequency of a reference signal used in the operation of changing a signal broadcast by a base station into a baseband signal for frequency synchronization within a pre-specified range using automatic frequency control (AFC).
다만, DCXO(digitally compensated crystal oscillator)의 문제로 인해 기준 신호의 주파수가 의도하는 주파수와 다를 수 있다. 예를 들면, 통신 프로세서의 제어에 오류가 발생한 경우, DCXO는 기준 주파수를 생성하기 위한 기준 클록과 다른 클록을 발생시켜, DCXO의 기준 클록에 기반하여 기준 신호를 생성하도록 설계된 트랜시버는 의도하는 주파수와 다른 주파수를 갖는 신호를 생성할 수 있다. 더 나아가, DCXO 에 포함된 다양한 부품들(예: 크리스탈 또는 크리스탈과 연결된 소자들)의 노후화 현상으로 인해, 트랜시버에 전달되는 클록이 기준 클록과 상이한 상황이 발생할 수 있다. 즉, 전자 장치는 실장된 XO 에 대하여 최적화된 load capacitance를 찾아야 설정된 주파수를 생성할 수 있다. 설정된 주파수는 전자 장치가 안정적인 클럭을 생성할 수 있는 주파수를 의미할 수 있다. 전자 장치 상에 실장된 XO에 대해 최적화된 load capacitance를 찾지 못하고 공정 초기 단계에서 오차가 발생하는 경우 전자 장치가 안정적인 클럭을 생성하기 어려울 수 있다. However, due to a problem with the DCXO (digitally compensated crystal oscillator), the frequency of the reference signal may be different from the intended frequency. For example, if an error occurs in the control of the communication processor, the DCXO may generate a clock different from the reference clock for generating the reference frequency, so that a transceiver designed to generate a reference signal based on the reference clock of the DCXO may generate a signal having a frequency different from the intended frequency. Furthermore, due to the aging of various components included in the DCXO (e.g., crystals or devices connected to the crystal), a situation may arise where the clock transmitted to the transceiver is different from the reference clock. In other words, the electronic device must find the optimized load capacitance for the mounted XO to generate the set frequency. The set frequency may mean the frequency at which the electronic device can generate a stable clock. If the optimized load capacitance for the XO mounted on the electronic device is not found and an error occurs in the early stage of the process, it may be difficult for the electronic device to generate a stable clock.
또한, XO 는 주변 온도에 따라 발생하는 주파수가 달라질 수 있다. XO 에서 발생하는 주파수 에러(frequency error)와 온도와의 관계를 FT 함수라고 부르는데, FT 함수는 아래에 기재된 수학식 1과 같이 표현될 수 있다.In addition, XO can have different frequencies depending on the surrounding temperature. The relationship between the frequency error occurring in XO and the temperature is called the FT function, and the FT function can be expressed as shown in the
[수학식 1][Mathematical formula 1]
f(t)=C3(t-t0)^3+C2(t-t0)^2+C1(t-t0)+C0f(t)=C3(t-t0)^3+C2(t-t0)^2+C1(t-t0)+C0
f는 독립 변수인 C0, C1, C2 및 C3의 수정 주파수를 나타내며, t0는 초기 온도 변화(또는 굴곡 온도 / 변곡점, 경우에 따라 t0는 변동을 가지며 제로 온도 또는 교정 공정의 초기 온도)이다. t0는 크리스탈의 제조 공정에 따라 차이가 있을 수 있다. t0가 특정되면 t=t0인 상황에서, 수학식 1의 값은 C0인 것으로 결정될 수 있다. f(t)의 값은 주파수의 에러(error)를 의미할 수 있다. t는 t0인 상황에서 f(t)의 값은 계수인 C0에 의해 결정될 수 있다. 주파수 에러는 계수인 C0가 0에 가까울수록 줄어들 수 있다. t는 t0가 아닌 상황에서는 다른 FT 함수의 계수들(C0, C1, C2, C3)을 조절하여 주파수 에러를 줄일 수 있다.f represents the correction frequency of the independent variables C0, C1, C2, and C3, and t0 is the initial temperature change (or inflection temperature / inflection point, in some cases t0 has a variation and is the zero temperature or the initial temperature of the calibration process). t0 may vary depending on the manufacturing process of the crystal. Once t0 is specified, in the situation where t = t0, the value of
FT 함수의 계수는(C0, C1, C2, C3) 시료가 실망에 접속했을 때 기지국과 통신을 통하여 field calibration 이 지속적으로 진행되는 값을 가질 수 있다. FT함수의 계수는 시료의 온도에 따라 다른 값을 가질 수 있다. t0는 inflection point 를 나타내며 FT 함수 상에서 그래프의 변곡점을 나타낼 수 있다. FT함수는 3차 함수 형태의 그래프를 가질 수 있는데, 변곡점(예: t=t0)에 대응하는 주파수 에러 값이 0에 가까울수록 전체적인 주파수 에러가 줄어들 수 있다. 주파수 에러의 감소를 위해 XO에 대한 교정(coarse calibration) 을 진행할 수 있다. The coefficients of the FT function (C0, C1, C2, C3) can have values at which field calibration is continuously performed through communication with the base station when the sample is connected to the receiver. The coefficients of the FT function can have different values depending on the temperature of the sample. t0 represents an inflection point and can represent an inflection point of a graph on the FT function. The FT function can have a graph in the form of a cubic function, and the closer the frequency error value corresponding to the inflection point (e.g., t=t0) is to 0, the more the overall frequency error can be reduced. To reduce the frequency error, calibration (coarse calibration) for XO can be performed.
clock generator는 활성화(active) 와 슬립(sleep) 상태에서 각각 다른 load capitance 값을 가질 수 있다. clock generator 는 trim 값에 기반하여 XO 가 최적의 공진을 할 수 있는 load capitance를 갖도록 제어할 수 있다. trim 값이 달라지는 경우 clock generator의 load capitance 값이 달라져서 XO가 최적의 공진을 하도록 제어하기 어려울 수 있다. XO가 최적의 공진을 하기 어려운 경우 clock generator 가 생성하는 주파수(frequency) 상에서 오차가 발생할 수 있다. 전자 장치는 활성화(active)상태에서 결정된 trim 값을 가질 수 있다. 전자 장치는 슬립(sleep) 상태로 변경되면서 load capitance 값이 변경될 수 있는데, 활성화(active)상태에서 결정된 trim 값을 그대로 사용하는 경우 XO가 최적의 공진을 하도록 제어하기 어려울 수 있다.A clock generator can have different load capitance values in the active and sleep states. The clock generator can control the load capitance for the XO to achieve optimal resonance based on the trim value. If the trim value changes, the load capitance value of the clock generator changes, which may make it difficult to control the XO to achieve optimal resonance. If it is difficult for the XO to achieve optimal resonance, an error may occur in the frequency generated by the clock generator. An electronic device can have a trim value determined in the active state. The load capitance value may change when the electronic device changes to the sleep state. If the trim value determined in the active state is used as is, it may be difficult to control the XO to achieve optimal resonance.
본 문서에 따른 전자 장치는 활성화(active)상태가 아닌 슬립(sleep) 상태에서 클럭 생성기(clock generator)가 일정하게 주파수를 생성할 수 있도록 트림(trim) 값을 메모리 상에 저장할 수 있다.An electronic device according to this document can store trim values in memory so that a clock generator can generate a constant frequency when in a sleep state rather than an active state.
본 문서의 다양한 실시예에 따른 XO 오차를 줄이기 위한 방법 및 전자 장치는 sleep 상황에서도 최적의 load capacitance 를 유지하는 방법 및 실망에 접속할 수 없는 상황에서 FT 함수의 계수를 최적화하는 방법을 제시하고자 한다.Methods and electronic devices for reducing XO errors according to various embodiments of this document are intended to present a method for maintaining optimal load capacitance even in a sleep state and a method for optimizing the coefficients of an FT function in a situation where disappointment cannot be accessed.
전자 장치는 프로세서, 기준 주파수를 갖는 신호를 생성하기 위한 기준 클럭을 생성하는 수정 발진기(XO, crystal oscillator) 및 메모리를 포함할 수 있다. 프로세서는 클럭 생성기(clock generator)가 슬립(sleep) 모드인 상태에서 일정하게 주파수를 생성할 수 있도록 트림(trim) 값을 결정하고, 클럭 생성기(clock generator)가 슬립(sleep) 모드인 상태로 진입함에 기반하여 결정된 트림(trim) 값을 적용하며, 클럭 생성기(clock generator)가 슬립(sleep) 모드인 상태에서 캘리브레이션(calibration)을 진행하고, 수정 발진기의 주파수 에러가 임계값 이하가 되도록 만드는 제어 계수를 결정하고, 결정된 제어 계수 값을 메모리 상에 저장하고, 클럭 생성기(clock generator)의 상태가 활성화(active) 모드에서 슬립(sleep) 모드로 전환됨에 기반하여 제어 계수를 슬립(sleep) 모드인 상태에서 결정된 제어 계수 값으로 변경할 수 있다.An electronic device may include a processor, a crystal oscillator (XO) that generates a reference clock for generating a signal having a reference frequency, and a memory. The processor may determine a trim value so that the clock generator can constantly generate a frequency in a sleep mode, apply the determined trim value based on the clock generator entering the sleep mode, perform calibration while the clock generator is in the sleep mode, determine a control coefficient that makes a frequency error of the crystal oscillator less than or equal to a threshold value, store the determined control coefficient value in the memory, and change the control coefficient to the control coefficient value determined in the sleep mode based on the state of the clock generator switching from an active mode to a sleep mode.
전자 장치의 수정 발진기(XO) 제어 방법은 클럭 생성기(clock generator)가 슬립(sleep) 모드인 상태에서 캘리브레이션(calibration)을 진행하는 동작, 수정 발진기의 주파수 에러가 y축으로 기재되고, 임계값 이하가 되도록 만드는 제어 계수를 결정하는 동작, 결정된 제어 계수 값을 메모리 상에 저장하고, 클럭 생성기(clock generator)의 상태가 활성화(active) 모드에서 슬립(sleep) 모드로 전환됨에 기반하여 제어 계수를 슬립(sleep) 모드인 상태에서 결정된 제어 계수 값으로 변경하는 동작을 포함할 수 있다.A method for controlling a crystal oscillator (XO) of an electronic device may include an operation of performing calibration while a clock generator is in a sleep mode, an operation of determining a control coefficient that causes a frequency error of the crystal oscillator to be expressed along the y-axis and become less than or equal to a threshold value, an operation of storing the determined control coefficient value in a memory, and an operation of changing the control coefficient to the determined control coefficient value while in the sleep mode based on a state of the clock generator being switched from an active mode to a sleep mode.
일 실시예에 따르면, 전자 장치는 휴면(sleep) 상황에서도 최적의 load capacitance 를 유지하는 방법 및 실망에 접속할 수 없는 상황에서 FT 함수의 계수를 최적화하는 방법을 제공할 수 있다. 여기서 휴면(sleep) 상태는 활성화(active) 상태와는 다른 상태일 수 있다. 휴면(sleep) 상태는 예를 들어, 전자 장치가 에어플레인(airplane) 모드인 상황을 포함할 수 있다.According to one embodiment, an electronic device may provide a method for maintaining an optimal load capacitance even in a sleep state and a method for optimizing the coefficients of an FT function in a situation where a failure cannot be accessed. Here, the sleep state may be a state different from an active state. The sleep state may include, for example, a situation where the electronic device is in airplane mode.
본 문서의 다양한 실시예에 따른 XO 오차를 줄이기 위한 방법 및 전자 장치는 sleep 시 사용할 계수의 값을 별도의 coarse calibration 을 통하여 확보하는 방식을 제안하여 sleep 상황에서도 load capacitance를 유지할 수 있다.A method and electronic device for reducing XO error according to various embodiments of this document propose a method of securing the values of coefficients to be used during sleep through separate coarse calibration, thereby maintaining load capacitance even in a sleep state.
도 1은 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.FIG. 1 is a block diagram of an electronic device within a network environment according to various embodiments.
도 2는 비교 실시예에 따른 XO 와 클럭 생성기를 회로도로 나타낸 것이다.Figure 2 is a circuit diagram showing an XO and a clock generator according to a comparative example.
도 3a는 일 실시예에 따른 전자 장치 및 기지국을 도시한 도면이다.FIG. 3A is a diagram illustrating an electronic device and a base station according to one embodiment.
도 3b는 일 실시예에 따른 전자 장치의 블록도이다.FIG. 3b is a block diagram of an electronic device according to one embodiment.
도 4는 비교 실시예에 따른 공정 초기 오차를 그래프로 도시한 것이다.Figure 4 is a graph showing the initial process error according to a comparative example.
도 5는 전자 장치가 휴면 상태일 때 FT 함수의 계수를 온도에 맞춰 업데이트할 수 있는 제 1 실시예를 도시한 것이다.FIG. 5 illustrates a first embodiment in which the coefficients of the FT function can be updated according to temperature when the electronic device is in a sleep state.
도 6은 전자 장치가 휴면 상태일 때 FT 함수의 계수를 온도에 맞춰 업데이트할 수 있는 제 2 실시예를 도시한 것이다.FIG. 6 illustrates a second embodiment in which the coefficients of the FT function can be updated according to temperature when the electronic device is in a sleep state.
도 7은 일 실시예에 따른 전자 장치의 수정 발진기(XO) 제어 방법을 흐름도로 나타낸 것이다.FIG. 7 is a flowchart illustrating a method for controlling a crystal oscillator (XO) of an electronic device according to one embodiment.
도 8은 일 실시예에 따른 전자 장치의 수정 발진기(XO) 제어 방법을 순서도로 나타낸 것이다.FIG. 8 is a flowchart illustrating a method for controlling a crystal oscillator (XO) of an electronic device according to one embodiment.
도 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))로 통합될 수 있다.FIG. 1 is a block diagram of an electronic device (101) in a network environment (100) according to various embodiments. Referring to FIG. 1, in the network environment (100), the electronic device (101) may communicate with the electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of the electronic device (104) or the server (108) via a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include 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), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).
프로세서(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) may control at least one other component (e.g., a hardware or software component) of an electronic device (101) connected to the processor (120) by executing, for example, software (e.g., a program (140)), and may perform various data processing or calculations. According to one embodiment, as at least a part of the data processing or calculations, the processor (120) may store a command or data received from another component (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the command or data stored in the volatile memory (132), and store result data in a nonvolatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
보조 프로세서(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 auxiliary processor (123) may control at least a portion of functions or states associated with at least one of the components of the electronic device (101) (e.g., the display module (160), the sensor module (176), or the communication module (190)), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing device) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. Such learning may be performed, for example, in the electronic device (101) itself on which the artificial intelligence model is executed, or may be performed through a separate server (e.g., server (108)). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model may include a plurality of artificial neural network layers. The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), deep Q-networks, or a combination of two or more of the above, but is not limited to the examples described above. In addition to the hardware structure, the artificial intelligence model may additionally or alternatively include a software structure.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or nonvolatile memory (134).
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.The program (140) may be stored as software in 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) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The audio output module (155) can output an audio signal to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. The receiver can be used to receive an incoming call. According to one embodiment, the receiver can be implemented separately from the speaker or as a part thereof.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) can include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module (160) can include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can obtain sound through an input module (150), or output sound through an audio output module (155), or an external electronic device (e.g., an electronic device (102)) (e.g., a speaker or a headphone) directly or wirelessly connected to the electronic device (101).
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.The sensor module (176) can detect an operating state (e.g., power or temperature) of the electronic device (101) or an external environmental state (e.g., user state) and generate an electrical signal or data value corresponding to the detected state. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance 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) with an external electronic device (e.g., the electronic device (102)). In 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 (e.g., 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 (e.g., a headphone connector).
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module (179) can convert an electrical signal into a mechanical stimulus (e.g., vibration or movement) or an electrical stimulus that a user can perceive through a tactile or kinesthetic sense. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module (180) can capture still images and moving images. According to one embodiment, the camera module (180) can 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) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery (189) can power at least one component of the electronic device (101). In one embodiment, the battery (189) can include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, 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) may support establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., the electronic device (102), the electronic device (104), or the server (108)), and performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., the application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a GNSS (global navigation satellite system) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module or a power line communication module). Among these communication modules, a corresponding communication module may communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules may be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) may use subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196) to identify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199).
무선 통신 모듈(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) can support a 5G network and next-generation communication technology after a 4G network, for example, NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), terminal power minimization and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) may support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) may support various requirements specified in an electronic device (101), an external electronic device (e.g., an electronic device (104)), or a network system (e.g., a second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL) each, or 1 ms or less for round trip) for URLLC realization.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module (197) can transmit or receive signals or power to or from the outside (e.g., an external electronic device). According to one embodiment, the antenna module (197) can include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). According to one embodiment, the antenna module (197) can include a plurality of antennas (e.g., 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), can be selected from the plurality of antennas by, for example, the communication module (190). A signal or power can be transmitted or received between the communication module (190) and the external electronic device through the selected at least one antenna. According to some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) can be additionally formed as a part of the antenna module (197).
다양한 실시예에 따르면, 안테나 모듈(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 may include a printed circuit board, an RFIC positioned on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) positioned on or adjacent a second side (e.g., a top side or a side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the above components may be connected to each other and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)).
일실시예에 따르면, 명령 또는 데이터는 제 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 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.In one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102, or 104) may be the same or a different type of device as the electronic device (101). In one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of executing the function or service itself or in addition, request one or more external electronic devices to perform at least a part of the function or service. One or more external electronic devices that have received 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 transmit the result of the execution to the electronic device (101). The electronic device (101) may provide the result, as is or additionally processed, as at least a part of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an IoT (Internet of Things) device. The server (108) may be an intelligent server using machine learning and/or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199). The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various forms. The electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliance devices. Electronic devices according to embodiments of this document are not limited to the above-described devices.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.It should be understood that the various embodiments of this document and the terminology used herein are not intended to limit the technical features described in this document to specific embodiments, but include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly dictates otherwise. In this document, each of the phrases "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 "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase, or all possible combinations thereof. Terms such as "first", "second", or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first) is referred to as "coupled" or "connected" to another (e.g., a second) component, with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), 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 may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. A module may be an integrally configured component or a minimum unit of the component or a part thereof that performs one or more functions. For example, according to one embodiment, a 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 the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in the present document may be provided as included in a computer program product. The computer program product may be traded between a seller and a buyer as a commodity. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., a compact disc read only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play StoreTM) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a part of the computer program product may be at least temporarily stored or temporarily generated in a machine-readable storage medium, such as a memory of a manufacturer's server, a server of an application store, or an intermediary server.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (e.g., a module or a program) of the above-described components may include a single or multiple entities, and some of the multiple entities may be separately arranged in other components. According to various embodiments, one or more components or operations of the above-described components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, the multiple components (e.g., a module or a program) may be integrated into one component. In such a case, the integrated component may perform one or more functions of each of the multiple components identically or similarly to those performed by the corresponding component of the multiple components before the integration. According to various embodiments, the operations performed by the module, program, or other component may be executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
도 2는 비교 실시예에 따른 XO 와 클럭 생성기를 회로도로 나타낸 것이다.Figure 2 is a circuit diagram showing an XO and a clock generator according to a comparative example.
비교 실시예에 따른 전자 장치는 XO (210) 및 클럭 생성기(220)를 포함할 수 있다. An electronic device according to a comparative example may include an XO (210) and a clock generator (220).
무선 통신 기기들은 안정적인 통신 환경 및 시스템 환경을 위해 정확한 타이밍(timing)을 제공하는 소스(source)가 필요할 수 있다. 수정 진동자(crystal, Quartz Crystal Unit, XTAL)는 외부에서 인가되는 전기적 신호를 이용하여 발진 주파수를 생성하는 공진자를 의미할 수 있다. 오실레이터(oscillator, OSC)는 기준 주파수를 발생시키기 위하여 수정 진동자를 사용하는 회로를 의미할 수 있다. 오실레이터(oscillator, OSC)는 압력을 가하면 전기가 발생되고 반대로 전기를 가하면 진동을 하는 압전 효과를 이용하여 신호를 생성할 수 있다. 오실레이터(oscillator, OSC)는 회로를 이용하여 크리스탈(crystal)을 일정하게 진동하도록 제어할 수 있다. 오실레이터(oscillator, OSC)는 크리스탈이 생성한 진동을 디지털 회로의 clock으로 사용할 수 있다. 크리스탈은 설계 단계에서 설정된 load capacitance 에 따라 일정한 주파수로 진동할 수 있다. 공정 단계에서 초기 오차가 존재할 수 있으며, 신호가 의도된 주파수를 갖기 위해서, 전자 장치는 발진 회로의 load capacitance 의 값을 조절하여 크리스탈의 초기 오차를 보상할 수 있다. 이하 크리스탈은 수정 발진기(XO)(210)라는 용어로 사용될 수 있다.Wireless communication devices may require a source that provides accurate timing for a stable communication environment and system environment. A crystal oscillator (Quartz Crystal Unit, XTAL) may refer to a resonator that generates an oscillation frequency using an externally applied electrical signal. An oscillator (OSC) may refer to a circuit that uses a crystal oscillator to generate a reference frequency. An oscillator (OSC) can generate a signal by using the piezoelectric effect that generates electricity when pressure is applied and vibrates when electricity is applied conversely. An oscillator (OSC) can control a crystal to vibrate at a constant frequency using a circuit. An oscillator (OSC) can use the vibration generated by the crystal as a clock for a digital circuit. A crystal can vibrate at a constant frequency according to the load capacitance set at the design stage. There may be an initial error in the process stage, and in order for the signal to have the intended frequency, the electronic device can compensate for the initial error of the crystal by adjusting the value of the load capacitance of the oscillator circuit. Hereinafter, the crystal may be used as the term crystal oscillator (XO) (210).
클럭 생성기(220)는 클럭을 일정한 주파수로 생성할 수 있다. 생성되는 클럭의 주파수는 load capacitance의 값에 의해 결정될 수 있다. load capacitance의 값은 C_tune (222) 및 C_status(224)의 값에 따라 달라질 수 있다.The clock generator (220) can generate a clock at a constant frequency. The frequency of the generated clock can be determined by the value of the load capacitance. The value of the load capacitance can vary depending on the values of C_tune (222) and C_status (224).
C_status(224)는 수정 발진기(XO)(210)의 trim 값에 따라 결정되는 capacitance 값을 포함할 수 있다. C_tune (222)은 C_status(224)의 변화에 대응하여 일정한 load capacitance 값을 유지하기 위해 조절되는 capacitance 값을 포함할 수 있다. 예를 들어, 클럭 생성기(220)가 일정한 클럭을 생성하기 위해 5pF의 load capacitance 값이 필요할 수 있다. 전자 장치는 5pF의 load capacitance 값이 필요한 상황에서, C_status(224)의 값이 3pF라면, C_tune (222)이 2pF의 값을 갖도록 제어할 수 있다. C_status(224)의 값이 3.5pF로 변화된 경우 전자 장치는 C_tune (222)이 1.5pF의 값을 갖도록 제어할 수 있다. C_status(224)의 값은 클럭 생성기가 활성화된 상태인 경우 및 슬립(sleep) 상태인 경우 각각 달라질 수 있다.C_status(224) may include a capacitance value determined according to a trim value of a crystal oscillator (XO)(210). C_tune(222) may include a capacitance value that is adjusted to maintain a constant load capacitance value in response to a change in C_status(224). For example, a clock generator(220) may require a load capacitance value of 5pF to generate a constant clock. In a situation where a load capacitance value of 5pF is required, if the value of C_status(224) is 3pF, the electronic device may control C_tune(222) to have a value of 2pF. If the value of C_status(224) changes to 3.5pF, the electronic device may control C_tune(222) to have a value of 1.5pF. The value of C_status(224) may be different when the clock generator is enabled and when it is in sleep state.
다만, 클럭 생성기가 활성화된 상태가 아닌 슬립(sleep) 상태인 경우 C_tune (222) 값을 변화시키기 어려울 수 있다. C_tune (222) 값을 변화시키기 어려운 슬립 상황에서 C_status(224)의 값이 변하는 경우 클럭 생성기(220)가 일정한 클럭을 생성하기 위해 필요한 load capacitance 값을 만족시키기 어려울 수 있다. 클럭 생성기(220)는 일정한 클럭을 생성하기 어려울 수 있다. However, if the clock generator is in a sleep state and not in an activated state, it may be difficult to change the C_tune (222) value. If the value of C_status (224) changes in a sleep state in which it is difficult to change the C_tune (222) value, it may be difficult for the clock generator (220) to satisfy the load capacitance value required to generate a constant clock. The clock generator (220) may have difficulty generating a constant clock.
수정 발진기(XO)에 대해 공장 튜닝 교정이 수행될 수 있다. 튜닝 교정은 앞선 수학식 1에서 C0 및 t0 근처의 공칭 주파수 오프셋을 결정하는 데 사용될 수 있다. f는 독립 변수인 C0, C1, C2 및 C3의 수정 주파수를 나타내며, t0는 초기 온도 변화(또는 굴곡 온도 / 변곡점, 경우에 따라 ㅅ0는 변동을 가지며 제로 온도 또는 교정 공정의 초기 온도)를 나타낼 수 있다. t0는 크리스탈(crystal)의 제조 공정으로 인해 제품 별로 약간의 차이가 있을 수 있다. 수정 발진기(XO)를 사용하는 경우 C0의 튜닝 값을 0으로 설정하여 온도 곡선 공식에서 제거할 수 있다. A factory tuning calibration can be performed on a crystal oscillator (XO). The tuning calibration can be used to determine the nominal frequency offset around C0 and t0 in the above equation (1). f represents the crystal frequencies of the independent variables C0, C1, C2, and C3, and t0 represents the initial temperature change (or inflection temperature / inflection point, in some cases ㅅ0 has a variation and can be the zero temperature or the initial temperature of the calibration process). t0 can vary slightly from product to product due to the manufacturing process of the crystal. When using an XO, the tuning value of C0 can be set to zero and thus removed from the temperature curve formula.
일반적인 수정 모델은 앞선 수학식 1에 나타낸 바와 같이 4개의 독립 변수와 함께 5 개의 변수를 갖는 3차 다항식 일 수 있다.A general correction model can be a third-degree polynomial with five variables along with four independent variables as shown in
[수학식 1][Mathematical formula 1]
f(t)=C3(t-t0)^3+C2(t-t0)^2+C1(t-t0)+C0f(t)=C3(t-t0)^3+C2(t-t0)^2+C1(t-t0)+C0
f는 독립 변수인 C0, C1, C2 및 C3의 수정 주파수를 나타내며, T0는 초기 온도 변화(또는 굴곡 온도 / 변곡점, 경우에 따라 t0는 변동을 가지며 제로 온도 또는 교정 공정의 초기 온도)이다. to는 제조 공정으로 인해 약간의 차이가 있을 수 있다. f represents the correction frequency of the independent variables C0, C1, C2 and C3, T0 is the initial temperature change (or inflection temperature / inflection point, in some cases t0 has a variation and is the zero temperature or the initial temperature of the calibration process). to may have some differences due to the manufacturing process.
슬립 상황에서는 FT 함수의 계수를 변경할 수 없어서 온도 변화에 따라 최적의 load capacitance 값을 갖도록 FT 함수의 계수 값을 업데이트하기 어려울 수 있다. 최적의 load capacitance 값은 클럭 생성기(220)가 일정한 주파수를 만들어 내도록 제어하는 값을 포함할 수 있다. FT 함수의 계수를 변경할 수 없는 경우 클럭 생성기(220)는 최적의 load capacitance 값을 갖지 못해 일정한 주파수를 만들어 내기 어려울 수 있다.In a sleep state, since the coefficients of the FT function cannot be changed, it may be difficult to update the coefficient values of the FT function to have an optimal load capacitance value according to temperature changes. The optimal load capacitance value may include a value that controls the clock generator (220) to generate a constant frequency. If the coefficients of the FT function cannot be changed, the clock generator (220) may not have an optimal load capacitance value, making it difficult to generate a constant frequency.
도 3a는 본 문서의 일 실시예에 따른 전자 장치 및 기지국을 도시한 도면이다.FIG. 3a is a diagram illustrating an electronic device and a base station according to one embodiment of the present document.
일 실시예에 따르면, 기지국(310)은 제 1 셀룰러 통신을 지원하는 기지국일 수 있다. 제 1 셀룰러 통신은 전자 장치(300)가 지원 가능한 다양한 셀룰러 통신 방식 중 어느 하나의 통신 방식을 의미할 수 있다. 예를 들면, 제 1 셀룰러 통신은 5세대 이동 통신 방식(예: 6GHz 이하의 대역인 FR1을 이용하는 통신 방식, 6GHz 이상의 주파수 대역인 FR2를 이용하는 통신 방식) 중 어느 하나의 방식일 수 있다. 일 실시예에 따르면, 기지국(210)은, 제 1 주파수 대역(예: 6GHz 이상의 주파수 대역)의 신호를 출력하는 기지국일 수 있다.According to one embodiment, the base station (310) may be a base station supporting the first cellular communication. The first cellular communication may mean any one of various cellular communication methods that the electronic device (300) can support. For example, the first cellular communication may be any one of the 5th generation mobile communication methods (e.g., a communication method using FR1, which is a band below 6 GHz, or a communication method using FR2, which is a frequency band above 6 GHz). According to one embodiment, the base station (210) may be a base station that outputs a signal of the first frequency band (e.g., a frequency band above 6 GHz).
전자 장치(220)는, 셀룰러 네트워크 상에 등록을 수행하고, 기지국(310)을 통해 외부 전자 장치(예: 도 1의 전자 장치(104))와 다양한 데이터를 전송 및/또는 수신할 수 있다.The electronic device (220) can perform registration on a cellular network and transmit and/or receive various data with an external electronic device (e.g., the electronic device (104) of FIG. 1) via a base station (310).
전자 장치(300)는, 셀룰러 네트워크에 등록을 시도하기 위해서, 셀룰러 네트워크에 포함된 기지국(310)을 검색하고, 기지국(310)의 검색이 완료됨에 따라서, 기지국(310)을 통해 셀룰러 네트워크와 등록 절차를 수행할 수 있다.The electronic device (300) may search for a base station (310) included in the cellular network in order to attempt to register with the cellular network, and as the search for the base station (310) is completed, perform a registration procedure with the cellular network through the base station (310).
전자 장치(300)는, 셀룰러 네트워크에 등록하기 이전, 기지국(310)가 브로드캐스팅하는 SS/PBCH 블록(synchronization signal/physical broadcast channel block)을 수신할 수 있다. SS/PBCH 블록은 전자 장치(300)가 연결될 기지국(310)를 검색할 때 필요한 데이터로써, SS/PBCH 블록은 지정된 주기(예: 20ms)마다 기지국(310)에 의해 브로드캐스팅될 수 있다.The electronic device (300) can receive a SS/PBCH block (synchronization signal/physical broadcast channel block) broadcast by the base station (310) before registering with the cellular network. The SS/PBCH block is data required when the electronic device (300) searches for the base station (310) to which it will be connected, and the SS/PBCH block can be broadcast by the base station (310) at a designated period (e.g., 20 ms).
전자 장치(300)는 SS/PBCH 블록을 디코딩하고, 디코딩을 통해 획득한 신호에 기반하여 기지국(310)와 동기를 맞출 수 있다. 전자 장치(300)는 SS/PBCH 블록에 포함된 PBCH(physical broadcast channel)을 통해 마스터 정보 블록(master information block, MIB)을 획득할 수 있다. 전자 장치(300)는, 마스터 정보 블록을 통해 기지국(310)의 식별 정보(또는, 물리적 식별 정보), 페이징 메시지와 관련된 정보 및/또는 SS/PBCH 블록의 시스템 프레임 넘버(system frame number)를 획득할 수 있다. The electronic device (300) can decode the SS/PBCH block and synchronize with the base station (310) based on the signal obtained through the decoding. The electronic device (300) can obtain a master information block (MIB) through a physical broadcast channel (PBCH) included in the SS/PBCH block. The electronic device (300) can obtain identification information (or physical identification information) of the base station (310), information related to a paging message, and/or a system frame number of the SS/PBCH block through the master information block.
전자 장치(300)는, 획득된 정보에 기반하여 기지국(310)에 접속할 수 있고, 기지국(310)과 다운링크의 동기화를 수행할 수 있다. 전자 장치(300)는, 기지국(310)과 업링크의 동기화를 수행하기 위해 랜덤 엑세스(random access)를 수행하고, 랜덤 엑세스 절차가 완료됨에 따라, 셀룰러 네트워크에 등록 절차를 수행할 수 있다. 전자 장치(300)는 셀룰러 네트워크에 등록된 후, 외부 전자 장치(104)로 데이터를 전송하거나, 수신할 수 있다.The electronic device (300) can connect to the base station (310) based on the acquired information and perform synchronization of the downlink with the base station (310). The electronic device (300) can perform random access to perform synchronization of the uplink with the base station (310), and when the random access procedure is completed, can perform a registration procedure with the cellular network. After the electronic device (300) is registered with the cellular network, it can transmit or receive data to or from an external electronic device (104).
상기에 기재된 절차는, 전자 장치(300)는, 기지국(310)의 검색을 수행함을 전제로 구현되는 절차들일 수 있다. 전자 장치(300)는, 기지국(310)의 검색을 수행하기 위해서, 미리 지정된 주파수 대역에서 기지국(310)이 브로드캐스팅하는 신호(예: SS/PBCH)를 발견하는 절차를 수행할 수 있다. 전자 장치(300)는, 기지국(310)이 브로드캐스팅하는 신호의 특성(예: 신호의 주파수 대역, 캐리어 주파수)을 확인하고, 기지국(310)이 브로드캐스팅하는 신호의 주파수와 전자 장치(300)의 통신 회로에서 사용되는 기준 신호(reference signal)의 주파수를 일치시키는, 주파수 동기화를 수행할 수 있다. 주파수 동기화는, 기지국(310)이 브로드캐스팅하는 신호를 베이스밴드 신호로 변환하는데 있어 필수적인 절차이다. 주파수 동기화에 대해서는 도 3에서 자세히 서술한다.The procedures described above may be procedures implemented on the premise that the electronic device (300) performs a search for the base station (310). In order to perform a search for the base station (310), the electronic device (300) may perform a procedure for discovering a signal (e.g., SS/PBCH) broadcast by the base station (310) in a pre-designated frequency band. The electronic device (300) may check the characteristics of the signal broadcast by the base station (310) (e.g., frequency band of the signal, carrier frequency) and perform frequency synchronization to match the frequency of the signal broadcast by the base station (310) with the frequency of a reference signal used in a communication circuit of the electronic device (300). Frequency synchronization is an essential procedure for converting a signal broadcast by the base station (310) into a baseband signal. Frequency synchronization is described in detail in FIG. 3.
도 3은 본 문서의 일 실시예에 따른 전자 장치의 블록도이다.FIG. 3 is a block diagram of an electronic device according to one embodiment of the present document.
도 3을 참조하면, 전자 장치(300)는 통신 프로세서(330), 클럭 생성기(335), XO( crystal oscillators)(340), 트랜시버(350), 및/또는 안테나(360)를 포함할 수 있다. XO는 X-TAL(크리스탈 또는 수동 발진자)을 포함할 수 있다. Referring to FIG. 3, the electronic device (300) may include a communication processor (330), a clock generator (335), XO (crystal oscillators) (340), a transceiver (350), and/or an antenna (360). The XO may include an X-TAL (crystal or passive oscillator).
일 실시예에 따르면, 통신 프로세서(320)는 셀룰러 무선 통신(예: 2세대 이동 통신, 3 세대 이동 통신, 4세대 이동 통신 및/또는 5세대 이동 통신)을 통해 제어 데이터(control data) 또는 사용자 데이터(user data)를 수신하거나, 전송할 수 있다. 통신 프로세서(320)는 제어 데이터를 통해 기지국(예: 도 2의 기지국(310))과 셀룰러 통신 연결을 수립하고, 수립된 셀룰러 통신을 통해 어플리케이션 프로세서(예: 도 1의 프로세서(120))로부터 수신한 데이터를 기지국으로 전송하거나, 기지국으로부터 수신한 데이터를 어플리케이션 프로세서(120)로 전송할 수 있다. According to one embodiment, the communication processor (320) may receive or transmit control data or user data via cellular wireless communication (e.g., 2nd generation mobile communication, 3rd generation mobile communication, 4th generation mobile communication, and/or 5th generation mobile communication). The communication processor (320) may establish a cellular communication connection with a base station (e.g., the base station (310) of FIG. 2) via the control data, and may transmit data received from an application processor (e.g., the processor (120) of FIG. 1) to the base station via the established cellular communication, or transmit data received from the base station to the application processor (120).
일 실시예에 따르면, 트랜시버(350)는 통신 프로세서(320)로부터 수신한 신호를 처리하는 다양한 동작을 수행할 수 있다. 예를 들어, 트랜시버(350)는 통신 프로세서(320)로부터 수신한 신호에 대한 변조(modulation) 동작을 수행할 수 있다. 예를 들면, 트랜시버(350)는 기저 대역(baseband)의 신호를 셀룰러 통신에 이용되는 라디오 주파수(RF) 신호로 변환하는 주파수 변조 동작을 수행할 수 있다. According to one embodiment, the transceiver (350) may perform various operations for processing a signal received from the communication processor (320). For example, the transceiver (350) may perform a modulation operation on a signal received from the communication processor (320). For example, the transceiver (350) may perform a frequency modulation operation for converting a baseband signal into a radio frequency (RF) signal used for cellular communication.
트랜시버(350)는 안테나(360)를 통해 외부로부터 수신한 신호에 대한 복조(demodulation) 동작을 수행할 수도 있다. 예를 들면, 트랜시버(350)는 라디오 주파수(RF) 신호를 기저 대역(baseband)의 신호로 변환하는 주파수 복조 동작을 수행할 수 있다. The transceiver (350) may also perform a demodulation operation on a signal received from the outside through the antenna (360). For example, the transceiver (350) may perform a frequency demodulation operation that converts a radio frequency (RF) signal into a baseband signal.
트랜시버(350)는 안테나(360)를 통해 수신하는 신호와 국부 발진기(local oscillator)가 출력하는 기준 신호의 차이에 기반하여 라디오 주파수(RF)를 갖는 기지국(310)이 전송한 신호의 주파수를 기저 대역의 신호로 변환하는 믹서(351)를 포함할 수 있다. The transceiver (350) may include a mixer (351) that converts the frequency of a signal transmitted by a base station (310) having a radio frequency (RF) into a baseband signal based on the difference between a signal received through an antenna (360) and a reference signal output by a local oscillator.
트랜시버(350)는, 믹서(351)에 기준 신호를 믹서(351)로 전송하는 국부 발진기(353) 및 국부 발진기(353)이 출력하는 기준 신호의 주파수를 일정 범위 내로 유지시키는 PLL(phase locked loop(355)를 포함할 수 있다. The transceiver (350) may include a local oscillator (353) that transmits a reference signal to the mixer (351) and a PLL (phase locked loop (355) that maintains the frequency of the reference signal output by the local oscillator (353) within a certain range.
수정 발진기(XO)(340)는, 통신 프로세서(320)가 인가하는 전압에 따라 전압에 대응하는 특정 주파수로 진동하는 크리스탈(crystal) 소자를 포함할 수 있다. 크리스탈 소자는 온도에 따라 크리스탈 소자의 진동에 대한 주파수 대역이 달라질 수 있다. 따라서, XO(340)는 온도 값에 따라 다른 임피던스를 갖는 소자를 이용하여 신호의 주파수 대역을 조절할 수 있다. XO(340)는 트랜시버(350)가 사용하는 신호가 지정된 주파수 대역을 갖도록 기준 클록(reference clock)의 역할을 수행할 수 있다. 트랜시버(350)는 기준 클록에 기반하여 요구되는 주파수 대역(예: 기준 주파수)의 신호를 생성하고, 안테나(360)를 통해 수신하는 신호를 기저대역의 신호로 변환할 수 있다.The crystal oscillator (XO) (340) may include a crystal element that vibrates at a specific frequency corresponding to the voltage applied by the communication processor (320). The frequency band of the vibration of the crystal element may vary depending on the temperature. Therefore, the XO (340) may adjust the frequency band of the signal by using an element having different impedance depending on the temperature value. The XO (340) may function as a reference clock so that a signal used by the transceiver (350) has a designated frequency band. The transceiver (350) may generate a signal of a required frequency band (e.g., a reference frequency) based on the reference clock, and may convert a signal received through the antenna (360) into a baseband signal.
통신 프로세서(320)는, 기지국(310)의 검색을 위해, 기지국(310)이 브로드캐스팅하는 신호의 특성을 확인하는 일련의 동작을 수행할 수 있다. 통신 프로세서(320)는, 다양한 방식(예: 전자 장치(300) 상에 미리 저장된, 네트워크가 지원하는 채널들에 대응하는 캐리어 주파수 정보를 확인)으로 획득된 기준 주파수를 갖는 기준 클록을 생성하도록 XO(340)를 제어할 수 있다. 통신 프로세서(320)는, XO(340)가 생성한 기준 클록을 이용하여 기준 주파수를 갖는 신호를 생성하도록 트랜시버(350)를 제어할 수 있다. 예를 들면, 트랜시버(350)는, 기준 클록을 이용하여 기준 주파수를 갖는 신호를 생성하도록 PLL(355) 및 국부 발진기(353)를 제어할 수 있다. 통신 프로세서(320)는, 기준 주파수를 갖는 신호에 기반하여 안테나(360)를 통해 수신한 신호를 기저대역의 신호로 변환하도록 트랜시버(350)를 제어할 수 있다. 예를 들면, 트랜시버(350)는, 안테나(360)를 통해 수신한 신호를 국부 발진기(353)에서 출력하는 기준 주파수를 갖는 신호를 이용하여 다운 컨버팅(down converting)하는 방식으로 기저 대역의 신호를 생성할 수 있다.The communication processor (320) may perform a series of operations to check the characteristics of a signal broadcast by the base station (310) in order to search for the base station (310). The communication processor (320) may control the XO (340) to generate a reference clock having a reference frequency obtained in various ways (e.g., checking carrier frequency information corresponding to channels supported by a network that is stored in advance on the electronic device (300). The communication processor (320) may control the transceiver (350) to generate a signal having a reference frequency by using the reference clock generated by the XO (340). For example, the transceiver (350) may control the PLL (355) and the local oscillator (353) to generate a signal having a reference frequency by using the reference clock. The communication processor (320) can control the transceiver (350) to convert a signal received through the antenna (360) into a baseband signal based on a signal having a reference frequency. For example, the transceiver (350) can generate a baseband signal by down converting a signal received through the antenna (360) using a signal having a reference frequency output from a local oscillator (353).
통신 프로세서(320)는, 트랜시버(350)가 전송한 기저대역의 신호를 수신하고, 수신한 신호의 디코딩(decoding)을 수행할 수 있다. 통신 프로세서(330)는 디코딩을 통해 획득한 정보가 기지국(210)과의 연결에 요구되는 정보(예: MIB 또는 SIB)임을 확인함에 따라, 기지국(310)의 검색을 성공했다고 판단할 수 있다. 또는, 통신 프로세서(320)는, 수신한 신호의 디코딩이 실패하거나, 디코딩을 통해 획득한 정보가 기지국(310)과의 연결에 요구되는 정보(예: MIB 또는 SIB)가 아님을 확인함에 따라, 기지국(310)의 검색을 실패했다고 판단할 수 있다.The communication processor (320) can receive a baseband signal transmitted by the transceiver (350) and decode the received signal. The communication processor (330) can determine that the search for the base station (310) is successful when it confirms that the information obtained through decoding is information (e.g., MIB or SIB) required for connection with the base station (210). Alternatively, the communication processor (320) can determine that the search for the base station (310) is failed when it confirms that the decoding of the received signal fails or that the information obtained through decoding is not information (e.g., MIB or SIB) required for connection with the base station (310).
다만, 기지국(310)이 브로드캐스팅하는 신호의 주파수와 트랜시버(350)에서 사용하는 신호의 주파수가 일치하지 못할 수 있다. 예를 들면, 전자 장치(300)의 이동에 따라서, 기지국(310)이 브로드캐스팅하는 신호의 주파수가 도플러 효과에 의해 변경될 수 있으며, 기지국(310)의 노후화로 인해서, 기지국(310)이 브로드캐스팅하는 신호의 주파수가 미리 지정된 주파수와 상이할 수 있다. 전자 장치(300)는, 상기의 현상을 고려하여, AFC(automatic frequency control)을 지원할 수 있다. AFC는 트랜시버(350)에 의해 생성된 신호의 주파수(예: 2.6GHz)를 미리 지정된 범위(예: 5ppm; 2.599974GHz ~ 2.6000026GHz) 내에서 변경하는 기능을 의미할 수 있다. 통신 프로세서(320)는, 안테나(360)를 통해 기지국(310)이 브로드캐스팅하는 신호를 기저대역의 신호로 변경하는 동작에서, 이용되는 기준 신호의 주파수를 미리 지정된 범위 내에서 변경하면서, 기지국(310)이 브로드캐스팅하는 신호의 주파수를 확인할 수 있다. 예를 들면, 통신 프로세서(320)는, 지정된 범위 이내로 변경된 주파수를 갖는 기준 신호를 이용하여 기지국(310)이 브로드캐스팅하는 신호를 기저대역의 신호로 변경하고, 디코딩이 성공한 경우, 변경된 주파수를 기지국(310)이 브로드캐스팅하는 신호의 주파수로 결정할 수 있다. However, the frequency of the signal broadcast by the base station (310) and the frequency of the signal used by the transceiver (350) may not match. For example, depending on the movement of the electronic device (300), the frequency of the signal broadcast by the base station (310) may change due to the Doppler effect, and due to the aging of the base station (310), the frequency of the signal broadcast by the base station (310) may be different from a pre-specified frequency. The electronic device (300) may support AFC (automatic frequency control) in consideration of the above phenomenon. AFC may mean a function of changing the frequency (e.g., 2.6 GHz) of a signal generated by the transceiver (350) within a pre-specified range (e.g., 5 ppm; 2.599974 GHz to 2.6000026 GHz). The communication processor (320) can change the frequency of a reference signal used in an operation of changing a signal broadcast by the base station (310) into a baseband signal through the antenna (360) while checking the frequency of the signal broadcast by the base station (310). For example, the communication processor (320) can change the signal broadcast by the base station (310) into a baseband signal by using a reference signal having a frequency changed within a specified range, and if decoding is successful, can determine the changed frequency as the frequency of the signal broadcast by the base station (310).
XO(340)는 통신 프로세서(320)의 제어에 기반하여 기준 주파수로 진동하는 크리스탈(crystal) 소자를 포함할 수 있다. 크리스탈 소자는 온도에 따라 크리스탈 소자의 진동에 대한 주파수 대역이 달라질 수 있다. XO(340)는, 내부의 온도 센서가 측정한 온도 값을 통신 프로세서(320)로 전송할 수 있다. 통신 프로세서(320)는 온도에 따라 달라지는 주파수를 보상하기 위한 별도의 소자를 제어하는 신호를 XO(340)로 전송할 수 있다. XO(340)는, 통신 프로세서(330)의 제어에 기반하여, 온도에 따라 다른 임피던스를 갖는 소자를 이용하여 신호의 주파수 대역을 보상할 수 있다. 클럭 생성기(330)는 트랜시버(350)가 사용하는 신호가 지정된 주파수 대역을 갖도록 기준 클럭(reference clock)을 생성할 수 있다. 트랜시버(350)는 클럭 생성기(330) 상에서 생성된 클럭에 기반하여 요구되는 주파수 대역(예: 기준 주파수)의 신호를 생성하고, 안테나(360)를 통해 수신하는 신호를 기저대역의 신호로 변환할 수 있다.The XO (340) may include a crystal element that vibrates at a reference frequency based on the control of the communication processor (320). The frequency band of the vibration of the crystal element may vary depending on the temperature. The XO (340) may transmit a temperature value measured by an internal temperature sensor to the communication processor (320). The communication processor (320) may transmit a signal for controlling a separate element for compensating for the frequency that varies depending on the temperature to the XO (340). The XO (340) may compensate for the frequency band of the signal by using an element having different impedance depending on the temperature based on the control of the communication processor (330). The clock generator (330) may generate a reference clock so that a signal used by the transceiver (350) has a designated frequency band. The transceiver (350) can generate a signal of a required frequency band (e.g., a reference frequency) based on a clock generated on a clock generator (330) and convert a signal received through an antenna (360) into a baseband signal.
도 4는 비교 실시예에 따른 공정 초기 오차를 그래프로 도시한 것이다.Figure 4 is a graph showing the initial process error according to a comparative example.
수정 발진기(XO)는 정확한 클럭(clock)의 소스(source)로 사용되기 위해 초기 오차에 대한 교정(calibration)이 필요할 수 있다. 또한, 수정 발진기(XO)는 주변 온도에 따라 발생하는 주파수가 달라질 수 있다. 수정 발진기(XO) 상에서 발생하는 주파수 에러와 온도와의 관계는 FT Curve 라고 부를 수 있으며 수학식 1 로 표현될 수 있다.The crystal oscillator (XO) may require initial error calibration to be used as a source of accurate clock. In addition, the frequency generated by the crystal oscillator (XO) may vary depending on the ambient temperature. The relationship between the frequency error generated in the crystal oscillator (XO) and temperature can be called the FT Curve and can be expressed by
[수학식 1][Mathematical formula 1]
f(t)=C3(t-t0)^3+C2(t-t0)^2+C1(t-t0)+C0f(t)=C3(t-t0)^3+C2(t-t0)^2+C1(t-t0)+C0
FT 함수의 계수는(C0, C1, C2, C3) 전자 장치가 기지국과 통신을 통해 교정(calibration)을 계속 진행하면서 값이 변할 수 있다. 교정(calibration)은 공정 단계에서 진행될 수 있으며, 이 과정에서 시료(예: 크리스탈)의 온도에 최적화된 계수를 가질 수 있다. 수정 발진기(XO)는 계수에 대한 값을 조절하면서 최적의 공진을 할 수 있는 load capacitance를 찾을 수 있다. 또한, 특정 온도(예: 상온)에서 계산된 최적화된 FT 함수의 계수는 교정(calibration) 시 기준 값으로 적용될 수 있다.The coefficients of the FT function (C0, C1, C2, C3) can change as the electronic device continues to perform calibration through communication with the base station. The calibration can be performed at the process stage, and the coefficients can be optimized for the temperature of the sample (e.g., crystal) during this process. The crystal oscillator (XO) can find the load capacitance that can achieve the optimal resonance by adjusting the values for the coefficients. In addition, the coefficients of the optimized FT function calculated at a specific temperature (e.g., room temperature) can be applied as reference values during calibration.
다만, 비교 실시예에 따른 수정 발진기(XO)의 교정(calibration) 과정에서 2가지 상황이 생길 수 있다. 첫 번째 상황은 클럭 생성기(clock generator)가 활성화(active)된 상태에서의 FT 함수의 계수 값과 클럭 생성기가 비활성화된 상태인 휴면(sleep) 상태에서 FT 함수의 계수 값이 서로 다를 수 있다. 휴면(sleep) 상태는 활성화(active) 상태와는 다른 상태일 수 있다. 휴면(sleep) 상태는 예를 들어, 전자 장치(101)가 에어플레인(airplane) 모드인 상황을 포함할 수 있다. 휴면 상태의 계수 값이 활성화(active)된 상태의 계수 값이 다른 경우, 수정 발진기(XO)는 최적화된 load capacitance를 만들기 어려울 수 있다. 최적화된 load capacitance를 갖지 못하는 경우 수정 발진기(XO)는 주파수 생성 시 오차를 발생시킬 수 있다. 두 번째 상황은 클럭 생성기(clock generator)가 휴면 상태인 경우, FT 함수의 계수의 교정(calibration)을 진행할 수 없으므로 온도 변화에 따른 최적의 FT 함수의 계수를 업데이트하기 어렵다는 점이다. 클럭 생성기(clock generator)가 휴면 상태일 때 주변의 온도가 바뀐 경우, 클록 생성기는 계수들을 업데이트하지 못할 수 있다. 주변의 온도가 바뀌었는데 계수들을 업데이트하지 못하는 경우 수정 발진기(XO)는 주파수 생성 시 오차를 발생시킬 수 있다.However, two situations may occur during the calibration process of the crystal oscillator (XO) according to the comparative example. The first situation is that the coefficient values of the FT function in the active state of the clock generator and the coefficient values of the FT function in the sleep state when the clock generator is inactive may be different from each other. The sleep state may be a different state from the active state. The sleep state may include, for example, a situation in which the electronic device (101) is in airplane mode. If the coefficient values in the sleep state are different from the coefficient values in the active state, the crystal oscillator (XO) may have difficulty in generating an optimized load capacitance. If the crystal oscillator (XO) does not have an optimized load capacitance, an error may occur when generating a frequency. The second situation is that when the clock generator is in a sleep state, the coefficients of the FT function cannot be calibrated, so it is difficult to update the coefficients of the optimal FT function according to the temperature change. When the ambient temperature changes while the clock generator is in a sleep state, the clock generator may not be able to update the coefficients. If the coefficients cannot be updated when the ambient temperature changes, the crystal oscillator (XO) may generate an error when generating the frequency.
전자 장치가 휴면 상태일 때 수정 발진기(XO)의 주파수 생성 시 오차가 발생하면 전자 장치의 시스템 상에 문제가 생길 수 있다. 예를 들어, 전자 장치는 정상적인 클럭의 오차로 인해 정상적인 wake up 동작이 불가능할 수 있다. 또는 모터의 경우, 휴면 상태에서 전화가 오면 오작동으로 인해 진동을 하지 않을 수 있다. 또는 Wi-Fi의 경우, 접속 시 AP를 찾기 위해 주기적으로 검색(searching) 동작을 수행하는데 클럭의 오차로 인해 정상적인 검색이 어려울 수 있다.If an error occurs in the frequency generation of the crystal oscillator (XO) when the electronic device is in a sleep state, problems may occur in the electronic device's system. For example, the electronic device may not be able to perform normal wake-up operations due to an error in the normal clock. Or, in the case of a motor, if a call comes in while in a sleep state, it may not vibrate due to a malfunction. Or, in the case of Wi-Fi, a periodic search operation is performed to find an AP when connecting, but normal searching may be difficult due to an error in the clock.
본 문서의 다양한 실시예에 따른 전자 장치는 휴면 상태(sleep)에서 최적화된 load capacitance를 유지하고, FT 함수의 계수를 온도 변화에 따라 최적화하는 방법을 제공할 수 있다. An electronic device according to various embodiments of the present document can provide a method for maintaining an optimized load capacitance in a sleep state and optimizing the coefficients of an FT function according to temperature changes.
도 5는 전자 장치가 휴면 상태일 때 FT 함수의 계수를 온도에 맞춰 업데이트할 수 있는 제 1 실시예를 도시한 것이다.FIG. 5 illustrates a first embodiment in which the coefficients of the FT function can be updated according to temperature when the electronic device is in a sleep state.
프로세서(예: 도 1의 프로세서(120))는 전자 장치(예: 도 1의 전자 장치(101))가 휴면 상태(sleep mode)에 진입함에 기반하여 FT 함수의 계수에 대한 교정(calibration)을 진행할 수 있다. 본 문서상에는 프로세서(120)에 의해 수행되는 것으로 기재되어 있으나, 전자 장치(예: 도 1의 전자 장치(101)) 의 적어도 하나의 구성 요소(예: 커뮤니케이션 프로세서)에 의해 수행될 수도 있다. 프로세서(120)는 교정된 계수 값을 결정하고, 휴면 상태(sleep mode)에서 결정된 계수 값을 이용하여 XO 상에서 발생하는 주파수의 오차를 감소시킬 수 있다.A processor (e.g., processor (120) of FIG. 1) can perform calibration of coefficients of an FT function based on the electronic device (e.g., electronic device (101) of FIG. 1) entering a sleep mode. Although described in this document as being performed by the processor (120), it may also be performed by at least one component (e.g., communication processor) of the electronic device (e.g., electronic device (101) of FIG. 1). The processor (120) can determine calibrated coefficient values and reduce a frequency error occurring on an XO by using the coefficient values determined in the sleep mode.
다만, 휴면 상태(sleep mode)에서 사용될 계수 값이 결정되더라도 FT 함수의 계수 값을 업데이트하기 어려울 수 있다. 도 5 및 도 6에서는 전자 장치(100)가 휴면 상태인 경우에도 FT 함수의 계수를 온도에 맞춰 업데이트할 수 있는 방법에 대해 설명될 것이다.However, even if the coefficient values to be used in the sleep mode are determined, it may be difficult to update the coefficient values of the FT function. In FIGS. 5 and 6, a method for updating the coefficients of the FT function according to temperature even when the electronic device (100) is in the sleep mode will be described.
도 5에서, 프로세서(120)는 양산 전 모델 별로 온도에 변화에 따른 계수 값이 기재된 테이블을 이용하여 메모리(예: 도 1의 메모리(130)) 상에 저장할 수 있다. 프로세서(120)는 상온(약 25도)에서 트림 값을 고정하고, 온도를 변경하면서 교정(calibration)을 진행할 수 있다. 트림 값은 클럭 신호의 주기를 결정하기 위한 값일 수 있다. 따라서, 프로세서(120)는 트림 값을 이용하여 수정 발진기(XO) 상의 클럭 신호의 주기가 일정하게 되도록 출력을 제어할 수 있다.프로세서(120)는 온도를 변경하면서 교정(calibration)을 진행하여 수정 발진기(XO)의 주파수 오차를 줄이기 위한 계수(예: C0,C1,C2,C3)를 결정할 수 있다. 계수(예: C0,C1,C2,C3)는 FT 함수의 계수를 의미할 수 있으며, FT 함수는 수학식 1로 설명된 바 있다.In FIG. 5, the processor (120) can store a table in which coefficient values according to temperature change are described for each model before mass production in a memory (e.g., memory (130) of FIG. 1). The processor (120) can fix a trim value at room temperature (approximately 25 degrees) and perform calibration while changing the temperature. The trim value may be a value for determining the period of a clock signal. Accordingly, the processor (120) can control the output so that the period of the clock signal on the crystal oscillator (XO) becomes constant by using the trim value. The processor (120) can perform calibration while changing the temperature to determine coefficients (e.g., C0, C1, C2, C3) for reducing the frequency error of the crystal oscillator (XO). The coefficients (e.g., C0, C1, C2, C3) may mean coefficients of an FT function, and the FT function has been described by
f(t)=C3(t-t0)^3+C2(t-t0)^2+C1(t-t0)+C0f(t)=C3(t-t0)^3+C2(t-t0)^2+C1(t-t0)+C0
FT 함수의 계수는(C0, C1, C2, C3) 전자 장치가 기지국과 통신을 통해 교정(calibration)을 계속 진행하면서 값이 변할 수 있다. 교정(calibration)은 공정 단계에서 진행될 수 있으며, 이 과정에서 시료(예: 크리스탈)의 온도에 최적화된 계수를 결정할 수 있다. 프로세서(120)는 FT 함수의 계수 값을 조절하면서 수정 발진기(XO)가 최적의 공진을 할 수 있는 load capacitance 찾을 수 있다. 또한, 상온에서 계산된 최적화된 계수는 교정(calibration) 시 기준 값으로 적용될 수 있다.The coefficients (C0, C1, C2, C3) of the FT function may change as the electronic device continues to perform calibration through communication with the base station. The calibration may be performed at the process stage, and the coefficients optimized for the temperature of the sample (e.g., crystal) may be determined during this process. The processor (120) may find the load capacitance for which the crystal oscillator (XO) can optimally resonate while adjusting the coefficient values of the FT function. In addition, the optimized coefficients calculated at room temperature may be applied as reference values during calibration.
예를 들어, 30도에서 수정 발진기(XO)의 교정을 통해 얻은 최적의 계수 값은 SLEEP_C0_30으로 표현될 수 있다. SLEEP은 휴면 상태를 의미하고, C0는 계수의 종류를 의미하며, 30은 섭씨 온도를 의미할 수 있다. 이는 그림 510에 기재된 테이블을 통해 확인할 수 있다.For example, the optimal coefficient value obtained through the calibration of the crystal oscillator (XO) at 30 degrees can be expressed as SLEEP_C0_30. SLEEP means sleep state, C0 means the type of coefficient, and 30 can mean the temperature in Celsius. This can be confirmed through the table described in Figure 510.
그림 520에서 프로세서(120)는 전자 장치(101)의 온도가 30도 일 때 적용할 offset 값을 결정할 수 있다. offset 값은 SLEEP_C0_30의 값과 상온에서 확보한 SLEEP_C0 값의 차이를 의미할 수 있다. 이러한 방식으로 특정 온도(예: 30도)와 상온의 계수 값을 비교하여 온도 별로 offset 값을 결정할 수 있다. 프로세서(120)는 결정된 온도 별 offset 값을 메모리(130) 상에 저장할 수 있다.In Figure 520, the processor (120) can determine an offset value to be applied when the temperature of the electronic device (101) is 30 degrees. The offset value can mean the difference between the value of SLEEP_C0_30 and the SLEEP_C0 value obtained at room temperature. In this way, the offset value can be determined for each temperature by comparing the coefficient value of a specific temperature (e.g., 30 degrees) and the room temperature. The processor (120) can store the determined offset value for each temperature on the memory (130).
525 부분에 따르면, 프로세서(120)는 SLEEP_C0_30의 값과 상온에서 확보한 SLEEP_C0 값의 차이를 계산하여 offset 값(C0_offset_30)을 결정할 수 있다. 그림 5에서는 전자 장치(101)의 온도가 30도인 상황을 가정하여 설명하였으나 이는 일 예시일 뿐 전자 장치(101)의 온도는 상황에 따라 달라질 수 있다. According to
일 실시예에 따르면, 프로세서(120)는 제품 테스트 공정 동안에, 제 1 온도 에서 캘리브레이션(calibration)을 진행하여 수정 발진기 상에서 발생하는 주파수의 오차를 줄이기위한 FT 함수의 계수를 결정하고, 제 1 온도와는 다른 제 2 온도 에서 캘리브레이션(calibration)을 진행하여 수정 발진기 상에서 발생하는 주파수의 오차를 줄일 수 있는FT 함수의 계수를 결정할 수 있다. 프로세서(120)는 제 1 온도의 FT 함수의 계수 및 상기 제 2 온도의 FT 함수의 계수 를 비교하여 차이 값을 offset으로 결정 하고, 결정된 offset 값을 메모리(130) 상에 저장하고, 전자 장치(101)가 슬립(sleep) 모드인 상태일 때의 트림(trim) 값, 외부 온도 및 결정된 offset 값에 기반하여 전자 장치(101)가 휴면 상태(sleep mode)일 때 수정 발진기 상에서 발생하는 주파수의 오차를 줄이기 위한FT 함수의 계수를 결정할 수 있다. 여기서 오차를 줄인다는 것은 FT 함수의 값이 0에 가까워지는 것을 의미할 수 있다. 또는 오차를 줄인다는것은것은 FT 함수의 값의 절댓값이 작아지도록 만드는 것을 의미할 수 있다.According to one embodiment, the processor (120) may determine coefficients of an FT function for reducing a frequency error occurring on a crystal oscillator by performing calibration at a first temperature during a product test process, and may determine coefficients of an FT function for reducing a frequency error occurring on a crystal oscillator by performing calibration at a second temperature different from the first temperature. The processor (120) may compare coefficients of an FT function at the first temperature and coefficients of an FT function at the second temperature to determine a difference value as an offset, store the determined offset value on the memory (130), and determine coefficients of an FT function for reducing a frequency error occurring on a crystal oscillator when the electronic device (101) is in a sleep mode based on a trim value when the electronic device (101) is in a sleep mode, an external temperature, and the determined offset value. Reducing the error here could mean making the value of the FT function approach zero. Or reducing the error could mean making the absolute value of the value of the FT function smaller.
일 실시예에 따르면, 프로세서(120)는 전자 장치의 외부 온도가 상기 제 2 온도임에 기반하여 메모리(130) 상에 저장된 상기 제 2 온도에서의 offset 값을 확인하고,제 2 온도에서의 offset 값 및 상기 제 1 온도의 FT 함수의 계수를 더하여 제 2 온도에서의 FT 함수의 계수를 결정하며, 전자 장치(101)의 온도가 상기 제 2 온도이면서 상기 전자 장치가 휴면(sleep) 상태임에 기반하여 결정된 상기 제 2 온도에서의 FT 함수의 계수를 상기 수정 발진기 상에 적용할 수 있다.According to one embodiment, the processor (120) may determine an offset value at the second temperature stored in the memory (130) based on the external temperature of the electronic device being the second temperature, add the offset value at the second temperature and the coefficient of the FT function of the first temperature to determine a coefficient of the FT function at the second temperature, and apply the coefficient of the FT function at the second temperature, which is determined based on the temperature of the electronic device (101) being the second temperature and the electronic device being in a sleep state, to the crystal oscillator.
일 실시예에 따르면, 프로세서(120)는 제 2 온도와는 다른 제 3 온도에서 캘리브레이션(calibration)을 진행하여 수정 발진기 상에서 발생하는 주파수의 오차를 줄이기위한 FT 함수의 계수를 결정하고, 제 1 온도의 FT 함수의 계수 및 상기 제 3 온도의 FT 함수의 계수 를 비교하여 offset을 결정 하고, 결정된 offset 값을 메모리(130) 상에 저장할 수 있다. 프로세서(120)는 전자 장치(101)의 온도가 상기 제 3 온도이면서 휴면(sleep) 상태임에 기반하여 결정된 상기 제 3 온도에서의 FT 함수의 계수를 상기 수정 발진기 상에 적용할 수 있다.According to one embodiment, the processor (120) may perform calibration at a third temperature different from the second temperature to determine coefficients of an FT function for reducing a frequency error occurring on a crystal oscillator, compare the coefficients of the FT function at the first temperature with the coefficients of the FT function at the third temperature to determine an offset, and store the determined offset value on the memory (130). The processor (120) may apply the coefficients of the FT function at the third temperature, which are determined based on the temperature of the electronic device (101) being the third temperature and in a sleep state, to the crystal oscillator.
도 6은 전자 장치가 휴면 상태일 때 FT 함수의 계수를 온도에 맞춰 업데이트할 수 있는 제 2 실시예를 도시한 것이다.FIG. 6 illustrates a second embodiment in which the coefficients of the FT function can be updated according to temperature when the electronic device is in a sleep state.
프로세서(예: 도 1의 프로세서(120))는 클럭 생성기(clock generator)가 활성화(active)된 상태에서 교정(calibration) 진행 시 온도에 변화에 따라 FT 함수의 계수가 어떻게 변화하는지 메모리(예: 도 1의 메모리(130)) 상에 저장할 수 있다. 프로세서(120)는 저장된 FT 함수의 계수의 변화 값에 기반하여 휴면(sleep) 상태에서 계수의 변화 값을 결정할 수 있다. 비교 실시예에 따르면, 전자 장치는 클럭 생성기(clock generator)가 활성화(active)된 상태에서는 FT 함수의 계수들을 온도에 맞게 업데이트 할 수 있다. 하지만 FT 함수의 계수들은 휴면(sleep) 상태에서 업데이트되기 어려울 수 있다.A processor (e.g., processor (120) of FIG. 1) may store, in a memory (e.g., memory (130) of FIG. 1), how coefficients of an FT function change according to temperature change during calibration while a clock generator is active. The processor (120) may determine a change value of the coefficients in a sleep state based on the change value of the stored coefficients of the FT function. According to a comparative example, an electronic device may update the coefficients of the FT function according to the temperature while the clock generator is active. However, the coefficients of the FT function may be difficult to update in the sleep state.
프로세서(120)는 클럭 생성기(clock generator)가 활성화(active)된 상태일 때의 온도 변화에 따른 FT 함수의 계수들의 변화 값에 기반하여 클럭 생성기(clock generator)가 휴면(sleep) 상태일 때의 계수의 변화 값을 업데이트 할 수 있다.The processor (120) can update the coefficient change value when the clock generator is in a sleep state based on the coefficient change value of the FT function according to the temperature change when the clock generator is in an active state.
그림 610에서, 프로세서(120)는 온도 변화에 따른 FT 함수의 계수들을 업데이트 할 수 있다. In Figure 610, the processor (120) can update the coefficients of the FT function according to temperature change.
이후 그림 620에서 프로세서(120)는 FT 함수의 계수 별로 offset 값을 결정할 수 있다. 이는 도 5 에서 설명된 바 있다. 예를 들어, 30도에서 수정 발진기(XO)의 교정을 통해 얻은 최적의 계수 값은 SLEEP_C0_30으로 표현될 수 있다. SLEEP은 휴면 상태를 의미하고, C0는 계수의 종류를 의미하며, 30은 섭씨 온도를 의미할 수 있다. 프로세서(120)는 전자 장치(101)의 온도가 30도 일 때 적용할 offset 값을 결정할 수 있다. offset 값은 SLEEP_C0_30의 값과 상온에서 확보한 SLEEP_C0 값의 차이를 의미할 수 있다. 이러한 방식으로 특정 온도(예: 30도)와 상온의 계수 값을 비교하여 온도 별로 offset 값을 결정할 수 있다. 프로세서(120)는 결정된 온도 별 offset 값을 메모리(130) 상에 저장할 수 있다.Hereinafter, in Fig. 620, the processor (120) can determine an offset value for each coefficient of the FT function. This has been described in Fig. 5. For example, an optimal coefficient value obtained through calibration of a crystal oscillator (XO) at 30 degrees can be expressed as SLEEP_C0_30. SLEEP means a sleep state, C0 means a type of coefficient, and 30 means a temperature in degrees Celsius. The processor (120) can determine an offset value to be applied when the temperature of the electronic device (101) is 30 degrees. The offset value can mean a difference between the value of SLEEP_C0_30 and the SLEEP_C0 value obtained at room temperature. In this way, the offset value can be determined for each temperature by comparing the coefficient values of a specific temperature (e.g., 30 degrees) and room temperature. The processor (120) can store the determined offset values for each temperature on the memory (130).
그림 620에 따르면, 예를 들어, 온도가 X도 일 때 offset 값은 C0_offset_X 일 수 있다. 이는 Active_C0_X에서 Active_C0를 차감한 값으로 결정될 수 있다. Active는 전자 장치(101) 또는 클럭 생성기가 활성화된 상태임을 나타낼 수 있다. C0는 FT함수의 계수를 나타낼 수 있다. X는 온도를 나타낼 수 있으며, 아무런 표시가 없는 경우 상온을 의미할 수 있다. 이러한 방식으로 프로세서(120)는 온도 및 계수 별로 offset 값을 결정할 수 있다.According to Figure 620, for example, when the temperature is X degrees, the offset value may be C0_offset_X. This may be determined as a value obtained by subtracting Active_C0 from Active_C0_X. Active may indicate that the electronic device (101) or the clock generator is activated. C0 may indicate a coefficient of an FT function. X may indicate a temperature, and if no indication is provided, it may mean room temperature. In this manner, the processor (120) may determine an offset value for each temperature and coefficient.
그림 630에서, 프로세서(120)는 전자 장치(101) 또는 클럭 생성기가 휴면(sleep) 상태임에 기반하여 활성화(active) 상태일 때 결정된 FT함수의 계수 값 및 offset값을 이용할 수 있다. 프로세서(120)는 활성화(active) 상태일 때 결정된 FT함수의 계수 값 및 offset값을 이용하여 휴면(sleep) 상태에서의 FT함수의 계수 값 및 offset값을 결정할 수 있다.In Figure 630, the processor (120) can use the coefficient value and offset value of the FT function determined when the electronic device (101) or the clock generator is in the sleep state based on the active state. The processor (120) can use the coefficient value and offset value of the FT function determined when the active state to determine the coefficient value and offset value of the FT function in the sleep state.
그림 632에 따르면, 예를 들어, 온도가 X도 일 때 offset 값은 C0_offset_X 일 수 있다. 이는 Sleep_C0_X에서 Sleep_C0를 차감한 값으로 결정될 수 있다. Sleep은 전자 장치(101) 또는 클럭 생성기가 휴면 상태임을 나타낼 수 있다. C0는 FT함수의 계수를 나타낼 수 있다. X는 온도를 나타낼 수 있으며, 아무런 표시가 없는 경우 상온을 의미할 수 있다. Sleep_C0는 상온에서의 FT함수의 계수 값을 의미할 수 있다. Sleep_C0_X는 온도가 X일 때의 FT함수의 계수 값을 의미할 수 있다. 이러한 방식으로 프로세서(120)는 온도 및 계수 별로 offset 값을 결정할 수 있다. According to Figure 632, for example, when the temperature is X degrees, the offset value may be C0_offset_X. This may be determined as a value obtained by subtracting Sleep_C0 from Sleep_C0_X. Sleep may indicate that the electronic device (101) or the clock generator is in a sleep state. C0 may indicate a coefficient of an FT function. X may indicate a temperature, and if there is no indication, it may mean room temperature. Sleep_C0 may indicate a coefficient value of an FT function at room temperature. Sleep_C0_X may indicate a coefficient value of an FT function when the temperature is X. In this manner, the processor (120) may determine an offset value for each temperature and coefficient.
그림 634에 따르면, 예를 들어, 온도가 Y도 일 때 offset 값은 C0_offset_Y 일 수 있다. 이는 Sleep_C0_Y에서 Sleep_C0를 차감한 값으로 결정될 수 있다. Sleep은 전자 장치(101) 또는 클럭 생성기가 휴면 상태임을 나타낼 수 있다. C0는 FT함수의 계수를 나타낼 수 있다. Y는 온도를 나타낼 수 있으며, 아무런 표시가 없는 경우 상온을 의미할 수 있다. 이러한 방식으로 프로세서(120)는 온도 및 계수 별로 offset 값을 결정할 수 있다. Y는 X와는 다른 온도를 의미할 수 있다. According to Figure 634, for example, when the temperature is Y degrees, the offset value may be C0_offset_Y. This may be determined as a value obtained by subtracting Sleep_C0 from Sleep_C0_Y. Sleep may indicate that the electronic device (101) or the clock generator is in a sleep state. C0 may indicate a coefficient of an FT function. Y may indicate a temperature, and if there is no indication, it may mean room temperature. In this way, the processor (120) may determine an offset value for each temperature and coefficient. Y may indicate a different temperature than X.
일 실시예에 따르면, 프로세서(120)는 상온에서의 FT 함수의 계수 값을 기준으로 FT 함수의 계수 값이 지정된 제 1 수준을 초과하여 변경되는 제 1 온도(예: X도) 를 측정할 수 있다. 프로세서(120)는 전자 장치(101)가 슬립(sleep) 상태에서 전자 장치(101)의 외부 온도가 제 1 온도로 측정됨에 기반하여 전자 장치가 활성화(active) 상태일 때 측정된 FT 함수의 계수 값을 슬립(sleep) 상태의 FT 함수의 계수 값으로 적용할 수 있다. 이는 그림 632에서 설명된 것과 같다.According to one embodiment, the processor (120) may measure a first temperature (e.g., X degrees) at which the coefficient value of the FT function changes beyond a specified first level based on the coefficient value of the FT function at room temperature. The processor (120) may apply the coefficient value of the FT function measured when the electronic device is in an active state as the coefficient value of the FT function in the sleep state based on the external temperature of the electronic device (101) being measured as the first temperature when the electronic device is in a sleep state. This is as described in Figure 632.
일 실시예에 따르면, 프로세서(120)는 상온에서의 FT 함수의 계수 값을 기준으로 FT 함수의 계수 값이 지정된 제 2 수준을 초과하여 변경되는 제 1 온도(예: Y도) 를 측정할 수 있다. 프로세서(120)는 전자 장치(101)가 슬립(sleep) 상태에서 전자 장치(101)의 외부 온도가 제 2 온도로 측정됨에 기반하여 전자 장치가 활성화(active) 상태일 때 측정된 FT 함수의 계수 값을 슬립(sleep) 상태의 FT 함수의 계수 값으로 적용할 수 있다. 이는 그림 634에서 설명된 것과 같다. 제 1 온도 및 제 2 온도는 기 설정된 값은 아니며, FT 함수의 계수가 변화하는 시점의 온도를 의미할 수 있다. FT 함수의 계수가 제 1 수준(예: 상온 대비 20%)을 초과하여 변경되는 온도는 제 1 온도로 결정될 수 있다. FT 함수의 계수가 제 2 수준(예: 상온 대비 40%)을 초과하여 변경되는 온도는 제 2 온도로 결정될 수 있다. 제 1 수준 및 제 2 수준은 일 예시일 뿐 설정에 따라 달라질 수 있다.According to one embodiment, the processor (120) may measure a first temperature (e.g., Y degrees) at which the coefficient value of the FT function changes to exceed a specified second level based on the coefficient value of the FT function at room temperature. The processor (120) may apply the coefficient value of the FT function measured when the electronic device (101) is in an active state, based on the external temperature of the electronic device (101) being measured as the second temperature when the electronic device is in a sleep state, as the coefficient value of the FT function in the sleep state. This is as described in Figure 634. The first temperature and the second temperature are not preset values and may mean temperatures at which the coefficient of the FT function changes. The temperature at which the coefficient of the FT function changes to exceed the first level (e.g., 20% compared to room temperature) may be determined as the first temperature. The temperature at which the coefficient of the FT function changes by more than a second level (e.g., 40% relative to room temperature) can be determined as the second temperature. The first level and the second level are only examples and may vary depending on the settings.
도 7은 일 실시예에 따른 전자 장치의 수정 발진기(XO) 제어 방법을 흐름도로 나타낸 것이다.FIG. 7 is a flowchart illustrating a method for controlling a crystal oscillator (XO) of an electronic device according to one embodiment.
도 7을 통하여 설명되는 동작들은 컴퓨터 기록 매체 또는 메모리(예: 도 1의 메모리(130))에 저장될 수 있는 인스트럭션들 을 기반으로 구현될 수 있다. 도시된 방법은 앞서 도 1 내지 도 6을 통해 설명한 전자 장치(예: 도 1의 전자 장치(101))에 의해 실행될 수 있으며, 앞서 설명한 바 있는 기술적 특징은 이하에서 생략하기로 한다. 도 7의 각 동작의 순서가 변경될 수 있으며, 일부 동작이 생략될 수도 있고, 일부 동작들이 동시에 수행될 수도 있다.The operations described through FIG. 7 can be implemented based on instructions that can be stored in a computer recording medium or memory (e.g., memory (130) of FIG. 1). The illustrated method can be executed by an electronic device (e.g., electronic device (101) of FIG. 1) described above through FIGS. 1 to 6, and the technical features described above will be omitted below. The order of each operation of FIG. 7 can be changed, some operations can be omitted, and some operations can be performed simultaneously.
동작 710에서, 프로세서(예: 도 1의 프로세서(120))는 전자 장치(101)가 슬립(sleep) 모드인 상태에서 클럭 생성 회로의 load capacitance에 대응하여 수정 발진기(XO)가 일정한 주파수로 진동할 수 있도록 제어하는 트림(trim) 값을 결정할 수 있다. 트림(trim) 값은 시료의 특성과 관련된 값이며, 트림(trim) 값에 따라 XO가 최적의 load capacitance를 갖는지 여부가 결정될 수 있다.In
전자 장치(101)는 트림 값에 따라 주기가 결정되는 오실레이터 클럭 신호를 출력하도록 구성된 오실레이터 및 오실레이터 클럭 신호를 기준 시간 동안 카운팅하도록 구성된 클럭 카운터를 더 포함할 수 있다. 프로세서(120)는 카운트 값이 타겟 카운트 값보다 큰 경우, 상기 트림 값을 단계적으로 증가시킴으로써 상기 카운트 값을 감소시키고, 카운트 값이 타겟 카운트 값 이하인 경우, 상기 트림 값을 단계적으로 감소시킴으로써 카운트 값을 증가시킬 수 있다. 오실레이터는 입력된 트림 값이 작을수록 짧은 주기를 갖는 상기 오실레이터 클럭 신호를 출력할 수 있다.The electronic device (101) may further include an oscillator configured to output an oscillator clock signal whose period is determined according to a trim value, and a clock counter configured to count the oscillator clock signal for a reference time. The processor (120) may decrease the count value by gradually increasing the trim value when the count value is greater than a target count value, and may increase the count value by gradually decreasing the trim value when the count value is less than or equal to the target count value. The oscillator may output the oscillator clock signal having a shorter period as the input trim value decreases.
일 실시예에 따르면, 프로세서(120)는 카운트 값이 증가됨에 따라 카운트 값이 타겟 카운트 값을 초과하는 경우, 타겟 카운트 값을 초과하는 카운트 값에 대응되는 트림 값을 슬립(sleep) 상태에서의 최종 트림 값으로 결정할 수 있다. 프로세서(120)는 카운트 값이 감소됨에 따라 카운트 값이 타겟 카운트 값 미만인 경우, 상 타겟 카운트 값 미만인 카운트 값에 대응되는 트림 값을 슬립(sleep) 상태에서의 최종 트림 값으로 결정할 수 있다.According to one embodiment, when the count value increases and exceeds the target count value, the processor (120) may determine a trim value corresponding to the count value exceeding the target count value as the final trim value in the sleep state. When the count value decreases and falls below the target count value, the processor (120) may determine a trim value corresponding to the count value below the target count value as the final trim value in the sleep state.
프로세서(120)는 결정된 트림(trim) 값을 메모리(130) 상에 저장할 수 있다. 결정된 트림(trim) 값은 활성화(active) 상태가 아닌 슬립(sleep) 모드인 상태에서 수정 발진기(XO)가 일정한 주파수로 진동할 수 있도록 제어하는 값을 의미할 수 있다. 오실레이터는, 저장된 최종 트림 값에 따라 결정된 주기를 갖는 오실레이터 클럭 신호를 출력할 수 있다.The processor (120) can store the determined trim value in the memory (130). The determined trim value may mean a value that controls the crystal oscillator (XO) to vibrate at a constant frequency in a sleep mode rather than an active state. The oscillator can output an oscillator clock signal having a period determined according to the stored final trim value.
동작 720에서, 프로세서(120)는 전자 장치의 상태가 활성화(active) 모드에서 슬립(sleep) 모드로 전환됨에 기반하여 결정된 트림(trim) 값을 적용할 수 있다.At
동작 730에서, 프로세서(120)는 온도 변화에 대응하여 수정 발진기 상에 적용할 FT함수의 계수 값을 메모리(130) 상에 저장할 수 있다.In
일 실시예에 따르면, 프로세서(120)는 제품 테스트 공정 동안에, 제 1 온도 에서 캘리브레이션(calibration)을 진행하여 수정 발진기 상에서 발생하는 주파수의 오차를 줄이기위한 주파수와 온도 간 FT 함수의 계수를 결정하고, 제 1 온도와는 다른 제 2 온도 에서 캘리브레이션(calibration)을 진행하여 수정 발진기 상에서 발생하는 주파수의 오차를 줄이기위한 FT 함수의 계수를 결정할 수 있다.According to one embodiment, the processor (120) may determine coefficients of an FT function between frequency and temperature to reduce frequency errors occurring on a crystal oscillator by performing calibration at a first temperature during a product test process, and may determine coefficients of an FT function to reduce frequency errors occurring on a crystal oscillator by performing calibration at a second temperature different from the first temperature.
프로세서(120)는 제 1 온도의 FT 함수의 계수 및 상기 제 2 온도의 FT 함수의 계수 를 비교하여 offset을 결정 하고, 결정된 offset 값을 메모리(130) 상에 저장할 수 있다. 프로세서(120)는 전자 장치가 슬립(sleep) 모드인 상태일 때의 트림(trim) 값, 외부 온도 및 결정된 offset 값에 기반하여 상기 전자 장치가 휴면 상태(sleep mode)일 때 수정 발진기 상에서 발생하는 주파수의 오차를 줄이기 위한 FT 함수의 계수를 결정할 수 있다. The processor (120) can compare the coefficient of the FT function of the first temperature with the coefficient of the FT function of the second temperature to determine an offset, and store the determined offset value on the memory (130). The processor (120) can determine the coefficient of the FT function for reducing a frequency error occurring on a crystal oscillator when the electronic device is in a sleep mode based on the trim value, the external temperature, and the determined offset value when the electronic device is in a sleep mode.
동작 740에서, 프로세서(120)는 클럭 생성기의 상태가 활성화(active) 모드에서 슬립(sleep) 모드로 전환됨에 기반하여 결정된 FT 함수의 계수 값을 적용할 수 있다.At
프로세서(120)는 주파수의 오차를 줄이기 위해 수정 발진기의 주파수 에러가 y축으로 기재되고, 온도가 x축으로 기재되는 FT 함수의 값이 0이 되도록 만드는 계수를 결정할 수 있다. 프로세서(120)는 주파수 에러가 y축으로 기재되고, 온도가 x축으로 기재되는 FT 함수 상에서 함수 값이 0이 되도록 계수를 적용하여 주파수 에러를 감소시킬 수 있다.The processor (120) can determine a coefficient that makes the value of an FT function, in which the frequency error of a crystal oscillator is described along the y-axis and the temperature is described along the x-axis, become 0 in order to reduce the frequency error. The processor (120) can reduce the frequency error by applying a coefficient that makes the function value of an FT function, in which the frequency error is described along the y-axis and the temperature is described along the x-axis, become 0.
일 실시예에 따르면, 프로세서(120)는 전자 장치(101)가 활성화(active) 상태에서 온도 변화에 따라 캘리브레이션(calibration)을 진행 하고, 온도 변화에 따른 FT 함수의 계수의 변화를 측정하고, 상온에서의 FT 함수의 계수 값을 기준으로 FT 함수의 계수 값이 지정된 제 1 수준을 초과하여 변경되는 제 1 온도 를 측정하여 메모리(130) 상에 저장할 수 있다. 프로세서(120)는 전자 장치(101)가 슬립(sleep) 상태인지 및 전자 장치(101)의 외부 온도가 제 1 온도로 측정되는지 확인할 수 있다. 프로세서(120)는 전자 장치(101)가 슬립(sleep) 상태이면서 전자 장치(101)의 외부 온도가 제 1 온도로 측정됨에 기반하여 전자 장치(101)가 활성화(active) 상태일 때 측정되었던 FT 함수의 계수 값을 슬립(sleep) 상태의 FT 함수의 계수 값으로 적용할 수 있다.According to one embodiment, the processor (120) may perform calibration according to a temperature change in the electronic device (101) in an active state, measure a change in a coefficient of an FT function according to a temperature change, measure a first temperature at which a coefficient value of an FT function changes beyond a specified first level based on a coefficient value of the FT function at room temperature, and store the measured first temperature in the memory (130). The processor (120) may determine whether the electronic device (101) is in a sleep state and whether an external temperature of the electronic device (101) is measured as a first temperature. Based on the fact that the electronic device (101) is in a sleep state and the external temperature of the electronic device (101) is measured as the first temperature, the processor (120) may apply a coefficient value of the FT function measured when the electronic device (101) is in an active state as a coefficient value of the FT function in the sleep state.
일 실시예에 따르면, 프로세서(120)는 전자 장치(101)가 활성화(active) 상태에서 온도 변화에 따라 캘리브레이션(calibration)을 진행 하고, 온도 변화에 따른 FT 함수의 계수의 변화를 측정하고, 상온에서의 FT 함수의 계수 값을 기준으로 FT 함수의 계수 값이 지정된 제 2 수준을 초과하여 변경되는 제 2 온도 를 측정하여 메모리(130) 상에 저장할 수 있다. 프로세서(120)는 전자 장치(101)가 슬립(sleep) 상태인지 및 전자 장치(101)의 외부 온도가 제 2 온도로 측정되는지 확인할 수 있다. 프로세서(120)는 전자 장치(101)가 슬립(sleep) 상태이면서 전자 장치(101)의 외부 온도가 제 2 온도로 측정됨에 기반하여 전자 장치(101)가 활성화(active) 상태일 때 측정되었던 FT 함수의 계수 값을 슬립(sleep) 상태의 FT 함수의 계수 값으로 적용할 수 있다.According to one embodiment, the processor (120) may perform calibration according to a temperature change in the electronic device (101) in an active state, measure a change in a coefficient of an FT function according to a temperature change, measure a second temperature at which a coefficient value of an FT function changes beyond a designated second level based on a coefficient value of the FT function at room temperature, and store the measured second temperature in the memory (130). The processor (120) may determine whether the electronic device (101) is in a sleep state and whether an external temperature of the electronic device (101) is measured as a second temperature. Based on the fact that the electronic device (101) is in a sleep state and the external temperature of the electronic device (101) is measured as the second temperature, the processor (120) may apply a coefficient value of the FT function measured when the electronic device (101) is in an active state as a coefficient value of the FT function in the sleep state.
일 실시예에 따르면, 프로세서(120)는 제품 테스트 공정 동안에, 제 1 온도에서 캘리브레이션(calibration)을 진행하여 수정 발진기 상에서 발생하는 주파수의 오차를 줄이기 위한 주파수와 온도 간 FT 함수의 계수를 결정하고, 제 1 온도와는 다른 제 2 온도에서 캘리브레이션(calibration)을 진행하여 수정 발진기 상에서 발생하는 주파수의 오차를 줄이기위한 FT 함수의 계수를 결정하며, 제 1 온도의 FT 함수의 계수 및 제 2 온도의 FT 함수의 계수를 비교하여 offset을 결정하고, 결정된 offset 값을 메모리 상에 저장하고, 클럭 생성기(clock generator)가 슬립(sleep) 모드인 상태일 때 외부 온도 및 결정된 offset 값에 기반하여 주파수 에러와 온도 간 FT 함수의 값이 0이 되도록 만드는 계수를 결정할 수 있다.According to one embodiment, the processor (120) determines coefficients of an FT function between frequency and temperature to reduce a frequency error occurring on a crystal oscillator by performing calibration at a first temperature during a product test process, determines coefficients of an FT function to reduce a frequency error occurring on a crystal oscillator by performing calibration at a second temperature different from the first temperature, determines an offset by comparing the coefficients of the FT function at the first temperature and the coefficients of the FT function at the second temperature, stores the determined offset value in a memory, and determines a coefficient that makes the value of the FT function between frequency error and
일 실시예에 따르면, 프로세서(120)는 전자 장치의 외부 온도가 제 2 온도임에 기반하여 메모리 상에 저장된 제 2 온도에서의 offset 값을 확인하고, 제 2 온도에서의 offset 값 및 제 1 온도의 FT 함수의 계수를 더하여 제 2 온도에서의 FT 함수의 계수를 결정하며, 전자 장치의 온도가 제 2 온도이면서 클럭 생성기가 휴면(sleep) 상태임에 기반하여 결정된 제 2 온도에서의 FT 함수의 계수를 이용하여 주파수 에러와 온도 간 FT 함수의 값이 0이 되도록 만들 수 있다.According to one embodiment, the processor (120) checks an offset value at a second temperature stored in a memory based on the external temperature of the electronic device being the second temperature, adds the offset value at the second temperature and a coefficient of the FT function of the first temperature to determine a coefficient of the FT function at the second temperature, and uses the coefficient of the FT function at the second temperature determined based on the temperature of the electronic device being the second temperature and the clock generator being in a sleep state to make the value of the FT function between the frequency error and the temperature become 0.
일 실시예에 따르면, 프로세서(120)는 제 2 온도와는 다른 제 3 온도에서 캘리브레이션(calibration)을 진행하여 수정 발진기 상에서 발생하는 주파수의 오차를 줄이기위한 FT 함수의 계수를 결정하고, 제 1 온도의 FT 함수의 계수 및 제 3 온도의 FT 함수의 계수를 비교하여 offset을 결정 하고, 결정된 offset 값을 메모리 상에 저장하고, 전자 장치의 온도가 제 3 온도이면서 클럭 생성기가 휴면(sleep) 상태임에 기반하여 결정된 제 3 온도에서의 FT 함수의 계수를 이용하여 주파수 에러와 온도 간 FT 함수의 값이 0이 되도록 만들 수 있다.According to one embodiment, the processor (120) determines coefficients of an FT function for reducing a frequency error occurring in a crystal oscillator by performing calibration at a third temperature different from a second temperature, compares the coefficients of the FT function at the first temperature with the coefficients of the FT function at the third temperature to determine an offset, stores the determined offset value in a memory, and uses the coefficients of the FT function at the third temperature determined based on the temperature of the electronic device being the third temperature and the clock generator being in a sleep state to make the value of the FT function between the frequency error and the
도 8은 일 실시예에 따른 전자 장치의 수정 발진기(XO) 제어 방법을 순서도로 나타낸 것이다.FIG. 8 is a flowchart illustrating a method for controlling a crystal oscillator (XO) of an electronic device according to one embodiment.
도 8을 통하여 설명되는 동작들은 컴퓨터 기록 매체 또는 메모리(예: 도 1의 메모리(130))에 저장될 수 있는 인스트럭션들 을 기반으로 구현될 수 있다. 도시된 방법(800)은 앞서 도 1 내지 도 6을 통해 설명한 전자 장치(예: 도 1의 전자 장치(101))에 의해 실행될 수 있으며, 앞서 설명한 바 있는 기술적 특징은 이하에서 생략하기로 한다. 도 7의 각 동작의 순서가 변경될 수 있으며, 일부 동작이 생략될 수도 있고, 일부 동작들이 동시에 수행될 수도 있다.The operations described through FIG. 8 may be implemented based on instructions that may be stored in a computer recording medium or memory (e.g., memory (130) of FIG. 1). The illustrated method (800) may be executed by an electronic device (e.g., electronic device (101) of FIG. 1) described above through FIGS. 1 to 6, and the technical features described above will be omitted below. The order of each operation of FIG. 7 may be changed, some operations may be omitted, and some operations may be performed simultaneously.
동작 810에서, 프로세서(예: 도 1의 프로세서(120))는 클럭 생성기의 상태가 휴면(sleep) 상태인지 확인할 수 있다. 휴면(sleep) 상태는 활성화(active) 상태와는 다른 상태일 수 있다. 휴면(sleep) 상태는 예를 들어, 전자 장치(101)가 에어플레인(airplane) 모드인 상황을 포함할 수 있다.At
동작 812에서(동작 810-yes), 프로세서(120)는 전자 장치(101)의 상태가 휴면(sleep) 상태임에 기반하여 휴면 상태일 때 적용할 트림 값을 결정할 수 있다. At operation 812 (operation 810-yes), the processor (120) may determine a trim value to apply when in a sleep state based on whether the state of the electronic device (101) is in a sleep state.
프로세서(120)는 전자 장치(101)가 슬립(sleep) 모드인 상태에서 클럭 생성 회로의 load capacitance에 대응하여 수정 발진기(XO)가 일정한 주파수로 진동할 수 있도록 제어하는 트림(trim) 값을 결정할 수 있다.The processor (120) can determine a trim value that controls the crystal oscillator (XO) to vibrate at a constant frequency in response to the load capacitance of the clock generation circuit while the electronic device (101) is in sleep mode.
전자 장치(101)는 트림 값에 따라 주기가 결정되는 오실레이터 클럭 신호를 출력하도록 구성된 오실레이터 및 오실레이터 클럭 신호를 기준 시간 동안 카운팅하도록 구성된 클럭 카운터를 더 포함할 수 있다. 프로세서(120)는 카운트 값이 타겟 카운트 값보다 큰 경우, 상기 트림 값을 단계적으로 증가시킴으로써 상기 카운트 값을 감소시키고, 카운트 값이 타겟 카운트 값 이하인 경우, 상기 트림 값을 단계적으로 감소시킴으로써 카운트 값을 증가시킬 수 있다. 오실레이터는 입력된 트림 값이 작을수록 짧은 주기를 갖는 오실레이터 클럭 신호를 출력할 수 있다.The electronic device (101) may further include an oscillator configured to output an oscillator clock signal whose period is determined according to a trim value, and a clock counter configured to count the oscillator clock signal for a reference time. The processor (120) may decrease the count value by gradually increasing the trim value when the count value is greater than a target count value, and may increase the count value by gradually decreasing the trim value when the count value is less than or equal to the target count value. The oscillator may output an oscillator clock signal having a shorter period as an input trim value decreases.
일 실시예에 따르면, 프로세서(120)는 카운트 값이 증가됨에 따라 카운트 값이 타겟 카운트 값을 초과하는 경우, 타겟 카운트 값을 초과하는 카운트 값에 대응되는 트림 값을 슬립(sleep) 상태에서의 최종 트림 값으로 결정할 수 있다. 프로세서(120)는 카운트 값이 감소됨에 따라 카운트 값이 타겟 카운트 값 미만인 경우, 상 타겟 카운트 값 미만인 카운트 값에 대응되는 트림 값을 슬립(sleep) 상태에서의 최종 트림 값으로 결정할 수 있다.According to one embodiment, when the count value increases and exceeds the target count value, the processor (120) may determine a trim value corresponding to the count value exceeding the target count value as the final trim value in the sleep state. When the count value decreases and falls below the target count value, the processor (120) may determine a trim value corresponding to the count value below the target count value as the final trim value in the sleep state.
동작 814에서, 프로세서(120)는 휴면 상태일 때 전자 장치(101)의 온도를 확인하고, FT함수의 계수를 업데이트할 수 있다.In
프로세서(120)는 전자 장치(101)가 휴면 상태일 때 적용할 FT함수의 계수를 결정할 수 있다. FT함수는 수정 발진기(XO)에서 발생하는 주파수 에러(frequency error) 와 온도와의 관계를 나타낼 수 있다.The processor (120) can determine the coefficients of the FT function to be applied when the electronic device (101) is in a sleep state. The FT function can represent the relationship between the frequency error occurring in the crystal oscillator (XO) and the temperature.
이후 동작 820에서, 프로세서(120)는 수정 발진기(XO)가 일정한 주파수로 진동할 수 있도록 보상이 된 FT함수의 계수를 수정 발진기(XO) 상에 적용할 수 있다.In a
동작 816에서(동작 810-no), 프로세서(120)는 전자 장치(101)의 상태가 휴면(sleep) 상태가 아님에 기반하여 활성화 상태일 때 적용할 트림 값 및 캘리브레이션 된 FT함수의 계수를 결정할 수 있다.At operation 816 (operation 810-no), the processor (120) may determine the trim values to apply and the coefficients of the calibrated FT function when the electronic device (101) is in an active state based on the state not being in a sleep state.
이후 동작 820에서, 프로세서(120)는 수정 발진기(XO)가 일정한 주파수로 진동할 수 있도록 보상이 된 FT함수의 계수를 수정 발진기(XO) 상에 적용할 수 있다.In a
전자 장치는 프로세서, 기준 주파수를 갖는 신호를 생성하기 위한 기준 클럭을 생성하는 수정 발진기(XO, crystal oscillator) 및 메모리를 포함할 수 있다. 프로세서는 클럭 생성기(clock generator)가 슬립(sleep) 모드인 상태에서 일정하게 주파수를 생성할 수 있도록 트림(trim) 값을 결정하고, 클럭 생성기(clock generator)가 슬립(sleep) 모드인 상태로 진입함에 기반하여 결정된 트림(trim) 값을 적용하며, 클럭 생성기(clock generator)가 슬립(sleep) 모드인 상태에서 캘리브레이션(calibration)을 진행하고, 수정 발진기의 주파수 에러가 임계값 이하가 되도록 만드는 제어 계수를 결정하고, 결정된 제어 계수 값을 메모리 상에 저장하고, 클럭 생성기(clock generator)의 상태가 활성화(active) 모드에서 슬립(sleep) 모드로 전환됨에 기반하여 제어 계수를 슬립(sleep) 모드인 상태에서 결정된 제어 계수 값으로 변경할 수 있다.An electronic device may include a processor, a crystal oscillator (XO) that generates a reference clock for generating a signal having a reference frequency, and a memory. The processor may determine a trim value so that the clock generator can constantly generate a frequency in a sleep mode, apply the determined trim value based on the clock generator entering the sleep mode, perform calibration while the clock generator is in the sleep mode, determine a control coefficient that makes a frequency error of the crystal oscillator less than or equal to a threshold value, store the determined control coefficient value in the memory, and change the control coefficient to the control coefficient value determined in the sleep mode based on the state of the clock generator switching from an active mode to a sleep mode.
일 실시예에 따르면, 프로세서는 제품 테스트 공정 동안에, 제 1 온도에서 캘리브레이션(calibration)을 진행하여 수정 발진기 상에서 발생하는 주파수의 오차를 줄이기 위한 주파수와 온도 간 FT 함수의 계수를 결정하고, 제 1 온도와는 다른 제 2 온도에서 캘리브레이션(calibration)을 진행하여 수정 발진기 상에서 발생하는 주파수의 오차를 줄이기 위한 FT 함수의 계수를 결정하며, 제 1 온도의 FT 함수의 계수 및 제 2 온도의 FT 함수의 계수 를 비교하여 offset을 결정하고, 결정된 offset 값을 메모리 상에 저장하고, 클럭 생성기(clock generator)가 슬립(sleep) 모드인 상태일 때 외부 온도 및 결정된 offset 값에 기반하여 주파수 에러 값이 y축으로 기재되고 온도가 x축으로 기재된 FT 함수의 값이 0이 되도록 만드는 계수를 결정하고, 결정된 값으로 FT 함수의 계수를 변경할 수 있다.According to one embodiment, the processor determines coefficients of an FT function between frequency and temperature during a product test process to reduce a frequency error occurring on a crystal oscillator by performing calibration at a first temperature, determines coefficients of an FT function to reduce a frequency error occurring on the crystal oscillator by performing calibration at a second temperature different from the first temperature, determines an offset by comparing the coefficients of the FT function at the first temperature and the coefficients of the FT function at the second temperature, stores the determined offset value in a memory, and determines a coefficient that makes a frequency error value described on the y-axis and a temperature described on the x-axis become 0 based on an external temperature and the determined offset value when the clock generator is in a sleep mode, and changes the coefficients of the FT function to the determined values.
일 실시예에 따르면, 프로세서는 전자 장치의 외부 온도가 제 2 온도임에 기반하여 메모리 상에 저장된 제 2 온도에서의 offset 값을 확인하고, 제 2 온도에서의 offset 값 및 제 1 온도의 FT 함수의 계수를 더하여 제 2 온도에서의 FT 함수의 계수를 결정하며, 전자 장치의 온도가 제 2 온도이면서 클럭 생성기가 휴면(sleep) 상태임에 기반하여 결정된 제 2 온도에서의 FT 함수의 계수를 이용하여 주파수 에러와 온도 간 FT 함수의 값이 0이 되도록 만들 수 있다.According to one embodiment, the processor determines an offset value at a second temperature stored in a memory based on the external temperature of the electronic device being the second temperature, adds the offset value at the second temperature and a coefficient of the FT function at the first temperature to determine a coefficient of the FT function at the second temperature, and uses the coefficient of the FT function at the second temperature determined based on the temperature of the electronic device being the second temperature and the clock generator being in a sleep state to make the value of the FT function between the frequency error and the temperature become 0.
일 실시예에 따르면, 프로세서는 제 2 온도와는 다른 제 3 온도에서 캘리브레이션(calibration)을 진행하여 수정 발진기 상에서 발생하는 주파수의 오차를 줄이기 위한 FT 함수의 계수를 결정하고, 제 1 온도의 FT 함수의 계수 및 제 3 온도의 FT 함수의 계수를 비교하여 offset을 결정 하고, 결정된 offset 값을 메모리 상에 저장하고, 전자 장치의 온도가 제 3 온도이면서 클럭 생성기가 휴면(sleep) 상태임에 기반하여 결정된 제 3 온도에서의 FT 함수의 계수를 이용하여 주파수 에러와 온도 간 FT 함수의 값이 0이 되도록 만들 수 있다.According to one embodiment, the processor determines coefficients of an FT function for reducing a frequency error occurring in a crystal oscillator by performing calibration at a third temperature different from a second temperature, compares the coefficients of the FT function at the first temperature with the coefficients of the FT function at the third temperature to determine an offset, stores the determined offset value in a memory, and uses the coefficients of the FT function at the third temperature determined based on the temperature of the electronic device being the third temperature and the clock generator being in a sleep state to make the frequency error and the value of the FT function between the
일 실시예에 따르면, 프로세서는 클럭 생성기가 활성화(active) 상태에서 온도 변화에 따라 캘리브레이션(calibration)을 진행하고, 온도 변화에 따른 FT 함수의 계수의 변화를 측정하고, 상온에서의 FT 함수의 계수 값을 기준으로 FT 함수의 계수 값이 지정된 제 1 수준을 초과하여 변경되는 제 1 온도를 측정하여 메모리 상에 저장하고, 클럭 생성기가 슬립(sleep) 상태에서 전자 장치의 외부 온도가 제 1 온도로 측정됨에 기반하여 클럭 생성기가 활성화(active) 상태일 때 측정된 FT 함수의 계수 값을 이용하여 주파수 에러와 온도 간 FT 함수의 값이 0이 되도록 만들 수 있다.According to one embodiment, the processor performs calibration according to temperature change when the clock generator is in an active state, measures a change in a coefficient of an FT function according to the temperature change, measures a first temperature at which a coefficient value of the FT function changes by exceeding a first level specified based on a coefficient value of the FT function at room temperature and stores the measured first temperature in a memory, and uses the coefficient value of the FT function measured when the clock generator is in an active state based on the external temperature of the electronic device being measured as the first temperature when the clock generator is in a sleep state to make the value of the FT function between the frequency error and the temperature become 0.
일 실시예에 따르면, 프로세서는 상온에서의 FT 함수의 계수 값을 기준으로 FT 함수의 계수 값이 지정된 제 2 수준을 초과하여 변경되는 제 2 온도를 측정하여 메모리 상에 저장 하고, 클럭 생성기가 슬립(sleep) 상태에서 전자 장치의 외부 온도가 제 2 온도로 측정됨에 기반하여 클럭 생성기가 활성화(active) 상태일 때 측정된 FT 함수의 계수 값을 이용하여 수정 발진기(XO) 상에서 발생하는 주파수의 오차를 감소시킬 수 있다.According to one embodiment, the processor measures a second temperature at which a coefficient value of the FT function changes beyond a designated second level based on a coefficient value of the FT function at room temperature and stores the measured second temperature in a memory, and when the clock generator is in an active state based on an external temperature of the electronic device measured as the second temperature in a sleep state, the processor can reduce a frequency error occurring in a crystal oscillator (XO) by using the measured coefficient value of the FT function.
일 실시예에 따르면, 전자 장치는 트림 값에 따라 주기가 결정되는 오실레이터 클럭 신호를 출력하도록 구성된 오실레이터,및 오실레이터 클럭 신호를 기준 시간 동안 카운팅하도록 구성된 클럭 카운터를 더 포함하며, 프로세서는 카운트 값이 타겟 카운트 값보다 큰 경우, 트림 값을 단계적으로 증가시킴으로써 카운트 값을 감소시키고, 카운트 값이 타겟 카운트 값 이하인 경우, 트림 값을 단계적으로 감소시킴으로써 카운트 값을 증가시킬 수 있다.According to one embodiment, the electronic device further includes an oscillator configured to output an oscillator clock signal, a period of which is determined according to a trim value, and a clock counter configured to count the oscillator clock signal for a reference time, wherein the processor can decrease the count value by gradually increasing the trim value when the count value is greater than a target count value, and can increase the count value by gradually decreasing the trim value when the count value is less than or equal to the target count value.
일 실시예에 따르면, 오실레이터는 입력된 트림 값이 작을수록 짧은 주기를 갖는 오실레이터 클럭 신호를 출력할 수 있다.According to one embodiment, the oscillator can output an oscillator clock signal having a shorter period as the input trim value becomes smaller.
일 실시예에 따르면, 프로세서는 카운트 값이 증가됨에 따라 카운트 값이 타겟 카운트 값을 초과하는 경우, 타겟 카운트 값 을 초과하는 카운트 값에 대응되는 트림 값을 슬립(sleep) 상태에서의 최종 트림 값으로 결정하고, 카운트 값이 감소됨에 따라 카운트 값이 타겟 카운트 값 미만인 경우, 타겟 카운트 값 미 만인 카운트 값에 대응되는 트림 값을 슬립(sleep) 상태에서의 최종 트림 값으로 결정할 수 있다.According to one embodiment, when the count value increases and the count value exceeds a target count value, the processor may determine a trim value corresponding to the count value exceeding the target count value as a final trim value in the sleep state, and when the count value decreases and is less than the target count value, the processor may determine a trim value corresponding to the count value less than the target count value as the final trim value in the sleep state.
일 실시예에 따르면, 프로세서는 결정된 최종 트림 값을 메모리 상에 저장하고, 오실레이터는, 저장된 최종 트림 값에 따라 결정된 주기를 갖는 오실레이터 클럭 신호를 출력할 수 있다.According to one embodiment, the processor can store the determined final trim value in memory, and the oscillator can output an oscillator clock signal having a period determined according to the stored final trim value.
전자 장치의 수정 발진기(XO) 제어 방법은 클럭 생성기(clock generator)가 슬립(sleep) 모드인 상태에서 캘리브레이션(calibration)을 진행하는 동작, 수정 발진기의 주파수 에러가 y축으로 기재되고, 임계값 이하가 되도록 만드는 제어 계수를 결정하는 동작, 결정된 제어 계수 값을 메모리 상에 저장하고, 클럭 생성기(clock generator)의 상태가 활성화(active) 모드에서 슬립(sleep) 모드로 전환됨에 기반하여 제어 계수를 슬립(sleep) 모드인 상태에서 결정된 제어 계수 값으로 변경하는 동작을 포함할 수 있다.A method for controlling a crystal oscillator (XO) of an electronic device may include an operation of performing calibration while a clock generator is in a sleep mode, an operation of determining a control coefficient that causes a frequency error of the crystal oscillator to be expressed along the y-axis and become less than or equal to a threshold value, an operation of storing the determined control coefficient value in a memory, and an operation of changing the control coefficient to the determined control coefficient value while in the sleep mode based on a state of the clock generator being switched from an active mode to a sleep mode.
Claims (15)
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2023-0042256 | 2023-03-30 | ||
KR20230042256 | 2023-03-30 | ||
KR1020230061685A KR20240147379A (en) | 2023-03-30 | 2023-05-12 | Electronic device and method for controlling crystal oscillators in electronic device |
KR10-2023-0061685 | 2023-05-12 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2024205095A1 true WO2024205095A1 (en) | 2024-10-03 |
Family
ID=92907089
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2024/003370 WO2024205095A1 (en) | 2023-03-30 | 2024-03-18 | Electronic device, and method for controlling crystal oscillator of electronic device |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2024205095A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010072500A (en) * | 1998-08-14 | 2001-07-31 | 러셀 비. 밀러 | Synchronisation of a low power clock in a wireless communication device |
US8049569B1 (en) * | 2007-09-05 | 2011-11-01 | Cypress Semiconductor Corporation | Circuit and method for improving the accuracy of a crystal-less oscillator having dual-frequency modes |
JP2012044545A (en) * | 2010-08-20 | 2012-03-01 | Fujitsu Ltd | Pll synthesizer |
US20170288681A1 (en) * | 2016-04-05 | 2017-10-05 | Samsung Electronics Co., Ltd. | Device and method for multiple reference system timer |
KR20200041406A (en) * | 2018-10-11 | 2020-04-22 | 매그나칩 반도체 유한회사 | Display driver ic controlling oscillator frequency and method thereof |
-
2024
- 2024-03-18 WO PCT/KR2024/003370 patent/WO2024205095A1/en unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010072500A (en) * | 1998-08-14 | 2001-07-31 | 러셀 비. 밀러 | Synchronisation of a low power clock in a wireless communication device |
US8049569B1 (en) * | 2007-09-05 | 2011-11-01 | Cypress Semiconductor Corporation | Circuit and method for improving the accuracy of a crystal-less oscillator having dual-frequency modes |
JP2012044545A (en) * | 2010-08-20 | 2012-03-01 | Fujitsu Ltd | Pll synthesizer |
US20170288681A1 (en) * | 2016-04-05 | 2017-10-05 | Samsung Electronics Co., Ltd. | Device and method for multiple reference system timer |
KR20200041406A (en) * | 2018-10-11 | 2020-04-22 | 매그나칩 반도체 유한회사 | Display driver ic controlling oscillator frequency and method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2019378529B2 (en) | Method for receiving reference signal and electronic device therefor | |
WO2023022567A1 (en) | Foldable electronic device and method for controlling foldable electronic device using digital hall sensor | |
WO2022098172A1 (en) | Antenna structure and method for calibrating signal | |
WO2022154643A1 (en) | Antenna and electronic device comprising same | |
KR20240147379A (en) | Electronic device and method for controlling crystal oscillators in electronic device | |
WO2024205095A1 (en) | Electronic device, and method for controlling crystal oscillator of electronic device | |
WO2024096530A1 (en) | Electronic device for merging clusters of nan communication and operation method thereof | |
WO2023140589A1 (en) | Wearable electronic device comprising antenna | |
WO2023287003A1 (en) | Method for gnss positioning, and electronic device for performing method | |
WO2024253392A1 (en) | Electronic device for controlling crystal oscillator and operation method of electronic device | |
WO2025146986A1 (en) | Time-to-digital converter circuit and digital phase locked loop including time-to-digital converter circuit | |
WO2022131582A1 (en) | Electronic device for reducing power consumption due to wireless communication, and operating method therefor | |
WO2023018185A1 (en) | Electronic device displaying measured data, and method therefor | |
WO2023177104A1 (en) | Method and apparatus for maintaining communication performance in correspondence with internal temperature in electronic device | |
WO2023277364A1 (en) | Electronic device using bluetooth communication, and operating method thereof | |
WO2024155040A1 (en) | Electronic device for searching terrestrial network, and operating method thereof | |
WO2024172391A1 (en) | Method for managing file-related information and electronic device supporting same | |
WO2022119151A1 (en) | Method and electronic device for reducing signal interference | |
WO2023140532A1 (en) | Voltage-controlled oscillator | |
WO2021210916A1 (en) | Method for transmitting and receiving data and electronic device supporting the same | |
WO2022124616A1 (en) | Electronic device for reducing power consumption due to wireless communication and operating method thereof | |
WO2022154385A1 (en) | Electronic device and operation method therefor | |
WO2022131674A1 (en) | Electronic device supporting ultra-wideband communication and operation method therefor | |
WO2024035059A1 (en) | Wearable electronic device comprising magnetic strap and method for updating geomagnetic data | |
WO2023249236A1 (en) | Electronic device comprising sensor and method for operating same |
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: 24781086 Country of ref document: EP Kind code of ref document: A1 |